2.0
Table Of Contents
- vCenter Chargeback Manager User’s Guide
- Contents
- About the User's Guide
- Introduction to vCenter Chargeback Manager
- Configuring Administration Settings
- Authenticating and Managing Users, Roles, and Permissions
- Resource Based Authorization in vCenter Chargeback Manager
- Permissions Defined in vCenter Chargeback Manager
- Managing Roles
- Managing Users
- vCenter Chargeback Manager User Authentication
- Managing Chargeback Hierarchies
- Creating a Chargeback Hierarchy
- Managing a Chargeback Hierarchy
- View a Chargeback Hierarchy
- Add a vCenter Chargeback Manager Entity
- Add a vCenter Server Entity
- Rename a Chargeback Hierarchy or a Chargeback Entity
- Delete an Entity from the Hierarchy
- Delete a Chargeback Hierarchy
- Assign Attributes
- Move Entities Within a Hierarchy
- Allocate Computing Resource Units for a Chargeback Entity
- Share Virtual Machine Cost
- Backdate a Chargeback Hierarchy
- View Properties of a vCenter Server Entity
- Managing and Configuring vCenter Chargeback Manager Cost Elements
- Generating Reports
- Monitoring System Health
- Administration Utilities
- Index
Prerequisites
Before you begin, you must ensure that the .csv file entries are in the correct format. To know more about the
format of the .csv file entries, refer to “Format of the CSV File,” on page 57.
Procedure
1 In the Manage Hierarchy tab, click Create Hierarchy.
The Create Hierarchy screen is displayed.
2 Enter a name and description for the hierarchy.
The name must not exceed 255 characters and the description must not exceed 512 characters in length.
3 Select Import hierarchy from .csv file.
4 Enter the path of the .csv file or alternately you can browse the system or the network to locate the file.
5 Click Create.
A chargeback hierarchy is created using the entries from the .csv file.
What to do next
You can use the created hierarchy as is or modify it as per your requirements.
Format of the CSV File
The entries in the CSV file used to create a chargeback hierarchy must adhere to the format defined by vCenter
Chargeback Manager.
Starting with vCenter Chargeback 1.5, a new format for the entries in the CSV file is defined. This new format
is as follows:
UniqueId, ChildName, ParentId, ChildEntityType [[, description] [, vcIP/DNS, vcEntityMoId,
vCenterViewId]]
Table 4-1 describes each of the parameters in the CSV file entry.
Table 4-1. Parameters in the CSV File Entry
Parameters Description
UniqueId
A unique number to identify the entity. The UniqueId of the first entry in the file must be 1.
ChildName
Name of the entity.
ParentId
The UniqueId of the parent of this entity. If this entity is the root entity, the ParentId must
be -1.
ChildEntityType
The type of the entity. If the entity is a vCenter Chargeback Manager entity, the
ChildEntityType must be 101. If the entity is a vCenter Server entity, the
ChildEntityType must be 0.
description
(optional) Description of the entity. For a vCenter Server entity, this is not applicable.
vcIP/DNS
The IP address or the DNS name of the vCenter Server as configured in the vCenter
Chargeback Manager.
vcEntityMoId
The moid (managed object ID) of a virtual machine as defined in the vCenter Server. You can
obtain the entity MoID by using vSphere SDK or through the vCenter server MOB
(http://{vcserverIP}/mob)
vCenterViewId
The vCenter Server hierarchy view to be used for creating the chargeback hierarchy. If you
want to use the Host & Clusters view, then set vCenterViewId to 1. For the VMs & Templates
view, set vCenterViewId to 2.
Chapter 4 Managing Chargeback Hierarchies
VMware, Inc. 57