Hi! We have two MGE Evolution 1100 here, and I want to make use of the powershare outlets to force a particular boot sequence on the machines powered by them. However I'm not sure how to set those variables upon NUT starting, without having to change the init scripts to call "upsrw". Is there some place where I can set them, where they can be read automatically on startup? One of the UPSes is connected to a SUSE box, and the other to a Debian box. -- Carlos Rodrigues
Hi Carlos, [back from holidays...] 2006/6/27, Carlos Rodrigues <carlos.efr@mail.telepac.pt>:> > Hi! > > We have two MGE Evolution 1100 here, and I want to make use of the > powershare outlets to force a particular boot sequence on the machines > powered by them. However I'm not sure how to set those variables upon > NUT starting, without having to change the init scripts to call > "upsrw".powershare is more for shutdown sequence than for startup ones. Moreover, the timers (outlet.X.delay.Y) works the same way as the ups.delay.Y, so when you set a value, it's processed instantly, ie: http://lists.alioth.debian.org/pipermail/nut-upsuser/2006-June/001204.html Is there some place where I can set them, where they can be read> automatically on startup?that (the general settings, ie battery.charge.low instead of lowbattery (...) in ups.conf) is part of a long standing feature I want to see in nut... But as always, the time is lacking... One of the UPSes is connected to a SUSE box, and the other to a Debian box.>for your kind of need, MGE has a PDU device: http://www.mgeups.com/products/pdt230/smallups/ipdu/index.htm but these are not supported directly by nut (though these support SNMP and has a web GUI) Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D 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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060703/b9fb001b/attachment.htm
Hi, a second try since I've got new info on that point... as you are interested in, I've taken a bit of time to study back these points. 2006/6/27, Carlos Rodrigues <carlos.efr@mail.telepac.pt>:> > Hi! > > We have two MGE Evolution 1100 here, and I want to make use of the > powershare outlets to force a particular boot sequence on the machines > powered by them. However I'm not sure how to set those variables upon > NUT starting, without having to change the init scripts to call > "upsrw". > > Is there some place where I can set them, where they can be read > automatically on startup? > > One of the UPSes is connected to a SUSE box, and the other to a Debian > box. >there are two things: * in the MGE HID data, we have two kind of delay things: - the *DelayBefore* which are timers and are to be considered as instant commands and not as settings as this is currently the case. - then, the interesting point for you, we have *Timer (ShutdownTimer and StartupTimer) which are only available for outlets, and which are settings. This means that your needs would be addressed using this (once cabled on outlet.X.delay.*). This way, if you set outlet.1.delay.start to 20 (sec) and outlet.2.delay.start to 30, then when the power will come back, the UPS will restart, but outlet1 will be powered 20 sec after, and outlet2 30 sec after. I've not yet changed the data in mge-hid, but if you're interested in, I can make a testing change in trunk so that you can test it... Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D 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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060707/ed707340/attachment.html
I've just commited something in the trunk. It works for newhidups, but I've not tested it much yet... For the recall, the need is to have a special powering order of the outlets at boot time. Use case: - we have two outlets, identified in the nut tree as outlet.1 and outlet.2 - we want to power up outlet.1 10 sec. after the UPS has restarted its _output_, and outlet.2 20 sec. after the UPS has restarted its _output_ How to set this up (while waiting for docs/powersave.txt completion): - configure the ups {on,off}delay driver.parameter.offdelay: 90 driver.parameter.ondelay: 120 This means that, in the end of the shutdown process, we will send an order to poweroff the ups 90 sec later. When the power will be restored, the ups will wait for 30 more seconds (120 - 90), and will then power up output. - 10 seconds later, outlet.1 will be powered up - 10 more seconds later, outlet.2 will be powered up enjoy, and remember that it's still to be completed. Feedback welcome. Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D 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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060707/799e6c8a/attachment.html