VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
13 Replies Last post: Jan 30, 2008 11:34 AM by mikepodoherty  

Re-added Solaris 10 guest server showing as powered off while actually running posted: Jan 24, 2008 12:59 PM

Click to view mikepodoherty's profile Expert 361 posts since
Nov 6, 2006
Folks,

While patching ESX 3.0.1 servers, discovered that the patches didn't take on one server. I tried to migrate a guest Solaris 10 server to another ESX 3.0.1 server that was patched so I could redo the patches. The migration hung and after 15 minutes, I tried service mgmt-vmware restart followed by service vmware-vpxa restart. Both commands ran without a hitch but the vitrual server showed up as orphaned.
I removed the orphaned server from inventory and then navigated through the storage information to the virtual server's folded and selected the .vmx file and readded the server to inventory on the ESX host that needs patching.

It is now in inventory but showing as powered off.

I logged onto the server remotely and restarted vmware-tools - a couple of times, I've also pinged the server hosting VirtualCenter 2.0.1.

Still showing as powered off. Also showing VMware Tools as not running.

Since this is a production server hosting an Oracle database, I'm leery about clicking the power on button.

Does anyone know if this will just update VirtualCenter or will I get a reboot? Or will it be safer to migrate to another ESX host?

Any other ideas as to how to get VirtualCenter to recognize that the server is up?

Thanks.

Mike
Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006

Hello,

Sounds like a VI3 brain freeze. Try a disconnect from the ESX host and then a reconnect.

It will refresh the VI3 DB status entries for those VM's.


Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006
Have you tried restarting the vpxa agent?

vpxa restart

Does it show as powered on when you connect to the host directly?

Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006

Hello

The only other way to get the status back is way to extreem. It would be granular DB surgery in VC.Thats far too much time to be worth it. It is much simpler and safer to schedule a maint cycle and bring it down then remove it from inventory and add it back in again. I know that is not what you were hoping for but that's all I can think of on this one.


Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006
There is one more thing you could try on the ESX host.

Restart the Management agent with.

service mgmt-vmware restart
Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006

Did you try this command?

service mgmt-vmware restart


Click to view mike.laspina's profile Virtuoso vExpert 2,273 posts since
May 26, 2006

You should issue the esxcfg-mpath -l command from one of your hosts to see what paths are visible if any.


VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities