augugliaro_vivi
Contributor
Contributor

Esxi shutdown and restart

Hi to everyone.

In our company to keep electronic consumption under control, we decided in the week end to turn off a host every week (we have three hosts). Within these hosts some VMs will be shut down others migrated to active hosts (with drs). The shutdown and restart of the VMs can be controlled through scheduled tasks, while how can I schedule the shutdown and restart of the host also with powercli?

have you other ideas about this?

We have version 7

Thanks a lot

Viviana 

0 Kudos
2 Replies
muakhtar
Enthusiast
Enthusiast

Couple of options, see if this helps:

If you're using vCenter server to manage your ESXi host then you can use "Scheduled Task" feature to schedule power-on/off of ESXi host along with configuring email notification for the task completion.

Using Schedule Task, you can provide the cluster not just an ESXi host and this requires DPM (Distributed Power Management feature to be enabled, DPM uses Wake-On-LAN, IPMI or ILO to power-on the system).

If you have any existing option to automatically start & shutdown the ESXi host then you can simply use "VM Startup/Shutdown" feature for automatically start and stop of VMs with the Host under ESXi host configuration/settings.

Munib Akhtar
VCP-DCV/VCP-DTM/VXRAIL
Please mark help full or correct if my answer is use full for you
0 Kudos
scott28tt
VMware Employee
VMware Employee

Your post needs moving to the correct area, so I have reported it to the moderators.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos