VMware, Inc. 15
Chapter 2 Installing vCenter Chargeback
AfteryoucreatethevCenterChargebackdatabase,youmustalsocreateadatabaseusertoaccessthis
database.Ensurethatthedatabaseuserhastheprivilegestocreateanddeleteschema,aswellasread
fromandwritetothedatabase.
YoumustprovidethedetailsofthisvCenterChargebackdatabase
anddatabaseuserwheninstalling
vCenterChargeback.Theinstallerwillusethesedetailstocreatethedatabaseschemaandobjects.Also,
vCenterChargebackwilllogintothevCenterChargebackdatabaseusingthedetailsofthisdatabaseuser
andperformthenecessarydatabaseoperations.
CheckWhetherthePortsareFree
Ensurethattheportsthatyouspecifyduringtheinstallationarefree.Whileinstallingyoumustspecify
theportnumbersforthefollowing:
HTTPport:ThisportisusedbyvCenterChargebackforcommunicationusingtheHTTPprotocol.
Thedefaultportnumberis8080.
Load‐balancerport:ThisportisusedbyvCenterChargebacktocommunicatewiththeloadbalancer.
Thedefaultportis8009.
HTTPSport:Thisportisusedbytheloadbalancertolistenforuserrequests.Thedefaultportis443.
Ifanyofthespecifiedportisalsoconfiguredforanotherserviceandtheserviceisnotrunning,thenthe
installerwillusethespecifiedport.However,thismightresultin
aportconflictandeitherofthe
configuredservicesmightfail.
SetaStaticIPAddressontheMachine
BeforeyouinstallthevCenterChargebackapplicationonamachine,youmustobtainastaticIPaddress
fromyournetworkadministrator.SetthisIPaddressonthemachineonwhichyouaregoingtoinstall
vCenterChargeback.Preferably,obtainandsetstaticIP
addressesonalltheserv ersanddatabasesthat
theapplicationcommunicateswith.
EnsurethatSystemTimeofalltheServersandDatabasesareinSync
YoumustensurethatthesystemtimeofthemachinesonwhichyouinstallvCenterChargebackand
vCenterChargebackdatabaseareinsync.Ifyouplantoinstallaseparatedatacollectoronadifferent
machine,thenthe
systemtimeofthismachinemustbeinsyncwiththatoftheothermachines.
EnsurethatMSIInstallationisEnabled.
Beforeyoustarttheinstallation,youmustensurethatMSIinstallationisenabledonthemachine.Ifnot,
youmustmanuallyinstallMicrosoftVisualC++2005RedistributablePackage(x86)beforerunningthe
vCenterChargebackinstaller.
EnsurethatPortExceptionsareConfiguredontheWindowsFirewall
IftheWindowsFirewallisenab l e d , youmustsettheportexceptionsfo r theHTTP,loadbalancer ,and
HTTPSportsontheWindowsFirewall.Ifthese exceptio nsarenotset,theapplicationwillbenotbeusable.
EnsurethattheWindowsuserhastheLog on as a servicepermission
IfyouwanttousetheWindowsauthenticationoptionforthevCenterChargebackdatabase,youmust
ensurethattheWindowsuserhastheLog on as a servicepermission.Ifthispermissionisnotseton
theuser,theinstallationwillfail.Also,theinstallermust
beruninthecontextofthisWindowsuser.
N
OTEInsteadofusingthedefaultdatabaseusers,suchassa,SYS,andSYSTEM,createadatabaseuser
withjusttherequiredprivilegesandaccessthedatabasewiththisuserscredentials.Thisisagoodsecurity
practice.