IBM WEBSPHERE 6.1.X Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Allgemeine Dienstprogramm-Software IBM WEBSPHERE 6.1.X herunter. IBM WEBSPHERE 6.1.X User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Performance Tuning Guide

IBM WebSphere Portal software family Your world. Your way. IBM WebSphere Portal 6.1.X Performance Tuning Guide IBM WPLC Performan

Seite 2 - Contents

5 WE BSPHERE PORTAL V6.1 TUNING GUIDE Application Server Tuning There are many aspects to configuring and tuning an application s

Seite 3

6 WE BSPHERE PORTAL V6.1 TUNING GUIDE JV M M AX I MU M HE AP SI ZE LI MI TS When setting the heap size for an application server, kee

Seite 4

7 WE BSPHERE PORTAL V6.1 TUNING GUIDE J V M H E A P L A R G E P A G E Large pages can reduce the CPU overhead needed to keep track o

Seite 5 - Figures

8 WE BSPHERE PORTAL V6.1 TUNING GUIDE J V M H E A P N E W A R E A S I Z E The Generational Garbage Collector introduced in Java 5.0

Seite 6 - ABOUT THIS DOCUMENT

9 WE BSPHERE PORTAL V6.1 TUNING GUIDE S E S S I O N T I M E O U T Session timeout: The default value of Session Timeout is 30 minutes.

Seite 7 - PERFORMANCE TUNING OVERVIEW

10 WE BSPHERE PORTAL V6.1 TUNING GUIDE S E C U R I T Y A T T R I B U T E P R O P A G A T I O N To reduce the Security Attribute Propaga

Seite 8 - Environment Considerations

11 WE BSPHERE PORTAL V6.1 TUNING GUIDE V M M C O N T E X T P O O L I N G Tune VMM Context Pooling to improve the performance of concurr

Seite 9 - BASE PORTAL TUNING

12 WE BSPHERE PORTAL V6.1 TUNING GUIDE WebSphere Portal Services WebSphere Portal has a number of configurable “services”; each ser

Seite 10 - Application Server Tuning

13 WE BSPHERE PORTAL V6.1 TUNING GUIDE R E G I S T R Y S E R V I C E WebSphere Portal maintains information about many resource types in

Seite 11

14 WE BSPHERE PORTAL V6.1 TUNING GUIDE C A C H E M A N A G E R S E R V I C E The cache manager service in WebSphere Portal is used to c

Seite 12

Contents PERFORMANCE TUNING OVERVIEW...

Seite 13

15 WE BSPHERE PORTAL V6.1 TUNING GUIDE Database Tuning D A T A S O U R C E T U N I N G F O R D B 2 Multiple databases are used to ho

Seite 14

16 WE BSPHERE PORTAL V6.1 TUNING GUIDE We built six separate databases within one database server to house the tables and data needed to sup

Seite 15

17 WE BSPHERE PORTAL V6.1 TUNING GUIDE While the Portal databases are configured for high capacity performance, various tunin

Seite 16

18 WE BSPHERE PORTAL V6.1 TUNING GUIDE optimizer to select an efficient access plan for complex SQL, particularly for queries of the JCR dat

Seite 17 - WebSphere Portal Services

19 WE BSPHERE PORTAL V6.1 TUNING GUIDE O R A C L E D A T A B A S E S E R V E R T U N I N G WebSphere Portal V6.1 uses database serve

Seite 18 - RegistryService.properties

20 WE BSPHERE PORTAL V6.1 TUNING GUIDE O R ACLE O N AI X SET UP We configure our Oracle database on AIX using the following setup, •

Seite 19

21 WE BSPHERE PORTAL V6.1 TUNING GUIDE REC O M M EN D ED O RAC LE D AT AB AS E MAI NT EN ANC E Optimizer statistics are a collection of

Seite 20 - Database Tuning

22 WE BSPHERE PORTAL V6.1 TUNING GUIDE Directory Server Tuning Our measurements used IBM Tivoli Directory Server versions 6.0 as the directo

Seite 21 - DB 2 ON AI X SET U P

23 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning We used IBM HTTP Server 6.1 in our measurement environment. The cluster configurati

Seite 22 - DB 2 ON Z/O S SE T UP

