Server Virtualization

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

How to schedule a VM power state with AHV

Adventurer

How to schedule a VM power state with AHV

I will looking to migrate from VMware to AHV in the next few weeks.

 

As I understand it, it is not possible to schedule the state of a VM say for Shutdown or Power On, as you can do in VMware.

 

Is there a workaround and is this on the roadmap?

Tags (1)
3 REPLIES
Nutanix Employee

Re: How to schedule a VM power state with AHV

Hi @ice

 

Can you elaborate more what exactly you meant by "schedule VM power state".

 

thanks

Artur

 

Artur Krzywdzinski
blog: www.vmwaremine.com
twitter: @artur_ka
Adventurer

Re: How to schedule a VM power state with AHV

Hi Artur,

 

So in vSphere right now there is an option to create throught the vCenter GUI a Scheduled Task (Change the power state of a VM, Clone a VM, Create a Vm etc).

 

The main use of Scheduled Tasks for me is to shutdown and then after a short delay, power a series of VMs back up.

 

Does AHV support such a feature?

Nutanix Employee

Re: How to schedule a VM power state with AHV

Nope, it does not.

You will have two choices:

  1. Create PowerShell script/one-liner and put it into schedule on some windows box
  2. Create Bash script/one-liner and put it into CVM cron schedule

 

thanks

Artur Krzywdzinski
blog: www.vmwaremine.com
twitter: @artur_ka