371a6294e6784ba40ee0a59d92ab7436.ppt
- Количество слайдов: 53
IBM Software Group IBM Tivoli Composite Application Manager for Web. Sphere - Best Practices Donna Martin ITCAM for Web. Sphere Support martindo@us. ibm. com © 2009 IBM Corporation
IBM Software Group | Tivoli software Special thanks to : § Earlier Best Practices Presentation – Rama Shetty § Performance Tuning Guides – Brad Winslow – Xiaojun Chai – Ravi Gadekarla – Yasutaka Hirasawa – Aaron Lieber – Rich Mackler § Tuning Guide URLs: – http: //www. ibm. com/developerworks/wikis/display/tivolimonitoring/ITCAM+for+We b. Sphere+J 2 EE+V 6. 1+Product+Performance+Tuning+Guide – http: //www. ibm. com/developerworks/wikis/display/tivolimonitoring/ITCAM+for+We b. Sphere+Application+Server+and+J 2 EE+V 6. 1+Data+Collector+Performance+Tu ning+Guide 2 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Agenda § Overview – Architecture – Data Flow – Monitoring on Demand § Data Collector – Ten Installation and Configuration Steps § Managing Server – Tuning the Publish Server – Tuning the Visualization Engine – Heap Size – Database – Configuration – Pruning and Maintenance § Other Sources of Information 3 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Overview *** Architecture 4 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software What is ITCAM for Web. Sphere? IBM Tivoli Composite Application Manager (ITCAM) for Web. Sphere is a product that provides users with § The capability to monitor mission critical J 2 EE applications running on Web. Sphere and § A way to conduct deep-dive diagnostics of issues found through monitoring 5 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software ITCAM for Web. Sphere Components Managing Server (MS) § A J 2 EE application that is configured within WAS § Serves as the control center of your installation when using the ITCAM Console § Collects information from, and provides services to, the Data Collectors in your environment Data Collector (DC) § Runs on each monitored Application Server and communicates essential operational data to the Managing Server or TEMA. Tivoli Enterprise Monitoring Agent (TEMA) § Gets information from the Data Collectors and sends it to the IBM Tivoli Monitoring (ITM) environment when the Tivoli Enterprise Portal (TEP) interface is being used. 6 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software ITCAM for Web. Sphere Architecture … 7 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Data Collector § Runs on Web. Sphere Application Server (WAS) § There is one DC for each Application Server within WAS where applications are being monitored § Collects all transaction and request metrics, Java Virtual Machine metrics, Web. Sphere PMI metrics and other type of information such as thread and heap dumps § Incurs a certain level of performance overhead for the Application Server depending upon the degree of monitoring 8 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server § Kernel – Central controller of the WSAM Application Monitor – Registers components as they join – Periodically renews connections – Collects availability information § Visualization Engine – Provides web-based GUI to the end user – Provides access to graphics, reports and views of different slices of data – Provides access to command & event functions of ITCAM – J 2 EE application (ITCAM_Application) that runs on the WAS App. Server § Publish Server – Receives event data from Data Collectors – Computes request level information, such as response time – Implements trap monitoring and alerts 9 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server … § Global Publish Server – Collects information from Publish Sever – Correlates multi-server requests, e. g. , WAS to CICS transaction § Archive Agent – Receives data from Publish Server – Stores data in Performance Analysis Database § Message Dispatcher – Conduit for messages from WSAM – Uses Email & SNMP 10 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software ITM and ITCAM for Web. Sphere Architecture … Web. Sphere Tivoli Enterprise Monitoring Agent 11 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software ITM Capabilities – Tivoli Enterprise Portal § IBM Tivoli Monitoring (ITM) V 6. x provides a common look and feel for Tivoli products using Tivoli Enterprise Portal (TEP) § TEP provides easy-to-customize workspaces § TEP dashboard allows users to graphically demonstrate the application and business impact of problems § TEP dashboard can combine data from other Tivoli products, to give a complete view of the Web. Sphere Infrastructure across the enterprise 12 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software ITM Architecture – TEMS, TEPS and TEP § TEMA connects to the Tivoli Enterprise Management Server (TEMS) – There is a single hub TEMS – Optionally, there are many remote TEMS to provide scalability – Optionally, there is a hot standby feature with a backup TEMS § TEMS uses the Tivoli Data Warehouse (TDW) for long-term history § Tivoli Enterprise Portal Server (TEPS) connects to the hub TEMS – Manages ITM Consoles (TEP) – Manages user preferences, customized workspaces, etc § Users log on to the Tivoli Enterprise Portal (TEP) – TEP browser – TEP desktop client – TEP java applet 13 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software What is ITCAM for J 2 EE? Monitors applications running on the following : § Web. Logic § SAP § Oracle § JBoss § Tomcat § J 2 SE § IBM Web. Sphere Application Server Community Edition 14 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software What is ITCAM for Web Resources 6. 2? § Includes equivalent of ITCAM for WAS and ITCAM for J 2 EE TEMAs § Uses DC from ITCAM for WAS or ITCAM for J 2 EE § * Web Server TEMA does not have a Data Collector 15 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Overview *** Data Flow 16 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Data Flow … Data Collector BCI BCM Engine DC Config Filter Publish Server Event Network Queue Agent TCP/IP Socket Data Source Queue BCM XML file (cyn. *. xml) Main Data Structure Controls which Methods are BCi BCM ’ed. Sampling Rate Archive Agent Outbound DB 17 JDBC ITCAM for Web. Sphere Inbound Queue to DB Queue from PS Outbound TCP/IP Socket Queue to AA © 2009 IBM Corporation
IBM Software Group | Tivoli software Overview *** Monitoring on Demand 18 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Monitor on Demand (MOD) § Three MOD levels: – Mod Level 1: Production – Mod Level 2: Problem Determination – Mod Level 3: Trace § § 19 MOD levels can be dynamically changed using the MS Console Control the MOD level automatically using user-defined schedules ITCAM for Web. Sphere Performance Cost © 2009 IBM Corporation
IBM Software Group | Tivoli software MOD Level 1 § Production mode § Default monitoring level § Least intrusive monitoring level § This monitoring level provides –Availability data –System Resources data –Basic request level data 20 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software MOD Level 2 § Problem determination mode § Includes all of MOD Level 1 capabilities § Narrows scope of the problem to the right tier/ component – SQL, EJB, JNDI, JMS, JCA, Java. Mail, MQI § Captures Memory Leak Diagnosis and Lock Contention data using a technique called Byte Code Instrumentation (BCI) 21 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software MOD Level 3 § Captures all MOD Level 1 and 2 data § Captures Method Trace using a technique called Byte Code Instrumentation (BCI) § Classes of interest must be instrumented before detailed method entry and exit data can be collected § Higher overhead than the other monitoring levels 22 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Choosing the MOD Level § Choosing the level of data collection is a tradeoff between more information and impacting performance. § Focus on the quality and reduce quantity of data analyzed. § Filter unwanted classes from L 2 and L 3 instrumentation. 23 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Right data at the right place § Isolate sluggish transaction using L 1 and L 2 monitoring in Production. § If problem cannot be isolated, replicate conditions in test environment and use L 3 monitoring to locate misbehaving classes/methods. 24 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Right data at the right place § Alternatively, in a cluster environment redirect misbehaving transactions to cluster member running L 3 mode. 25 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Data Collector 26 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Data Collector – A Step-by-Step Approach § Step 1: Installation § Step 2: Setting the Byte Code Instrumentation (BCI) Engine § Step 3: JVM Tuning § Step 4: PMI Counter Tuning § Step 5: DC Internal Buffer Tuning § Step 6: MOD Level 2 Instrumentation Fine Tuning § Step 7: MOD Level 2 Method Profiling § Step 8: Apply MOD Level 3 Method Filtering § Step 9: Confirm GPE Turbo Option is On § Step 10: Disable DC when no monitoring is needed 27 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 1: Installation § Installation – Install one time per machine or LPAR, multiple DCs can use this – Get to latest fix level http: //www-01. ibm. com/support/docview. wss? uid=swg 21300120 – Managing Server must be the same fix pack level or later than the DCs • If DC is 6. 1, MS must be 6. 1 or later • If DC is 6. 1 FP 3, MS must be 6. 1 FP 3 or later • If DC is 6. 1 FP 3, i. Fix 10, MS must be 6. 1 FP 3 or later § Configuration (covered in remaining Steps) The Data Collector is the most important component in the system, from a tuning perspective. It resides inside the JVM of the monitored application server, so it is very important to keep in mind that it competes with the monitored applications for resources. 28 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 2: Setting the ASM Based BCI Engine § ASM Based BCI Engine replaces Aspect. J instrumentation as of 6. 1. 0. 3 -TIVITCAMf. J 2 EE_MP-IF 0010 § To Enable the ASM Based BCI Engine: – In the <DC_home>/runtime/<app_server_version>. <node_name>. <server_name>/custom/toolkit_custom. properties file, uncomment: #am. camtoolkit. gpe. probifier. factory=com. ibm. tivoli. itcam. toolkit. ai. bci. engine. BCIEngine. Probifier. Factory – Save changes and restart the DC Server. – Allow data collector to add new fields or methods to instrumented classes: Define the following properties to the DCHOME/runtime/<servername>/custom/toolkit_custom. properties file: am. camtoolkit. gpe. bci. allow. new. fields=true com. ibm. tivoli. itcam. toolkit. ai. create. Remembered. Object. Field=true 29 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 3: JVM Tuning § Garbage Collection (GC) Interval Installation of the ITCAM Data Collector will cause the need for distributed GC since it is essentially an RMI application. Default GC interval is 1 minute. To set the garbage collection interval to 1 hour, add the following generic JVM arguments. If more frequent GCs are needed, they will take place implicitly: -Dsun. rmi. dgc. client. gc. Interval=3600000 -Dsun. rmi. dgc. server. gc. Interval=3600000 Note: As of DC Fixpack 3, i. Fix 10, these parms are automatically set during configuration. 30 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 3: JVM Tuning … § Garbage Collection and Class Reuse Originally, ITCAM for Web. Sphere added -Xnoclassgc to the JVM genereic. Jvm. Arguments to allow for more class reuse. It was later discovered that the -Xnoclassgc parameter should be used with caution because it can lead to native memory exhaustion and cause the JVM to create an out of memory exception. We have found that this parameter does, indeed, negatively affect performance when set with ITCAM. Remove -Xnoclassgc from the generic JVM Arguments Note: Current version (i. Fix 10) of ITCAM does not set this parameter. 31 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 3: JVM Tuning … § Garbage Collection policy Concurrent marking is disabled by default. Enabling concurrent marking may significantly reduce the cost of garbage collection. To enable concurrent marking add the following generic JVM argument: -Xgcpolicy: optavgpause § RMI Connection Pooling CPU utilization can be reduced by reusing RMI connections rather than forking and creating a new connection whenever one is needed. Again, the ITCAM Data Collector is essentially an RMI application and will benefit by enabling connection pooling (off by default). To enable RMI connection pooling add the following generic JVM arguments: -Dsun. rmi. transport. tcp. connection. Pool=true 32 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 4: PMI Counter Tuning (MOD Level 1, 2, 3) § PMI - Performance Monitoring Infrastructure § Change the PMI setting for PMI level in datacollector. properties: – am. was 6 pmi. settings. [1, 2, 3]=[none, basic, extended, custom, all] • e. g. am. was 6 pmi. settings. 1=basic § Change the PMI setting for a particular PMI module in datacollector. properties: – PMI Modules • bean. Module • cache. Module • connection. Pool. Module • j 2 c. Module • jvm. Runtime. Module • orb. Perf. Module • servlet. Sessions. Module • system. Module • thread. Pool. Module • transaction. Module • web. App. Module – am. was 6 pmi. settings. [1, 2, 3]=[PMIModule]=[none, basic, extended, custom, all] • am. was 6 pmi. settings. 1=beanmodule=none 33 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 5: DC Internal Buffer Tuning The following tuning helps prevent dropped records. § Data Collector (generated datacollector. properties) – Set internal. probe. event. queue. size. limit=50000 to increase the internal queue size limit. This prevents dropping records due to high throughput or huge method traces. The default is 5000, which is more appropriate for Mod Level 1 or 2. – Set internal. probe. event. packet. size=50000 to increase the size of the Data Collector’s internal send buffer. The send buffer controls how much data the Data Collector can be sent to the Publish Server at a given time. The default is 5000. – Set internal. memory. limit=120 to increase the maximum native memory the Data Collector will consume. The default is 100 M. Increase this value if Data Collector is dropping records (check datacollector. log file). § Additional setting for the DC in the datacollector. properties (although not related to buffer tuning) – Set am. rmisocket. timeout=60000 for all Data Collectors 34 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 5: DC Internal Buffer Tuning … § Publish Server (ps 1. properties and ps 2. properties) – Set cyanea. ps. aa. max. Queue. Length=2000000 to increase the internal queue length limit. Increase this value if the Publish Server is dropping records (check ps 1. log and ps 2. log files). § Archive Agent (aa 1. properties and aa 2. properties) – Set queues. method. size=2000000 to increase the queue size limit for method data. Increase this value if the Archive Agent is dropping records (check aa 1. log and aa 2. log files for exceeding maximum queue size limit warning message). § Heap – The Publish Servers and Archive Agents may run out of memory after increasing these limits. On the Managing Server, in setenv. sh: • Set HEAP_MAX_SIZE_PS=1024 • Set HEAP_MAX_SIZE_ARCHIVE_AGENT=1024 – Restart both Managing Server and Data Collector after making changes. Timeout for Remote Method 35 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 6: MOD Level 2 Instrumentation Fine Tuning § Default: All the L 2 modules are set to true initially, Lock Analysis and Heap Dump analysis must be instrumented however § Properties File: <DCHOME>/runtime/<svr>/custom/toolkit_custom. properties – com. ibm. tivoli. itcam. toolkit. ai. enableejb=false # disables EJB instrumentation – com. ibm. tivoli. itcam. toolkit. ai. enablejca=false # disables JCA instrumentation – com. ibm. tivoli. itcam. toolkit. ai. enablejdbc=false # disables JDBC instrumentation – com. ibm. tivoli. itcam. toolkit. ai. enablejndi=false # disables JNDI instrumentation – com. ibm. tivoli. itcam. toolkit. ai. enablejms=false # disables JMS instrumentation – com. ibm. tivoli. itcam. toolkit. ai. enableservlet=false # disables servlet instrumentation – com. ibm. tivoli. itcam. dc. ctg. enablectg=false – com. ibm. tivoli. itcam. toolkit. ai. enablesessioncount=false # disables CTG instrumentation # disables HTTP Session cntg instr. 36 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 6: MOD Level 2 Instrumentation Fine Tuning … § Reduce instrumentation overhead by Filtering out EJB classes from instrumentation. – Create new xml file with entries for classes to be filtered. § Save file in <DC_HOME>/runtime/<node>/custom directory. – Add entry in toolkit_custom. properties. – am. camtoolkit. gpe. customxml. myejb=<xml file> – Specify classes to be excluded <select. Class> <selection. Id>Session. Bean</selection. Id> <Matches>! com. demo. Sample. Stateless. EJB</Matches> </select. Class> 37 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 7: MOD Level 2 Method Profiling § Select Method Profiling in Monitoring on Demand page. § Provide time interval to aggregate and send data to MS § Configure L 3 monitoring & include classes of interest for instrumentation using L 3 Method trace setup § Use Method profiling report to study average CPU and average response times per method. § Though the information is aggregated over multiple transactions, it may be better suited to analyze slow transactions. 38 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 7: MOD Level 2 Method Profiling … § Reduce DC data traffic to MS, Use L 2 -Method Profiling instead of L 3 Method trace. § Move to L 3 only if deeper method level trace for individual transaction is required [Use traps]. 39 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 8: Apply MOD Level 3 Method Filtering § Reduce overhead in L 3 monitoring by narrowing instrumentation to classes and methods of interest. § In the <DC_HOME>/runtime/<wasver>. <nodename>. <svrname>/custom/ exclude. xml file, add: <gpe> <bci> <class. Excludes> <exclude>com. lowagie. *</exclude> <exclude>AG 13. System. Admin. SCheck. Account. Number</exclude> <exclude>org. apache. struts. util. Error. Messages</exclude> </class. Excludes> </bci> </gpe> § In the <DC_HOME>/runtime/<wasver>. <nodename>. <svrname>/custom/ toolkit_custom. properties file, add the following if it is not there: am. camtoolkit. gpe. customxml. exclude=exclude. xml § Recycle WAS App. Server 40 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 9: Confirm GPE Turbo Option is On § GPE turbo will reduce code path in java BCM logic unnecessary for MOD Level 1 and MOD Level 2, thus reducing CPU and throughput overhead of MOD Levels 1 and 2. § Configuration File: <DC_HOME>/toolkit/etc/toolkit. properties § Set am. camtoolkit. gpe. turbomode=true (this is the default) 41 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Step 10: Disable DC when no monitoring is needed § Disable the DC dynamically if no monitoring is needed § Default: DC is enabled § To disable the DC dynamically (no data flowing to MS): – Go to the ITCAM console – Select : Administration Server Management Data Collector Configuration – Select the “Disable” Button § To disable the DC completely (no monitoring on DC, no data flowing to MS): – Change -Xrunam. . to -DXrunam in Generic. Jvm. Arguments – (Note: After FP 1 the -Xrunam was changed to -agentlib: am for WAS 61) – Change -Xbootclasspath to -DXbootclasspath in Generic. Jvm. Arguments – You can do this via the WAS Admin Console or by editing server. xml. 42 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server 43 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Publish Server § The Publish Server is the second-most important component to tune, right behind the data collector. – DC sends a record for every request entry and exit to the Publish Server, regardless of sampling rate – The volume of data handled by this component is quite high § The memory requirements are listed in MS_HOME>/bin/setenv. sh file. – HEAP_MIN_SIZE_PS = 512 – HEAP_MAX_SIZE_PS=1024 (default 512) § Rule of thumb when setting up your Managing Server – At least 1 AA for every 2 PS – In large environments where more than 500 requests per second (1. 8 M per hour) are generate • Have least 4 instances of Publish Server • and 4 instances of Archive Agents running 44 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Component Heap Size § In an environment with a high volume of requests, beside increasing the heap size for the Publish Server, it is recommended to increase the heap size of the Kernel and Archive Agent. § The following example shows heap size configuration in setenv. sh for an environment with around 250 Data Collectors uploading a total of 500 requests per second – HEAP_MIN_SIZE_PS = 512 – HEAP_MAX_SIZE_PS 1024 – HEAP_MIN_SIZE_KERNEL = 512 – HEAP_MAX_SIZE_KERNEL = 1024 – HEAP_MIN_SIZE_ARCHIVE_AGENT = 512 – HEAP_MAX_SIZE_ARCHIVE_AGENT = 1024 45 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Visualization Engine § Sampling Rate – Determines the percent of requests that are archived to the database – Generally, a 2% sampling rate is suggested. This value should be adjusted based on the rate of growth of the database tables, and organizational requirements. – Set from the Monitoring On Demand screen for a group or a single data collector – – – § 46 Users can see requests that have hung All requests, regardless of sampling rate, are sent to the Publish Server. In-flight Traps work on all requests Maximum Methods Per Request – The default value is 10, 000 – Setting the value to 2, 000 should cover most situations – This value can be set on the System Properties screen ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Database Configuration § In an environment with high volume of requests, increase – MAXAPPLS - maximum number of concurrent applications that can be connected – MAXAGENTS - maximum number of database manager agents The value of maxagents should be at least the sum of the values for maxappls in each database allowed to be accessed concurrently § The example below shows database configuration update for DB 2: – db 2 update db cfg for octigate using MAXAPPLS 300 – db 2 update db cfg for octigate using MAXAGENTS 500 § Increase space allocated by DB 2 for your ITCAM Database (octigate) Even if you have a lot of space on your file system, DB 2 may be limiting your space. Check the space allocated within DB 2: db 2 connect to octigate, db 2 get db cfg – Log file size (4 KB) (LOGFILSIZ) = 25000 – Number of primary log files (LOGPRIMARY)= 5 – Number of secondary log files (LOGSECOND) = 4 . 47 The example below increases the secondary allocation to 100: – db 2 update db cfg for octigate using logsecond 100 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Database Pruning and Maintenance § Pruning data in the Managing Server database frequently improves database performance and minimizes the disk space needed to store the data. § ITCAM for Web. Sphere provides utilities to delete old data from the database. The first Data Trimmer utility is built-in in to the Archive Agent. This utility is designed to prune high volume monitoring data that are not necessary for historical reports. With this utilities enabled, the Archive Agent will prune data in the following tables every 2 hours and keep 2 days worth of data each time it runs. – MEMORY_DATA – GC_DATA – MQI_QUEUEMGR_SR_OVERVIEW – MQI_QUEUE_SR_OVERVIEW – CTG_SR_OVERVIEW – WBI_REQUEST – WEBSERVERCHARTDATA – IMSTHREADS – VOLUMESTAT – PORTALSTATS 48 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – Database Pruning and Maintenance… § The second Data Trimmer utility is a script (datatrim. sh) which needs to be run on a regular basis using native operating system scheduler tools such as cron task or Windows scheduler. We recommend saving 7 days worth of history and pruning nightly. § It is important to notice that the Archive Agent is hard-coded to delete data from the above tables. Therefore, before running the Data Trimmer script, check the following properties files to ensure that the script does not delete the same tables as the Archive Agent – <MS_HOME>/etc/deletesingletable. xml – <MS_HOME>/etc/deleterelatedtables. xml § Refer to Appendix F. Maintaining the monitoring environment of the Managing Server Installation and Customization Guide for procedure to enable Data Trimmer. § Maintenance Requirements – Execute <MS_HOME>/bin/run-stat-cmds. sh daily – REORGCHK should be run on the REQUEST table daily – REORG should be run once in a while 49 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Managing Server – OS File Descriptors § By default, the OS file descriptor setting is 1024. To check the setting on the Managing Server, open a Korn Shell and execute "ulimit -a". § Check the Max. Open. Files (may be called File Descriptors on different OSes). § If the value is less than 2000, you will have to increase it. § To increase this setting for UNIX, log on as root and execute: § ulimit -n 2000 § This is a permanent change (verify with ulimit -a). 50 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Other Sources of Information 51 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Other Sources of Information § Info. Center Publications – http: //publib. boulder. ibm. com/infocenter/tivihelp/v 3 r 1/index. jsp? topic=/com. ibm. itcamwas. doc_6. 1/w elcome. htm § ITCAM for WAS Support Product Page – http: //www. ibm. com/software/sysmgmt/products/support/IBMTivoli. Composite. Application. Managerfor Web. Sphere. html § External Wiki - IBM® Tivoli® Distributed Monitoring and Application Management – http: //www. ibm. com/developerworks/wikis/display/tivolimonitoring/home § Internal Wiki - Virtual Community for AABSM – http: //w 3. tap. ibm. com/w 3 ki 06/display/CAMVirt. Com/Home § System Requirements – http: //www. ibm. com/support/docview. wss? uid=swg 21300121 § Recommended Fixes – http: //www. ibm. com/support/docview. wss? uid=swg 21300120 § Fixes by Version – http: //www. ibm. com/support/docview. wss? rs=2344&uid=swg 21300119 § Must Gather Documentation – http: //www. ibm. com/support/docview. wss? uid=swg 21300124 § Featured Documents – http: //www. ibm. com/support/docview. wss? rs=2344&uid=swg 21300122 52 ITCAM for Web. Sphere © 2009 IBM Corporation
IBM Software Group | Tivoli software Questions? 53 ITCAM for Web. Sphere © 2009 IBM Corporation
371a6294e6784ba40ee0a59d92ab7436.ppt