[SLE] powerd and single user mode
![](https://seccdn.libravatar.org/avatar/92adac8921d57ea61a34aecdecfabe60.jpg?s=120&d=mm&r=g)
Greetings, I have been using Tom Websters genpowerd with great success using an older APC 520ES. Worked like a charm, but every time I upgraded, I had to re-hack the halt script and inittab (amoung others). Now that I've upgraded my UPS to and APC Smart-UPS 1250 I'd like to try out powerd since it offers network communications allowing one machine on a UPS to act as a master and shutdown other machines on the same UPS. Several observations. 1. There is no mention of powerd in the SuSE manual(it is part of the sysV stuff I guess) and no mention of the "SuSE" way of doing things on their site. It appears that when a power failure occurs (ie: /sbin/init.d/powerfail start nothing more that a message is done. if /sbin/init.d/powerfail now is invoked the machine goes to single user mode. This is nice, but this brings up: 2. SuSE when switched to "init s" shuts down the appropriate services and goes to single user mode, but on my machine when invoking mount is reports all drives are still mounted and are mounted rw. In addition when booting to single user mode ie.: Linux single SuSE boots to single user mode and does not mount the drives listed in fstab, but roout (again according to mount) is mounted rw. Is this correct? Or is mount simply reporting the drive status incorrectly. It appears to me that the drives in single user mode are indeed rw. Conclusions: What is the SuSE out of the box method of using powerd? Is this documented anywhere? How is powerd used at SuSE? What was Florian's intentions when he added this package into SuSE? I'd prefer that powerd, when invoked via the serial cable from the UPS, initiates a timed shutdown with the appropriate warnings to the users, and starts shutdowns on the remote machines for which it is responsible. It then shuts the machine down, turning the UPS off after unmounting the drives. (As per genpowerd) Once power is restored the UPS would come back up and the Linux box would re-boot. If there is not a preferred method by the SuSE engineers, I would like to work with them to come up a preferred method (The SuSE way if you will) of implementing powerd. Who would I need to contact on this? Has anyone else come up with smoother method of integrating their UPS's than powerd with SuSE? best, __ Wm. J. Sandman III Need Win95 or BETTER? Systems Programmer MacOs crashed your new G3? Internet Tool & Die Try Linux... wsandman@tool.net It's not just for breakfast anymore. PGP Key fingerprint = 7C C5 22 45 07 62 4C D9 94 CA C7 C1 44 FF BA D4 <HR> <UL> <LI>application/pgp-signature attachment: stored </UL> -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
wsandman@tool.net