VMware Cloud Community
Zas
Enthusiast
Enthusiast
Jump to solution

Schedule Power off HOST

Hi, I have a standalone host esxi 4. I don't have vcenter. I need that my host "auto power off" at 23:00 pm. every night

How I do ?

I wake up by "wol" everyday at 7:00 am

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
J1mbo
Virtuoso
Virtuoso
Jump to solution

Reply
0 Kudos
8 Replies
nsolop
Expert
Expert
Jump to solution

Hi, maybe you can schedule the hostsop.pl script on another system on your network. Take a look at this: http://communities.vmware.com/thread/157844;jsessionid=45D0CBE1E196B3EAFACBCD12D0257019?tstart=45

Hope this can help.




Regards/Saludos

Por favor no olvides calificar las respuestas que te resultaron de ayuda o fueron correctas.

Please, don't forget the awarding points for "helpful" and/or "correct" answers.

________________________________________

Nicolás Solop

VCP 410- VCP 310 - VAC - VTSP

My Linkedin Profile

Join to Virtualizacion en Español group in Likedin

!http://feeds.feedburner.com/WetcomGroup.1.gif!

Reply
0 Kudos
J1mbo
Virtuoso
Virtuoso
Jump to solution

The issue is that the interfaces for free-lienced ESXi are read-only and will not enable a scripted shutdown.

However my UPS script, here, could be used for this.

Please award points to any useful answer.

Reply
0 Kudos
Zas
Enthusiast
Enthusiast
Jump to solution

thanks, but I need a UPS,

the service crond dont exist in esxi4, its possible?

Reply
0 Kudos
nsolop
Expert
Expert
Jump to solution

I think it is if you pay an ESX license.

J1mbo
Virtuoso
Virtuoso
Jump to solution

As said, you need to pay for the ESXi license to use such tools.

The only way to shutdown a free-licensed host is to call the SOAP interfaces like the vSphere client does, which is what my UPS script does. Actualy it's just a shutdown script that I happened to develop to be called by APC's tools, but it can be called by anything (like a scheduled task in your case).

Please award points to any useful answer.

Reply
0 Kudos
Zas
Enthusiast
Enthusiast
Jump to solution

thans for replies,

J1mbo: This .bat can execute in a virtual machine of the host that I want to shutdown ?

Thanks--

Reply
0 Kudos
J1mbo
Virtuoso
Virtuoso
Jump to solution

Hi, yes it can.

Reply
0 Kudos
Zas
Enthusiast
Enthusiast
Jump to solution

Thanks!

Reply
0 Kudos