jcouch
Enthusiast
Enthusiast

fix for vCenter 4.1 upgrade bug that breaks search

We jumped into the 4.1 pool about 2 weeks after the launch. Everything went great except for one bug: The search feature no longer would find VMs. It found datastores, hosts and networks but the VM's would never come up. After 3 weeks of waiting on a "fix" for the known issue, I asked that the ticket be escalated. Getting another set of eyes on it was what we needed!

The issue now resolved, due to a resourceful escalation engineer named Chris, found in our logs that Tomcat needed more ram. After checking, tomcat’s max was set to only use 1gb. We increased it to 2gb and it was still chewing up the whole amount. We bumped it to 3gb and now it’s only using up 2.8gb. After restarting the VMware web service and letting tomcat get settled again, search magically worked again. And with over 1000 VMs, we got really spoiled with the search feature. Not having it really drove us crazy.

We have asked that VMware put out a KB for this and they state its coming. I just thought I would pass this on to any other searching for an answer. It’s worth a shot and is not very invasive to try.

And in case you didn’t know (I didn’t before today) where the properties for the tomcat service can be edited, they are on the “start menu/all programs/vmware/vmware tomcat/configure tomcat”. Go to the Java tab and increase the “maximum memory pool”. Then restart the “vmware virtualcenter management webservices” service.

Good luck.

0 Kudos
3 Replies
maishsk
Expert
Expert

Do you by any chance still have both vSphere Client versions (4.0 and 4.1) installed on the client you are managing with?


Maish

VMware Communities User Moderator

Virtualization Architect & Systems Administrator

- @maishsk

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design
0 Kudos
jcouch
Enthusiast
Enthusiast

I do not. Pure 4.1 VI client.

0 Kudos
psyolent
Contributor
Contributor

something else to bear in mind ; when running JVM's inside VM's reserve the memory allocated to the VM. not doing so = performance degredation

here for more info : http://www.vmware.com/files/pdf/Java_in_Virtual_Machines_on_ESX-FINAL-Jan-15-2009.pdf

also applies to weblogic, websphere, most things tomcat if you're deploying .war files

HTH

0 Kudos