© 2009 IBM Corporation © 2010 IBM Corporation Maintaining Your ITM Environment Tips to Help Scott Wallace -
© 2010 IBM Corporation 2 Agenda ■ Overview ■ Self monitoring ■ Collecting logs/configuration data (pdcollect) ■ Converting timestamps in RAS1 logs ■ Online Resources
© 2010 IBM Corporation 3 Overview ■ Goal of this session is to provide you some tips to servicing your ITM environment. ■ The IT environment is distributed across your business so the Tivoli monitoring of your resources is also distributed across the environment. ■ Reality is that you will encounter challenges in the environment – network issues, database issues, unexpected changes and others. ■ These challenges can impact your ITM environment and require that you take steps to service ITM.
© 2010 IBM Corporation 4 Self Monitoring – Workspaces ■ Several ITM components provide self monitoring workspaces to help manage those resources –TEMS / TEPS –Warehouse Proxy and Summarization/Pruning Agents –Agentless Agents
© 2010 IBM Corporation 5 TEMS – Self Monitoring Topology
© 2010 IBM Corporation 6 Warehouse Proxy Agent
© 2010 IBM Corporation 7 Summarization and Pruning Agent
© 2010 IBM Corporation 8 Warehouse Agents – Situations ■ Pre-defined situations –Automatically started –Warehouse Proxy KHD_DB_Connectivity KHD_Error_Fatal KHD_Error_Critical –Summarization & Pruning KSY_Summarization_Failures KSY_DB_Connectivity_Fail KSY_TEPS_Connectivity_Fail KSY_Pruning_Failures ■ Agent User's Guides contain details on the attributes and attribute groups
© 2010 IBM Corporation 9 Agentless Monitoring Health ■ Each remote monitor has self-monitoring attribute tables that can be used to monitor the collection process: ■ Subset of Performance Object Status attributes: –Last collection start/finish times –Number of collections –Intervals skipped (most useful) ■ It is recommended that an Operating System agent be co-deployed to the Agentless Monitoring Server to watch CPU, Memory, and Network utilization of the monitors
© 2010 IBM Corporation 10 Self Monitoring – Agent Management Services ■ Agent Management Services monitors the availability of agents and automatically takes action if the agent is not responsive. ■ It also provides workspaces with views for a set of base agents including the OS agents, Warehouse agents, Universal Agent and Agentless agents.
© 2010 IBM Corporation 11 Collecting logs/configuration data - pdcollect ■ ITM provides a common tool to collect problem determination data (pdcollect). ■ Provides a comprehensive and consistent interface for collecting logs/data for IBM Support ■ Provided for many ITM platforms including Linux, UNIX, Windows and z/OS ■ Allows you to collect a snapshot of the TEPS database ■ Allows you to collect logs/data locally or remotely
© 2010 IBM Corporation 12 ITM FP03 – enhancements to pdcollect Allows customer to name the archive file (recommendation is to have the PMR number as the file name) Introduces ability to snapshot the TEPS database. Updated for data/log currency with product updates Invoked from tacmd to make it consistent with all other ITM commands. Technote:
© 2010 IBM Corporation 13 Sample pdcollect commands tacmd pdcollect -d /opt/pmrs -o nohist -a pmr _pdcollect_tems Specify a local directory for the archive with the -d Do not use the CANDLEHOME for this location Specify the archive name with the -a Specify options with the -o tacmd pdcollect -s agent1 -u root -d /usr/local/tmp -c /opt/IBM/ITM -o nohist -a pmr _pdcollect_agent Remote collection requires a login ID on the target system Specify location of ITM with -c Pre-FP03 defaults to /opt/ibm/itm on UNIX/Linux tacmd pdcollect -d /opt/pmrs -o nohist nologs -a pmr _teps_database -m Export the TEPS database with the -m Note that these commands are using the updated pdcollect with ITM FP03
© 2010 IBM Corporation 14 Timestamps in the RAS1 Logs ■ RAS1 logs serve the purpose of providing detailed information on what the ITM processes are doing. ■ They contain a wealth of information especially with the correct trace level set ■ There is a hex timestamp at the begging of each line ■ So how do you convert this timestamp from hex to one you can use? –Use the TMS Log Viewer –Get a script from your favorite Support person YouSupport Please send me that cool script. Sure – are you aware of ras1log?
© 2010 IBM Corporation 15 Converting timestamps - ras1log ■ ras1log –Located in Installdir/bin directory on Linux/UNIX/Windows –Converts timestamp and redirects input log file to stdout ■ ras1log –Defaults to UTC –Use the “-l” flag to change to local time of the system where it is run
© 2010 IBM Corporation 16 Some Gotchas With These Tools ■ Agent Management Services (watchdog) –Multiple copies of OS agent running IZ76377 – watchdog using “cinfo -R” instead of “cinfo -r” IZ78695 – multiple copies of OS agent running –See technote for fix versions –Multiple copies of cscript running on Windows ■ Issues with pdcollect –ITM not collecting logs IZ42589 – does not collect logs Fixed in ITM FP01
© 2010 IBM Corporation 17 Online Resources ■ IBM Support Portal – ■ IBM Education Assistant for ITM – ■ Tivoli Media Gallery – ■ Tivoli Monitoring Wiki on developerWorks – ■ IBM Fix Central –
© 2010 IBM Corporation 18 ITM Support Portal ■ Provides you access to a wealth of information for your ITM environment!
© 2010 IBM Corporation 19 Wrap Up Are you aware of these features? Do you use these features to improve your ITM experience? What can we do to enhance these features for you?