VMware vCenter Chargeback Manager - 1.5 User’s Guide

vCenter Chargeback User’s Guide
vCenter Chargeback 1.5
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-000429-00
vCenter Chargeback User’s Guide
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com

Contents

About This Book 5
Introduction to vCenter Chargeback 7
1
What Is Chargeback 7
Chargeback Solution for Virtual Environments 7
Overview of vCenter Chargeback 8
Installing vCenter Chargeback 11
2
Hardware Requirements 11
Software Requirements 12
Prerequisites for vCenter Chargeback 13
Download and Extract the vCenter Chargeback Installer 15
Install vCenter Chargeback 15
Create a vCenter Chargeback Cluster 19
Install vCenter Chargeback with an Existing Database Schema 22
Upgrading vCenter Chargeback 25
Services Related to the vCenter Chargeback Application 28
Accessing the vCenter Chargeback Application 29
Data Collector 29
Uninstall vCenter Chargeback 37
Configuring Administration Settings 39
3
Activate the Application 39
Configuring Generic Settings 39
Managing LDAP Servers 42
Managing vCenter Servers 44
Managing Data Collectors 48
Managing the Application License 54
Manage Report View 55
Managing Attributes 57
Manage System Health Thresholds 58
VMware, Inc.
Authenticating and Managing Users, Roles, and Permissions 59
4
Resource Based Authorization in vCenter Chargeback 59
Permissions Defined in vCenter Chargeback 60
Managing Roles 61
Managing Users 66
vCenter Chargeback User Authentication 73
Managing Chargeback Hierarchies 75
5
Creating a Chargeback Hierarchy 75
3
vCenter Chargeback User’s Guide
Managing a Chargeback Hierarchy 78
Managing and Configuring vCenter Chargeback Cost Elements 87
6
vCenter Chargeback Cost-Related Elements 87
Managing Cost Models 92
Managing Fixed Costs 96
Managing Cost Templates 99
Managing Billing Policies 101
Configuring Cost at the Entity Level 103
Physical Infrastructure Costing 105
Generating Reports 107
7
About Reports 107
Generate a Cost Report 109
Generate a Usage Report 110
Generate Cost Comparison Report 112
Scheduling Report Generation 113
Managing Reports 118
Managing Archived Reports 121
Report Dashboard 124
Monitoring System Health 127
8
vCenter Chargeback Events 128
Administration Utilities 129
9
Database Password Change Utility 129
vCenter Chargeback Database Management Scripts 130
Troubleshooting vCenter Chargeback 133
10
Troubleshooting Utility 133
Troubleshooting Issues in vCenter Chargeback 134
Index 147

About This Book

The vCenter Chargeback User's Guide provides information about configuring and using the chargeback solution for virtual environments that use VMware Infrastructure or VMware vSphere.
Intended Audience
This book is intended for anyone who wants to install, upgrade, or use vCenter Chargeback. The information in this book is written for experienced Windows or Linux system administrators who are familiar with virtual machine technology and datacenter operations.
VMware Technical Publications Glossary
VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For definitions of terms as they are used in VMware technical documentation, go to
http://www.vmware.com/support/pubs.
Document Feedback
VMware welcomes your suggestions for improving our documentation. If you have comments, send your feedback to docfeedback@vmware.com.
Technical Support and Education Resources
The following technical support resources are available to you. To access the current version of this book and other books, go to http://www.vmware.com/support/pubs.
Online and Telephone Support
Support Offerings
VMware Professional Services
VMware, Inc. 5
To use online support to submit technical support requests, view your product and contract information, and register your products, go to
http://www.vmware.com/support.
Customers with appropriate support contracts should use telephone support for the fastest response on priority 1 issues. Go to
http://www.vmware.com/support/phone_support.html.
To find out how VMware support offerings can help meet your business needs, go to http://www.vmware.com/support/services.
VMware Education Services courses offer extensive hands-on labs, case study examples, and course materials designed to be used as on-the-job reference tools. Courses are available onsite, in the classroom, and live online. For onsite pilot programs and implementation best practices, VMware Consulting
vCenter Chargeback User’s Guide
Services provides offerings to help you assess, plan, build, and manage your virtual environment. To access information about education classes, certification programs, and consulting services, go to
http://www.vmware.com/services.

Introduction to vCenter Chargeback 1

vCenter Chargeback is an end-to-end cost reporting solution for virtual environments using vSphere. Before you install and start using vCenter Chargeback, an understanding of what chargeback is and about chargeback solution for a virtual environment would be helpful.
This chapter includes the following topics:
n
“What Is Chargeback,” on page 7
n
“Chargeback Solution for Virtual Environments,” on page 7
n
“Overview of vCenter Chargeback,” on page 8

What Is Chargeback

Chargeback is a mechanism to account for the operational costs involved in providing and maintaining an IT infrastructure, including the costs for IT services and applications. Measuring resource utilization and calculating the corresponding IT operational cost enables you to account for the IT resources utilized and bill for the services provided.
In a non-virtual environment, a physical server and the associated resources like the applications running on it can be easily mapped to the department using them, making the billing for such resource utilizations relatively easy. Also, costs incurred due to maintenance and licensing can be directly associated to a department, thereby enabling you to calculate the complete IT operational costs.
In a virtual environment, however, the task of calculating the IT operational cost for each department becomes very difficult. Multiple virtual machines run on a physical server, which might be shared across different departments or cost centers in an organization. As a result, resource utilization for this server and, therefore, the cost incurred cannot be directly associated to any single department or cost center. The difficulty in accounting gets further compounded when applications and services get shifted over time to different servers, based on the load and available infrastructure resources.

Chargeback Solution for Virtual Environments

In a virtual environment, a chargeback solution requires a flexible metering system that can account for the utilization of resources shared across the organization.
These measurements can be based on allocation or actual usage of individual servers and resources. In the case of VMotion, DRS, or HA being enabled, the measurements could be based on the allocation or actual usage of resource pools.
To support chargeback, the virtual environment and the chargeback solution must provide ways to measure resource usage and associate the usage with a specific costing model. The chargeback solution must also support the use of different costing models so as to charge the various departments or cost centers differently.
VMware, Inc.
7
vCenter
Chargeback
database
vCenter
Server
database
vCenter Server
VIM APIJDBC
Data Collector
vCenter Chargeback
Load Balancer
ESX
host02
ESX
host03
ESX
host01
vCenter Chargeback
UI
vCenter Chargeback User’s Guide
A chargeback solution for a virtual environment defines a hierarchy with different types of entities such as departments, divisions, business units, cost centers, physical servers, virtual machines, and so on. For each entity type, a cost model is defined that determines the rate for each unit of a resource utilized. The chargeback solution determines the resource usage by using either utilization-based metering or allocation-based metering of virtual machines. The metered parameters are then associated with the designated entities, and the cost model defined for that entity along with specific chargeback formulas are used as part of the overall chargeback solution.

