Solved

Windows VM hang.  What's the options?

Posted on 2013-01-26
16
512 Views
Last Modified: 2013-01-27
This is VM at the hosting data center facility.  Using remote hands.
Windows 2008 Svr hang and vCenter lost information about the VM and cannot vMotion it.

The only option they have without waiting for VMware support is to hard reset the host. As this is a shared ESX environment they'd be looking at multiple VM's across multiple platforms having the rug pulled out from underneath them.

As the host is currently headless due to the lack of vCenter connectivity the VM will not vMotion over to an available host because the vCenter has no information on the health of the server and hence cannot make a decision to bring it online on an alternative host.

The potential for damage is too high for us to risk taking so many servers offline, so they elected to escalate it to VMware under the highest possibe priority their support contract with them would allow.

What other methods can be explored at this point.  Does it have to be done via the vCenter only??
0
Comment
Question by:Tiras25
  • 6
  • 6
  • 4
16 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 38822148
Only one VM is hung, right?

Just poweroff that VM only. No need to reboot ESX/ESXi.
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822152
But they hang and non accessible.  Cannot rdp to it and vcenter cannot connect to it.
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 400 total points
ID: 38822161
vCenter Server just performs management and vMotion and DRS, it's not responsible for VMware HA. It does not have to be used.

Connect directly to the ESX/ESXi hosts with the root userid and password, login and take control of the VMs.

If the VM cannot be truly managed, you would have to restart network management agents on the Host Server, and then try to power off the VM.

Is it just a single VM which has Hung?
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822168
Yes one single VM.
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 400 total points
ID: 38822177
the issue with a single VM, is that sometimes, it can bring a whole host down, e.g. you may have to restart the host. Because killing process rarely works.

so with that in mind, it is possible to "move" manually VMs from one server to another, but you will have to shutdown the VMs. Remove from the servers inventory, and add to the inventory on another server and power up.

What access do you have to hung VM?

1. can you ping?
2. can you rdp?
3. can you connect at console (via vSphere Client)?
4. can you shutdown inside VM?
5. can you shutdown outside of VM?
6. can you force and kill the VM from ESXi console?
7. is vmware tools reported as running with IP Address?

if 1-7 are No, and when trying tasks on VM it states task already running, and trying to kill the VM at console does not work, you will need to restart Host, and move other VMs off the server.
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822237
At this point it only responds to pings and shares are accessible.   This is what I can see under my control.  Everything else I believe No.  Or maybe I don't have enough information from the data center services.
0
 
LVL 117
ID: 38822259
what outcome do you want?
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822265
Well I like the server be online and up and running by Monday morning.
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 400 total points
ID: 38822331
which server?

Guest or Host, and with or without downtime to Host and or Guests?

At this point it only responds to pings and shares are accessible.

So service is okay, apart from you cannot manage it.

The VM is online and running?
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 38822340
If the Shares and RPC etc are working then you can probably remote boot.

Also is the your virtual center? If your virtual center is not respoding then maybe you can reboot that first.
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822375
Good point on remote boot.  What's the remote boot command?
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 400 total points
ID: 38822425
shutdown /[r|s] /m \\ComputerName /c "Comment" /d [u|p] <xx>:<yy>

 and then press ENTER.

see here
http://technet.microsoft.com/en-us/library/cc770416.aspx
0
 
LVL 23

Assisted Solution

by:Nagendra Pratap Singh
Nagendra Pratap Singh earned 100 total points
ID: 38822443
You can use
shutdown /i
this one is a GUI


or you can use PsShutdown

http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx


and BTW you maybe able to bypass vcenter and connect directly to esx/esxi or raise a request for it.

BTW what is this server used for? and can you vmotion other VMs to other name?
0
 
LVL 17

Author Comment

by:Tiras25
ID: 38822842
Data center guys haven’t considered using them in this command case as concerned about doing so without any console visibility to monitor the restart and the ability to intervene in the event of  something going wrong during POST. For this reason They they haven’t entertained their use.
0
 
LVL 117
ID: 38822855
I would think, you would want to turn off all VMs, restart host, if you need to move VMs to another host before you restart the host they currently reside, as it looks as if your host has gone bad.
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 38823436
Is it your DC or cloud?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

A safe way to clean winsxs folder from your windows server 2008 R2 editions
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now