HMC scan generation instructions
Use the HMC Scanner to quickly extract all the details of the POWER Servers the HMC is connected to, and save the data in a Microsoft Excel spreadsheet. More information on the IBM website: https://www.ibm.com/support/pages/hmc-scanner-power-server-config-and-performance-stats
Summarized installation and execution instructions can be found below:
In order to get more precise CPU load estimation you can enable the HMC performance data collection on your HMC. After enabling this option, wait for 1-7 days for HMC to collect representative sample of the performance data. Data collection must be explicitly enabled on the HMC since it is not active by default. Easiest way to enable it is to log into the HMC with administrative rights on the command line and issue the following command:
chlparutil -r config -s 300This will enable data collection for all current managed system on the HMC but not on future ones.
Download the latest available code since it contains latest fixes and capabilities: https://www.ibm.com/support/pages/system/files/inline-files/hmcScanner-0.11.57.zip
Extract HMC Scanner Code into a new empty directory
Inspect the hmcScanner.ksh and hmscScanner.bat files ensuring they are able to locate Java executable on your system
You can ensure data collection is active by looking at scanner’s report. Select the System_Summary tab and look at the Perf Sample Rate column: if the cell is empty or has a zero value, data collection is not active.
See page 2 for an HMC Screenshot and location of the “Enable Performance Information
Collection” checkbox.Execute the scanner by providing HMC address, user and password:
hmcScanner.bat HMC_name_or_IP hscroot -p password -stats
Additional Storage Allocation/Utilization Considerations
The HMC Scanner utility will not report on storage (either local or SAN attached). Therefore, please gather the LPAR/VM storage allocation/utilization information:
- If IBM i: Please run the following command: WRKSYSSTS against each IBM i LPAR that will be included in the sizing assessment. Then “print screen” the output for future reference in the IP4G cost estimate tool.
- If AIX: Please run the following command(s) against each AIX LPAR (VM) that will be included in the sizing assessment. The AIX command(s) are as follows:
hostname
lsdev -Cc disk | grep -v Defined | awk '{print $1}' | xargs -n1 -I{} ksh -C "echo {} \\\c ; /usr/sbin/bootinfo -s {}"
The output will provide the size of each hdisk, and will look like this:
hdisk0 20480 hdisk1 5120 hdisk2 5120 _etc._