Overview of vCenter Chargeback

Determining the resource utilization and calculating the corresponding cost for a virtual environment that uses VMware vSphere typically involves VMware professional services’ work or use of partner solutions. These solutions are built using custom methods for VMware vSphere resource data collection and chargeback cost calculation for organizations.
vCenter Chargeback is an end-to-end cost reporting solution for virtual environments that use VMware vSphere. This Web-based application interacts with the vCenter Server Database to retrieve usage information, calculates the cost by using the defined chargeback formulas, and generates reports. Figure 1-1 shows how vCenter Chargeback interacts with various components of a virtual environment.
Figure 1-1. vCenter Chargeback in a Virtual Environment
vCenter Chargeback runs on an Apache Tomcat server instance. The user interacts with the vCenter Chargeback application through a load balancer (Apache HTTP Server). vCenter Chargeback connects to a vCenter Chargeback database that stores application-specific information, such as the defined chargeback hierarchies, cost models, users, roles, and so on. The application also interacts with the vCenter Server and vCenter Server database through a data collector. The data collector communicates with the vCenter Server using VIM APIs and with the vCenter Database using JDBC.
Chapter 1 Introduction to vCenter Chargeback
When you install vCenter Chargeback, the vCenter Chargeback application, the load balancer, and the data collectors are installed and run on the same machine. Although the vCenter Chargeback database can also be installed on the same machine, in a real-world scenario you would install the application and the database on separate machines.
vCenter Chargeback retrieves the virtual infrastructure inventory and the resource usage information for each virtual machine from the vCenter Server database through the data collector. The data collector replicates this information in the vCenter Chargeback database. vCenter Chargeback uses this information from the vCenter Chargeback database along with the cost model and chargeback cost calculation formulas to generate the cost reports. A single data collector instance can communicate with multiple vCenter Server instances and vCenter Server databases and replicate the relevant information in a vCenter Chargeback database.
vCenter Chargeback also lets you create a cluster of vCenter Chargeback instances that share a single load balancer. Each user request is routed through the load balancer. The load balancer forwards the request to a vCenter Chargeback instance in the cluster based on the number request currently being serviced by each instance in the cluster. All the vCenter Chargeback instances in a cluster are connected to the same vCenter Chargeback database.
VMware, Inc. 9
vCenter Chargeback User’s Guide

Installing vCenter Chargeback 2

Before you install vCenter Chargeback, you must ensure that the minimum hardware and software requirements are met and the relevant pre-installation tasks are performed.
This chapter includes the following topics:
n
“Hardware Requirements,” on page 11
n
“Software Requirements,” on page 12
n
“Prerequisites for vCenter Chargeback,” on page 13
n
“Download and Extract the vCenter Chargeback Installer,” on page 15
n
“Install vCenter Chargeback,” on page 15
n
“Create a vCenter Chargeback Cluster,” on page 19
n
“Install vCenter Chargeback with an Existing Database Schema,” on page 22
n
“Upgrading vCenter Chargeback,” on page 25
n
“Services Related to the vCenter Chargeback Application,” on page 28
n
“Accessing the vCenter Chargeback Application,” on page 29
n
“Data Collector,” on page 29
n
“Uninstall vCenter Chargeback,” on page 37

Hardware Requirements

The system on which vCenter Chargeback is installed must meet the minimum hardware requirements for installing and running the application.
vCenter Chargeback can be run on a computer or a virtual machine that matches or exceeds the following hardware specifications:
n
2.0GHz or faster Intel or AMD x86 processor
n
4GB or more of RAM
n
A minimum of 2GB disk storage (3GB recommended)
n
10/100 Ethernet adapter (Gigabit recommended)
If you want to install the vCenter Chargeback database on the computer on which vCenter Chargeback along with the load balancer and data collector is already installed, then additional storage, memory, and processor capacity are required.
VMware, Inc.
11
vCenter Chargeback User’s Guide

Software Requirements

Other than an operating system, you must have a database management system and a Web browser installed to run and access vCenter Chargeback.
Operating Systems
The vCenter Chargeback application can be installed and run on the following operating systems (32-bit and 64-bit):
n
Microsoft Windows 2003 Server with SP2
n
Microsoft Windows 2003 Server R2
n
Microsoft Windows 2008 Server R2 with SP2
Database Management Systems
vCenter Chargeback supports the following database management systems (both 32 bit and 64 bit):
n
Microsoft SQL Server 2005 (Standard and Enterprise)
n
Microsoft SQL Server 2008 (Standard and Enterprise)
n
Microsoft SQL Server 2005 Express
n
Oracle Database 10g (Standard and Enterprise)
n
Oracle Database 11g (Standard and Enterprise)
Web Browsers and Flash Player Plug-In
vCenter Chargeback is a browser-based application that is tested and supported on the following:
n
Microsoft Internet Explorer 7.x and 8.x
n
Mozilla Firefox 3.5 and later releases
n
Adobe Flash Player for Windows Plug-in version 10.1 or later
n
Adobe Flash Player for Linux Plug-in version 10.1 or later
VMware vCenter Server
vCenter Chargeback supports VirtualCenter Server 2.5 Update 3 and later releases and vCenter Server 4.0 and later releases.

Prerequisites for vCenter Chargeback

