VMware vSphere

 View Only
  • 1.  Sandbox VirtualMachine?

    Posted Oct 26, 2010 08:48 PM

    Hello,

    I'm looking into the possibility of creating a virtual machine that would automatically rollback to a snapshot on a schedule or after every power off. Are there any built in ways of doing this with ESXi 4?

    Thanks,

    Arin



  • 2.  RE: Sandbox VirtualMachine?

    Posted Oct 26, 2010 09:07 PM

    It sounds like you want any changes made to the VM's OS to be rolled back, correct? If so, that can be done simply by making the VM's Hard disk "Independent" and "Nonpersistent"... You can make these changes to any VM that is not spun up...

    VMware VCP4

    Consider awarding points for "helpful" and/or "correct" answers.



  • 3.  RE: Sandbox VirtualMachine?

    Posted Oct 27, 2010 12:41 PM

    Thanks,

    I had seen some other posts on that, but wasn't sure that was the way to go. Is there any way to schedule a restart of the Image from the Host side?

    -Arin



  • 4.  RE: Sandbox VirtualMachine?

    Posted Oct 27, 2010 12:54 PM

    With a vCenter Server (4.1 confirmed) you can use the Scheduled Tasks to reset a VM on a specific schedule. Not sure how that will impact the installed OS since a reset is the same thing as a forced restart of a physical system (not clean)... Probably better to set a reboot schedule from within the VM's OS (use the scheduler within Windows) to reboot at the time of day you're looking for. Or reboot if you don't care if it hoses the OS, or anything that could be open at that time.

    I really don't have any VM's that I'm comfortable testing the different power scheduled tasks options with... If you have a vCenter Server, with the VM's on it, then just try it out. Otherwise, use the scheduler from within the VM's OS to perform the reboots on the schedule for you...

    VMware VCP4

    Consider awarding points for "helpful" and/or "correct" answers.