vCenter Chargeback Manager Installation and Upgrade Guide vCenter Chargeback Manager 2.0.0 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.
vCenter Chargeback Manager Installation and Upgrade 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 © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws.
Contents About the Guide 5 1 Introduction to vCenter Chargeback Manager 7 What Is Chargeback 7 Chargeback Solution for Virtual Environments Overview of vCenter Chargeback Manager 8 7 2 System Requirements 11 Hardware Requirements 11 Software Requirements 11 3 Install and Upgrade Prerequisites 13 Network Management Prerequisites 13 Database Management Prerequisites 14 Other System Prerequisites 15 Pre-installation Checklist 16 Download and Extract the vCenter Chargeback Manager Installer 17 4 Insta
vCenter Chargeback Manager Installation and Upgrade Guide 4 VMware, Inc.
About the Guide The vCenter Chargeback Manager Installation and Upgrade Guide provides information about installing and ® upgrading VMware vCenter Chargeback Manager. This book also describes how to install and upgrade the different data collectors. Intended Audience This book is intended for anyone who wants to install or upgrade vCenter Chargeback Manager.
vCenter Chargeback Manager Installation and Upgrade Guide 6 VMware, Inc.
Introduction to vCenter Chargeback Manager 1 vCenter Chargeback Manager is an end-to-end cost reporting solution for virtual environments using vSphere. vCenter Chargeback Manager can also be used with VMware vCloud Director. Before you install and start using vCenter Chargeback Manager, an understanding of what is chargeback and about chargeback solutions for a virtual environment would be helpful.
vCenter Chargeback Manager Installation and Upgrade 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.
Chapter 1 Introduction to vCenter Chargeback Manager When you install vCenter Chargeback Manager, a load balancer and a data collector is also installed and run on the same machine. Although the vCenter Chargeback Manager 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 Manager Installation and Upgrade Guide 10 VMware, Inc.
System Requirements 2 Before you install vCenter Chargeback Manager, you must ensure that the minimum hardware and software requirements are met. This chapter includes the following topics: n “Hardware Requirements,” on page 11 n “Software Requirements,” on page 11 Hardware Requirements The system on which vCenter Chargeback Manager is installed must meet the minimum hardware requirements for installing and running the application.
vCenter Chargeback Manager Installation and Upgrade Guide Database Management Systems vCenter Chargeback Manager supports the Standard and Enterprise edition of the following database management systems: n Microsoft SQL Server 2008 (x64) (with Service Pack 2) n Microsoft SQL Server 2008 (Intel x86) (with Service Pack 2) n Microsoft SQL Server 2005 (x64) (with Service Pack 2) n Microsoft SQL Server 2005 (Intel x86) (with Service Pack 2) vCenter Chargeback Manager supports the Enterprise edition of t
Install and Upgrade Prerequisites 3 Before installing or upgrading vCenter Chargeback Manager, you must peform few pre-installation tasks.
vCenter Chargeback Manager Installation and Upgrade Guide n Set a static IP address on the machine. Before you install the vCenter Chargeback Manager, 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 Manager. Preferably, obtain and set static IP addresses on all the servers and databases that the vCenter Chargeback Manager communicates with.
Chapter 3 Install and Upgrade Prerequisites vCenter Chargeback Manager Database User Privileges in SQL Server After you create a database instance and a database user in SQL Server that vCenter Chargeback Manager can use, you must assign privileges to this user by running the following commands in SQL Server: CREATE ROLE CB_ADMIN_ROLE; GRANT ALTER ON SCHEMA :: DBO TO CB_ADMIN_ROLE; GRANT REFERENCES ON SCHEMA :: DBO TO CB_ADMIN_ROLE; GRANT INSERT ON SCHEMA :: DBO TO CB_ADMIN_ROLE; GRANT SELECT ON SCHEMA ::
vCenter Chargeback Manager Installation and Upgrade Guide Pre-installation Checklist The pre-installation checklist helps you ensure that you have all the required information and have performed the necessary pre-install tasks. Table 3-1 lists the pre-install requirements. Table 3-1. vCenter Chargeback Manager 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.
Chapter 3 Install and Upgrade Prerequisites Table 3-1. vCenter Chargeback Manager Pre-Install Checklist (Continued) Item Requirement MSI Installation Is MSI installation enabled? Checked If not, install Microsoft Visual C++ 2005 Redistributable Package (x86). Port Exceptions on Windows Firewall If you have enabled Windows Firewall, you must set the port exceptions for the HTTP port, load balancer port, and HTTPS port.
vCenter Chargeback Manager Installation and Upgrade Guide 18 VMware, Inc.
Installing vCenter Chargeback Manager 4 After you have ensured that the minimum hardware and software requirements are met and the relevant preinstallation tasks are completed, you can install vCenter Chargeback Manager. You can install vCenter Chargeback Manager to be used as a stand-alone instance or you can create a cluster of vCenter Chargeback Manager instances.
vCenter Chargeback Manager Installation and Upgrade Guide n Installs the data collector, which synchronizes the vCenter Chargeback Manager 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.
Chapter 4 Installing vCenter Chargeback Manager Option Description Database Name Name of the database in which vCenter Chargeback Manager stores the application-specific data. For Oracle Database, ensure that you provide the service name and not the SID. SQL Authentication Mode 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. Database Username The name of the database user.
vCenter Chargeback Manager Installation and Upgrade Guide 8 Enter a user name and password for the vCenter Chargeback Manager administrative account, and click Next. The password must contains at least 8 characters and should not exceed 24 characters in length. The password cannot be same as the user name. Also, the password must include a combination of upper-case and lower-case characters.
Chapter 4 Installing vCenter Chargeback Manager 12 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 Manager 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 Generate my own SSL Certificate.
vCenter Chargeback Manager Installation and Upgrade Guide Procedure 1 Select Generate SSL Certificate from the Start > Programs > VMware > VMware vCenter Chargeback > vCenter Chargeback Manager 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. 3 Provide the required certificate information and press Enter.
Chapter 4 Installing vCenter Chargeback Manager The load balancer ensures that the vCenter Chargeback Manager instances are serving equal number of concurrent sessions. New sessions are distributed to the instances in a round-robin fashion. Also, if one of the instances fails, any request currently being serviced by that instance is automatically redirected to another instance in the cluster.
vCenter Chargeback Manager Installation and Upgrade Guide Option Description Database Port (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.
Chapter 4 Installing vCenter Chargeback Manager 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 Manager 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.
vCenter Chargeback Manager Installation and Upgrade Guide 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 Manager installation. The default installation folder is C:\Program Files\VMware\VMware vCenter Chargeback. 3 Run the ModifyLBWorkers.bat file to register the vCenter Chargeback Manager instance with the load balancer.
Chapter 4 Installing vCenter Chargeback Manager 5 Enter the vCenter Chargeback Manager database-related information, and click Next. Option Description Database Type The type of database used to create the vCenter Chargeback Manager database. This can be either SQL SERVER or ORACLE. Database URL The IP address or host name of the system on which the vCenter Chargeback Manager database is installed. For an SQL Server database, you can also provide the vCenter Chargeback Manager database instance name.
vCenter Chargeback Manager Installation and Upgrade Guide 7 Enter the load balancer-related information, and click Next. Option Description IP Address Static IP address or the FQDN of the machine on which you are installing load balancer. Do not use localhost instead of the IP address or FQDN. Admin Email Address Email address of the server administrator. Ensure that the email address contains only ASCII characters. HTTPS Port An unused port through which the Apache Server can communicate.
Chapter 4 Installing vCenter Chargeback Manager Option Description Database Port (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. Database Name Name of the database in which VMware Cloud Director stores the application-specific data. This must be the service name and not the SID.
vCenter Chargeback Manager Installation and Upgrade Guide d Provide the pass phrase and press Enter. You are prompted to enter the pass phrase again. Provide the same pass phrase and press Enter. e Press any key to complete the process and close the window. An SSL certificate is successfully installed.
Chapter 4 Installing vCenter Chargeback Manager VMware vCenter Chargeback - vShield Manager DataCollectorEmbedded Starting this service starts the vShield Manager Data Collector instance that was installed along with the vCenter Chargeback Manager.
vCenter Chargeback Manager Installation and Upgrade Guide Accessing the vCenter Chargeback Manager If all the required services are running, you can access the vCenter Chargeback Manager through a supported Web browser. Procedure 1 Click Launch vCenter Chargeback Manager Homepage from the Start > Programs > VMware > VMware vCenter Chargeback menu.
Upgrading vCenter Chargeback Manager 5 You can upgrade an existing vCenter Chargeback Manager setup to the latest version of vCenter Chargeback Manager. If you are using vCenter Chargeback 1.5 or later version, then you can directly upgrade your existing setup to vCenter Chargeback Manager 2.0. However, if you have a vCenter Chargeback 1.0.x setup, then you must first upgrade to vCenter Chargeback 1.5 before upgrading to vCenter Chargeback Manager 2.0.
vCenter Chargeback Manager Installation and Upgrade Guide What to do next After you have taken a backup of the database, you must purge the vCenter Chargeback Manager database. See KB 1026068 (http://kb.vmware.com/kb/1026068) for further instructions. If you are using a vCenter Chargeback Manager release prior to 1.
Chapter 5 Upgrading vCenter Chargeback Manager The installer checks whether the vCenter Chargeback Manager and data collector services are stopped. If any of the services are running, the installer stops the services. 6 Select the data collectors that you want to install and click Next. The Install vCenter Chargeback Data Collector option is selected by default.
vCenter Chargeback Manager Installation and Upgrade Guide Upgrading vCenter Chargeback Manager and Configuring in DMZ You can upgrade an existing vCenter Chargeback Manager setup to version 2.0 such that the load balancer runs in the DMZ and the vCenter Chargeback Manager instance is in a secured internal network. If you have a vCenter Chargeback 1.
Chapter 5 Upgrading vCenter Chargeback Manager For a cluster installation, you must upgrade each vCenter Chargeback Manager 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 Manager database is also upgraded.
vCenter Chargeback Manager Installation and Upgrade Guide 7 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 The type of database used to create the VMware Cloud Director database. The permissible values are ORACLE and SQL Server. Database URL The IP address of the system on which the VMware Cloud Director database is installed.
Chapter 5 Upgrading vCenter Chargeback Manager 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.
vCenter Chargeback Manager Installation and Upgrade Guide 42 VMware, Inc.
Installing and Upgrading Data Collectors 6 vCenter Chargeback Manager interacts with the vCenter Server and vCenter Server database through a data collector. The data collector synchronizes the information in the vCenter Chargeback Manager database with that in the vCenter Server database. Other than the data collector that interacts with the vCenter Server database, vCenter Chargeback Manager provides two more data collectors.
vCenter Chargeback Manager Installation and Upgrade Guide 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 a
Chapter 6 Installing and Upgrading Data Collectors 5 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. Also, the directory path must contain only ASCII characters.
vCenter Chargeback Manager Installation and Upgrade Guide What to do next After you install a separate data collector, the Data Collector service starts and runs automatically. You can manually start and stop the service from the Start > Programs > VMware > VMware vCenter Chargeback menu.
Chapter 6 Installing and Upgrading Data Collectors Option Description Database Port (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.
vCenter Chargeback Manager Installation and Upgrade Guide 8 Review the information displayed on the Pre-Installation Summary screen, and click Install. The installer starts installing the data collector. If the installation is successful, the URL for accessing vCenter Chargeback Manager is displayed. 9 Note this URL, and click Done. NOTE If the installation fails, the uninstaller starts automatically and removes all the components installed.
Chapter 6 Installing and Upgrading Data Collectors 5 Provide the details of the vCenter Chargeback Manager database that the data collector must synchronize with the VMware Cloud Director database, and click Next. Option Description Database Type The type of database used to create the vCenter Chargeback Manager database. This can be either SQL SERVER or ORACLE. Database URL The IP address or host name of the system on which the vCenter Chargeback Manager database is installed.
vCenter Chargeback Manager Installation and Upgrade Guide What to do next After you install a VSM Data Collector instance, the VSM Data Collector service starts and runs automatically. You can manually start and stop the service from the Start > Programs > VMware > VMware vCenter Chargeback menu. Upgrade Data Collectors Upgrading a vCenter Chargeback Manager instance does not automatically upgrade the standalone data collector instances associated with it.
Uninstall vCenter Chargeback Manager 7 If you do not require a vCenter Chargeback Manager instance, you can uninstall the instance. When you uninstall a vCenter Chargeback Manager instance, the corresponding load balancer, if installed with the instance, and all the embedded data collector instances are also uninstalled. You can optionally delete the corresponding database schema and the vCenter Server plug-ins.
vCenter Chargeback Manager Installation and Upgrade Guide You must also remove the instance name from the list of instances included in the worker.balancer.balance_workers parameter under the Define the LB worker section. For the example suggested in the previous step, the entry might be as follows: # Define the LB worker worker.balancer.type=lb worker.balancer.sticky_session = 1 worker.balancer.method=R worker.balancer.
Index A software 11 vCenter Server 11 web browsers 11 application, accessing 34 C chargeback definition 7 non-virtual environment 7 virtual environment 7 D data collector about 43 install vCenter Chargeback Manager Data Collector 44 install VMware Cloud Director Data Collector 46 install vShield Manager Data Collector 48 upgrade 50 definition, chargeback 7 I install adding instance to cluster 27 cluster installation 25 database prerequisites 14 fresh installation 19 hardware requirements 11 installer
vCenter Chargeback Manager Installation and Upgrade Guide 54 VMware, Inc.