VMware Cloud Community
stonyHeng
Contributor
Contributor

Starting up ESX server

Hi all,

Wonder whether if this is feasible:

I have put in place a crontab that will automatically shutdown ESX service everyday at 1800 hrs using "Shutdown -h now";

but is it possible for the server to start up automatically everyday at 830 hrs?

Just a thought.

Reply
0 Kudos
6 Replies
Cooldude09
Commander
Commander

not that i am aware of it... Smiley Happy

Yes we can definitely change the state from init 3 to init 1..and when in init 1 can change back to init 3 when required....

Anil Gupta

Don’t fear changes, its constant in life, reduce your ecological footprint……………………..Go Green

if you found my answer to be useful, feel free to mark it as Helpful or Correct.

Looking for a Virtualization Solution, look here.....

If U find my answer useful, feel free to give points by clicking Helpful or Correct.

Subscribe yourself at walkonblock.com

stonyHeng
Contributor
Contributor

Actually my initial intention is to power down the whole ESX server. But somehow "shutdown -h now" doesn't give me what I have expected. Is there any way I can totally power off the whole server without human intervention?

Next has anyone attempt on configuring the bios or stuffs like that to auto startup?

Many thanx for sparing time reading my question.

Reply
0 Kudos
Cooldude09
Commander
Commander

you need to set the cronjob for this to set the server to shutdown when required....i dont have the commands handyso googling will help for sure.....

Anil Gupta

Don’t fear changes, its constant in life, reduce your ecological footprint……………………..Go Green

if you found my answer to be useful, feel free to mark it as Helpful or Correct.

Looking for a Virtualization Solution, look here.....

If U find my answer useful, feel free to give points by clicking Helpful or Correct.

Subscribe yourself at walkonblock.com

Reply
0 Kudos
satish_lx
Enthusiast
Enthusiast

Even shutdown command has few switch to run shutdown at specified times but any way you can use /bin/poweroff command with cronjob and please check your system time before set corn

Normally with the command "/bin/poweroff", when the ACPI is on in

the BIOS the system shutdown and power off, when it is off the system

only shutdown (no ?) but for Andreas nothing append, for me the job do

not run.

Andrea check the crontab and try to execute manually "/bin/poweroff" to

see if it work, and to do a power off like Mike say set APCI on in the BIOS.

Best regards.

If you feel its correct or helpful pls vote it

Thanks

- If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Thanks Satish Patel - Journey toward "Virtual world"
Reply
0 Kudos
azn2kew
Champion
Champion

There is a script to use with that along with APC power utility somewhere on the forum just do a quick search you'll get it.

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

VMware vExpert 2009

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
Reply
0 Kudos
azn2kew
Champion
Champion

Try this it will explain all details and script too. http://communities.vmware.com/docs/DOC-9531

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

VMware vExpert 2009

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
Reply
0 Kudos