Re: [Nut-upsuser] Slave as master

2009-06-03 Thread Scott Evans
I have a similar question to this as well, in that I have my server set
up using NUT with a SOLA-330 (working nicely!) and my desktop is using
an APC BackUPS-300 (this model has no serial/USB comms) as the SOLA 
APC are rated the same, I was wanting my server to send a broadcast
packet across my LAN to force all PC's (that are still powered by UPS's)
to shut down... (I have a third desktop without a UPS at this time! and
in the event of a power outage this will already be down!) 

Is this possible to be done? if so, where can I find such information? 

Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
sc...@vk7hse.hobby-site.org
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271



--
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately 
by e-mail if you have received this e-mail by mistake and delete this e-mail 
from your system. If you are not the intended recipient you are notified 
that disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.
attachment: UbuntuStrapLogo.png___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Slave as master

2009-06-03 Thread Rob MacGregor
On Wed, Jun 3, 2009 at 13:11, Scott Evans sc...@vk7hse.hobby-site.org wrote:
 I have a similar question to this as well, in that I have my server set up
 using NUT with a SOLA-330 (working nicely!) and my desktop is using an APC
 BackUPS-300 (this model has no serial/USB comms) as the SOLA  APC are rated
 the same, I was wanting my server to send a broadcast packet across my LAN
 to force all PC's (that are still powered by UPS's) to shut down... (I have
 a third desktop without a UPS at this time! and in the event of a power
 outage this will already be down!)

 Is this possible to be done? if so, where can I find such information?

A machine can be a master for an UPS that it isn't powered by.  The
documentation has covered this for at least 5 years now ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Slave as master

2009-06-03 Thread Arjen de Korte

Citeren Rob MacGregor rob.macgre...@gmail.com:


I have a similar question to this as well, in that I have my server set up
using NUT with a SOLA-330 (working nicely!) and my desktop is using an APC
BackUPS-300 (this model has no serial/USB comms) as the SOLA  APC are rated
the same, I was wanting my server to send a broadcast packet across my LAN
to force all PC's (that are still powered by UPS's) to shut down... (I have
a third desktop without a UPS at this time! and in the event of a power
outage this will already be down!)

Is this possible to be done? if so, where can I find such information?


A machine can be a master for an UPS that it isn't powered by.  The
documentation has covered this for at least 5 years now ;)


There seems to be a lot of confusion about the meaning of  
'master/slave' for 'upsmon'. The major difference between 'upsmon'  
running as master or as a slave, is that when it is a master for a  
certain UPS, it can command it to shutdown. Whether or not it is  
powered by said UPS is of no importance for that (although in most  
cases, both master and slaves will be). See also 'man 8 upsmon' for  
more information on this.


The second thing is, that there is no need for a 'upsmon' to be  
powered by a UPS in order to run. It is quite possible, to listen in  
on a UPS and shutdown a system if the UPS is shutting down. See the  
explanation of MONITOR and MINSUPPLIES in 'man 8 upsmon.conf'.


Best regards, Arjen
--
Please keep list traffic on the list


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Slave as master

2009-06-03 Thread Charles Lepple
On Wed, Jun 3, 2009 at 8:11 AM, Scott Evans sc...@vk7hse.hobby-site.org wrote:
 I have a similar question to this as well, in that I have my server set up
 using NUT with a SOLA-330 (working nicely!) and my desktop is using an APC
 BackUPS-300 (this model has no serial/USB comms) as the SOLA  APC are rated
 the same

Assuming that both batteries will age the same way is probably not a
good assumption. If both UPSes were the same model, purchased at the
same time, and used by identically configured computers, you might be
OK with the margin provided by the low battery signal.

 I was wanting my server to send a broadcast packet across my LAN
 to force all PC's (that are still powered by UPS's) to shut down...

Note that the solutions mentioned previously require TCP connections,
and as such, won't broadcast. But you can definitely configure
multiple machines running upsmon.

Aside: please trim your signature - it's way longer than your original
email. If nothing else, please consider using the dash-dash-space
convention of separating the body of your email from the signature:

http://mailformat.dan.info/trailers/sigblocks.html

-- 
- Charles Lepple

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


[Nut-upsuser] Slave as master

2009-06-02 Thread Dr. Madhurjya P. Bora
Hi All!

I need to set up machine as slave which will act as  a master to some 
subordinate clients. The machine is question is a master node a parallel 
cluster which I want it to act as a master for the computing nodes but set 
itself as a slave with a master exclusively controlling the UPS elsewhere.

Is this possible and how?

--- Madhurjya

__

Physics Department, Gauhati University

Guwahati 781014, India

http://www.guniv.ernet.in

__


  ___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Slave as master

2009-06-02 Thread Arjen de Korte

Citeren Dr. Madhurjya P. Bora mpb...@yahoo.com:

I need to set up machine as slave which will act as  a master to  
some subordinate clients. The machine is question is a master node a  
parallel cluster which I want it to act as a master for the  
computing nodes but set itself as a slave with a master exclusively  
controlling the UPS elsewhere.


Is this possible and how?


The question is, why do you want/need this? Please be as specific as  
possible about the shutdown scenario you're trying to setup.


Best regards, Arjen
--
Please keep list traffic on the list


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser