
5 Select a resource and define an expression for it.
a To include only an attribute, select the required attribute from the Attribute drop-down menu.
b To obtain a maximum of a set of attribute values, click MAX and then select the required attributes
from the Attribute drop-down menu.
c To calculate the resource units only for the powered-on virtual machine, first select the VM Power
On/Off option and then define the required expression for the selected resource.
d To account for the storage linked clones, select the Distribute Linked Clones option. This option is
available only if you define an expression for the storage resource.
e Repeat this step for each computing resource. You can select All other resources from the Resource
drop-down menu and define an expression for all the computing resources for which an expression
has not been defined in the billing policy.
NOTE The billing policy must account for all the computing resources.
6 (Optional) Select Add/Include Fixed Cost to consider the fixed costs during cost calculation.
7 Click Create.
The created billing policy is displayed in the table on the Billing Policy page.
Example 6-1. A Sample Billing Policy Expression
Let us try to define a billing policy that accounts for the maximum of reservation and usage for CPU and
memory only for virtual machines that are powered on, maximum of allocation or usage for storage and also
consider the linked clones, and allocation value for all other resources.
Table 6-3 lists the resources and the corresponding conditions, operators, and attributes for defining this billing
policy expression.
Table 6-3. Sample Billing Policy Expression
Resource VM Power On/Off MAX Operator Attribute(s)
Distributed Linked
Clones
CPU Yes Yes reservation, usage N.A.
Memory Yes Yes reservation, usage N.A.
Storage No Yes allocation, usage Yes
All other resources No No allocation N.A.
In this billing policy, if you want to account for the fixed costs, then you must select the Add/Include Fixed
Cost option.
Edit a Billing Policy
You can modify the custom billing policies at any time.
You must have update privilege on the billing policy to perform this task.
NOTE The system-defined billing policies cannot be changed.
Procedure
1 In the Manage Cost tab, click Billing Policy.
A table listing all the billing policies created in the application is displayed.
2 Select the required billing policy from the table and click Edit.
The Billing Policy screen is displayed.
vCenter Chargeback User’s Guide
102 VMware, Inc.
Komentáře k této Příručce