ups howto 2 5b5blmedqlcn7mtvwrtyrm3d5xkeluxeybyz3gy 5b5blmedqlcn7mtvwrtyrm3d5xkeluxeybyz3gy 5B5BLMEDQLCN7MTVWRTYRM3D5XKELUXEYBYZ3GY


The UPS Howto: Important note on obsolete information 2. Important note on obsolete informationI've just discovered that some of the documentation below is obsolete. In particular, the init daemon that comes with the latest sysvinit package is more sophisticated than I've portrayed it to be. Although it seems that the current version is backward compatible with what's written here, it looks like it has some undocumented features which are very important for UPS support.The control mechanism outlined below only allows powerd to give init one of two messages, namely powerfail or powerok. init runs one command when it receives powerfail, and another when it receives powerok. This leads to complicated powerd logic for dealing with low battery signals and other sorts of special situations.Newer versions of init (as of version 2.58, it seems) are more sophisticated. These versions can be signaled to run one of three scripts. Thus, init can have a powerfail script for announcing a power outage, a powerfailnow script for doing an immediate shutdown, and a powerok script for halting any pending shutdowns. This is much cleaner than the gyrations one would have to go through with the mechanisms detailed below.Although most of the discussion here assumes the old init communication method, I just added two new sections where the authors uses the new communcation method. These are sections Trust Energy Protector 400/650 and APC Smart-UPS 700. The former is especially detailed. Both include a powerd.c which signals init to do an immediate shutdown when a low battery signal is received, as well as the relevant /etc/inittab lines to make this work. Other than this, all I can tell you is to look at the source code for init.Also, for all I know, many of the software packages listed below also use this newer communication method. =

Wyszukiwarka

Podobne podstrony:
ups howto 4 moe5mlzqv3vdbybvlzrf4tu6kzwaprjsi5bkeoy moe5mlzqv3vdbybvlzrf4tu6kzwaprjsi5bkeoy
ups howto 9 afc7eba7jcdwfjx7k3fuz3ksxxqrayc723pmb5a afc7eba7jcdwfjx7k3fuz3ksxxqrayc723pmb5a
ups howto 1 7shxpjcwxyeemznjmdq22hprdvrja64jdyhekcy 7shxpjcwxyeemznjmdq22hprdvrja64jdyhekcy
ups howto 5 2k4o2a5ogk7rhghsiywg4qi3mx7emtuorfl257i 2k4o2a5ogk7rhghsiywg4qi3mx7emtuorfl257i
ups howto 3 3dosuz6pmd2z4fd74fjoc5zokxs4dcila6uy3vi 3dosuz6pmd2z4fd74fjoc5zokxs4dcila6uy3vi
ups howto 6 ba5xqn2o4htcvxjkpzwu6m24jwufyetjynxxksy ba5xqn2o4htcvxjkpzwu6m24jwufyetjynxxksy
ups howto 7 cukgwykah3mqvdmo7jfp7et7lu2zeuuo5nfy2aa cukgwykah3mqvdmo7jfp7et7lu2zeuuo5nfy2aa
ups howto zx5csurjxwnlgdxi7c2aufonkjghydma6lyzmfi zx5csurjxwnlgdxi7c2aufonkjghydma6lyzmfi
bootdisk howto pl 8
PPP HOWTO pl 6 (2)
NIS HOWTO pl 1 (2)
kernel howto 3 clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq
consultants howto 18
cdrom howto pl 1
jtz howto pl 5
Keystroke HOWTO pl (2)
PostgreSQL HOWTO pl 14
printing howto pl 5

więcej podobnych podstron