VMware Cloud Community
sradnidge
Enthusiast
Enthusiast

VC 2.5 Install Bug

Let me start by saying that yes i did search the forum first Smiley Happy

I'm fairly certain there is a bug in the VC 2.5 installer, basically when installing with ADDLOCAL=VPX, the %programfiles%\VMware\Infrastructure\VirtualCenter Server\locale directory does not get created, thus causing the service to fail to start. Running vpxd -s throws the ol'

2008-01-09 18:39:36.178 'Locale' 5088 warning No supported locales in directory 'C:\Program Files\VMware\Infrastructure\VirtualCenter Server\locale/'.

2008-01-09 18:39:36.178 'Locale' 5088 error No locale directories found in 'C:\Program Files\VMware\Infrastructure\VirtualCenter Server\locale/'.

2008-01-09 18:39:36.225 'App' 5088 error Locale Init Failed. Check for outdated or missing locale files in configured locale path or current directory.

2008-01-09 18:39:36.225 'App' 5088 error Failed to initialize: Locale initialization failed.

2008-01-09 18:39:36.225 'App' 5088 error Failed to intialize VMware VirtualCenter. Shutting down...

2008-01-09 18:39:36.225 'App' 5088 info Forcing shutdown of VMware VirtualCenter now

There are several other threads that suggest this is due to some kind of database corruption, but that is not the case - I can reproduce the error with 100% accuracy either by installing VC without the ADDLOCAL argument, or even copying off the %programfiles%\VMware\Infrastructure\VirtualCenter Server\locale directory from a successful install, and simply pasting into a broken one (ie without touching the database at all).

Can anyone else out there reproduce this? I'll log a bug report if someone can confirm.

0 Kudos
3 Replies
jasonboche
Immortal
Immortal

I've flagged this thread. Hopefully if what you are saying is true a developer can take a look at it and resolve.

Regarding the installation/upgrade procedures for VC, I'm sitting a SQL2005 class this week and I'm curious why VMware didn't script the change of the SQL database recovery model to bulk-logged and then flip it back to full or whatever it was prior afterwards. Instead, this is detail the installer must follow by reading the upgrade instructions. This is a step that can be missed because there are at least two installation/upgrade documents for VC2.5. Only one of them contains the procedure for changing the recovery model and thus the step could possibly get missed if someone wasn't aware there exists multiple installation documents containing different information.






[i]Jason Boche[/i]

[VMware Communities User Moderator|http://communities.vmware.com/docs/DOC-2444][/i]

VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+
sradnidge
Enthusiast
Enthusiast

Thanks Jason - will give you some helpful points for that Smiley Happy

Just for the record, this is a totally clean install, both database and VC (and they live on separate hosts). But yeh, there are a few odd things regarding SQL that vpxd does in 2.5... for example, when creating the SQL Agent jobs, the first thing the sql script (job_schedule1_msssql.sql for example, in the same directory as vpxd) does is to chk for the existence of a job with the same name, then delete it if it finds one. However by default there is not a SQL role that I know of other than 'sysadmin' that has the rights to delete SQL Agent jobs (there's a question for you to ask on your course!), and even if there was I don't think any self respecting enterprise DBA would give it to the SQL n00bs like us who run the virtual infrastructure, just as we wouldn't give them datacenter admin rights in VC. So when I ask them to create and permission a database for VC's use, i get db_owner on my database, and some low level rights on the msdb system database, and that's all I need for VC to install and run quite happily. However, AFAIK SQL Agent jobs are configured on a per instance basis (there's another question for you to ask), so say I had a SQL utility that hosted multiple databases under the one instance, then my next VC install will fail because it will try to delete the existing jobs and not have the rights to do so :(. But even if it did have rights to delete the existing jobs, it shouldn't do so because I need them for the original database! So either I have to automate the renaming of the jobs so they are unique, or I have to have multiple instances, one for each database, which is not optimal when all the databases aren't very large or resource intensive as far as enterprise databases go, and there is more SQL overhead associated with multiple instances as opposed to multiple databases in a single instance.

I know it's just a case of the VC devs making setup as automated as possible and assuming the DBA is the VC admin is the Windows admin etc etc, but it would be nice to have some kind of option to turn some of the extraneous stuff off, or at least have it fail and continue with the rest of the database initialisation.

0 Kudos
jasonboche
Immortal
Immortal

FYI, the two documents I'm referring to are:

http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_installation_guide.pdf - most requirements/steps can be found in here

http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_upgrade_guide.pdf - mentions the requirement for enabling bulk-logging (curious why is this not in the first document?)






[i]Jason Boche[/i]

[VMware Communities User Moderator|http://communities.vmware.com/docs/DOC-2444][/i]

VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+
0 Kudos