Skip to main content

How to schedule a VM power state with AHV

  • June 21, 2017
  • 5 replies
  • 2772 views

Forum|alt.badge.img+4
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?
This topic has been closed for replies.

5 replies

Forum|alt.badge.img+10
  • Nutanix Employee
  • June 21, 2017
Hi ice

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

thanks
Artur

Forum|alt.badge.img+4
  • Author
  • Adventurer
  • June 22, 2017
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?

Forum|alt.badge.img+10
  • Nutanix Employee
  • June 22, 2017
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

Forum|alt.badge.img
  • Voyager
  • September 24, 2018
Is this still the case, there is no automated way in Prism to schedule a task like VMware vCenter?

MWStu
Forum|alt.badge.img+1
  • Trailblazer
  • August 5, 2021

Is this still the case?