Got a weird issue.
I'm running vcenter appliance 5.5 update1 on a 2 host cluster in my lab. I started with 5.5 and updated it to 5.5 u1. It was running fine but yesterday my lab lost power and i didn't get a chance to do graceful shutdown. Now I can start vcenter on it.
I'm getting "Waiting for vpxd to intitialize: .failed" message
I pinpointed to database issue which i guess was caused by power outage and I'm trying to see if its possible to recover it instead of doing Reset DB or redeploy the appliance.
when i test database i get the following:
Error: Incompatible DB Schema version
/var/og/vmware/vpx/vpxd_cfg.log shows the following:
2014-04-16 20:25:53 22314: START locking... /usr/sbin/vpxd_servicecfg db test
2014-04-16 20:25:53 22317: [22314]BEGIN execution of: /usr/sbin/vpxd_servicecfg 'db' 'test' 'embedded' '' '' '' '' CENSORED
2014-04-16 20:25:53 22317: Testing DB. Type (embedded) Server () Port () Instance () User ()
Enable autostart of vpostgres instance...
insserv: Service network is missed in the runlevels 4 to use service postgresql
insserv: Service syslog is missed in the runlevels 4 to use service postgresql
Waiting for the embedded database to start up: [OK]
2014-04-16 20:25:53 22317: Testing DB link. Type (PostgreSQL) Server (127.0.0.1) Port (5432) Instance (VCDB) User (vc)
2014-04-16 20:25:54 22317: ERROR: DB version is not compatible with vpxd: 551 (VirtualCenter Database 5.5), expected:
2014-04-16 20:25:54 22317: VC_DB_SCHEMA_VERSION=VirtualCenter Database 5.5
2014-04-16 20:25:54 22317: VC_DB_SCHEMA_VERSION_ID=551
2014-04-16 20:25:54 22317: VC_CFG_RESULT=412
2014-04-16 20:25:54 22317: END execution
Any ideas on how to fix this issue without loosing my vcenter config?
Thanks
Alex