VMware vCenter Chargeback Manager 1.0 User guide

Category
Software
Type
User guide
vCenter Chargeback User’s Guide
vCenter Chargeback 1.0
EN-000186-00
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
vCenter Chargeback User’s Guide
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
© 2009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property
laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.
VMware, the VMware “boxes” logo and design, Virtual SMP, and VMotion are registered trademarks or trademarks of
VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks
of their respective companies.
VMware, Inc. 3
Contents
AboutThisBook 7
1 IntroductiontovCenterChargeback 9
WhatIsChargeback? 9
ChargebackSolutionforVirtualizedEnvironments 9
OverviewofvCenterChargeback 10
2 InstallingvCenterChargeback 13
SystemRequirements 13
HardwareRequirements 13
SoftwareRequirements 13
OperatingSystems 14
DatabaseManagementSystems 14
WebBrowsers 14
VMwarevCenterServer 14
PrerequisitesforvCenterChargeback 14
PreInstallationChecklist 15
InstallvCenterChargeback 16
BasicInstallationorFirstTimeInstallation 16
ClusterInstallation 18
BasicInstallationUsingExistingDatabaseSchema 20
StartingthevCenterChargebackApplication 21
DownloadingandInstallingDataCollector 22
DeployingvCenterChargebackasaVirtualAppliance 23
Managingthe
vCenterChargebackVirtualAppliance 25
UninstallingvCenterChargeback 25
3 ConfiguringAdministrationSettings 27
EnterLicenseKey 27
ConfigureGenericSettings 27
ConfiguretheLDAPServerSetting 28
ConfiguretheSMTPServerSettings 29
SetCurrency 30
SetLogLevel 30
ManagevCenterServers 31
AddvCenterServerInformation 31
EditvCenterServerInformation 32
DeletevCenterServerInformation 32
ManageDataCollectors 33
ViewDataCollectors 33
EnableDataCollector 34
DisableDataCollector 34
DeleteDataCollector 34
ManageLicense 35
ReplaceLicense 35
DeleteLicense 35
ManageReportTemplate 36
vCenter Chargeback User’s Guide
4 VMware, Inc.
ManageAttributes 37
AddAttribute 37
DeleteAttribute 37
ManageSystemHealthThresholds 38
4 AuthenticatingandManagingUsers,Roles,andPermissions 39
Users 39
CreateUser 39
ModifyUser 41
DeleteUser 41
Permissions 41
PermissionTypes 42
GlobalPermissions 42
HierarchyPermissions 42
CostPermissions 42
ReportingPermissions 42
RoleBasedAccessControlPermissions 42
PermissionstoAccessUserInterfaceTabs 43
ManagePermissions 43
AssigntheSuperUserRoletoaUser 43
AssignaRoletoaUseronaHierarchy 43
ModifyPermissionsatEntityLevel 44
RevokeRolesandPermissionsAssignedto
aUser 45
Roles 45
PredefinedRoles 45
CreateaRole 46
ModifyaRole 47
DeleteaRole 47
Authentication 47
5 ManagingChargebackHierarchies 49
CreateaChargebackHierarchy 49
CreateaCustomChargebackHierarchy 49
SynchronizeaChargebackHierarchywithavCenterServer 50
ImportaChargebackHierarchyfromaCSVFile 50
FormatoftheCSVFile 51
ManageaChargebackHierarchy 51
ViewaChargebackHierarchy 52
AddavCenterServerEntity 52
AddavCenterChargebackEntity 53
RenameaChargebackHierarchyoraChargeback
Entity 53
DeleteanEntityfromtheHierarchy 53
DeleteaChargebackHierarchy 54
AssignAttributes 54
MoveEntitiesWithinaHierarchy 55
ShareVirtualMachineCost 55
ViewPropertiesofavCenterServerEntity 56
VMware, Inc. 5
Contents
6 CreatingandConfiguringaCostModel 57
vCenterChargebackCostRelatedElements 57
ChargeableComputingResource 57
BaseRate 58
RateFactor 58
FixedCost 58
BillingPolicy 58
CostModel 59
CostTemplate 59
ManageCostModels 60
CreateaCostModel 60
ModifyaCostModel 61
DeleteaCostModel 62
ManageGlobalFixedCosts 62
CreateaGlobalFixedCost 62
ModifyaGlobalFixedCost 63
DeleteaGlobalFixedCost 63
ManageCostTemplates 63
Createa
CostTemplate 63
ModifyaCostTemplate 65
DeleteaCostTemplate 65
ConfigureCostattheEntityLevel 66
ViewCostConfigurationofanEntity 66
EditCostConfigurationofanEntity 66
7 GeneratingReports 69
AboutReports 69
GenerateaCostReport 70
GenerateCostComparisonReport 71
CreateReportGenerationSchedules 72
SchedulingParameters 72
ScheduleReportGeneration 73
ManageReportGenerationSchedules 73
RescheduleReportGeneration 74
RemoveaSchedule 74
EmailaScheduledReport 74
ManageReports 75
ArchiveReport 75
ScheduleReport 75
EmailReport 76
ExportReport 76
ManageArchivedReports 76
ViewArchivedReport 77
RescheduleArchivedReport 77
EmailArchivedReport 78
DeleteArchivedReport 78
vCenter Chargeback User’s Guide
6 VMware, Inc.
8 SystemHealth,Utilities,andTroubleshooting 79
SystemHealth 79
Events 80
Utilities 80
TroubleshootingUtility 80
DatabasePasswordChangeUtility 81
DatabaseManagementScripts 82
GenericScripts 82
SpaceCalculationScripts 82
DataPurgingandRestoringScripts 83
Troubleshooting 85
UnabletoSendReportThroughEmail 86
StorageSyncingJobFails 86
UnabletouseCustomSSLCertificates 86
UnabletoViewthevCenterChargebackPlugInintheVIClient 86
ReportDoesnotDisplaytheMemory
UsageValueandtheCorrespondingCost 87
ReportDoesnotDisplaytheNetworkTransmittedandNetworkReceivedStats 87
ReportDoesnotDisplaytheDiskReadandDiskWriteStats 87
UnabletoAddvCenterServerinvCenterChargeback 87
ChangedTimezoneSettingisnotReflected 87
InstallerThrowstheSQLDrivernotFoundError 88
StatusofFailed
DataCollectorisnotReflectedImmediatelyontheSystemHealthtab 88
NonEnglishCharactersarenotCorrectlyStoredinthevCenterChargebackDatabase 88
ServiceTemporarilyUnavailableErrorThrownwhenAccessingvCenterChargeback 88
TextandMessagesonthevCenterChargebackUserInterfacearenotCorrectlyDisplayed 88
ErrorOccursWhileImportingaHierarchyfroma
CSVFile 88
ChangestoChargebackHierarchyarenotReflectedintheConcurrentUserSessions 88
ChangestothevCenterServerHierarchyare notReflectedinvCenterChargeback 89
UnabletoFetchthePrimaryGroupofaLDAPUser 89
UnabletoAccessthevCenterChargebackApplication 89
Index 91
VMware, Inc. 7
ThevCenterChargebackUser’sGuideprovidesinformationaboutconfiguringandusingthechargeback
solutionforavirtualizedenvironment.
Intended Audience
Thisbookisintendedforanyonewhowantstoinstall,upgrade,orusevCenterChargebackManager.
The informationinthisbookiswrittenforexperiencedWindowsorLinuxsystemadministratorswhoare
familiarwithvirtualmachinetechnologyanddatacenteroperations.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhavecomments,sendyour
feedbacktodocfeedback@vmware.com.
Technical Support and Education Resources
Thefollowingsectionsdescribethetechnicalsupportresourcesavailabletoyou.Toaccessthecurrentversion
ofthisbookandotherbooks,gotohttp://www.vmware.com/support/pubs.
Online and Telephone Support
Touseonlinesupporttosubmittechnicalsupportrequests,viewyourproductandcontractinformation,and
registeryourproducts,gotohttp://www.vmware.com/support.
Customerswithappropriatesupportcontractsshouldusetelephonesupportforthefastestresponseon
priority1issues.Gotohttp://www.vmware.com/support/phone_support.
Support Offerings
TofindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds,goto
http://www.vmware.com/support/services.
VMware Professional Services
VMwareEducationServicescoursesofferextensivehandsonlabs,casestudyexamples,andcoursematerials
designedtobeusedasonthejobreferencetools.Coursesareavailableonsite,intheclassroom,andlive
online.Foronsitepilotprograms andimplementationbestpractices,VMw areConsultingServicesprovides
offeringsto helpyouassess,plan,
build,andmanageyourvirtualenvironment.Toaccessinformationabout
educationclasses,certificationprograms,andconsultingservices,gotohttp://www.vmware.com/services.
About This Book
vCenter Chargeback User’s Guide
8 VMware, Inc.
VMware, Inc. 9
1
BeforeyouinstallandstartusingthevCenterChargebackapplication,anunderstandingofwhatchargeback
isandchargebacksolutionforavirtualizedenvironmentwouldbehelpful.Thischapterprovidesaquick
overviewofthevCenterChargebackapplication.
Thischapterincludesthefollowingtopics:
“WhatIsChargeback?”onpage 9
“ChargebackSolutionforVirtualizedEnvironments”onpage 9
“OverviewofvCenterChargeback”onpage 10
What Is Chargeback?
Chargebackisamechanismtoaccountfortheoperationalcostsinvolvedinprovidingandmaintainingan
IT infrastructure,includingthecostsforITservicesandapplications.Measuringresourceutilizationand
calculatingthecorrespondingIToperationalcostenablesyoutoaccountfortheITresourcesutilizedandbill
fortheservicesprovided.
In
anonvirtualizedenvironment,aphysicalserverandtheassociatedresourcesliketheapplicationsrunning
onitcanbeeasilymappedtothedepartmentusingthem,makingthebillingforsuchresourceutilizations
relativelyeasy.Also,costsincurredduetomaintenanceandlicensingcanbedirectlyassociatedtoa
department,thereby
enablingyoutocalculatethecompleteIToperationalcosts.
Inavirtualizedenvironment,however,thetaskofcalculatingtheIToperationalcostforeachdepartment
becomesverydifficult.Multiplevirtualmachinesrunonaphysicalserver,whichmightbesharedacross
differentdepartmentsorcostcentersinanorganization.Asa
result,resourceutilizationforthisserverand,
therefore,thecostincurredcannotbedirectlyassociatedtoanysingledepartmentorcostcenter.Thedifficulty
inaccountinggetsfurthercompoundedwhenapplicationsandservicesgetshiftedovertimetodifferent
servers,basedontheloadandavailableinfrastructureresources.
Chargeback Solution for Virtualized Environments
Inavirtualizedenvironment,achargebacksolutionrequiresaflexiblemeteringsystemthatcanaccountfor
theutilizationofresourcessharedacrosstheorganization.Thesemeasurementscanbebasedonallocationor
actualusageofindividualserversorresources.InthecaseofVMotion,DRS,orHAbeingenabled,the
measurements
couldbebasedontheallocationoractualusageofresourcepools.
Tosupportchargeback,thevirtualizedenvironmentandthechargebacksolutionmustprovidewaysto
measureresourceusageandassociatetheusagewithaspecificcostingmodel.Thechargebacksolutionmust
alsosupporttheuseofdifferentcostingmodelsso
astochargethevariousdepartmentsorcostcenters
differently.
Introduction to vCenter Chargeback
1
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
VMware, Inc. 11
Chapter 1 Introduction to vCenter Chargeback
vCenterChargebackretrievestheresourceusageandallocationinformationforeachvirtualmachinefromthe
vCenterServerdatabasethroughthedatacollector.Thedatacollectorreplicatesthisinformationinthe
vCenterChargebackdatabase.vCenterChargebackusesthisinformationfromthevCenterChargeback
databasealongwiththecostmodelandchargebackcost
calculationformulastogeneratethecostreports.
AsingledatacollectorinstancecancommunicatewithmultiplevCenterServerinstancesandvCenterServer
databasesandreplicatetherelevantinformationinavCenterChargebackdatabase.Adatacollectorinstance
canalsocommunicatewithmorethanonevCenterChargebackdatabase.
vCenterChargebackalsolets
youcreateaclusterofvCenterChargebackinstancesthatshareasingleload
balancer.Eachuserrequestisroutedthroughtheloadbalancer.Theloadbalancerforwardstherequesttoa
vCenterChargebackinstanceintheclusterbasedonthenumberrequestcurrentlybeingservicedbyeach
instanceinthecluster.
AllthevCenterChargebackinstancesinaclusterareconnectedtothesamevCenter
Chargebackdatabase.
vCenter Chargeback User’s Guide
12 VMware, Inc.
VMware, Inc. 13
2
Thischapterincludesthefollowingtopics:
“SystemRequirements”onpage 13
“PrerequisitesforvCenterChargeback”onpage 14
“InstallvCenterChargeback”onpage 16
“StartingthevCenterChargebackApplication”onpage 21
“DownloadingandInstallingDataCollectoronpage 22
“DeployingvCenterChargebackasaVirtualAppliance”onpage 23
“UninstallingvCenterChargeback”onpage 25
System Requirements
Thissectionprovidesdetailsoftheminimumhardwareconfigurationrequiredforinstallingandrunning
vCenterChargeback.Thesectionalsoprovidesinformationaboutthesupportedoperatingsystems,database
managementsystems,andthevCenterServerreleases.ItalsoliststhesupportedWebbrowserstoaccessthe
vCenterChargebackapplication.
Hardware Requirements
vCenterChargebackcanberunonacomputeroravirtualmachinewiththefollowinghardware
specifications:
2.0GHzorfasterIntelorAMDx86processor
3GBormoreofRAM
Aminimumof1.1GBdiskstorage(2GBrecommended)
10/100Ethernetadapter(Gigabitrecommended)
Ifyouare installingthevCenterChargebackdatabaseonthesamecomputerasvCenterChargeback,
additionalstorage,memory,andprocessorcapacityisrequired.
Software Requirements
Otherthananoperatingsystem,youmusthaveadatabasemanagementsystemandaWebbrowserinstalled
torunandaccessvCenterChargeback.Thissectionliststhesupportedoperatingsystems,database
managementsystems,Webbrowsers,andvCenterServerreleases.
Installing vCenter Chargeback
2
vCenter Chargeback User’s Guide
14 VMware, Inc.
Operating Systems
ThevCenterChargebackapplicationcanbeinstalledandrunonthefollowingoperatingsystems:
MicrosoftWindows2003ServerwithSP2
MicrosoftWindows2003ServerR2
MicrosoftWindows2008Server
Database Management Systems
vCenterChargebacksupportsthefollowingdatabasemanagementsystems(both32bitand64bit):
MicrosoftSQLServer2005(StandardandEnterprise)
MicrosoftSQLServer2008(StandardandEnterprise)
OracleDatabase10g(StandardandEnterprise)
OracleDatabase11g(StandardandEnterprise)
Web Browsers
vCenterChargebackisabrowserbasedapplicationthatistestedandsupportedonthefollowing:
MicrosoftInternetExplorer6.xand7.x
MozillaFirefox2.xand3.x
AlthoughvCenterChargebackcanbeaccessedthroughaMicrosoftInternetExplorer6.xorMozillaFirefox 2.x
Webbrowser,VMwarerecommendsthatyouuseaMicrosoftInternetExplorer7.xorMozillaFirefox 3.x
Web browser.
VMware vCenter Server
vCenterChargebacksupportsVirtualCenterServer2.5Update3andlaterreleasesandvCenterServer4.0.
Prerequisites for vCenter Chargeback
YouneedtoperformthefollowingtasksbeforeinstallingthevCenterChargebackapplication:
CreateavCenterChargebackDatabaseandDatabaseUser
vCenterChargebackstorestheapplicationspecificdata,suchascostmodels,chargebackhierarchies,and
usersandroles,inthevCenterChargebackdatabase.Youmust,therefore,firstcreateadatabasefor
storingthisdata.ThedatabasemanagementsystemssupportedbyvCenterChargebackarelisted
in
“DatabaseManagementSystems”onpage 14.Youcaneithercreatethedatabaseyourselfbyreferringto
thecorrespondingproductdocumentationoraskyourdatabaseadministratortocreateoneforyou.
IfyouusinganOracledatabaseasthevCenterChargebackdatabase,youmustconfigurethedatabaseto
usetheUnicode(AL32UTF8)
charactersettosupportthefollowingscenarios:
YouwanttodeploythevCenterChargebackdatabaseinanonEnglishenvironment.
YouwanttosynchronizethevCenterChargebackdatabasewithavCenterServerdatabasethathas
nonEnglishdata.
AfteryoucreatethevCenterChargebackdatabase,youmustalsocreateadatabaseusertoaccessthis
database.Ensurethatthedatabaseuserhastheprivilegestocreateanddeleteschema,aswell
asread
fromandwritetothedatabase.
VMware, Inc. 15
Chapter 2 Installing vCenter Chargeback
YoumustprovidethedetailsofthisvCenterChargebackdatabaseanddatabaseuserwheninstalling
vCenterChargeback.Theinstallerwillusethesedetailstocreatethedatabaseschemaandobjects.Also,
vCenterChargebackwilllogintothevCenterChargebackdatabaseusingthedetailsofthisdatabaseuser
andperformthe
necessarydatabaseoperations.
CheckWhetherthePortsareFree
Ensurethattheportsthatyouspecifyduringtheinstallationarefree.Whileinstallingyoumustspecify
theportnumbersforthefollowing:
HTTPport:ThisportisusedbyvCenterChargebackforcommunicationusingtheHTTPprotocol.
Thedefaultportnumberis8080.
Loadbalancerport: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.
Pre-Installation Checklist
ThechecklistprovidedinTable 21helpsyouensurethatyouhavealltherequiredinformationandhave
performedthenecessarypreinstalltasks.
N
OTEInsteadofusingthedefaultdatabaseusers,suchassa,SYS,andSYSTEM,createadatabaseuser
withjusttherequiredprivilegesandaccessthedatabasewiththisuserscredentials.Thisisagoodsecurity
practice.
Table 2-1. vCenter Chargeback Pre-Install Checklist
Item Requirement Checked
HardwareConfiguration
CPU 2.0GHzorfasterIntelorAMDx86processor
RAM 3.0GBormore
Diskspace Minimum1.1GB;Recommended2.0GBormore
Card 10/100Ethernetadapter(Gigabitrecommended)
vCenter Chargeback User’s Guide
16 VMware, Inc.
Install vCenter Chargeback
Thissectioncoversthefollowinginstallationscenarios:
“BasicInstallationorFirstTimeInstallation”onpage 16
“ClusterInstallation”onpage 18
“BasicInstallationUsingExistingDatabaseSchema”onpage 20
Downloadtheinstallerfile,vCenter-CB-1.0.0-<build_number>.zip,andextractthecontentofthisZIP
filetothemachineonwhichyouwanttoinstalltheapplication.Ifyoutrytoruntheinstallerfromashared
locationonthenetwork,theinstallermightfail.
Basic Installation or First-Time Installation
Whenyouinstalltheproductforthefirsttime,theinstallerperformsthefollowingtasks:
Connectstothedatabaseandcreatesaschemafortheapplicationdata.
Installstheapplication.
Installstheloadbalancer,whichreceivesandroutesalluserrequeststotheapplication.
Installsthedatacollector,whichsynchronizesthevCenterChargebackdatabasewiththevCenterServer
databases.
NetworkConfiguration
StaticIPAddress WritedowntheIPaddressofthemachineonwhichyouplantoinstallvCenter
Chargeback.EnsurethatthemachinehasastaticIPaddress.
PortNumbers HTTPPort(default:8080)
LoadbalancerPort(default:8009)
HTTPSPort(default:443)
DatabaseConfiguration
Type MicrosoftSQLServer2005orlater
OracleDatabase10g
orlater
Databasename CreateadatabaseforvCenterChargebackandnotedown thedatabasename
URL IPaddressofthevCenterChargebackdatabase
EnsurethatthemachineonwhichthedatabaseisinstalledhasastaticIP
address.
TNSlistenerportforOracledatabase
DatabaseinstancenameforSQLServerdatabase
Databaseusername
and
password
Usernameofthedatabaseuserwhohasprivilegestocreateanddeleteschema,
aswellastoreadfromandwritetothedatabase
Passwordforthisuser
SoftwareConfiguration
MicrosoftSQLServer EnsurethattheSQLServerBrowserserviceisrunning
MSIInstallation IsMSIinstallationenabled?
Ifnot,installMicrosoftVisual
C++2005RedistributablePackage(x86)
PortExceptionson
WindowsFirewall
IfyouhaveenabledWindowsFirewall,youmustsettheportexceptionsforthe
HTTPport,loadbalancerport,andHTTPSport.
NOTEPriortostartingtheinstallation,checkwhetherthedefaultportsarefree.Ifnot,ensurethatyouprovide
alternativeportnumbersduringtheinstallation.
Table 2-1. vCenter Chargeback Pre-Install Checklist (Continued)
Item Requirement Checked
VMware, Inc. 17
Chapter 2 Installing vCenter Chargeback
To install the application
1RunthevCenter-CB.exefile.
Theinstallationwizardisdisplayed.
2ClickNextontheIntroductionscreen.
3Accepttheenduserlicenseagreement,andclickNext.
4Providethepathfortheinstallationdirectory,andclickNext.
Ensurethattheinstallationdirectorypathhasatleastonedirectory(forexample,
C:\vCenterChargeback10\)anddoesnot
pointtojustadrive(forexample,C:\).Ifthespecified
installationdirectoryexists,ensurethatitisempty.Ifthespecifiedinstallationdirectorydoesnotexist,
theinstallerwillcreatethedirectory.
5ProvidethefollowingvCenterChargebackdatabaserelatedinformation,andclickNext:
DatabaseType:ThetypeofdatabaseusedtocreatethevCenterChargebackdatabase.Thiscanbe
eitherSQLSERVERorORACLE.
DatabaseURL:TheIPaddressofthesystemonwhichthevCenterChargebackdatabaseisinstalled
alongwiththeportatwhichthedatabaselistenerserviceisrunningorthevCenterChargeback
databaseinstancename.
ForOracleDatabase,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>:<TNS Listener Port>
<Host Name>:<TNS Listener Port>
ForSQLServer,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>\<Database Instance Name>
<Host Name>\<Database Instance Name>
DatabaseName:NameofthedatabaseinwhichvCenterChar gebackstorestheapplicationspecificdata.
DatabaseUsername:Nameofthedatabaseuser.Thedatabaseusermusthaveprivilegestocreate
anddeleteschema,aswellasreadfromandwritetothedatabase.
DatabasePassword:Passwordfortheusernamethatyouhaveprovided.
Iftheinstallersuccessfullyconnectstothedatabase,thenextscreenisdisplayed.
6ProvidethefollowinginformationforthevCenterChargebackapplication,andclickNext:
IPAddress:StaticIPaddressofthemachineonwhichyouareinstallingvCenterChargeback.Donot
uselocalhostinsteadoftheIPaddress.
HTTPPort:AnunusedHTTPportthroughwhichvCenterChargebackcancommunicate.
LoadBalancerPort:AnunusedportthroughwhichvCenterChargebackcancommunicatewiththe
loadbalancer(ApacheServer).
ServerInstanceName:AuserdefinednameforthevCenterChargebackinstance.Thisnameisused
bytheloadbalancertoidentifytheinstance.
Ifthespecifiedportsarefree,thenextscreenisdisplayed.
7Providethefollowingdetailsforinstallingtheloadbalancer,andclickNext:
IPAddress:StaticIPaddressofthemachineonwhichyouareinstallingvCenterChargeback.Donot
uselocalhostinsteadoftheIPaddress.
AdminEmailAddress:Emailaddressoftheserveradministrator.
HTTPSPort:AnunusedportthroughwhichtheApacheServercancommunicate.Theloadbalancer
listensonthisportforuserrequests.
Ifthespecifiedportisfree,thenextscreenisdisplayed.
vCenter Chargeback User’s Guide
18 VMware, Inc.
8EnterausernameandpasswordforthevCenterChargebackadministrativeaccount,andclickNext.
Thepasswordmustnotexceed24charactersinlength.
9 (Optional)ChoosetoinstallthedatacollectorandclickNext.
TheInstallDataCollectoroptionisselectedbydefault.Youmusthaveatleastoneinstanceofthedata
collectorthatisrunningandregisteredwiththeapplicationforthedatabasesynchronizationjobstorun.
10 ReviewtheinformationdisplayedonthePreInstallationSummaryscreen,andclickInstall.
Theinstallerstartsinstallingthevariouscomponentsandcreatingthedatabaseschema.Iftheinstallation
issuccessful,theURLfor
accessingthevCenterChargebackapplicationisdisplayed.
11 NotethisURL,andclickDone.
EnsurethatthesystemtimeofvCenterChargeback,vCenterChargebackdatabase,andthedatacollectorare
insync.
Cluster Installation
WhenyouinstallthevCenterChargebackapplicationforthefirsttimeonamachine,aloadbalancerisalso
installed.TheexistenceoftheloadbalancerenablesyoutohavemorethanoneinstanceofthevCenter
Chargebackapplicationrunning,witheachinstanceaccessingthesamevCenterChargebackdatabase.These
vCenter
Chargebackinstancesformacluster.Alluserrequestsareroutedthroughtheloadbalancer.Also,all
theinstancesintheclustersharethesameadministrativeaccountinformation.
TheloadbalancerensuresthatnosinglevCenterChargebackinstanceisloadeddisproportionatelywithuser
requests.Also,ifoneoftheinstancesfails,any
requestcurrentlybeingservicedbythatinstanceis
automaticallyredirectedtoanotherinstanceinthecluster.Forthefailovertohappensuccessfully,youmust
ensurethefollowing:
AllthevCenterChargebackinstancesinthecluster,thevCenterChargebackdatabase,andthedata
collectorshavethesamesystemtime.Thatis,thesystemtimesareinsync.
AllthevCenterChargebackinstancesintheclusterareinthesamenetworkdomain.
MulticastingmustbeenabledonthemachineonwhichthevCenterChargebackinstanceisinstalled.
To install the application
1RunthevCenter-CB.exefile.
Theinstallationwizardisdisplayed.
2ClickNextontheIntroductionscreen.
3Accepttheenduserlicenseagreement,andclickNext.
4Providethepathfortheinstallationdirectory,andclickNext.
Ensurethatthe
installationdirectorypathhasatleastonedirectory(forexample,
C:\vCenterChargeback10\)anddoesnotpointtojustadrive(forexample,C:\).Ifthespecified
installationdirectoryexists,ensurethatitisempty.Ifthespecifiedinstallationdirectorydoesnotexist,
theinstallerwillcreatethedirectory.
N
OTEIftheinstallationfailsduetosomereason,theuninstallerisinvokedautomaticallyandallthe
componentsinstalledtillthefailureoccurredisremov ed.
VMware, Inc. 19
Chapter 2 Installing vCenter Chargeback
5ProvidethefollowingvCenterChargebackdatabaserelatedinformation,andclickNext:
DatabaseType:ThetypeofdatabaseusedtocreatethevCenterChargebackdatabase.Thiscanbe
eitherSQLSERVERorORACLE.
DatabaseURL:TheIPaddressofthesystemonwhichthevCenterChargebackdatabaseisinstalled
alongwiththeportatwhichthedatabaselistenerserviceisrunningorthevCenterChargeback
databaseinstancename.EnsurethatthespecifieddatabaseURLpointstothevCenterChargeback
databasethatanexisting
vCenterChargebackinstanceisalreadyusing.
ForOracleDatabase,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>:<TNS Listener Port>
<Host Name>:<TNS Listener Port>
ForSQLServer,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>\<Database Instance Name>
<Host Name>\<Database Instance Name>
DatabaseName:NameoftheexistingvCenterChargebackdatabase.
DatabaseUsername:Nameofthedatabaseuser.Thedatabaseusermusthaveprivilegestocreate
anddeleteschema,aswellasreadfromandwritetothedatabase.
DatabasePassword:Passwordfortheusernamethatyouhaveprovided.
IftheinstallerconnectstothedatabaseanddetectsavCenterChargebackschema,adialogisdisplayed.
6ClickUseit.
ThevCenterChargebackinstancewillusethisexistingvCenterChargebackdatabase.
7ProvidethefollowinginformationforthevCenterChargebackapplication,andclickNext:
IPAddress:StaticIPaddressofthemachineonwhichyouareinstallingvCenterChargeback.Donot
uselocalhostinsteadoftheIPaddress.
HTTPPort:AnunusedHTTPportthroughwhichvCenterChargebackcancommunicate.
LoadBalancerPort:AnunusedportthroughwhichvCenterChargebackcancommunicatewiththe
loadbalancer(ApacheServer).
ServerInstanceName:AuserdefinednameforthevCenterChargebackinstance.Thisnameisused
bytheloadbalancertoidentifytheinstance.
Ifthespecifiedportsarefree,thenextscreenisdisplayed.
8EnsurethattheInstallLoadBalancerServeroptionisnotselected,andclickNext.
9 (Optional)Choose
toinstallthedatacollectorandclickNext.
TheInstallDataCollectoroptionisselectedbydefault.Youmusthaveatleastoneinstanceofthedata
collectorthatisrunningandregisteredwiththeapplicationforthedatabasesynchronizationjobstorun.
10 ReviewtheinformationdisplayedonthePreInstallation
Summaryscreen,andclickInstall.
Theinstallerstartsinstallingthevariouscomponents.Iftheinstallationissuccessful,theURLfor
accessingthevCenterChargebackapplicationandtheinformationrequiredtoaddthisinstalledinstance
totheclusterisdisplayed.
11 Notethisinformation,andclickDone.
Theadministrativeaccountforaccessingthis
instancewillbesameastheoneusedbytheexistingvCenter
Chargebackinstance.
Aftersuccessfullyinstallingtheapplication,youmustaddthisvCenterChargebackinstancetoaclusterby
runningtheModifyLBWorkers.batfileonthemachineonwhichtheloadbalancerisinstalled.
N
OTEIftheinstallationfails,theuninstallerstartsautomaticallyandremovesallthecomponentsinstalled.
vCenter Chargeback User’s Guide
20 VMware, Inc.
To add an application instance to a cluster
1Inacommandlinewindow,enterthefollowingcommand:
cd <Installation_Folder>/vCenter-CB-Tools/load-balancer/bin/
here,<Installation_Folder>isthecompletefolderpathprovidedduringthevCenterChargeback
installation.
2Runthefollowingcommand:
ModifyLBWorkers <Host IP Address> <Load-Balancer Port> <Server Instance Name>
where:
HostIPAddress:TheIPaddressofthemachineonwhichthenewvCenterChargebackinstanceis
installed.
LoadBalancerPort:Theportthroughwhichtheapplicationinstancecommunicateswiththeload
balancer.ThisissameastheportconfiguredduringthenewvCenterChargebackinstallation.
ServerInstanceName:ThenameofthenewvCenterChargebackinstancethatyouwanttoaddto
thecluster.Thisisthenamethatyouhaveprovidedduringtheinstallation.
3RestarttheLoadBalancerservicefromtheStart > Programs > VMware > VMware vCenter
Chargeback > vCenter Chargeback Servicesmenu.
Basic Installation Using Existing Database Schema
YoucaninstallastandalonevCenterChargebackinstancethatusesanexistingvCenterChargebackschema.
To install the application
1RunthevCenter-CB.exefile.
Theinstallationwizardisdisplayed.
2ClickNextontheIntroductionscreen.
3Accepttheenduserlicenseagreement,andclickNext.
4Providethepathfortheinstallationdirectory,andclickNext.
Ensurethat
theinstallationdirectorypathhasatleastonedirectory(forexample,
C:\vCenterChargeback10\)anddoesnotpointtojustadrive(forexample,C:\).Ifthespecified
installationdirectoryexists,ensurethatitisempty.Ifthespecifiedinstallationdirectorydoesnotexist,
theinstallerwillcreatethedirectory.
5Providethe
followingvCenterChargebackdatabaserelatedinformation,andclickNext:
DatabaseType:ThetypeofdatabaseusedtocreatethevCenterChargebackdatabase.Thiscanbe
eitherSQLSERVERorORACLE.
DatabaseURL:TheIPaddressofthesystemonwhichthevCenterChargebackdatabaseisinstalled
alongwiththeportatwhichthedatabaselistenerserviceisrunningorthevCenterChargeback
databaseinstancename.EnsurethatthespecifieddatabaseURLpointstoadatabasethathasa
vCenterChargeback
schemaandisnotbeingusedbyanyvCenterChargebackinstance.
ForOracleDatabase,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>:<TNS Listener Port>
<Host Name>:<TNS Listener Port>
ForSQLServer,thedatabaseURLcanbeinanyofthefollowingformats:
<IP Address>\<Database Instance Name>
<Host Name>\<Database Instance Name>
DatabaseName:NameoftheexistingvCenterChargebackdatabase.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94

VMware vCenter Chargeback Manager 1.0 User guide

Category
Software
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI