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

The remaining task is to remove whole OS workloads that are subdivided by Integrity VM, pset, or fss
workloads. This can be accomplished with a filter such as the following:
CMS # cat ./listwklds2.sh
WKLDSFILE=/tmp/gwlmreport.config.out
gwlmreport config | awk -v RS="" '{printf "%s %s %s
%s\n",$1,$3,$6,$9}' | grep "
^Workload " | awk '{printf "%s %s %s\n", $2, $3, $4}' | grep -v
"Other" > $WKLDS
FILE
for w in `cat $WKLDSFILE | grep Whole | awk '{print $1}'`; do
cat $WKLDSFILE | grep -v Whole | \
awk ' BEGIN {WM=0} \
{if (match($2,"'$w'")) {WM=1; printf "%20s %10s
%20s\n",$1,$3,"'$w'"}} \
END {if (WM==0) {printf "%20s %10s
%20s\n","'$w'","Whole","'$w'"}}'
done
rm $WKLDSFILE:w
CMS #
This filter produces output similar to the following:
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
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 #
Workload Utilization Information
Capacity Advisor stores information about the utilization of workloads for planning and optimization.
This data can also be used for chargeback purposes. The desired metric is typically CPU core usage,
but memory can also be factored in.
This section concentrates on tools provided by Capacity Advisor because this component can be
configured to collect utilization information about all workloads. The reporting feature of gWLM can
also provide useful utilization information. However, gWLM reports only on workloads that it is
actively managing. The set of gWLM managed workloads can be a subset of all workloads in the
environment. For more information about gWLM reporting tools, see resourceaudit and
topborrowers on gwlmreport( ).
GUI: Capacity Advisor Profile Viewer
21