I have been working on a powershell script to upgrade vCenter servers (sample below). I can upgrade the SSO and Inventory Service with no problems, but vCenter fails on the database upgrade step.
Error:
VC details:
Windows Server 2012 R2 Standard
8GB RAM
4 x Intel i7 960
vCenter 5.5 build 1378901 installed (yes, I copied the OCSetup.exe file and installed the ADLDS feature prior to installation).
Bundled SQL
Script I executed below:
Write-Host "Upgrading vCenter" $vCPath = "$InstallSource\vCenter-Server\VMware-vcserver.exe" $processInfo = New-Object System.Diagnostics.ProcessStartInfo $vCPath $processInfo.arguments = "/S /v`" /qr DB_EXISTING_VERSION=550 DB_USERNAME=$AdminUser DB_PASSWORD=$AdminPass LAUNCHWIZARD=1 VCS_DB_BACKUP=1 SSO_ADMIN_USER=$AdminUser SSO_ADMIN_PASSWORD=$AdminPass /L*v $env:temp\vmvcsvr.log`"" $processEXE = New-Object System.Diagnostics.Process $processEXE.StartInfo = $processInfo $processEXE.Start() | Out-Null $processEXE.WaitforExit() if ($processEXE.ExitCode -ne 0) { Write-Host "The error code is:" $processEXE.ExitCode "Exiting!" exit }
I've also included the vminst.log file.
Both the log file and the screen capture show the incorrect file path (missing a '\') character in the path. Any thoughts?