Before installing and running vCenter Chargeback few pre-install tasks have to be preformed.
Networking Prerequisites
You must perform the following pre-installation tasks for the successful installation and running of vCenter Chargeback:
n
Check whether the ports are free.
Ensure that the ports that you specify during the installation are free. While installing you must specify the port numbers for the following:
Chapter 2 Installing vCenter Chargeback
HTTP port
Load-balancer port
HTTPS port
If any of the specified port is also configured for another service and the service is not running, then the installer will use the specified port. However, this might result in a port conflict and either of the configured services might fail.
n
Set a static IP address on the machine.
Before you install the vCenter Chargeback application on a machine, you must obtain a static IP address from your network administrator. Set this IP address on the machine on which you are going to install vCenter Chargeback. Preferably, obtain and set static IP addresses on all the servers and databases that the application communicates with.
This port is used by vCenter Chargeback for communication using the HTTP protocol. The default port number is 8080.
This port is used by vCenter Chargeback to communicate with the load balancer. The default port is 8009.
This port is used by the load balancer to listen for user requests. The default port is 443.
Database-Related Prerequisites
Before you begin the vCenter Chargeback installation you must create a vCenter Chargeback database and a corresponding database user. vCenter Chargeback stores the application-specific data, such as cost models, chargeback hierarchies, and users and roles, in the vCenter Chargeback database. You must, therefore, first create a database for storing this data. The database management systems supported by vCenter Chargeback are listed in “Software Requirements,” on page 12. You can either create the database yourself by referring to the corresponding product documentation or ask your database administrator to create one for you.
If you using an Oracle database as the vCenter Chargeback database, you must configure the database to use the Unicode (AL32UTF8) character set to support the following scenarios:
n
You want to deploy the vCenter Chargeback database in a non-English environment.
n
You want to synchronize the vCenter Chargeback database with a vCenter Server database that has non­English data.
After you create the vCenter Chargeback database, you must also create a database user to access this database. Ensure that the database user has the privileges to create and delete schema, as well as read from and write to the database.
VMware, Inc. 13
vCenter Chargeback User’s Guide
You must provide the details of this vCenter Chargeback database and database user when installing vCenter Chargeback. The installer will use these details to create the database schema and objects. Also, vCenter Chargeback will log in to the vCenter Chargeback database using the details of this database user and perform the necessary database operations.
NOTE Instead of using the default database users, such as sa, SYS, and SYSTEM, create a database user with just the required privileges and access the database with this users credentials. This is a good security practice.
Other Software Prerequisites
You must ensure that the following pre-install tasks are performed:
n
Ensure that system time of all the servers and databases are in sync.
You must ensure that the system time of the machines on which you install vCenter Chargeback and vCenter Chargeback database are in sync. If you plan to install a separate data collector on a different machine, then the system time of this machine must be in sync with that of the other machines.
n
Ensure that MSI Installation is enabled.
Before you start the installation, you must ensure that MSI installation is enabled on the machine. If not, you must manually install Microsoft Visual C++ 2005 Redistributable Package (x86) before running the vCenter Chargeback installer.
n
Ensure that port exceptions are configured on the Windows firewall.
If the Windows Firewall is enabled, you must set the port exceptions for the HTTP, load balancer, and HTTPS ports on the Windows Firewall. If these exceptions are not set, the application will be not be usable.
n
Ensure that the Windows user has the Log on as a service permission.
If you want to use the Windows authentication option for the vCenter Chargeback database, you must ensure that the Windows user has the Log on as a service permission. If this permission is not set on the user, the installation will fail. Also, the installer must be run in the context of this Windows user.
Preinstallation Checklist
The pre-installation checklist helps you ensure that you have all the required information and have performed the necessary pre-install tasks.
Table 2-1. vCenter Chargeback Pre-Install Checklist
Item Requirement Checked
Hardware Configuration
CPU 2.0GHz or faster Intel or AMD x86 processor
RAM 4.0 GB or more
Disk space Minimum 2.0 GB; Recommended 3.0 GB or more
Card 10/100 Ethernet adapter (Gigabit recommended)
Network Configuration
Static IP Address Write down the IP address of the machine on which you plan to install
vCenter Chargeback. Ensure that the machine has a static IP address.
Port Numbers HTTP Port (default: 8080)
Load-balancer Port (default: 8009)
HTTPS Port (default: 443)
Ensure that the default ports are free. If not, use any other free ports. Note down the port numbers that you want to use.
Database Configuration
Chapter 2 Installing vCenter Chargeback
Table 2-1. vCenter Chargeback Pre-Install Checklist (Continued)
Item Requirement Checked
Type Microsoft SQL Server 2005 or later
Oracle Database 10g or later
Database name Create a database for vCenter Chargeback and note down the database
name.
URL IP address of the vCenter Chargeback database Ensure that the machine
on which the database is installed has a static IP address.
TNS listener port for Oracle database
Database instance name for SQL Server database
Database user name and password
Software Configuration
System Time Ensure that system time of all the servers and databases are in sync
Microsoft SQL Server Ensure that the SQL Server Browser service is running if you are using
MSI Installation Is MSI installation enabled?
Port Exceptions on Windows Firewall
User name of the database user who has privileges to create and delete schema, as well as to read from and write to the database.
Password for this user
If you are using Windows Authentication for a Microsoft SQL Server database, then you must have the Windows user account name. This user must have the Log on as a service permission.
Password for this Windows user account
If you are using Windows authentication, ensure that you run the installer in the context of this Windows user.
a database instance name and dynamic database instance port to connect to the vCenter Chargeback database.
If not, install Microsoft Visual C++ 2005 Redistributable Package (x86).
If you have enabled Windows Firewall, you must set the port exceptions for the HTTP port, load balancer port, and HTTPS port.

Download and Extract the vCenter Chargeback Installer

You must first download the installer files and extract its contents on to the machine on which you want to install vCenter Chargeback. You must run the installer on the local machine and not from a remote machine.
Procedure
1 Download the installation-related files, vCenter-CB-
version_number-build_number
http://www.vmware.com/products/vcenter-chargeback/overview.html.
2 Extract the content of this ZIP file to the machine on which you want to install the application.
The vCenter-CB.exe file is the installer file.
What to do next
Run the installer to install vCenter Chargeback.

Install vCenter Chargeback

