Solved

Virtual machines automatically start back up

Posted on 2011-03-09
17
2,618 Views
Last Modified: 2013-02-15
I do not have an HA cluster, and in Virtual Machine Startup/Shutdown alll the VMs are set to Manual Startup and Startup is set to Disabled. However, whenever I shutdown the machines, they automatically start back up. Where else could this be set?
0
Comment
Question by:CorinneSpears
  • 6
  • 5
  • 4
  • +2
17 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 35086201
What OS is in your VM? How are you powering down the VM? ACPI needs to be enabled in order for the guest to actually power down the VM from the shutdown. I think that there are GPO policy settings to disable shutdown and make it work like a restart - could that be what is happening?

If you select power off from vmware does it stay powered down?
0
 

Author Comment

by:CorinneSpears
ID: 35086263
It's happening with Windows 2008 server, 2003 R2 server, and windows XP. I've tried shutting down from within Windows, Shutdown Guest within VMware, and Power Off. The gurst automatically starts up each time.
0
 
LVL 16

Expert Comment

by:danm66
ID: 35086494
within the client, do you see any tasks in the lower pane?  that might give a clue as to what is powering the VM back on.  Also, check events/tasks tab to get info about power on.
0
 

Author Comment

by:CorinneSpears
ID: 35086549
Nothing in VMware. The reason I was trying to shutdown the machine is because I was removing it from inventory to move the files to another datastore. When I added the VM back to inventory, it immediately started itself up. I'm at a loss where else to look on the ESX host.
0
 
LVL 16

Expert Comment

by:danm66
ID: 35086620
If you create a new, blank VM with no OS on that host, does it power on automatically, too?
0
 
LVL 30

Expert Comment

by:IanTh
ID: 35115743
its in the advanced setting

 vm auto start and stop
0
 

Author Comment

by:CorinneSpears
ID: 35151188
It does not happen with a new VM. It only happens with the Windows machines.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 35151600
Is it possible that you have a monitoring system in place that notices the machine isn't there and tries to restart it? There are a couple of interfaces (vSphere RCLI, PowerCLI) that can be used to remotely start a virtual machine.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:CorinneSpears
ID: 35151765
We use Host Monitor. It does not restart the servers. I think it's either something in VMware or Windows XP.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 35152044
If you actually succeed in powering the vm off in the vSphere client (right click on the vm, select power then power off) and it still comes back up that would pretty much rule out XP. These would leave either something in VMware or some external process causing it to power back on.

I am not aware of (but don't know everything!) any setting that might cause the behavior you describe. I do know some vApp features allow you to power up and down groups of machines. Is the vm in question part of a vApp?

As danm66 mentioned earlier please watch the "Recent Tasks" pane at the bottom of the vSphere client for any activity. You should see power off messages when you go to power it down. If it immediately comes back with initiated power on and/or powering on messages see who it was initiated by and post that info back here.

The only other possibility that occurs to me is that some external process is using API or webservice calls to power the vm back on.

0
 
LVL 16

Expert Comment

by:danm66
ID: 35152135
I would think that you would see login messages in the vpxd log as the external process powers on the VM and possibly some log entries for the requested action.
0
 

Author Comment

by:CorinneSpears
ID: 35182152
Here's the settings in Vmware.
 VMware settingsEven though start up is set to Disabled, the VM's start even if I Power Off the machines. I was able to complete what I needed to by powering off the machine and then immediately removing from inventory. After adding it back to inventory and starting up the VM again, I tried shutting down the VM in Windows. It shuts down and then starts back up again.
0
 
LVL 16

Accepted Solution

by:
danm66 earned 250 total points
ID: 35183700
The only other things I can think of are vApps and  WOL (wake on LAN).  there's an option in Edit Settings that allows you to turn WOL on or off and it should be obvious if it's part of a vApp group.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 35188800
You might want to take a look at these articles:

For ESX: http://kb.vmware.com/kb/1004340
For ESXi: http://kb.vmware.com/kb/1014165

Good Luck
0
 

Author Closing Comment

by:CorinneSpears
ID: 35192585
WOL, that's it. It's set for the NIC. Now, I just need to figure out how to turn it off. The options are greyed out.
0
 
LVL 16

Expert Comment

by:danm66
ID: 35194194
You have to power down the VM to un-check the option.
0
 
LVL 4

Expert Comment

by:Squidly_Man
ID: 38894497
The other thing to keep in mind is, when using VMware View, settings within the VDI Pool can ensure Windows Desktop VMs are always powered on.  This is a functionality of VMware View and will be configured within the View Desktop Pool Settings to ensure desktops within the pool are always powered on.
View Desktop Pool Settings - Ensure Desktops are always powered on
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

743 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

12 Experts available now in Live!

Get 1:1 Help Now