1.0.1

Table Of Contents
vCenter Chargeback User’s Guide
28 VMware, Inc.
Managing the vCenter Chargeback Virtual Appliance
AfterthevCenterChargebackvirtualapplianceisdeployedandthevirtualmachinehasbooted,youcanlog
intothevirtualmachineusingthefollowingcredentials:
Username:root
Password:vmware
Afteryouhaveloggedintothevirtualmachine,youcanmanagetheDataCollectorandApacheTomcatservices.
YoucanperformthefollowingactionsontheDataCollectorservice:
StarttheDataCollectorservicebyrunningthefollowingcommand:
service vCenter-DC start
StoptheDataCollectorservicebyrunningthefollowingcommand:
service vCenter-DC stop
RestarttheDataCollectorservicebyrunningthefollowingcommand:
service vCenter-DC restart
YoucanperformthefollowingactionsontheApacheTomcatservice:
StarttheApacheTomcatservicebyrunningthefollowingcommand:
service cbm-tomcat start
StoptheApacheTomcatservicebyrunningthefollowingcommand:
service cbm-tomcat stop
RestarttheApacheTomcatservicebyrunningthefollowingcommand:
service cbm-tomcat restart
Youcanalsomodifythetimezonesetonthevirtualappliancebyrunningthefollowingcommandfromthe
commandprompt:
bash /opt/vmware/cbm/scripts/reset-timezone.sh
Uninstalling vCenter Chargeback
YoucanuninstallavCenterChargebackinstance,bystartingtheuninstallerfromtheStart > Programs >
VMware > VMware vCenter Chargeback > Uninstall VMware vCenter Chargebackmenu.Ifyouremove
theapplicationusingAdd/RemovePrograms,theapplicationisnotremovedcleanlyandyoumighthaveto
manuallydeletesomefilesthatwerenotdeletedduringtheuninstallprocess.
Beforeuninstalling
avCenterChargebackinstance,ensurethattheRegisterAsVIClientPluginoptionis
deselectedforallthevCenterServerinstancesaddedtotheapplication.Ifthisoptionisnotdeselectedandthe
vCenterChargebackinstanceisuninstalled,youcannotremovethepluginfromtheVIClient.
Ifyouuninstall
aninstancethatispartofacluster,ensurethatyoumanuallyremovetheentriescorresponding
totheinstancefromtheworker.propertiesfilelocatedat
<Installation_Directory>\Apache2.2\conf\onthemachinethattheloadbalancerisrunningon.
For example,iftheinstancenameischargeTest,youmustremovethefollowingsectionfrom
the
worker.propertiesfile:
# Set properties for chargeTest (ajp99)
worker.chargeTest.type=ajp99
worker.chargeTest.host=90.0.1.1
worker.chargeTest.port=8009
worker.chargeTest.lbfactor=1
Theentry(ajp99),inthiscase,istheAJPportoftheloadbalancer.