24 WE BSPHERE PORTAL V6.1 TUNING GUIDE MaxClient/ThreadsPerChild. MinSpareThreads 25 25 N/A 25 MaxSpareThreads 3750 4500 N/A 4500 S

Seite 23

Web Server Tuning... 32 Portl

Seite 24

25 WE BSPHERE PORTAL V6.1 TUNING GUIDE Operating System Tuning In any high-load environment, the network must be closely monitored

Seite 25

26 WE BSPHERE PORTAL V6.1 TUNING GUIDE L I N U X NET W ORK T UN I NG For Red Hat Linux and z/Linux (Suse Linux on zOS), we add the follow

Seite 26

27 WE BSPHERE PORTAL V6.1 TUNING GUIDE S O L A R I S NET W ORK T UN I NG For Solaris, use the ndd command to set the following TCP layer

Seite 27 - Directory Server Tuning

28 WE BSPHERE PORTAL V6.1 TUNING GUIDE SO L AR I S C O NT AI NE R Use Solaris Containers to better utilize your modern, powerful T2 server

Seite 28 - Web Server Tuning

29 WE BSPHERE PORTAL V6.1 TUNING GUIDE Z / O S SYS TEM TU NI N G In the PARMLIB member BPXPRMxx check the values of the following paramet

Seite 29

30 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB 2.0 THEME TUNING In the Web 2.0 theme environment a reverse proxy was used to cache content outbo

Seite 30 - Operating System Tuning

31 WE BSPHERE PORTAL V6.1 TUNING GUIDE Internet Explorer Support of Vary Header When Internet Explorer 7 is sent a ‘vary’ h

Seite 31

32 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Http server tuning for cacheability: # uncommented these to enable statics to be ca

Seite 32

33 WE BSPHERE PORTAL V6.1 TUNING GUIDE # expire images after a month in the client's cache. Note that one month expiration worked fine

Seite 33 - SO L AR I S C O NT AI NE R

34 WE BSPHERE PORTAL V6.1 TUNING GUIDE MANY PAGES TUNING The “Many Pages Scenario”, derived from the Base Portal Scenario, measures the eff

Seite 34 - Required Fixes

WEBSPHERE PORTAL CACHES... 58 Gene

Seite 35 - WEB 2.0 THEME TUNING

35 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Manager Service Table 19: Cache Manager Service Settings for Many Pages Parameter Setting Used

Seite 36 - Caching Proxy Tuning

36 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB CONTENT MANAGEMENT TUNING In general, the same tuning that was used for the Base Portal Scenario

Seite 37

37 WE BSPHERE PORTAL V6.1 TUNING GUIDE WebSphere Portal Service Properties C A C H E M A N A G E R S E R V I C E Portal Caches sizes –

Seite 38 - Portlet Caching

38 WE BSPHERE PORTAL V6.1 TUNING GUIDE N A V I G A T I O N S E R V I C E Portal Navigator Service – In addition to the settings mentione

Seite 39 - MANY PAGES TUNING

39 WE BSPHERE PORTAL V6.1 TUNING GUIDE processing 10000 session 6000 menu 500 nav 500 strategy 8000 global 100 module 100 How-To Se

Seite 40 - Cache Manager Service

40 WE BSPHERE PORTAL V6.1 TUNING GUIDE DB2 Tuning (Authoring Environment) M U L T I P L A T F O R M ( L U W ) On top of the DB2 tunings f

Seite 41

41 WE BSPHERE PORTAL V6.1 TUNING GUIDE Z / O S The following section details the tunings that we made in our DB2 9 for z/OS bac

Seite 42 - Cache Name

42 WE BSPHERE PORTAL V6.1 TUNING GUIDE to BP0. In DB2 9 for z/OS, ZPARM’s can be set to specifiy default bufferpools. In our envi

Seite 43 - WCM Object Cache

43 WE BSPHERE PORTAL V6.1 TUNING GUIDE COMPOSITE APPLICATIONS TUNING For the Composite Application Infrastructure scenario, we started with

Seite 44 - JCR Text Search

44 WE BSPHERE PORTAL V6.1 TUNING GUIDE cacheinstance.com.ibm.wps.ac.SingleEntitlementsCache.lifetime 28800 cacheinstance.com.ibm.wps.ac.Exp

Seite 45

Figures Figure 1 Portal Access Control Cache Hierarchy...

Seite 46

