Auto reboot and auto power on again

Taking care of your Linux box.
usamahashimi

Auto reboot and auto power on again

Postby usamahashimi » Sat Dec 06, 2008 10:21 pm

Hi
I was facing a problem and I tried to fix it by my own simple trick, I want to share it with you, maybe you have some better idea for me;
I want to keep my system running for 24/7 but because of load shedding it is not possible and I had to manually turn on my computer every time, so I tried this;
As because of load shedding my PC was shutting down (irregularly) so I created a cron job to reboot my PC 5 min before of load shedding time and to prevent my PC from booting to Linux again I set the grub timeout to 600 seconds (as light goes in 300 seconds) and I set option in BIOS "Return to last state" to when light again comes my PC turn on automatically and counting 600 seconds and now I don't have to worry about powering on or powering off my PC manually.
Does anyone have any better idea for me?
Thanks

imzee
Lance Naik
Posts: 17
Joined: Fri Sep 14, 2007 2:30 pm
Location: Saddar
Contact:

Postby imzee » Sun Dec 07, 2008 9:23 pm

AOA,

Solv # 1 is use UPS. normaly every 24x7 computer have UPS. wo baat or hay k lite 3,4 hour say bhi ziada chali jaay or UPS down hoo jaay to us k liye aap ka idea not bad

600 Sec = 10 minutes
I think 10 min is very long time ;

I think BIOS may ek option hota hay : After Power Failer =on|off
jiss say poer automatic on hoo jata hay.... even meny apny servr may yahi kia howa hay .. UPS down hoo jaay to light any per server khood on hojata hay.
Imtiaz Mustafa
CCENT, CCNA, JNCIA
Cell : +923452828799
e-mail : imtiazmustafa@hotmail.com

usamahashimi

Postby usamahashimi » Sun Dec 07, 2008 11:39 pm

600 secs are just 10 minutes, 5 minute before the loadshedding and 5 minute after the loadshedding (just for caution backup).
You are advising me to get my pc poweroff irregularly and let it turn back on after the loadshedding but I trying to prevent my pc from irregular shutdown.

cisco_specialized
Lance Naik
Posts: 34
Joined: Tue Nov 21, 2006 3:09 pm

usen OLR

Postby cisco_specialized » Sat Jan 10, 2009 12:15 pm

Use open linux router

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Sat Jan 10, 2009 1:32 pm

If you talking about for any NOC then use UPS with Generator Backup.
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Sat Jan 10, 2009 8:32 pm

how will "open linux router" help with restarting computers after power outages?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests