1.0

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,
suchasthoseprovidedbyEvident,Comparex,andIBM/Tivoli.Thesesolutionsarebuiltusingcustom
methodsforVMwarevSphereresourcedatacollectionandchargebackcost
calculationfororganizations.
vCenterChargebackisanendtoendcostreportingsolutionforenvironmentsvirtualizedusingvSphere.
This WebbasedapplicationinteractswiththevCenterDatabasetoretrieveusageinformation,calculatesthe
costbyusingthedefinedchargebackformulas,andgeneratesreports.Figure 11showshowvCenter
Chargebackinteractswithvarious
componentsofavirtualizedenvironment.
Figure 1-1. vCenter Chargeback in a Virtualized Environment
vCenterChargebackrunsonanApacheTomcatserverinstance.TheuserinteractswiththevCenter
Chargebackapplicationthroughaloadbalancer(ApacheHTTPServer).vCenterChargebackconnectstoa
vCenterChargebackdatabasethatstoresapplicationspecificinformation,suchasthedefinedchargeback
hierarchies,costmodels,
users,roles,andsoon.TheapplicationalsointeractswiththevCenterServerand
vCenterServerdatabasethroughadatacollector.ThedatacollectorcommunicateswiththevCenterServer
usingVIMAPIsandwiththevCenterDatabaseusingJDBC.
WhenyouinstallvCenterChargeback,thevCenterChargebackapplication,theloadbalancer,
andthedata
collectorareinstalledandrunonthesamemachine.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