45 WE BSPHERE PORTAL V6.1 TUNING GUIDE • To paraphrase Albert Einstein, “keep teamspaces as simple as possible, but no simpler”.

Seite 47

46 WE BSPHERE PORTAL V6.1 TUNING GUIDE CLUSTER TUNING The Base Portal Scenario is measured in a three-node horizontal cluster environment, w

Seite 48

47 WE BSPHERE PORTAL V6.1 TUNING GUIDE T H R E A D P O O L S Increase Default Thread Pool size to help DRS traffic. How-To Set: Portal

Seite 49

48 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Table 26: Web Server Tuning for Clusters Parameter Setting Used ThreadLimit 25 Ser

Seite 50

49 WE BSPHERE PORTAL V6.1 TUNING GUIDE Session Persistence To Database Tuning To enable Session Persistence to Database, a data source with

Seite 51 - CLUSTER TUNING

50 WE BSPHERE PORTAL V6.1 TUNING GUIDE SES S I ON D AT AB AS E TU NI N G In addition to creating bufferpool and tablespace to support 3

Seite 52

51 WE BSPHERE PORTAL V6.1 TUNING GUIDE IBM Tivoli Directory Server Tuning The following table shows the tuning values used for the directory

Seite 53

52 WE BSPHERE PORTAL V6.1 TUNING GUIDE OTHER PERFORMANCE TUNING OPTIONS In addition to the scenarios discussed above, WebSphere Portal

Seite 54

53 WE BSPHERE PORTAL V6.1 TUNING GUIDE Managing the Retrieval of User Attributes A user directory doesn’t just contain a user’s ID and passw

Seite 55 - Vertical Cluster Tuning

54 WE BSPHERE PORTAL V6.1 TUNING GUIDE I D E N T I F Y I N G A F U L L F E T C H O F U S E R A T T R I B U T E S How can you id

Seite 56

ABOUT THIS DOCUMENT This white paper provides a basis for parameter and application tuning for IBM WebSphere Portal for Multiplatform V6.1. Rememb

Seite 57

55 WE BSPHERE PORTAL V6.1 TUNING GUIDE M I N I M U M A T T R I B U T E S E T Generally, the minimum set of attributes does not need to

Seite 58

56 WE BSPHERE PORTAL V6.1 TUNING GUIDE Real-World Network Considerations In our lab environment, we had the luxury of our clients and server

Seite 59

57 WE BSPHERE PORTAL V6.1 TUNING GUIDE BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch

Seite 60

58 WE BSPHERE PORTAL V6.1 TUNING GUIDE 9  WEBSPHERE PORTAL CACHES In the preceding chapter we described the specific values we modified for

Seite 61

59 WE BSPHERE PORTAL V6.1 TUNING GUIDE admit-threshold properties do not apply to all cache implementations. In general, only caches that a

Seite 62

60 WE BSPHERE PORTAL V6.1 TUNING GUIDE Supported values are true and false. The default values shipped in WebSphere Portal V6.1 should appl

Seite 63 - WEBSPHERE PORTAL CACHES

61 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Usage Patterns Most WebSphere Portal caches follow the simple paradigm: if an entry already exi

Seite 64

62 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Instances This section describes the caches in WebSphere Portal V6.1 along with hint

Seite 65

63 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 1 shows the relationships among the various caches. The small cylinders represent cache insta

Seite 66 - Cache Usage Patterns

64 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.AccessControlUserContextCache Default size: 8000, default lifetime: 1200, usage patte

Seite 67 - Cache Instances

2 WE BSPHERE PORTAL V6.1 TUNING GUIDE PERFORMANCE TUNING OVERVIEW Tuning a WebSphere Portal environment involves tuning and configur

Seite 68

65 WE BSPHERE PORTAL V6.1 TUNING GUIDE corresponding entitlements are not already cached. Entries are invalidated from this cache

Seite 69

66 WE BSPHERE PORTAL V6.1 TUNING GUIDE or direct groups to which a user belongs. The size of this cache scales with the number of active use

Seite 70

67 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.ApplicationRolesForPrincipalCache Default size: 5000, default lifetime: 8760, usage pa

Seite 71

68 WE BSPHERE PORTAL V6.1 TUNING GUIDE D A T A S T O R E The datastore caches contain data read from the portal database. It is not the goa