vCenter Chargeback can be installed on any system or virtual machine that meets the system requirements.
Prerequisites
Ensure that you run the installer on the machine on which vCenter Chargeback has to be installed. Do not run it on a remote machine.
.zip, from
VMware, Inc. 15
vCenter Chargeback User’s Guide
Procedure
1 Run the vCenter-CB.exe file.
The installation wizard is displayed.
2 Click Next on the Introduction screen.
3 Accept the end-user license agreement, and click Next.
4 Provide the path for the installation directory, and click Next.
If the specified installation directory exists, ensure that it is empty. If the specified installation directory does not exist, the installer creates the directory. The install path must contain at least one folder. You cannot provide only the drive name.
5 Enter the vCenter Chargeback database-related information, and click Next.
Option Description
Database Type
Database URL
Database Port
Database Name
SQL Authentication Mode
Database Username
Database Password
If the installer successfully connects to the database, the next screen is displayed.
The type of database used to create the vCenter Chargeback database. This can be either SQL SERVER or ORACLE.
The IP address or host name of the system on which the vCenter Chargeback database is installed. For an SQL Server database, you can also provide the vCenter Chargeback database instance name.
For Oracle Database, the database URL can be in any of the following formats:
IP Address Host Name
For SQL Server, the database URL can be in any of the following formats:
IP Address Host Name IP Address\Database Instance Name Host Name\Database Instance Name
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. For an Oracle database, you must specify the TNS listener port if you are not using the default port 1521. For an SQL Server database, specify the database instance port if you are using a static port.
Name of the database in which vCenter Chargeback stores the application­specific data. For Oracle Database, ensure that you provide the service name and not the SID.
This option is applicable only for SQL Server databases. For an SQL Server database, the authentication type can be either SQL Server Authentication or Windows Authentication.
The name of the database user. The database user must have privileges to create and delete schema, as well as read from and write to the database. If you select Windows Authentication for SQL Authentication Mode, you must provide the Windows user account name. The user name must be of the form DomainName\UserName. Also, the user must have the Log on as a service permission.
Password for the user name that you have provided. If you select Windows Authentication as the authentication type, you must provide the password for the Windows user account. Ensure that the Windows user account password does not contain any special characters. The installer might fail if the password contains special characters.
Chapter 2 Installing vCenter Chargeback
6 Enter the IP address and port details for the vCenter Chargeback application, and click Next.
Option Description
IP Address
HTTP Port
Load-Balancer Port
Server Instance Name
Static IP address of the machine on which you are installing vCenter Chargeback. Do not use localhost instead of the IP address.
An unused HTTP port through which vCenter Chargeback can communicate.
An unused port through which vCenter Chargeback can communicate with the load balancer (Apache Server).
A unique user-defined name for the vCenter Chargeback instance. This name is used by the load balancer to identify the instance.
If the specified ports are free, the next screen is displayed.
7 Enter the load balancer-related information, and click Next.
Option Description
IP Address
Admin Email Address
HTTPS Port
Static IP address of the machine on which you are installing vCenter Chargeback. Do not use localhost instead of the IP address.
Email address of the server administrator.
An unused port through which the Apache Server can communicate. The load balancer listens on this port for user requests.
If the specified port is free, the next screen is displayed.
8 Enter a user name and password for the vCenter Chargeback administrative account, and click Next.
The password must not exceed 24 characters in length.
9 Choose to install the required data collectors and click Next.
The Install vCenter Chargeback Data Collector option is selected by default. You must have at least one instance of this data collector running and registered with the application for the database synchronization jobs to run.
You can optionally choose to install the VMware Cloud Director Data Collector and vShield Manager Data Collector. All the data collectors can be installed even after a vCenter Chargeback instance is installed. If you are installing the vShield Manager Data Collector, choose to install the VMware Cloud Director Data Collector too or ensure that at least one instance of VMware Cloud Director Data Collector is running.
10 (Optional) If you chose to install the VMware Cloud Director Data Collector, enter the VMware Cloud
Director database-related information, and click Next.
Option Description
Database Type
Database URL
The type of database used to create the VMware Cloud Director database. The only permissible value is ORACLE.
The IP address of the system on which the VMware Cloud Director database is installed.
The database URL can be in any of the following formats:
IP Address Host Name
Database Port
Database Name
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. You must specify the TNS listener port if you are not using the default port 1521.
Name of the database in which VMware Cloud Director stores the application-specific data. This must be the service name and not the SID.
VMware, Inc. 17
vCenter Chargeback User’s Guide
Option Description
Database Username
Database Password
If the installer successfully connects to the database, the next screen is displayed.
11 Review the information displayed on the Pre-Installation Summary screen, and click Install.
The installer starts installing the various components and creating the database schema. If the installation is successful, the URL for accessing the vCenter Chargeback application is displayed.
12 Note this URL, and click Done.
The installer displays a dialog stating whether you want to generate your own SSL certificate.
13 Click Skip now, I'll generate it later.
When you install the application for the first time, the installer performs the following tasks:
n
Connects to the database and creates a schema for the application data.
n
Installs the application.
n
Installs the load balancer, which receives and routes all user requests to the application.
The name of the database user. The database user must have privileges to read the VMware Cloud Director database objects.
Password for the user name that you have provided.
n
Installs the data collector, which synchronizes the vCenter Chargeback database with the vCenter Server databases.
NOTE If the installation fails due to some reason, the uninstaller is automatically invoked and all the components installed till the failure occurred is removed.
What to do next
You can also choose to generate an SSL certificate after the installation is complete by clicking Generate my own SSL Certificate. If you choose to generate an SSL certificate, follow the instructions in “Generate an SSL
Certificate for vCenter Chargeback,” on page 18.

Generate an SSL Certificate for vCenter Chargeback

After you have installed vCenter Chargeback, you can generate an SSL certificate for the vCenter Chargeback instance.
You can generate an SSL certificate for vCenter Chargeback either when installing the application or after you install the application.
Procedure
1 Select Generate SSL Certificate from the Start > Programs > VMware > VMware vCenter Chargeback >
vCenter Chargeback Tools menu.
The Generate SSL Certificate window is displayed.
2 Provide a pass phrase for the default key and press Enter.
You are prompted to enter the pass phrase three more times. Provide the same pass phrase and press Enter each time.
Chapter 2 Installing vCenter Chargeback
3 Provide the required certificate information and press Enter.
You are prompted to enter the some information to be included in the generated SSL certificate.
Option Description
Country Code
State or Province Name
Locality Name
Organization Name
Common Name
Email Address
A two letter code for the country.
Name of the state or province.
Name of the city or town.
Name of the organization.
Your name.
An email address.
4 Provide the requested extra attributes for the certificate and press Enter.
Option Description
A challenge password
An optional company name
A user-defined password
Company name. This is optional and can be left blank
5 Provide the pass phrase and press Enter.
You are prompted to enter the pass phrase again. Provide the same pass phrase and press Enter.
The SSL certificate is generated with the information provided.
6 Press any key to complete the process and close the window.
The generated SSL certificate can be seen when you access the application.

Create a vCenter Chargeback Cluster

Apart from installing standalone vCenter Chargeback instances, you can also create a cluster of vCenter Chargeback instances. A cluster has more than one vCenter Chargeback instance accessing the same vCenter Chargeback database.

Cluster Installation

When you install the vCenter Chargeback application for the first time on a machine, a load balancer is also installed. The existence of the load balancer enables you to have more than one instance of the vCenter Chargeback application running, with each instance accessing the same vCenter Chargeback database.
These vCenter Chargeback instances form a cluster. All user requests are routed through the load balancer. Also, all the instances in the cluster share the same administrative account information. However, you must ensure that each instance of vCenter Chargeback in the cluster is of the same version.
The load balancer ensures that no single vCenter Chargeback instance is loaded disproportionately with user requests. Also, if one of the instances fails, any request currently being serviced by that instance is automatically redirected to another instance in the cluster. For the failover to happen successfully, you must ensure the following:
n
All the vCenter Chargeback instances in the cluster, the vCenter Chargeback database, and the data collectors have the same system time. That is, the system times are in sync.
n
All the vCenter Chargeback instances in the cluster are in the same network domain.
n
Multicasting must be enabled on the machine on which the vCenter Chargeback instance is installed.
VMware, Inc. 19
vCenter Chargeback User’s Guide

