Scheduling VMWare ESXi 4.1 VM Restart
Posted
by
Robin Day
on Server Fault
See other posts from Server Fault
or by Robin Day
Published on 2011-02-25T08:24:42Z
Indexed on
2011/02/25
15:26 UTC
Read the original article
Hit count: 263
We had a virtual machine running on a VMWare Server host on Windows Server 2003.
The machine is set up with non persistent disks.
We had a windows task schedule set up that ran a batch file to reset the machine each week so that it returned to it's original state.
The batch file that we had running was:
"C:\Program Files\VMware\VMware Server\vmware-cmd" "C:\Virtual Machines\VirtualMachineName\VirtualMachineName.vmx" stop hard
"C:\Program Files\VMware\VMware Server\vmware-cmd" "C:\Virtual Machines\VirtualMachineName\VirtualMachineName1.vmx" start
We have since migrated this machine to the free version of ESXi 4.1.
Can anyone let me know if and how it is possible to schedule such a restart?
© Server Fault or respective owner