1.0.1
Table Of Contents
- vCenter Chargeback User’s Guide
- Contents
- About This Book
- Introduction to vCenter Chargeback
- Installing vCenter Chargeback
- Configuring Administration Settings
- Authenticating and Managing Users, Roles, and Permissions
- Managing Chargeback Hierarchies
- Create a Chargeback Hierarchy
- Manage a Chargeback Hierarchy
- View a Chargeback Hierarchy
- Add a vCenter Server Entity
- Add a vCenter Chargeback 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
- Share Virtual Machine Cost
- View Properties of a vCenter Server Entity
- Creating and Configuring a Cost Model
- Generating Reports
- System Health, Utilities, and Troubleshooting
- System Health
- Events
- Utilities
- Troubleshooting
- Unable to Send Report Through Email
- Storage Syncing Job Fails
- Unable to use Custom SSL Certificates
- Unable to View the vCenter Chargeback Plug-In in the VI Client
- Report Does not Display the Memory Usage Value and the Corresponding Cost
- Report Does not Display the Network Transmitted and Network Received Stats
- Report Does not Display the Disk Read and Disk Write Stats
- Unable to Add vCenter Server in vCenter Chargeback
- Changed Timezone Setting is not Reflected
- Installer Throws the SQL Driver not Found Error
- Status of Failed Data Collector is not Reflected Immediately on the System Health tab
- Non-English Characters are not Correctly Stored in the vCenter Chargeback Database
- Service Temporarily Unavailable Error Thrown when Accessing vCenter Chargeback
- Text and Messages on the vCenter Chargeback User Interface are not Correctly Displayed
- Error Occurs While Importing a Hierarchy from a CSV File
- Changes to Chargeback Hierarchy are not Reflected in the Concurrent User-Sessions
- Unable to Access the vCenter Chargeback Application
- Unable to Remove the vCenter Chargeback Plug-In from the VI Client
- Unable to Fetch the Primary Group of a LDAP User
- Changes to the vCenter Server Hierarchy Are Not Reflected in vCenter Chargeback
- Index
VMware, Inc. 87
Chapter 8 System Health, Utilities, and Troubleshooting
OnLinux(vCenterChargebackvirtualappliance),runthefollowingcommands:
cd /opt/vmware/cbm/vCenter-CB-Tools/troubleshooting/bin
bash vCenter-CB-support.sh
Youmustloginasroottosuccessfullyrunthisutility.
2Providethefoldernameanddirectorypathwherethegeneratedlogshavetobestoredwhenprompted.
3Youcanchoosetocollectthesystemeventlogs.
OnWindowstheApplicationlogandSystemlogiscollected.OnLinux/var/log/messagesiscollected.
4Enterthenumberofstand‐alonedatacollectorinstances(notembedded)installedonthesamemachine.
5IfyouhaveastandaloneDataCollectorinstancerunning,youmustprovidethepathofeachdatacollector
installation.
TheutilitygeneratesaZIPfilewiththenamevCenter-CB-TroubleshootInfo-<date>.zipandstoresitin
thespecifieddestination
folder.TheZIPfilecontainsthefollowing:
A.csvfileforeachtableinthevCenterChargebackdatabasethatstoresevent‐relatedinformation.
Thesystemlogs.
OnWindows,Application.logandSystem.log
OnLinux,the/var/log/messagesfile
Configurationfilesfordatacollector,installation,loadbalancer,vCenterChargebackserver(Tomcat
Server),andthevCenterChargebackapplication.
Logfilesfordatacollector,installation,loadbalancer,andvCenterChargebackserver(TomcatServer)and
application.
Database Password Change Utility
vCenterChargebackalsoprovidesautilitytochangethepasswordofthevCenterChargebackdatabaseuser.
Thisutilitychangesthepasswordinthehibernate.cfg.xmlfileinthefollowingdirectories:
<Installation_Directory>/apache-tomcat-6.0.18/webapps/vCenter-CB/WEB-INF/classes
<Installation_Directory>/DataCollector-Embedded/classes
IfyouhaveinstalledandconfiguredmorethanonedatacollectorinstanceforasinglevCenterChargeback
database,youmustmanuallycopytheupdatedhibernate.cfg.xmlfiletoeachofthecorrespondingdata
collectorfolders.
Theutilityisavailableinthefolder.
To change the password of vCenter Chargeback database user
1Runthepasswordchangeutility.
OnWindows,runthefollowingcommandsfromthecommandprompt:
cd <Installation_Directory>\vCenter-CB-Tools\database-update\bin
UpdateChargebackDatabaseCredentials.bat
TheuserrunningthisutilitymustbelongtotheAdministratorsgroup.
YoucanalsorunthisutilitybyselectingUpdateChargebackDatabaseCredentialsfromthe
Start > Programs > VMware > VMware vCenter Chargeback > vCenter Chargeback Tools menu.
OnLinux(vCenterChargebackvirtualappliance),runthefollowingcommands:
cd /opt/vmware/cbm/vCenter-CB-Tools/database-update/bin
bash UpdateChargebackDatabaseCredentials.sh
Youmustloginasroottosuccessfullyrunthisutility.
N
OTEStep 3,Step 4,andStep 5arenotapplicableforthevCenterChargebackvirtualappliance.