Hi All,
Attempts to move our VirtualCentre database to a SQLServer 2005 have failed.
Closed down VirtualCentre, took the DB offline and copy the database files.
On the SQLServer 2005 side, attach a database using the copied files.
Looking at the database from MS SQLServer Management Studio
Create a the user used by the VirtualCentre DSN to access the database.
The user created to access the database has its user and schema mapped to dbo.
The same user has been set as the DB Files owner again from within the SQL Server UI.
I've run the command EXEC sp_changedbowner @loginame = '', @map = 'true'
where vclogin equals my SQL Server user.
I've reconfigured the DSN and it is using the MS SQLServer ODBC (not the new Native Client) and taht connects and tests okay using the database user created above.
But, when I start the service it immediately stops with:
\[2007-03-12 10:35:34.677 'App' 4008 info] Starting VMware VirtualCenter 2.0.1 build-33643
\[2007-03-12 10:35:34.677 'App' 4008 info] Account name: SYSTEM
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxOsLayer] Enabled low-frag process heap.
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxOsLayer] Enabled low-frag crt heap.
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 32 max LROs
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 6 reserved internal LROs
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 6 reserved blocker LROs
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 6 reserved short LROs
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 2 reserved long LROs
\[2007-03-12 10:35:34.677 'App' 4008 info] \[VpxLRO] 600-second task lifetime
\[2007-03-12 10:35:34.802 'App' 4008 error] "ODBC error: (42S02) - \[Microsoft]\[ODBC SQL Server Driver]\[SQL Server]Invalid object name 'vpx_sequence'." is returned when executing SQL statement "select id from vpx_sequence where name = ?"
\[2007-03-12 10:35:34.802 'App' 4008 error] Failed to intialize VMware VirtualCenter. Shutting down...
\[2007-03-12 10:35:34.802 'App' 4008 info] Shutting down VMware VirtualCenter now
\[2007-03-12 10:35:34.802 'App' 4008 error] SetServiceStatus failed: The handle is invalid
There's obviously some error somewhere, and I'm still struggling with the oddities of SQLServer 2005.
Any clues as to what may still be mis-configured?
The SQL 2005 article I've read talks of deleting "VCUser", but all attempts to delete the original DB Owner have failed as schemas and then objects are owner.
It seems to be tripping up as the SQL User I want to use has the same name in the SQL2005 and SQL 2000 implementations.
The other option I have is to just reinstall VirtualCentre and create a new database from scratch.
Any idea what the risks of this might be?