ibm license metric tool 7.5 questions & answers · pdf file · 2013-12-202 ilmt...
TRANSCRIPT
© 2013 IBM Corporation
ILMT Tunning GuideIBM License Metric Tool 7.5Questions & Answers
ILMT Central Team
2
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Welcome
■ The tuning guide is the eighteenth Q&A event prepared by ILMT Central Team
■ We concentrate on License Metric Tool in version 7.5
■ This session is for IBMers, Business Partners and Customers
■ The teleconference is set to mute, so use the web conference chat to communicate with the ILMT
■ The content (presentation and speaker’s voice) is being recorded and will be available to download from ILMT Wiki soon
3
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Contact
■ ICT Team: [email protected]
■ ICT Team Lead: Grzegorz Sierak: [email protected]
4
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Table of Contents
■ Indicators of performance issues■ Different factors of performance change■ Hardware recommendation, verification and improvement■ DB2 maintenance■ Improving agent communication■ Tuning VM Manager communication■ Tuning data collection process■ Temporary turning off automated bundling process■ Temporary turning off aggregation process■ General recommendation
■ Questions & Answers time■ Survey
5
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Indicators of performance issues
■ Hardware indicators� CPU usage > 90%� RAM memory usage > 90%� System I/O Wait > 5%
■ Application indicators� Agents with communication error statuses
(missing scan/inactive/not connecting) > 20%� Report generation – „never ending”
■ Middleware indicators� Deadlocks in DB2 � Transaction lock timeouts on WAS/eWAS
6
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Different factors of performance change
■ Background application tasks� Data aggregation� Data recalculation� Inventory builder� Automated bundling
■ Data collection� Communication with the agents� Collecting and processing the data
from defined VM Managers
■ Concurrency� On OS level� On application level� On database access level
■ Other� Catalog import� Signing reports� Web UI and CLI usage
7
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Hardware recommendation, verification and improvement
■ Recommendation
■ Verification� CPU (physical/logical)� RAM� I/O Wait
■ Improvement� Changing processor setting� Adding processor cores� Allocating more RAM memory� Cleaning HDD� Changing HDD for faster (I/O operations) where DB2 and TLMA database is
installed� Separating ILMT server from its database� Moving ILMT server and/or its database to stronger machine� Installing additional ILMT server and splitting the environment into two
Hardware recommendationshttp://pic.dhe.ibm.com/infocenter/tivihelp/v53r1/topic/com.ibm.lmt75.doc/com.ibm.license.mgmt.planinconf.doc/r_hardware_reqs.html
8
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
DB2 maintenance
■ DBMS� REORG TABLE - reorganizes a table. � REORG INDEXES - reorganizes all indexes
defined on a table by rebuilding the index data into unfragmented, physically contiguous pages
� REORGCHK - update statistics on table system � RUNSTATS - computes statistics on a specified
table space or index, or partition and updates the DB2 catalog from where DB2 uses them to select access paths to data during the bind process.
■ TLMA - purgedatabase• Historical data• Aggregated data• Raw data• Disc• Usage
Maintaining the TLMA databasehttp://www-01.ibm.com/support/docview.wss?uid=swg21587669
purgedatabase commandhttp://pic.dhe.ibm.com/infocenter/tivihelp/v53r1/topic/com.ibm.lmt75.doc/com.ibm.license.mgmt.commands.doc/purgedatabase.html
9
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Improving agent communication
■ Configuring a semaphore� uploadSemaphoreSize variable - the number of concurrent software and
hardware scans uploads that are allowed
� msghandlerDumpPeriodInMinutes variable - the frequency of refreshing the statistics of scan uploads
Semaphore in ILMThttp://www-304.ibm.com/support/docview.wss?uid=swg21600015
10
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Tuning VM Manager communication
■ Update ILMT 7.5 to the newest version as performance of VM Managers has been greatly improved since GA 7.5.0.0 (2x-20x data collecting and processing time reduction!)
■ VM managers data collection configuration� vmManagerPollingInterval variable - the interval between the consecutive
data retrievals from VM managers (30 minutes by default)� vmManagerConnectionTimeout - determines the amount of time after
which the connection with a VM manager is terminated (90 seconds by default)
11
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Tuning data collection process
■ Scan Groups settings� Schedule the software scans in the night hours for the server machines� Schedule the software scans in daily hours for the desktop/laptop machines� Distribute the software scans evenly during the entire week� Make sure that scan groups' communication windows do not overlap� Schedule the scans to start with at least 4-hour intervals for each scan group� Distribute agents evenly between scan groups with no more than 500 agents per
group
■ Increase the ”late data upload” to avoid data recalculations up to 14 days� maxAggregateUsageAge variable - the age of the use data (in days) before it is
included in the aggregations of the unaggregated software use database tables. This setting is used to ensure that all the relevant data for an aggregation has arrived at the server, taking into account the frequency with which it is uploaded from the agent (2 days by default)
■ Tune the other server and agent parameters
Preventing congestion in TAD4D agent server communicationhttp://www-304.ibm.com/support/docview.wss?uid=swg21589788
12
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Temporary turning off automated bundling process
■ Since Fix Pack 1 of License Metric Tool 7.5, it is possible to change the operation mode of automated bundling from automated (every 6 hours) to manually triggered by the user
■ Currently due to high risk of messing the environment by undesirable use of this option, the script to turn it off is available only upon special direct request to ICT team or ILMT L3 support
■ Configuring an automated bundling mode
13
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Temporary turning off automated bundling process – cont.
■ New option on Web UI
14
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Temporary turning off aggregation process
■ Since Fix Pack 1 of License Metric Tool 7.5, it is possible to change the operation mode of aggregation from automated (once a day) to manually triggered by the user
■ Currently due to high risk of messing the environment by undesirable use of this option, the script to turn it off is available only upon special direct request to ICT team or ILMT L3 support
■ Configuring an aggregation mode
15
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Temporary turning off aggregation process – cont.
■ New option on Web UI
16
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
General recommendation
■ Work with your discovered software instances on daily basis to bundle them to the correct software products (confirm, reassign, include, exclude, share instances)
■ Sign audit reports regularly
■ Maintain correctly the database� There should be a scheduled (e.g. once a week)
database maintenance window during which the database statistics will be refreshed
� No longer needed data should be purged after signing the report
■ Complex tasks should not be scheduled to execute at the same time
© 2013 IBM Corporation
ILMT Central Team
Thank You
ILMT Tunning GuideIBM License Metric Tool 7.5
Questions & Answers
18
ILMT Tunning GuideIBM License Metric Tool 7.5 – Questions & Answers Version 1.0.1
Created by ILMT Central TeamICT: [email protected] ILMT Wiki: www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM+License+Metric+Tool © 2013 IBM Corporation
Bonus - Setting processor consumption limits on agents
■ Since Fix Pack 1 in ILMT 7.5 you may benfit from limiting processor consumption on agents
■ This functionality defines the available processor consumption time limit for the Common Inventory Technology component, which is run by agents during software scans
■ cpu_threshold variable can have the value between 5% and 100%, and is the allocated processor time limit that should not be exceeded when scan or other cpu-intensive operations are performed by the agent
■ Examplesetagentconf -d myScanGroup -k cpu_threshold -v 10