Results 1 to 9 of 9
Ok so I administrate a network with approximately 140 PCs. They all have Ubuntu and I want to be able to turn them on and shut them off remotely from ...
- 10-09-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 6
Remotely shutdown an entire network ?
Ok so I administrate a network with approximately 140 PCs. They all have Ubuntu and I want to be able to turn them on and shut them off remotely from one of the servers. So can you tell me what is the best way to do this ? A shell script would be a nice option if its possible.
- 10-09-2010 #2Linux Newbie
- Join Date
- Jul 2007
- Location
- Here. There. Anywhere.
- Posts
- 150
Remote Shutdown Script - Ubuntu Forums
This might help some.
- 10-09-2010 #3
shutting them off isn't as much the problem, provided they have SSH enabled you can easily write a script to SSH and run shutdown command
turning them on is where the problem lies, what kind of machines are they? If they all have LAN card that supports wake on lan, you could just turn them on that way, if they all had something nicer such as a dell DRAC card you could use IPMI to turn them all on and shut them off
- 10-09-2010 #4Just Joined!
- Join Date
- Oct 2010
- Posts
- 6
Yeah I know but wouldn't it be 2 slow if I make a script that will connect via SSH to all of the PCs and then shut them off ? Also the PCs support wake on lan, so how can I turn them on ?
EDIT: And the PCs wont have SSH from the next version. That is a decision of the Ministry of Informatics. And yes I administrate a school.Last edited by ac1dxtrem; 10-09-2010 at 02:59 PM.
- 10-09-2010 #5
I don't know what you consider slow, it shouldnt' take more than a few seconds for each machine to shut it off
I don't know how to do WOL, i'm sure there are apps that will send one out onto your network though, I would google for "wake on lan ubuntu" and see what you can find
if you can't ssh into box later, that might be a problem, I don't see how you will be able to shut down the machine without remote access of some kind
edit:
perhaps you can install openipmi driver, which would allow you to use ipmitool to send shutdown command to OS
- 10-13-2010 #6Just Joined!
- Join Date
- Oct 2010
- Posts
- 6
Can you pls explain more about the openpmi driver and the ipmitool ??
- 10-13-2010 #7
- 10-13-2010 #8Just Joined!
- Join Date
- Oct 2010
- Posts
- 6
Yeah I know I already found this links I just thought if you can give me an introduction to all that so that I can understand it better
- 10-13-2010 #9
look at ipmitool man page for more information


Reply With Quote