Installing a vCenter Chargeback Cluster Instance

You can create a cluster of vCenter Chargeback instances that use the same database and load balancer.
Procedure
1 Run the vCenter-CB.exe file.
The installation wizard is displayed.
2 Click Next on the Introduction screen.
3 Accept the end-user license agreement, and click Next.
4 Provide the path for the installation directory, and click Next.
If the specified installation directory exists, ensure that it is empty. If the specified installation directory does not exist, the installer creates the directory. The install path must contain at least one folder. You cannot provide only the drive name.
5 Enter the vCenter Chargeback database-related information, and click Next.
Option Description
Database Type
Database URL
Database Port
Database Name
SQL Authentication Mode
Database Username
Database Password
If the installer connects to the database and detects a vCenter Chargeback schema, a dialog is displayed.
The type of database used to create the vCenter Chargeback database. This can be either SQL SERVER or ORACLE.
The IP address or host name of the system on which the vCenter Chargeback database is installed. For an SQL Server database, you can also provide the vCenter Chargeback database instance name.
For Oracle Database, the database URL can be in any of the following formats:
IP Address Host Name
For SQL Server, the database URL can be in any of the following formats:
IP Address Host Name IP Address\Database Instance Name Host Name\Database Instance Name
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. For an Oracle database, you must specify the TNS listener port if you are not using the default port 1521. For an SQL Server database, specify the database instance port if you are using a static port.
Name of the database in which vCenter Chargeback stores the application­specific data. For Oracle Database, ensure that you provide the service name and not the SID.
This option is applicable only for SQL Server databases. For an SQL Server database, the authentication type can be either SQL Server Authentication or Windows Authentication.
The name of the database user. The database user must have privileges to create and delete schema, as well as read from and write to the database. If you select Windows Authentication for SQL Authentication Mode, you must provide the Windows user account name. The user name must be of the form DomainName\UserName. Also, the user must have the Log on as a service permission.
Password for the user name that you have provided. If you select Windows Authentication as the authentication type, you must provide the password for the Windows user account. Ensure that the Windows user account password does not contain any special characters. The installer might fail if the password contains special characters.
Chapter 2 Installing vCenter Chargeback
6 Click Use it.
The vCenter Chargeback instance will use this existing vCenter Chargeback database.
7 Enter the IP address and port details for the vCenter Chargeback application, and click Next.
Option Description
IP Address
HTTP Port
Load-Balancer Port
Server Instance Name
Static IP address of the machine on which you are installing vCenter Chargeback. Do not use localhost instead of the IP address.
An unused HTTP port through which vCenter Chargeback can communicate.
An unused port through which vCenter Chargeback can communicate with the load balancer (Apache Server).
A unique user-defined name for the vCenter Chargeback instance. This name is used by the load balancer to identify the instance.
If the specified ports are free, the next screen is displayed.
8 Ensure that the Install Load Balancer Server option is not selected, and click Next.
9 Choose to install the required data collectors and click Next.
The Install vCenter Chargeback Data Collector option is selected by default. You must have at least one instance of this data collector running and registered with the application for the database synchronization jobs to run.
You can optionally choose to install the VMware Cloud Director Data Collector and vShield Manager Data Collector. All the data collectors can be installed even after a vCenter Chargeback instance is installed. If you are installing the vShield Manager Data Collector, choose to install the VMware Cloud Director Data Collector too or ensure that at least one instance of VMware Cloud Director Data Collector is running.
10 (Optional) If you chose to install the VMware Cloud Director Data Collector, enter the VMware Cloud
Director database-related information, and click Next.
Option Description
Database Type
Database URL
The type of database used to create the VMware Cloud Director database. The only permissible value is ORACLE.
The IP address of the system on which the VMware Cloud Director database is installed.
The database URL can be in any of the following formats:
IP Address Host Name
Database Port
Database Name
Database Username
Database Password
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. You must specify the TNS listener port if you are not using the default port 1521.
Name of the database in which VMware Cloud Director stores the application-specific data. This must be the service name and not the SID.
The name of the database user. The database user must have privileges to read the VMware Cloud Director database objects.
Password for the user name that you have provided.
If the installer successfully connects to the database, the next screen is displayed.
11 (Optional) If you chose to install the VMware Cloud Director Data Collector or the vShield Manager Data
Collector, enter the password for the vCenter Chargeback administrative account and click Next.
You must provide the correct password for the data collectors to call the vCenter Chargeback APIs.
VMware, Inc. 21
vCenter Chargeback User’s Guide
12 Review the information displayed on the Pre-Installation Summary screen, and click Install.
The installer starts installing the various components. If the installation is successful, the URL for accessing the vCenter Chargeback application and the information required to add this installed instance to the cluster is displayed.
13 Note this information, and click Done.
The administrative account for accessing this instance will be same as the one used by the existing vCenter Chargeback instance.
NOTE If the installation fails, the uninstaller starts automatically and removes all the components installed.

Adding a vCenter Chargeback Instance to a Cluster

Installing a vCenter Chargeback cluster instance does not automatically add it to the cluster. You must manually add a vCenter Chargeback instance to a cluster.
You can add a vCenter Chargeback instance to a cluster by running the ModifyLBWorkers.bat file on the machine on which the load balancer is installed.
Procedure
1 On the machine on which the load balancer is installed, open a command-line window.
2 Navigate to the \vCenter-CB-Tools\load-balancer\bin directory.
cd
Installation_Folder
\vCenter-CB-Tools\load-balancer\bin\
where, Installation_Folder is the complete folder path provided during the vCenter Chargeback installation. The default installation folder is C:\Program Files\VMware\VMware vCenter Chargeback.
3 Run the ModifyLBWorkers.bat file to register the vCenter Chargeback instance with the load balancer.
ModifyLBWorkers
Host_IP_Address Load-Balancer_Port Server_Instance_Name
Here, Host_IP_Address is the IP address of the machine on which the new vCenter Chargeback instance is installed, Load-Balancer_Port is the port through which the vCenter Chargeback instance communicates with the load balancer, and Server_Instance_Name is the name of the new vCenter Chargeback instance that you want to add to the cluster. Load-Balancer_Port is same as the port configured during the new vCenter Chargeback installation. Server_Instance_Name is the name that you have provided during the installation.
4 Restart the Load Balancer service from the Start > Programs > VMware > VMware vCenter Chargeback
> vCenter Chargeback Services menu.

