-
How to reboot all computers on same LAN?
Is there some way I don't know about? Is there some kind of script I can write? Basically, I want to be able to reboot every Linux system on a LAN at the same time to help in troubleshooting.
-
You could use ssh to connect as root (or some trusted user account) and issue the reboot request... or just for giggles, flip the mains breaker off and hten back on
-
-
Just send a "trigger file" to the machines and have cron scripts check every xx seconds if the trigger file is there. If so: delete the trigger file and reboot.
It's a known "problem" with OS/2. It runs continuously until the underlying hardware crumbles under you hands....
the irony of quality
-
There must be a more elegant solution. Afterall, Windows admins can gun a reboot over a LAN.
--Aaron
Athlon X2 4800+
Gentoo 2007.1
-
Originally Posted by AaronD
There must be a more elegant solution. Afterall, Windows admins can gun a reboot over a LAN.
Lyke srsly.
-
-
Hey, check this out.. I don't know if you've seen or heard about it... looks kinda insteresting
http://www.hollenback.net/index.php/...ManagementIpmi
-
why dont you just setup ssh keys properly and a non-privledged account that has shutdown privledges, then you can just bash script it
-
Originally Posted by dkeav
why dont you just setup ssh keys properly and a non-privledged account that has shutdown privledges, then you can just bash script it
I think that's the best option so far...
djserz.com.ar
"All the drugs in this world won't save you from yourself..."
-
proper pub keys on the client machines to an unprivledged account, keys wont need password then, bash script hostnames in array, for loop through the array ssh $hosts "/sbin/shutdown -h now"
hints: man useradd, man ssh-keygen, man shutdown, man bash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|