Hi,
We are in vSphere 5.1 and we try to migrate our databases from SQL Express 2008 to SQL 2012 R2. Update Manager DB went fine, but we cannot start vCenter service. What we have done :
- Backup & restore of SSO & VIM_VCDB databases
- Map both users with their databases
- Install and configure ODBC 11 client on vCenter server (connection test is OK)
- Follow KB2045528 (ssocli configure-db, check and update 2 config files)
- Change registry key HKLM\SOFTWARE\VMWARE Inc\VMWARE VirtualCenter\DB\4 : SQL Server Native Client 10.0 to SQL Server Native Client 11.0, other entries being correct.
SSO service starts, butVMware VirtualCenter not : error code 2. In the event viewer, I can see EventID 1000 : A database error occurred: Repository has not been created.
In vpxd.log, there is
2013-10-23T11:10:25.215+02:00 [02900 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vcdb
2013-10-23T11:10:25.339+02:00 [02900 error 'Default'] Vdb::Connection::TestConnection SQLExecute failed: 42S02:208
2013-10-23T11:10:25.339+02:00 [02900 error 'Default'] [Vdb::LockRepositoryHelper] Missing table vpx_dual
2013-10-23T11:10:25.339+02:00 [02900 error 'Default'] A database error occurred: Repository has not been created
Any hint ?
Thanks in advance,
Eric.