Hi
Im trying to move vSphere 5.1 U1 vCenter database from SQL 2008 R2 Express (Windows 2008 R2) to a stand alone SQL 2012 Standard (Windows 2012) server.
I have moved vCenter datbases several times before but now it wont work.
This is how I do it:
- Shutdown vCenter services
- Backup vCenter database
- Create an empty database on the new SQL server
- Do a restore from the earlier backup file, with override setting
- Change the ODBC (x64) connection to the new server.
- Express has Intergrated Windows aut. so I change to SQL aut.
- ODBC Test - Connection successfully
- Trying to start vCenter. Not so very succesfully. Something about error 2.
Checking System eventviwer and it's very red.
"The VMware VirtualCenter Server service terminated with service-specific error The system cannot find the file specified.."
Checking SQL logs. Finding this error:
"Login failed for user ''.Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only."
Trying to configure connection in the registry (x86):
[HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VirtualCenter\DB]
"5"="50"
"4"="SQL Server Native Client 11.0"
"1"="VMware vCenter"
"2"="sqlvcsvcs"
"3"="password"
Again, trying to start vCenter. Not so very succesfully. Something about error 2.
Checking System eventviwer and it's very red.
Checking SQL logs. Finding this error:
"Login failed for user 'sqlvcsvcs'. Reason: Password did not match that for the login provided."
Changing password and trying to connect. Now I dont even get any changes in the SQL-log. Neither successfully or failed.
Have also tried...:
- Change vcdb.properties >> Failure
- Connect to database using the SQL account >> Success
- Trying to connect to Express database using SQL account >> Failure. The same errors as above.
- Googled as hell and find some tips..but...Dont have ISS Admin, dont have "World Wide Web Publishing..." etc
Does anyone have any clue how to solve this, it starting to freak me out
I have the SRM and the VUM databases on the SQL stand alone server so I know it should work.
[EDIT]
The SQL Express is installed on the vCenter server, not member in a domain. The stand alone SQL is a domain server. It's a HP VS3 solution.
Yep, I use fully FQDN name