Seite 72

69 WE BSPHERE PORTAL V6.1 TUNING GUIDE achieve best performance, in terms of cache hit rate, the size should be set to a value so that all p

Seite 73 - D A T A S T O R E

70 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 29 describes the hierarchy of caches in the model component and depending portal components. T

Seite 74 - M O D E L

71 WE BSPHERE PORTAL V6.1 TUNING GUIDE sets of access control rights on these pages. This cache contains very ‘valuable’ informa

Seite 75

72 WE BSPHERE PORTAL V6.1 TUNING GUIDE also adds to the time it takes to rebuild a cache entry. Building the content model is done increment

Seite 76

73 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.factory.URLMappingCache.isolated Default size: 50, default lifetime: infinite, usag

Seite 77

74 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Default size: 1000, default lifetime: infini

Seite 78

3 WE BSPHERE PORTAL V6.1 TUNING GUIDE Environment Considerations Before beginning your install of WebSphere Portal you should consid

Seite 79 - U R L M A P P I N G S

75 WE BSPHERE PORTAL V6.1 TUNING GUIDE virtual portal, you will see one entry in the cache and only little traffic on the cache. C

Seite 80 - W S R P

76 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.cache.servicedescription Default size: 150, default lifetime: infinite, usage pattern: regular T

Seite 81

77 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.producer.portletpool.pops Default size: 1000, default lifetime: infinite, usage pattern: cascadi

Seite 82

78 WE BSPHERE PORTAL V6.1 TUNING GUIDE entry to the cache involves one database query. One entry is fairly small. Typically there is no need

Seite 83 - P O L I C Y

79 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.lotus.cs.services.directory.ldap.BasicLDAPDirectoryService.user Default size: 2000, default lifet

Seite 84 - M I S C E L L A N E O U S

80 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.pe.portletentity Default size: 10000, default lifetime: 5800, usage pattern: regular. Th

Seite 85

81 WE BSPHERE PORTAL V6.1 TUNING GUIDE RegistryService Default size: 32, default lifetime: infinite, usage pattern: regular. This cache is u

Seite 86

82 WE BSPHERE PORTAL V6.1 TUNING GUIDE Example Scenarios This section describes some example usage scenarios along with descriptions of poss

Seite 87 - Example Scenarios

83 WE BSPHERE PORTAL V6.1 TUNING GUIDE If there is no or very little administration on your system and you have free memory in the Java heap

Seite 88

84 WE BSPHERE PORTAL V6.1 TUNING GUIDE  com.ibm.wps.puma.OID_User_Cache  com.ibm.wps.puma.DN_User_Cache  com.ibm.wps.puma.OID_DN_Cache

Seite 89

4 WE BSPHERE PORTAL V6.1 TUNING GUIDE BASE PORTAL TUNING The Base Portal Scenario covers user login, page navigation, and interaction with s

Seite 90

85 WE BSPHERE PORTAL V6.1 TUNING GUIDE We increased the sizes of the following caches in our measurement environments so that all frequently

Seite 91 - WCM Cache Instances

86 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB CONTENT MANAGEMENT CACHES In the preceding chapter we described the specific values we modified

Seite 92

87 WE BSPHERE PORTAL V6.1 TUNING GUIDE W C M B A S I C C A C H I N G services/cache/iwk/module Default size: 2000, default lifetime: in

Seite 93

88 WE BSPHERE PORTAL V6.1 TUNING GUIDE M E N U services/cache/iwk/menu - Menu Default size: 2000, default lifetime: infinite, usage pattern

Seite 94

89 WE BSPHERE PORTAL V6.1 TUNING GUIDE L I B R A R Y P A R E N T services/cache/iwk/libparent – Library Parent Default size: 2000, defaul

Seite 95 - Appendix A. References

90 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix A. References WebSphere Portal Information Center: http://publib.boulder.ibm.com/infocent

Seite 96 - Appendix B. Credits

91 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix B. Credits Thanks to the following team members of the WebSphere Portal Performance T

Seite 97

92 WE BSPHERE PORTAL V6.1 TUNING GUIDE ®  Copyright IBM Corporation 2008 IBM United States of America Produced in the United State

Kommentare zu diesen Handbüchern

ChrisCaddy 27 Apr 2024 | 05:14:13

Hello, im noob :)