Re: [Nut-upsuser] Networked APC
Hi Niklas,pleased to see you're still there ;-)2006/8/8, Niklas Edmundsson [EMAIL PROTECTED]: On Wed, 2 Aug 2006, Arnaud Quette wrote: to be simple: snmp-ups can translate SNMP data into NUT data. But it wont be able to shutoff the UPS! Not until somebody take over my unfinished work (@Nikklas: are you there?) Yeah, I'm alive but currently on vacation. And before vacation I wasrather busy doing RealWorktm, so I've been out of theNUT-loop for a while.The current state of snmp-ups is not ideal. The best would probably be to do a rewrite to get the support for different SNMP units nice andmodular without the current hacks, but unfortunately I currently don'thave time to do that. Regarding SNMP units there are further issues that we really need to ponder before doing a rewrite, I think allthose thoughts are documented in the bug reporting system.When I get some time (probably later this autumn) I'll take care offixing 3phase-support for some units (some people have sent me snmpwalk-output of their units, implementation seems trivial enough).Until then, I'll probably be rather passive.ok, so ping me when you get back on this so that we can exchange so more thought. Have a nice holiday (I'll be too as of tomorrow, for 2 weeks)Arnaud-- Linux / Unix Expert - MGE UPS SYSTEMS - RD DptNetwork UPS Tools (NUT) Project Leader - http://www.networkupstools.org/Debian Developer - http://people.debian.org/~aquette/OpenSource Developer - http://arnaud.quette.free.fr/ ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
On Wed, 2 Aug 2006, Arnaud Quette wrote: to be simple: snmp-ups can translate SNMP data into NUT data. But it wont be able to shutoff the UPS! Not until somebody take over my unfinished work (@Nikklas: are you there?) Yeah, I'm alive but currently on vacation. And before vacation I was rather busy doing RealWorktm, so I've been out of the NUT-loop for a while. The current state of snmp-ups is not ideal. The best would probably be to do a rewrite to get the support for different SNMP units nice and modular without the current hacks, but unfortunately I currently don't have time to do that. Regarding SNMP units there are further issues that we really need to ponder before doing a rewrite, I think all those thoughts are documented in the bug reporting system. When I get some time (probably later this autumn) I'll take care of fixing 3phase-support for some units (some people have sent me snmpwalk-output of their units, implementation seems trivial enough). Until then, I'll probably be rather passive. /Nikke -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED] --- Tardis Express รพ When it absolutely has to get there yesterday! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
2006/8/1, Matthew Isleb [EMAIL PROTECTED]: On Aug 1, 2006, at 12:10 PM, Arnaud Quette wrote: Eh? Why would I want to command the *UPS* to power down? The UPS will power down if and when the battery goes dead. Or did I misunderstand that? I want all my servers to power down using the UPS itself as the master instead of picking a server as a master. that requires snmp-ups to register in the agent. and I've never done this part (I've originaly developed it with MGE sponsorship, but never got time nor motivation to finish this...) And without this feature, there are chance that the UPS ignores the shutoff (UPS shutdown) procedure... snmp-ups so currently act as an NMS (network management system, like HPOV, Unicenter TNG, ...), and not in manager mode! Sorry, I'm not familiar with the structure of NUT yet. What does this mean? What exactly can snmp-ups do for me? this means that you can't use the snmp mechanism equivalent to upsmon slave / master. As snmp-ups can't register into the card, the card doesn't know there is a client to be shutdown... And this generally means that while you will be able to shutdown your computer(s), the UPS will continue to drain battery, wont cut its output and won't power these up when the power is restored. But the exact UPS behavior depend on its type. Ie, big online units never power off, but only stop/start its outputs. to be simple: snmp-ups can translate SNMP data into NUT data. But it wont be able to shutoff the UPS! Not until somebody take over my unfinished work (@Nikklas: are you there?) Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
On Aug 2, 2006, at 1:09 PM, Arnaud Quette wrote: to be simple: snmp-ups can translate SNMP data into NUT data. But it wont be able to shutoff the UPS! Not until somebody take over my unfinished work (@Nikklas: are you there?) Oh, ok. That is fine. I'll just have to setup nut to monitor itself and shut itself down when battery power gets low. Each sever will be master and slave. I'm not worried about starting things up when the power comes back because I doubt most of our servers would startup when power is restored anyway. -matthew ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
[Nut-upsuser] Networked APC
Hi, I was wondering if there was any support in NUT for networked APC UPS's. All the configuration examples I see in the documentation are for USB/Serial connections to the UPS. I could mess around with serial/USB cables, but I'd really rather talk to the UPS over the network. I don't want all my servers relying on a single machine with a serial connection. -matthew ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
On Aug 1, 2006, at 11:05 AM, Charles Lepple wrote: On 8/1/06, Matthew Isleb [EMAIL PROTECTED] wrote: I was wondering if there was any support in NUT for networked APC UPS's. All the configuration examples I see in the documentation are for USB/Serial connections to the UPS. I could mess around with serial/USB cables, but I'd really rather talk to the UPS over the network. I don't want all my servers relying on a single machine with a serial connection. Does your APC UPS support SNMP? There is a 'snmp-ups' driver that understands several manufacturers' MIB formats, including APC's, I believe. Cool, I'll give that a try when my new UPS comes in. You still may end up with a single point of failure, though, since you probably only want one machine commanding the UPS to power down. (A data center could avoid this with dual-input power supplies fed from separate UPSes.) Someone else who is more familiar with snmp-ups may have more insight into this. Eh? Why would I want to command the *UPS* to power down? The UPS will power down if and when the battery goes dead. Or did I misunderstand that? I want all my servers to power down using the UPS itself as the master instead of picking a server as a master. -matthew ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
On 8/1/06, Matthew Isleb [EMAIL PROTECTED] wrote: On Aug 1, 2006, at 11:05 AM, Charles Lepple wrote: You still may end up with a single point of failure, though, since you probably only want one machine commanding the UPS to power down. (A data center could avoid this with dual-input power supplies fed from separate UPSes.) Someone else who is more familiar with snmp-ups may have more insight into this. Eh? Why would I want to command the *UPS* to power down? The UPS will power down if and when the battery goes dead. Or did I misunderstand that? I want all my servers to power down using the UPS itself as the master instead of picking a server as a master. Right, when the UPS sends a low-battery signal (or has been on battery for X minutes, etc.), you can tell it to shut off the load. This can be handy if you want to briefly turn something back on during a power failure. It's all a matter of taste, of course... but the default NUT multi-machine setup is to have one master that talks to the UPS, and directs the slaves to shut down. Then, when all the slaves have shut down, the master shuts down, and sends a power-off signal to the UPS. Whether the UPS is smart enough to do it, or if NUT has to command the UPS to power-cycle the load, you probably want a contingency plan for power-cycling devices if the power returns after machines have already shut down. This is the most common race condition that inexpensive UPSes fail to take into account, and it will leave you with a bunch of halted servers when the power comes back on. -- - Charles Lepple ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Networked APC
On 8/1/06, Charles Lepple [EMAIL PROTECTED] wrote: On 8/1/06, Matthew Isleb [EMAIL PROTECTED] wrote: On Aug 1, 2006, at 11:05 AM, Charles Lepple wrote: You still may end up with a single point of failure, though, since you probably only want one machine commanding the UPS to power down. (A data center could avoid this with dual-input power supplies fed from separate UPSes.) Someone else who is more familiar with snmp-ups may have more insight into this. Eh? Why would I want to command the *UPS* to power down? The UPS will power down if and when the battery goes dead. Or did I misunderstand that? I want all my servers to power down using the UPS itself as the master instead of picking a server as a master. Right, when the UPS sends a low-battery signal (or has been on battery for X minutes, etc.), you can tell it to shut off the load. This can be handy if you want to briefly turn something back on during a power failure. It's all a matter of taste, of course... but the default NUT multi-machine setup is to have one master that talks to the UPS, and directs the slaves to shut down. Then, when all the slaves have shut down, the master shuts down, and sends a power-off signal to the UPS. Whether the UPS is smart enough to do it, or if NUT has to command the UPS to power-cycle the load, you probably want a contingency plan for power-cycling devices if the power returns after machines have already shut down. This is the most common race condition that inexpensive UPSes fail to take into account, and it will leave you with a bunch of halted servers when the power comes back on. What I said above is true for NUT drivers in general, but apparently the current versions of snmp-ups only monitor the UPS (and does not shut it down, although the protocol allows for it). Arnaud knows much more about the snmp-ups driver than I do, so I will defer to him. -- - Charles Lepple ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser