Friday, July 24, 2015

Virtual Machine startup - shutdown with ESXi host

Today we got a request from client to configure some specific site server virtual machines to automatically start and stop with host as there is frequent power cut on these sites so client wanted to make sure these VMs would come online as soon as the host will power on. 

These are individual hosts so no HA or DRS configured means no need to worry about a case where you migrated VM to another host and this configuration became irrelevant. 

Note: BTW automatic startup is not supported with vSphere HA.

Configuring a VM to startup - shutdown with ESXi host is very easy,

Using #C client,
  • In the vSphere Client inventory, select the host where the virtual machine is located and click the Configuration tab.
  • Under Software, click Virtual Machine Startup/Shutdown and click Properties.
  • Select Allow virtual machines to start and stop automatically with the system, then Configure the startup and shutdown behavior.


 for detailed info about available optional settings, checkout VMware vSphere Documentation Center =>> Managing Virtual Machines section.

Using Web Client,
  • In the vSphere Web Client, navigate to the host where the virtual machine is located.
  • Select Manage > Settings.

  • Under Virtual Machines, select VM Startup/Shutdown and click Edit, edit settings dialog box will open,
  • Select Allow virtual machines to start and stop automatically with the system, then Configure the startup and shutdown behavior options.

That't it... :)


No comments:

Post a Comment