Haven't used powerd (which I thought was more of a power state
monitoring deamon for UPSes).

To answer the OPs question, you could shutdown other machines from a
server by using a combination of ssh and the shutdown script.

Doing something like the following should acheive your goal
1. Setup ssh on the server and clients
2. make sure you have the keys right on the server and client to prevent
the remote sshd from asking you for a password
3. write a script to make a ssh connection, to each client requiring
shutdown, and run the shutdown script (with the appropriate options to
either powerdown or reboot).

-Naren

On Fri, 22 Feb 2002, USM Bish wrote:

> On Fri, Feb 22, 2002 at 11:12:41AM +0530, mukund wrote:
> > Use powerd, it switches all the machine when server switches 
> > off.
> > Regards,
> > Mukund Deshmukh
> > Beta Computronics Pvt. Ltd.
> > Web site - http://betacomp.com
> > 
> 
> Hmm ... This is interesting. The first time I came across this
> powerd thing was un UPS-HOWTO. I thought, it  was  merely  for
> remote monitoring of UPSs ...  Do you  have first hand  exper-
> ience on this ? Interested in the methodology, (in  case it is
> possible to switch off remote servers on central server  power
> down/ shut down).
> 
> Bish
> 
> > 
> > -----Original Message-----
> > From: shyam <[EMAIL PROTECTED]>
> > 
> > > I would like to do  the following,  I have 3 machines, of 
> > > which one is the server 1)boot server and nfsroot. 2) two 
> > > clients which boot off the  other system and use nfs root 
> > > for their /these are connected by a  100 mbps  lan.  I am 
> > > trying to write a script which will shut down all machines 
> > > at the same time  from one machine (server ), please help 
> > > me as to how to do this
> > >-shyam
> 
> --
> :
> ####[ Linux One Stanza Tip (LOST) ]###########################
> 
> Sub : How to make a password                         LOST #118
> 
> A password  should not be a simple crack of two words, or just
> your name. One of the best methods of making easily remembered
> strong passwords is to use a common phrase (e.g. "Et tu Brute-
> then fall Caesar"), translates to : "E2BtfC" ... (Easy ?)
> 
> ####<[EMAIL PROTECTED]>####################################
> :
> 
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> 



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to