Operating Environment Software Instruction Manual

Table 6 Chargeback reported metrics
ValueMetric
Measured in minutes. Represents the time the resource was allocated to
an infrastructure service. Collected for all resources inside an infrastructure,
Allocation time
including services, logical servers, disks, and IP addresses, and for the
infrastructure itself
Measured in cost units. Represents allocation time multiplied by allocation
cost in minutes. Calculated for all individual resources, including fixed
Allocation cost
costs, logical servers, disks, and IP addresses in the infrastructure and for
the entire infrastructure
Measured in minutes. Represents the time that the logical server is up and
running (power status UP)
Logical server uptime
Assigned to the service. Considered once for the entire service lifecycleFixed cost
Chargeback metrics collected after an upgrade
When upgrading from a previous version of Matrix OE to 7.1, the chargeback component
automatically acknowledges the existence of deployed services and starts collecting chargeback
metrics from the upgrade time forward. For these services, the chargeback component can report
allocation time, uptime, disk size, number of IP addresses, and number of servers.
Templates and services from an earlier version do not have a cost frequency assigned. Therefore,
costs for existing services are not tracked or reported, and negative values are returned for cost
metrics for those services.
After an upgrade to 7.1, server costs are updated to reflect the server cost assignment. Existing
total cost is assigned to base cost, and CPU unit cost and memory unit cost are assigned to 0. This
is a model in which, independent of the number of the CPU and memory, the cost for that server
is fixed.
Using API extensions to retrieve chargeback data
Matrix infrastructure orchestration includes API extensions to retrieve chargeback usage data.
Client software can connect to the chargeback server to build infrastructure resource allocation
and usage reports for information on current and past services.
The chargeback SOAP WSDL is located at
https://<cms-or-ip-address>:55443/hpio/chargeback/soap/v1?wsdl.
Following are the API methods that you can use to retrieve chargeback usage data.
Table 7 Chargeback API methods
DescriptionMethod
Returns usage and cost data for selected services.
For daily infrastructure usage data, set the period.type flag to DAILY. To return
summarized infrastructure for a period, set the period.type flag to PERIOD. Server,
Disk and IP address data is consolidated per infrastructure.
getServicesUsagePage
Returns detailed usage and cost data for selected services.
For daily infrastructure usage data, set the period.type flag to DAILY. To return
summarized infrastructure for a period, set the period.type flag to PERIOD. Data
for each Server, Disk and IP address is shown in detail.
getServiceUsageDetailPage
Returns aggregated usage and cost values for selected services.
Returns one entry with consolidated data for the entire period.
getAggregateServiceUsage
Following is sample output from each API.
130 Matrix infrastructure orchestration provisioning and allocation