Install vCenter Chargeback with an Existing Database Schema

You can create a stand-alone vCenter Chargeback instance that uses an existing vCenter Chargeback schema.
Procedure
1 Run the vCenter-CB.exe file.
The installation wizard is displayed.
2 Click Next on the Introduction screen.
3 Accept the end-user license agreement, and click Next.
Chapter 2 Installing vCenter Chargeback
4 Provide the path for the installation directory, and click Next.
If the specified installation directory exists, ensure that it is empty. If the specified installation directory does not exist, the installer creates the directory. The install path must contain at least one folder. You cannot provide only the drive name.
5 Enter the vCenter Chargeback database-related information, and click Next.
Option Description
Database Type
Database URL
The type of database used to create the vCenter Chargeback database. This can be either SQL SERVER or ORACLE.
The IP address or host name of the system on which the vCenter Chargeback database is installed. For an SQL Server database, you can also provide the vCenter Chargeback database instance name.
For Oracle Database, the database URL can be in any of the following formats:
IP Address Host Name
For SQL Server, the database URL can be in any of the following formats:
IP Address Host Name IP Address\Database Instance Name Host Name\Database Instance Name
Database Port
Database Name
SQL Authentication Mode
Database Username
Database Password
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. For an Oracle database, you must specify the TNS listener port if you are not using the default port 1521. For an SQL Server database, specify the database instance port if you are using a static port.
Name of the database in which vCenter Chargeback stores the application­specific data. For Oracle Database, ensure that you provide the service name and not the SID.
This option is applicable only for SQL Server databases. For an SQL Server database, the authentication type can be either SQL Server Authentication or Windows Authentication.
The name of the database user. The database user must have privileges to create and delete schema, as well as read from and write to the database. If you select Windows Authentication for SQL Authentication Mode, you must provide the Windows user account name. The user name must be of the form DomainName\UserName. Also, the user must have the Log on as a service permission.
Password for the user name that you have provided. If you select Windows Authentication as the authentication type, you must provide the password for the Windows user account. Ensure that the Windows user account password does not contain any special characters. The installer might fail if the password contains special characters.
If the installer connects to the database and detects a vCenter Chargeback schema, a dialog is displayed.
6 Click Use it.
The vCenter Chargeback instance will use this existing vCenter Chargeback database.
If you click Create new schema, the existing schema is overwritten.
7 Enter the IP address and port details for the vCenter Chargeback application, and click Next.
Option Description
IP Address
HTTP Port
VMware, Inc. 23
Static IP address of the machine on which you are installing vCenter Chargeback. Do not use localhost instead of the IP address.
An unused HTTP port through which vCenter Chargeback can communicate.
vCenter Chargeback User’s Guide
Option Description
Load-Balancer Port
Server Instance Name
If the specified ports are free, the next screen is displayed.
8 Enter the load balancer-related information, and click Next.
Option Description
IP Address
Admin Email Address
HTTPS Port
If the specified port is free, the next screen is displayed.
9 Choose to install the required data collectors and click Next.
The Install vCenter Chargeback Data Collector option is selected by default. You must have at least one instance of this data collector running and registered with the application for the database synchronization jobs to run.
An unused port through which vCenter Chargeback can communicate with the load balancer (Apache Server).
A unique user-defined name for the vCenter Chargeback instance. This name is used by the load balancer to identify the instance.
Static IP address of the machine on which you are installing vCenter Chargeback. Do not use localhost instead of the IP address.
Email address of the server administrator.
An unused port through which the Apache Server can communicate. The load balancer listens on this port for user requests.
You can optionally choose to install the VMware Cloud Director Data Collector and vShield Manager Data Collector. All the data collectors can be installed even after a vCenter Chargeback instance is installed. If you are installing the vShield Manager Data Collector, choose to install the VMware Cloud Director Data Collector too or ensure that at least one instance of VMware Cloud Director Data Collector is running.
10 (Optional) If you chose to install the VMware Cloud Director Data Collector, enter the VMware Cloud
Director database-related information, and click Next.
Option Description
Database Type
Database URL
The type of database used to create the VMware Cloud Director database. The only permissible value is ORACLE.
The IP address of the system on which the VMware Cloud Director database is installed.
The database URL can be in any of the following formats:
IP Address Host Name
Database Port
Database Name
Database Username
Database Password
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. You must specify the TNS listener port if you are not using the default port 1521.
Name of the database in which VMware Cloud Director stores the application-specific data. This must be the service name and not the SID.
The name of the database user. The database user must have privileges to read the VMware Cloud Director database objects.
Password for the user name that you have provided.
If the installer successfully connects to the database, the next screen is displayed.
11 (Optional) If you chose to install the VMware Cloud Director Data Collector or the vShield Manager Data
Collector, enter the password for the vCenter Chargeback administrative account and click Next.
You must provide the correct password for the data collectors to call the vCenter Chargeback APIs.
12 Review the information displayed on the Pre-Installation Summary screen, and click Install.
The installer starts installing the various components. If the installation is successful, the URL for accessing the vCenter Chargeback application is displayed.
13 Note this URL, and click Done.
The installer displays a dialog stating whether you want to generate your own SSL certificate.
14 Click Skip now, I'll generate it later.
The administrative account for accessing this instance will be same as the one used during the original installation when the existing vCenter Chargeback database schema was created.
NOTE If the installation fails, the uninstaller starts automatically and removes all the components installed.
What to do next
You can also choose to generate an SSL certificate after the installation is complete by clicking Generate my own SSL Certificate. If you choose to generate an SSL certificate, follow the instructions in “Generate an SSL
Certificate for vCenter Chargeback,” on page 18.

Upgrading vCenter Chargeback

You can upgrade your existing vCenter Chargeback setup to vCenter Chargeback 1.5.
Chapter 2 Installing vCenter Chargeback
You must, however, perform a few pre-upgrade tasks to ensure that the upgrade to vCenter Chargeback 1.5 is successful.

Pre-Upgrade Tasks for vCenter Chargeback

