HP Matrix Operating Environment Chargeback
Technical white paper | HP Matrix Operating Environment Chargeback
11
Servers
The list of servers is represented by the <servers> element. In this list, each server is represented by the
<serverUsageDetail> element. Figure 12 shows a partial example of an XML file containing server allocation metrics.
Figure 12. XML element containing server metrics
<resourceUsageDetail>
<servers>
<serverUsageDetail>
<allocationCost>2.4315</allocationCost>
<allocationHours>8.7528</allocationHours>
<hostName>intranet02</hostName>
<resourceType>VIRTUAL</resourceType>
<uptimeHours>8.7528</uptimeHours>
</serverUsageDetail>
<serverUsageDetail>
<allocationCost>2.4315</allocationCost>
<allocationHours>8.7528</allocationHours>
<hostName>intranet01</hostName>
<resourceType>VIRTUAL</resourceType>
<uptimeHours>8.7528</uptimeHours>
</serverUsageDetail>
</servers>
</resourceUsageDetail>
Note
The ‘resourceType’ of the ‘serverUsageDetail’ identifies whether the server is PHYSICAL, VIRTUAL, CLOUD or PRIVATE
CLOUD. PHYSICAL and VIRTUAL types are servers deployed on-premise. The CLOUD type identifies resources deployed
to external cloud providers such as HP Cloud Services or Amazon EC2. The type also can be PRIVATE CLOUD in order to
distinguish between cloud capacity pools that require public cloud license (external clouds) and those which do not need it
(internal clouds).
Disks
The list of disks is represented by the <disks> element. In this list, each disk is represented by the
<diskUsageDetail> element. Figure 13 shows a partial example of an XML file containing disk allocation metrics.
Figure 13. XML element containing disk metrics
<resourceUsageDetail>
<disks>
<diskUsageDetail>
<allocationCost>0.1190</allocationCost>
<allocationHours>8.7528</allocationHours>
<isInCloud>false</isInCloud>
<logicalDiskName>Disk1-1</logicalDiskName>
<sizeGb>0.0977</sizeGb>
</diskUsageDetail>
<diskUsageDetail>
<allocationCost>0.1190</allocationCost>
<allocationHours>8.7528</allocationHours>
<isInCloud>false</isInCloud>
<logicalDiskName>Disk1-2</logicalDiskName>
<sizeGb>0.0977</sizeGb>
</diskUsageDetail>
</disks>
</resourceUsageDetail>