VMware vCenter Chargeback Manager 1.0.1 User guide

Category
Software
Type
User guide
vCenter Chargeback User’s Guide
vCenter Chargeback 1.0.1
EN-000186-01
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
Copyright © 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 is a registered trademark or trademark 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 14
OperatingSystems 14
DatabaseManagementSystems 14
WebBrowsers 14
VMwarevCenterServer 14
PrerequisitesforvCenterChargeback 14
PreInstallationChecklist 16
InstallvCenterChargeback 17
BasicInstallationorFirstTimeInstallation 17
ClusterInstallation 19
BasicInstallationUsingExistingDatabaseSchema 21
UpgradevCenterChargeback 23
StartingthevCenterChargebackApplication 23
DownloadingandInstallingDataCollector 24
UpgradetheDataCollector 26
DeployingvCenter
ChargebackasaVirtualAppliance 26
ManagingthevCenterChargebackVirtualAppliance 28
UninstallingvCenterChargeback 28
3 ConfiguringAdministrationSettings 31
EnterLicenseKey 31
ConfigureGenericSettings 31
ConfiguretheLDAPServerSetting 32
ConfiguretheSMTPServerSettings 33
SetCurrency 34
SetLogLevel 34
ManagevCenterServers 35
AddvCenterServerInformation 35
EditvCenterServerInformation 36
DeletevCenterServerInformation 37
ManageDataCollectors 37
ViewDataCollectors 37
EnableDataCollector 38
DisableDataCollector 39
DeleteDataCollector 39
vCenter Chargeback User’s Guide
4 VMware, Inc.
ManageLicense 39
ReplaceLicense 40
DeleteLicense 40
ManageReportTemplate 40
ManageAttributes 42
AddAttribute 42
DeleteAttribute 42
ManageSystemHealthThresholds 43
4 AuthenticatingandManagingUsers,Roles,andPermissions 45
Users 45
CreateUser 45
ModifyUser 47
DeleteUser 47
Permissions 47
PermissionTypes 48
GlobalPermissions 48
HierarchyPermissions 48
CostPermissions 48
ReportingPermissions 48
RoleBasedAccessControlPermissions 48
PermissionstoAccessUserInterfaceTabs 49
ManagePermissions 49
AssigntheSuperUserRoletoaUser 49
AssignaRoletoaUseronaHierarchy 49
ModifyPermissionsatEntityLevel 50
RevokeRolesandPermissionsAssignedtoaUser 51
Roles 51
PredefinedRoles 51
CreateaRole 52
ModifyaRole 53
DeleteaRole 53
Authentication 53
5 ManagingChargebackHierarchies 55
CreateaChargebackHierarchy 55
CreateaCustomChargebackHierarchy 55
SynchronizeaChargebackHierarchywithavCenterServer 56
ImportaChargebackHierarchyfromaCSVFile 56
FormatoftheCSVFile 57
ManageaChargebackHierarchy 57
ViewaChargebackHierarchy 58
AddavCenterServerEntity 58
AddavCenterChargebackEntity 59
RenameaChargebackHierarchyoraChargeback
Entity 59
DeleteanEntityfromtheHierarchy 60
DeleteaChargebackHierarchy 60
AssignAttributes 60
MoveEntitiesWithinaHierarchy 61
ShareVirtualMachineCost 61
ViewPropertiesofavCenterServerEntity 62
VMware, Inc. 5
Contents
6 CreatingandConfiguringaCostModel 63
vCenterChargebackCostRelatedElements 63
ChargeableComputingResource 63
BaseRate 64
RateFactor 64
FixedCost 64
BillingPolicy 64
CostModel 65
CostTemplate 66
ManageCostModels 66
CreateaCostModel 66
ModifyaCostModel 67
DeleteaCostModel 68
ManageFixedCosts 68
CreateaFixedCost 68
ModifyaFixedCost 69
DeleteaFixedCost 70
ManageCostTemplates 70
CreateaCostTemplate 70
ModifyaCost
Template 72
DeleteaCostTemplate 72
ConfigureCostattheEntityLevel 72
ViewCostConfigurationofanEntity 73
EditCostConfigurationofanEntity 73
7 GeneratingReports 75
AboutReports 75
GenerateaCostReport 76
GenerateCostComparisonReport 77
CreateReportGenerationSchedules 78
SchedulingParameters 78
ScheduleReportGeneration 79
ManageReportGenerationSchedules 80
RescheduleReportGeneration 80
RemoveaSchedule 80
EmailaScheduledReport 81
ManageReports 81
ArchiveReport 81
ScheduleReport 82
EmailReport 82
ExportReport 82
ManageArchivedReports 83
ViewArchivedReport 83
RescheduleArchivedReport 83
EmailArchivedReport 84
DeleteArchivedReport 84
8 SystemHealth,Utilities,andTroubleshooting 85
SystemHealth 85
Events 86
vCenter Chargeback User’s Guide
6 VMware, Inc.
Utilities 86
TroubleshootingUtility 86
DatabasePasswordChangeUtility 87
DatabaseManagementScripts 88
GenericScripts 88
SpaceCalculationScripts 88
DataPurgingandRestoringScripts 89
Troubleshooting 91
UnabletoSendReportThroughEmail 92
StorageSyncingJobFails 92
UnabletouseCustomSSLCertificates 92
UnabletoViewthevCenterChargebackPlugInintheVIClient 92
ReportDoesnotDisplaytheMemoryUsageValue
andtheCorrespondingCost 93
ReportDoesnotDisplaytheNetworkTransmittedandNetworkReceivedStats 93
ReportDoesnotDisplaytheDiskReadandDiskWriteStats 93
UnabletoAddvCenterServerinvCenterChargeback 93
ChangedTimezoneSettingisnotReflected 93
InstallerThrowstheSQLDrivernotFoundError 94
StatusofFailedDataCollector
isnotReflectedImmediatelyontheSystemHealthtab 94
NonEnglishCharactersarenotCorrectlyStoredinthevCenterChargebackDatabase 94
ServiceTemporarilyUnavailableErrorThrownwhenAccessingvCenterChargeback 94
TextandMessagesonthevCenterChargebackUserInterfacearenotCorrectlyDisplayed 94
ErrorOccursWhileImportingaHierarchyfromaCSVFile 94
ChangestoChargebackHierarchyarenotReflectedintheConcurrentUserSessions 94
UnabletoAccessthevCenterChargebackApplication 95
UnabletoRemovethevCenterChargebackPlugInfromtheVIClient 95
UnabletoFetchthePrimaryGroupofaLDAPUser 95
ChangestothevCenterServerHierarchyAreNotReflectedinvCenterChargeback 96
Index 97
VMware, Inc. 7
ThevCenterChargebackUser’sGuideprovidesinformationaboutconfiguringandusingthechargeback
solutionforavirtualizedenvironment.
Intended Audience
Thisbookisintendedforanyonewhowantstoinstall,upgrade,orusevCenterChargeback.The information
inthisbookiswrittenforexperiencedWindowsorLinuxsystemadministratorswhoarefamiliarwithvirtual
machinetechnologyanddatacenteroperations.
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,VMwareConsultingServicesprovides
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,thecostincurredcannotbe directlyassociatedtoanysingledepartmentorcostcenter.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.
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
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 17
“UpgradevCenterChargeback”onpage 23
“StartingthevCenterChargebackApplication”onpage 23
“DownloadingandInstallingDataCollectoronpage 24
“UpgradetheDataCollectoronpage 26
“DeployingvCenterChargebackasaVirtualAppliance”onpage 26
“UninstallingvCenterChargeback”onpage 28
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.
Installing vCenter Chargeback
2
vCenter Chargeback User’s Guide
14 VMware, Inc.
Software Requirements
Otherthananoperatingsystem,youmusthaveadatabasemanagementsystemandaWebbrowserinstalled
torunandaccessvCenterChargeback.Thissectionliststhesupportedoperatingsystems,database
managementsystems,Webbrowsers,andvCenterServerreleases.
Operating Systems
ThevCenterChargebackapplicationcanbeinstalledandrunonthefollowingoperatingsystems:
MicrosoftWindows2003ServerwithSP2
MicrosoftWindows2003ServerR2
MicrosoftWindows2008Server
Database Management Systems
vCenterChargebacksupportsthefollowingdatabasemanagementsystems(both32bitand64bit):
MicrosoftSQLServer2005(StandardandEnterprise)
MicrosoftSQLServer2008(StandardandEnterprise)
MicrosoftSQLServer2005Express
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.
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.
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.
EnsurethattheWindowsuserhastheLog on as a servicepermission
IfyouwanttousetheWindowsauthenticationoptionforthevCenterChargebackdatabase,youmust
ensurethattheWindowsuserhastheLog on as a servicepermission.Ifthispermissionisnotseton
theuser,theinstallationwillfail.Also,theinstallermust
beruninthecontextofthisWindowsuser.
N
OTEInsteadofusingthedefaultdatabaseusers,suchassa,SYS,andSYSTEM,createadatabaseuser
withjusttherequiredprivilegesandaccessthedatabasewiththisuserscredentials.Thisisagoodsecurity
practice.
vCenter Chargeback User’s Guide
16 VMware, Inc.
Pre-Installation Checklist
ThechecklistprovidedinTable 21helpsyouensurethatyouhavealltherequiredinformationandhave
performedthenecessarypreinstalltasks.
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)
NetworkConfiguration
StaticIPAddress WritedowntheIPaddressofthemachineonwhichyouplantoinstall
vCenterChargeback.Ensurethatthemachinehas
astaticIPaddress.
PortNumbers HTTPPort(default:8080)
LoadbalancerPort(default:8009)
HTTPSPort(default:443)
DatabaseConfiguration
Type MicrosoftSQLServer2005orlater
OracleDatabase10gorlater
Databasename CreateadatabaseforvCen terChargebackandnotedownthedatabase
name.
URL IPaddressofthevCenterChargebackdatabase
Ensurethatthemachine
onwhichthedatabaseisinstalledhasastatic
IPaddress.
TNSlistenerportforOracledatabase
DatabaseinstancenameforSQLServerdatabase
Databaseusernameand
password
Usernameofthedatabaseuserwhohasprivilegestocreateanddelete
schema,aswellastoreadfromandwriteto
thedatabase.
Passwordforthisuser
IfyouareusingWindowsAuthenticationforaMicrosoftSQLServer
database,thenyoumusthavetheWindowsuseraccountname.This
usermusthavetheLog on as a servicepermission.
PasswordforthisWindowsuseraccount
IfyouareusingWindowsauthentication,ensurethatyourunthe
installerin
thecontextofthisWindowsuser.
SoftwareConfiguration
MicrosoftSQLServer EnsurethattheSQLServerBrowserserviceisrunning
MSIInstallation IsMSIinstallationenabled?
Ifnot,installMicrosoftVisualC++2005RedistributablePackage(x86).
PortExceptionson
WindowsFirewall
IfyouhaveenabledWindowsFirewall,youmustsettheport
exceptionsforthe
HTTPport,loadbalancerport,andHTTPSport.
NOTEPriortostartingtheinstallation,checkwhetherthedefaultportsarefree.Ifnot,ensurethatyouprovide
alternativeportnumbersduringtheinstallation.
VMware, Inc. 17
Chapter 2 Installing vCenter Chargeback
Install vCenter Chargeback
Thissectioncoversthefollowinginstallationscenarios:
“BasicInstallationorFirstTimeInstallation”onpage 17
“ClusterInstallation”onpage 19
“BasicInstallationUsingExistingDatabaseSchema”onpage 21
Youmustfirstdownloadtheinstallerfile,vCenter-CB-1.0.1-<build_number>.zip,andextractthecontent
ofthisZIPfiletothemachineonwhichyouwanttoinstalltheapplication.Ifyoutrytoruntheinstallerfrom
asharedlocationonthenetwork,theinstaller
mightfail.Beforeyouinstalltheapplication,ensurethatyou
haveperformedthepreinstallationtaskslistedin“PrerequisitesforvCenterChargeback”onpage 14.
Basic Installation or First-Time Installation
Whenyouinstalltheproductforthefirsttime,theinstallerperformsthefollowingtasks:
Connectstothedatabaseandcreatesaschemafortheapplicationdata.
Installstheapplication.
Installstheloadbalancer,whichreceivesandroutesalluserrequeststotheapplication.
Installsthedatacollector,whichsynchronizesthevCenterChargebackdatabasewiththevCenterServer
databases.
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.
5Providethefollowing
vCenterChargebackdatabaserelatedinformation,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>
DatabasePort:(Optional)Theportonwhichthedatabaseserviceislisteningforrequests.
DatabaseName:NameofthedatabaseinwhichvCenterChargebackstorestheapplicationspecific
data.
vCenter Chargeback User’s Guide
18 VMware, Inc.
SQLAuthenticationMode:ThisoptionisapplicableonlyforSQLServerdatabases.ForanSQL
Serverdatabase,theauthenticationtypecanbeeitherSQLServerAuthenticationorWindows
Authentication.
DatabaseUsername:Thenameofthedatabaseuser.Thedatabaseusermusthaveprivilegestocreate
anddeleteschema,aswellasreadfromandwritetothedatabase.IfyouselectWindows
AuthenticationforSQLAuthenticationMode,youmustprovidetheWindowsuseraccountname.
Theusernamemust
beoftheformDomainName\UserName.Also,theusermusthavetheLog on as
a servicepermission.
DatabasePassword:Passwordfortheusernamethatyouhaveprovided.IfyouselectWindows
Authenticationastheauthenticationtype,youmustprovidethepasswordfortheWindowsuser
account.
Iftheinstallersuccessfullyconnectstothedatabase,thenextscreenisdisplayed.
6ProvidethefollowinginformationforthevCenterChargeback
application,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.
8EnterausernameandpasswordforthevCenterChargebackadministrativeaccount,andclickNext.
Thepasswordmust
notexceed24charactersinlength.
9 (Optional)ChoosetoinstallthedatacollectorandclickNext.
TheInstallDataCollectoroptionisselectedbydefault.Youmusthaveatleastoneinstanceofthedata
collectorthatisrunningandregisteredwiththeapplicationforthedatabasesynchronizationjobstorun.
10 Review
theinformationdisplayedonthePreInstallationSummaryscreen,andclickInstall.
Theinstallerstartsinstallingthevariouscomponentsandcreatingthedatabaseschema.Iftheinstallation
issuccessful,theURLforaccessingthevCenterChargebackapplicationisdisplayed.
11 NotethisURL,andclickDone.
EnsurethatthesystemtimeofvCenterChargeback,vCenterChargebackdatabase,andthedatacollectorare
insync.
NOTEIftheinstallationfailsduetosomereason,theuninstallerisinvokedautomaticallyandallthe
componentsinstalledtillthefailureoccurredisremov ed.
VMware, Inc. 19
Chapter 2 Installing vCenter Chargeback
Cluster Installation
WhenyouinstallthevCenterChargebackapplicationforthefirsttimeonamachine,aloadbalancerisalso
installed.TheexistenceoftheloadbalancerenablesyoutohavemorethanoneinstanceofthevCenter
Chargebackapplicationrunning,witheachinstanceaccessingthesamevCenterChargebackdatabase.These
vCenter
Chargebackinstancesformacluster.Alluserrequestsareroutedthroughtheloadbalancer.Also,all
theinstancesintheclustersharethesameadministrativeaccountinformation.However,youmustensurethat
eachinstanceofvCenterChargebackintheclusterisofthesameversion.
Theloadbalancerensuresthatno
singlevCenterChargebackinstanceisloadeddisproportionatelywithuser
requests.Also,ifoneoftheinstancesfails,anyrequestcurrentlybeingservicedbythatinstanceis
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.
5Providethefollowing
vCenterChargebackdatabaserelatedinformation,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>
DatabasePort:(Optional)Theportonwhichthedatabaseserviceislisteningforrequests.
DatabaseName:NameoftheexistingvCenterChargebackdatabase.
SQLAuthenticationMode:ThisoptionisapplicableonlyforSQLServerdatabases.ForanSQL
Serverdatabase,theauthenticationtypecanbeeitherSQLServerAuthenticationorWindows
Authentication.
vCenter Chargeback User’s Guide
20 VMware, Inc.
DatabaseUsername:Thenameofthedatabaseuser.Thedatabaseusermusthaveprivilegestocreate
anddeleteschema,aswellasreadfromandwritetothedatabase.IfyouselectWindows
AuthenticationforSQLAuthenticationMode,youmustprovidetheWindowsuseraccountname.
Theusernamemust
beoftheformDomainName\UserName.Also,theusermusthavetheLog on as
a servicepermission.
DatabasePassword:Passwordfortheusernamethatyouhaveprovided.IfyouselectWindows
Authenticationastheauthenticationtype,youmustprovidethepasswordfortheWindowsuser
account.
IftheinstallerconnectstothedatabaseanddetectsavCenterChargebackschema,adialogisdisplayed.
6ClickUseit.
The
vCenterChargebackinstancewillusethisexistingvCenterChargebackdatabase.
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.
  • 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
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100

VMware vCenter Chargeback Manager 1.0.1 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