ESXi

 View Only
  • 1.  Schedule Power off HOST

    Posted Mar 17, 2010 09:26 PM

    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!



  • 2.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 04:14 AM

    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!



  • 3.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 10:38 AM

    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.



  • 4.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 05:12 PM

    thanks, but I need a UPS,

    the service crond dont exist in esxi4, its possible?



  • 5.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 05:23 PM

    I think it is if you pay an ESX license.



  • 6.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 08:17 PM

    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.



  • 7.  RE: Schedule Power off HOST

    Posted Mar 18, 2010 09:53 PM

    thans for replies,

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

    Thanks--



  • 8.  RE: Schedule Power off HOST
    Best Answer

    Posted Mar 18, 2010 10:17 PM

    Hi, yes it can.



  • 9.  RE: Schedule Power off HOST

    Posted Mar 19, 2010 12:53 PM

    Thanks!