1.0.1

Table Of Contents
vCenter Chargeback User’s Guide
10 VMware, Inc.
Achargebacksolutionforavirtualizedenvironmentdefinesahierarchywithdifferenttypesofentitiessuch
asdepartments,divisions,businessunits,costcenters,physicalservers,virtualmachines,andsoon.Foreach
entitytype,acostmodelisdefinedthatdeterminestherateforeachunitofaresourceutilized.The
chargeback
solutiondeterminestheresourceusageeitherusingbyutilizationbasedmeteringorallocationbased
meteringofvirtualmachines.Themeteredparametersarethenassociatedwiththedesignatedentities,and
thecostmodeldefinedforthatentityalongwithspecificchargebackformulasisusedaspartoftheoverall
chargeback
solution.
Overview of vCenter Chargeback
Determiningtheresourceutilizationandcalculatingthecorrespondingcostforenvironmentsvirtualized
usingVMwarevSpheretypicallyinvolvesVMwareprofessionalservices’workoruseofpartnersolutions.
ThesesolutionsarebuiltusingcustommethodsforVMwarevSphereresourcedatacollectionandchargeback
costcalculationfororganizations.
vCenterChargebackisanendto
endcostreportingsolutionforenvironmentsvirtualizedusingvSphere.
This WebbasedapplicationinteractswiththevCenterDatabasetoretrieveusageinformation,calculatesthe
costbyusingthedefinedchargebackformulas,andgeneratesreports.Figure 11showshowvCenter
Chargebackinteractswithvariouscomponentsofavirtualizedenvironment.
Figure 1-1. vCenter Chargeback in a Virtualized Environment
vCenterChargebackruns
onanApacheTomcatserverinstance.TheuserinteractswiththevCenter
Chargebackapplicationthroughaloadbalancer(ApacheHTTPServer).vCenterChargebackconnectstoa
vCenterChargebackdatabasethatstoresapplicationspecificinformation,suchasthedefinedchargeback
hierarchies,costmodels,users,roles,andsoon.Theapplicationalsointeracts
withthevCenterServerand
vCenterServerdatabasethroughadatacollector.ThedatacollectorcommunicateswiththevCenterServer
usingVIMAPIsandwiththevCenterDatabaseusingJDBC.
WhenyouinstallvCenterChargeback,thevCenterChargebackapplication,theloadbalancer,andthedata
collectorareinstalledandrunon
thesamemachine.AlthoughthevCenterChargebackdatabasecanalsobe
installedonthesamemachine,inarealworldscenarioyouwouldinstalltheapplicationandthedatabaseon
separatemachines.
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