5.5

Table Of Contents
VMware, Inc. 19
Command-Line Installation and Upgrade of VMware vCenter Server
TM
5.5
Troubleshooting: vSphere Web Client Installation Logs
ThevSphereWebClientinstallationlogisstoredat:%TEMP%\vim-ngc-msi.log.
Upgrading vCenter Server from the Command Line
WhenyouupgradetovCenterServer5.5fromthecommandline,youmustinstallvCenterSingleSignOnand
vCenterInventoryService,inthatorder,beforeyouinstallorupgradevCenterServer.
WhenyouupgradevCenterServer,youcanupgradethevCenterServerdatabasefirst,andthenupgrade
vCenterServer,or
upgradeboththevCenterServerdatabaseandvCenterServerinasinglecommand.
ToupgradethevCenterServerdatabasebeforeupgradingvCenterServer,usethefollowingcommand.
path_to_vCenter-Server
\vCenter-Server\dbupgrade\bin\VCDtabaseUpgrade.exe DSN=
DSN_name
UID=
DB_username
PWD=
DB_password
LOGFILE=
optional or specify another name with path
Torunthiscommandsilently,addtheparameterQUIET=true.The
DB_username
dependsonthedatabase
type:
ForSQLServerdatabases.IftheDSNusesWindowsauthentication,the
DB_username
istheusernamefor
thelogonuser.IftheDSNusestheSQLServerauthentication,the
DB_username
isthespecificdatabase
user.
ForOracleorIBMDB2databases,the
DB_user name
isthedatabaseuser.
The
DB_password
isthepasswordforthespecified
DB_username
.
ToupgradethevCenterServerdatabasewhenyouupgradevCenterServer,inasinglecommand,the
VMware-vcserver.execommandmustincludethefollowingparameters.
Keepinmindthatduringminorupgradewedonotdodatabaseschemaupgradeandsettingthe
LAUNCHWIZARD=1performsadatabaseschemaupgrade.Sincetheminorupgradeisalsothrough
commandline,donotpassLAUNCHWIZARD=1forit.
DB_EXISTING_VERSION=
existing_database_version
DB_DSN=
database_DSN
DB_USERNAME=
database_user_name
DB_PASSWORD=
database_password
LAUNCHWIZARD=1 (usedonlyformajorvCenterServerupgrades,notforminorones)
VCS_DB_BACKUP=1
Example 24. Upgrade of vCenter Server and vCenter Server Database
path_to_vCenter-Server
\vCenter-Server\VMware-vcserver.exe /1033
/v"DB_EXISTING_VERSION=
existing_database_version
DB_DSN=
database_DSN
DB_USERNAME=
database_user_name
DB_PASSWORD=
database_password
SSO_ADMIN_USER=\"administrator@vsphere.local\"
SSO_ADMIN_PASSWORD=\"Admin@12345\"
LS_URL=\"https://hostname-domain.com:7444/lookupservice/sdk\"
IS_URL=\"https://FQDN:10443/\"
VC_ADMIN_USER=Administrators
VC_ADMIN_IS_GROUP_VPXD_TXT=true
LAUNCHWIZARD=\"1\"
VCS_DB_BACKUP=\"1\"" /qr
IfthevCenterServerdatabaseisalreadyupgradedtothecorrectversionforthevCenterServerversionthat
youareinstalling,thiscommanddoesnotupgradethedatabaseagain.Forthe
DB_EXISTING_VERSION
parameter,usethefollowingschemaversionnumbers:
VirtualCenter2.5Update6:5