Extracting Resource Allocation Data for Chargeback in a HP Virtual Server Environment for HP Integrity Servers

CLI: gwlmreport config tool
As described earlier, the output of the gwlmreport config tool can be used to list all workloads.
A filter can be used to remove all but the end “leaf” workloads of the hierarchy that are associated
with end-user processing. This output contained a line for each workload with the workload’s name,
type, and host:
CMS # ./listwklds2.sh
Generating historical config report.
Please be patient. This may take several minutes.
vmhpux1 VM va01sv.zko.hp.com
vmlin1 VM va01sv.zko.hp.com
vmhpux2 VM va01sv.zko.hp.com
vmwin1 VM va01sv.zko.hp.com
va00vm03.zko.hp.com Whole va00vm03.zko.hp.com
va00np00.zko.hp.com Whole va00np00.zko.hp.com
legacy01 Whole legacy01
va00np10.zko.hp.com Whole va00np10.zko.hp.com
legacy02 Whole legacy02
sales-va02cm gWLM-created va02cm.zko.hp.com
finance-va02cm gWLM-created va02cm.zko.hp.com
legacy03 Whole legacy03
CMS #
The next task is to determine either the physical server or complex with which the host of the workload
is associated. The previous example used the HP SIM mxnode command to display the properties of
HP SIM managed nodes and determine their type. For example:
CMS # mxnode -ld va01sv
System name: va01sv
Host name: va01sv.zko.hp.com
IP addresses: 16.116.90.85
OS name: HPUX
OS revision: 11.23
OS revision text: HP-UX B.11.23 U
OS vendor: HP
Device type: Server
Device subtype: HPVMHost
Device subtype: HPIntegrity
Device subtype: SMI
Device subtype: Storage
Model: ia64 hp server rx4640
CMS #
You can use the gwlmreport config and mxnode commands together to identify the workload
hosts, as shown in the following script:
CMS # cat wkldphys.sh
WKLDSFILE=/tmp/gwlmreport.config.out
WKLDSFLTRD=/tmp/wkldsfltrd
# extract a list of all workloads
41