The pre-upgrade tasks ensure that you have a backup of the database and necessary configuration files. Also, the completion of the pre-upgrade tasks ensures that vCenter Chargeback can function smoothly after the upgrade is completed.
Prerequisites
In your current vCenter Chargeback installation, check and ensure that the following criteria are met.
n
No roles have names containing the prefix CBM_150_DEFAULT_ROLE_NAME_.
n
None of the LDAP users are assigned the Super User role.
n
None of the user names contain the prefix CBM_150_USER_.
Procedure
1 Check whether the data collector has synchronized all the vCenter Server hierarchies.
You can check the status and last run time for the data collector synchronization jobs from the Data Collectors page of the Settings tab of the application. You can also browse the vCenter Server hierarchies and vCenter Chargeback hierarchies in the application to verify whether the hierarchies are synchronized.
2 Stop all the vCenter Chargeback related services.
3 Take a backup of the existing vCenter Chargeback database.
If the upgrade fails due to some unforeseen reason and you are not able to use the existing setup either, you can use the database backup to recover the data.
What to do next
After you have taken a backup of the database, you must purge the vCenter Chargeback database. See KB 1026068 (http://kb.vmware.com/kb/1026068) for further instructions.
VMware, Inc. 25
vCenter Chargeback User’s Guide
You can also back up the relevant configuration files from the current vCenter Chargeback installation, so that you can restore the existing installation if the upgrade fails. See KB 1026796 (http://kb.vmware.com/kb/1026796) for further details.

Upgrade vCenter Chargeback

You can upgrade an existing vCenter Chargeback instance to a later version.
Prerequisites
Before you upgrade a standalone vCenter Chargeback instance, stop the corresponding vCenter Chargeback service and the data collector services. If any vCenter Chargeback related service is running, the upgrade process fails.
For a cluster installation, you must upgrade each vCenter Chargeback instance in the cluster. You must first upgrade the instance that has the load balancer. Before upgrading the first instance of a cluster, you must stop all the related services. When the first instance is upgraded, the corresponding vCenter Chargeback database is also upgraded. After the upgrade, the vCenter Chargeback service and the corresponding database, data collector, and load balancer services are automatically restarted.
NOTE You must upgrade all the instances in a cluster to ensure that the application functions correctly. A cluster with multi-version vCenter Chargeback instances might not function correctly.
Ensure that you are running the installer on the machine on which you want to install vCenter Chargeback. If you run the installer from a shared location on the network, the installer might fail.
Procedure
1 Run the vCenter-CB.exe file.
The installation wizard is displayed.
2 Click Next on the Introduction screen.
3 Accept the end-user license agreement, and click Next.
When the installer detects an older version of vCenter Chargeback, an Alert dialog box is displayed.
4 Click Upgrade to 1.5.0.0 in the Alert dialog box.
5 If the vCenter Chargeback database is an SQL Server database, the installer displays the Database
Configuration screen.
You can change the SQL Authentication Mode option on this screen.
a (Optional) Select Windows Authentication as the authentication type.
b Provide the Windows user account name in the form DomainName\UserName.
The user must have the Log on as a service permission.
The installer checks whether all the vCenter Chargeback and data collector services are stopped. If any of the services are running, the installer stops the services.
6 Choose to install the required data collectors and click Next.
The Install vCenter Chargeback Data Collector option is selected by default. You must have at least one instance of this data collector running and registered with the application for the database synchronization jobs to run.
You can optionally choose to install the VMware Cloud Director Data Collector and vShield Manager Data Collector. All the data collectors can be installed even after a vCenter Chargeback instance is installed. If you are installing the vShield Manager Data Collector, choose to install the VMware Cloud Director Data Collector too or ensure that at least one instance of VMware Cloud Director Data Collector is running.
Chapter 2 Installing vCenter Chargeback
7 (Optional) If you chose to install the VMware Cloud Director Data Collector, enter the VMware Cloud
Director database-related information, and click Next.
Option Description
Database Type
Database URL
Database Port
Database Name
Database Username
Database Password
The type of database used to create the VMware Cloud Director database. The only permissible value is ORACLE.
The IP address of the system on which the VMware Cloud Director database is installed.
The database URL can be in any of the following formats:
IP Address Host Name
(Optional) The port on which the database service is listening for requests. If the port number is not specified, the installer uses the default port. You must specify the TNS listener port if you are not using the default port 1521.
Name of the database in which VMware Cloud Director stores the application-specific data. This must be the service name and not the SID.
The name of the database user. The database user must have privileges to read the VMware Cloud Director database objects.
Password for the user name that you have provided.
If the installer successfully connects to the database, the next screen is displayed.
8 Provide the password for the administrative account of the existing installation and click Next.
9 Review the information displayed on the Pre-Installation Summary screen, and click Install.
The installer starts upgrading the various components. If the upgrade process is successful, the URL for accessing the vCenter Chargeback application is displayed.
10 Note the URL, and click Done.
The vCenter Chargeback instance is upgraded.
What to do next
You can now connect to the upgraded vCenter Chargeback setup. Ensure that you clear your Web browser cache before you access the application.

Post-Upgrade Changes in vCenter Chargeback

When you upgrade an existing vCenter Chargeback 1.0 or 1.0.1 installation to vCenter Chargeback 1.5, the installer makes changes to the user-defined resources created in the existing installation.
In vCenter Chargeback 1.5, user names are case-insensitive. Therefore, the installer renames users in the existing setup that have the same name but with different casing. The installer uses the prefix CBM_150_USER_ for the duplicate names. You can rename users with such prefix appropriately.
Unlike earlier release, in vCenter Chargeback 1.5 a user cannot be assigned individual privileges on the entities. Therefore, privileges assigned to the user on entities are grouped together into roles after upgrade. These roles have names with the prefix CBM_150_DEFAULT_ROLE_NAME_. You can rename such roles.
If a vCenter Server is added to vCenter Chargeback with the Register as Plugin option selected, then the user whose authentication details are used when adding the vCenter Server is automatically added to vCenter Chargeback. Also, vCenter Server users who have generated reports on this vCenter Server are automatically added to vCenter Chargeback. You can delete the users that are not required and also assign appropriate roles on the ones that are required.
VMware, Inc. 27
vCenter Chargeback User’s Guide
In earlier releases, any user can view any of the vCenter Servers or cost models. However, starting from vCenter Chargeback 1.5, users must be assigned role with privileges to access the cost models and vCenter Servers. Only the super user can view all the resources in the application. The vCenter Server users who are added to the application can view the vCenter Server to which they belong. These users can also view the default hierarchy of the corresponding vCenter Server.
In earlier releases of vCenter Chargeback, users with the view privilege on a hierarchy have privileges to view all the reports generated on the hierarchy. After the upgrade, a user can view only the reports that he has generated. If the user who has generated the report is deleted, then the report is assigned to the super user.
Scheduled report generation might fail after the upgrade is compete. The users who scheduled the reports must be assigned roles with access privileges on the cost models, chargeback hierarchies, and chargeback hierarchical entities used for scheduling the reports. vCenter Chargeback does not display any error message stating the scheduled report generation failed due to lack of privileges.
The Report Viewer role in the earlier versions of vCenter Chargeback is upgraded to the Report Generator role in vCenter Chargeback 1.5. After upgrade, users with the Report View role are assigned the Report Generator role, which has more privileges. Assess the privilege requirements for such users and reassign new roles appropriately.
Any local fixed cost added to a cost template in the existing setup is renamed after the upgrade. If you upgraded from vCenter Chargeback 1.0, then the fixed cost name is prefixed with
CT_
id_of_cost_template_fixed_cost
name is prefixed with G_
. If you upgraded from vCenter Chargeback 1.0.1, then the fixed cost
id_of_cost_template_fixed_cost
.

Services Related to the vCenter Chargeback Application

When vCenter Chargeback is installed, by default, a load balancer is installed. You can install one or more data collector instances too. The services related to vCenter Chargeback and its corresponding components must be started for the application to function properly.
The services related to the application and the corresponding components are:
VMware vCenter Chargeback Service
VMware vCenter Chargeback Load Balancer Service
VMware vCenter Chargeback DataCollector­Embedded
VMware vCenter Chargeback DataCollector
VMware vCenter Chargeback - VMware Cloud Director DataCollector­Embedded
Starting this service starts the application.
Starting this service starts the load balancer. This service must be running so that the load balancer can receive user requests and route them to the application for them to be serviced.
Starting this service starts the Data Collector instance that was installed along with the vCenter Chargeback application.
Starting this service starts the Data Collector instance that was installed individually (in this case, the name of the instance is DataCollector) and not with the application.
Starting this service starts the VMware Cloud Director Data Collector instance that was installed along with the vCenter Chargeback application.
VMware vCenter Chargeback - VMware Cloud Director
Starting this service starts the VMware Cloud Director Data Collector instance that was installed individually (in this case, the name of the instance is VMware Cloud Director DataCollector) and not with the application.
DataCollector
Chapter 2 Installing vCenter Chargeback
VMware vCenter Chargeback - vShield Manager DataCollector­Embedded
VMware vCenter Chargeback - vShield Manager DataCollector
Starting this service starts the vShield Manager Data Collector instance that was installed along with the vCenter Chargeback application.
Starting this service starts the vShield Manager Data Collector instance that was installed individually (in this case, the name of the instance is vShield Manager DataCollector) and not with the application.

Managing Application-Related Services

All the services required for successfully running and accessing vCenter Chargeback are configured to start automatically when the machine is powered on and the operating system is started. You can also manually control these services.
Procedure
1 Select the relevant service menu from the Start > Programs > VMware > VMware vCenter Chargeback >
vCenter Chargeback Services menu.
The menu provides shortcuts for the following services:
n
VMware vCenter Chargeback
n
VMware vCenter Chargeback DataCollector
n
VMware vCenter Chargeback Load Balancer
n
VMware vCenter Chargeback - VMware Cloud Director DataCollector
n
VMware vCenter Chargeback - vShield Manager DataCollector
2 Select the relevant shortcut to start or stop a service from the selected service menu.

Accessing the vCenter Chargeback Application

If all the required services are running, you can access vCenter Chargeback through a supported Web browser.
Procedure
1 Click Launch Chargeback Homepage from the Start > Programs > VMware > VMware vCenter
Chargeback menu.
2 Enter the login credentials, and click Login.

Data Collector

vCenter Chargeback interacts with the vCenter Server and vCenter Server database through a data collector. The data collector synchronizes the information in the vCenter Chargeback database with that in the vCenter Server database.
This release of vCenter Chargeback provides two more data collectors. These are the VMware Cloud Director Data Collector and the vShield Manager Data Collector. These data collectors enable you to integrate VMware Cloud Director with vCenter Chargeback.
vCenter Chargeback support VMware Cloud Director 1.0 and the versions of vShield Manager supported by VMware Cloud Director 1.0.
The VMware Cloud Director Data Collector polls the VMware Cloud Director database for chargeback events. These events details are used to call specific vCenter Chargeback APIs. A chargeback hierarchy for each organization in the VMware Cloud Director setup is created in vCenter Chargeback and also the corresponding allocation details are set on the entities.
VMware, Inc. 29
vCenter Chargeback User’s Guide
By integrating VMware Cloud Director with vCenter Chargeback, you can perform the following tasks:
n
Meter and charge for allocation and usage of VMware Cloud Director resources, including virtual datacenters, vApps, templates and media file storage.
n
Meter and charge for external network bandwidth, network count, and network services, such as DHCP, NAT, and firewall.
n
Deliver multi-tenant chargeback reports.
However, this release does not include support for the following features:
n
Charging for storage utilized by partially created or imported virtual machines, vApps, and templates and media files.
n
Charging for resources utilized by virtual machines that are created by vShield Edge.
The vShield Manager Data Collector fetches the network statistics from the vShield Manager for the networks included in the VMware Cloud Director setup.
The vShield Manager Data Collector fetches the external traffic information from vShield Manager for the following types of VMware Cloud Director networks:
n
Private routed org networks
n
Routed vApp networks
n
Fenced vApp networks
In the case that a routed or fenced vApp network is connected to a private routed org network, then the external traffic information of the corresponding virtual machine is recorded at both, the vApp network level as well as the org network level.
n
Download Data Collector on page 30
The installer for the data collector is bundled with the application and can be downloaded from the vCenter Chargeback application.
n
Install vCenter Chargeback Data Collector on page 31
You can have more than one data collector installed. You can install an individual data collector instance using the data collector installer.
n
Install VMware Cloud Director Data Collector on page 33
If you want to integrate a vCenter Chargeback instance with a VMware Cloud Director instance, you must have a VMware Cloud Director Data Collector instance installed and running.
n
Install vShield Manager Data Collector on page 35
If you integrate a vCenter Chargeback instance with a VMware Cloud Director instance, you must have a vShield Manager Data Collector instance installed and running to fetch the network statistics from vShield Manager.
n
Upgrade the Data Collector on page 36
Upgrading a vCenter Chargeback instance does not automatically upgrade the standalone data collector instances associated with it. You must manually upgrade each such data collector instances.

Download Data Collector

The installer for the data collector is bundled with the application and can be downloaded from the vCenter Chargeback application.
Procedure
1 Log in to the vCenter Chargeback application.
2 Click Tools on the top-right corner of the page.
Loading...
+ 120 hidden pages