Re: [Nut-upsuser] UPS is not turned off in slave-only configuration?
On Wed, 22 Jun 2016, André Hänsel wrote: Now, what I see is that when the UPS feeding server-1 goes LB, server-1 is indeed shut down, but it seems that the UPS is never switched off. This is a problem because when power is restored after shutdown, but before the battery runs out (with no load, it continues for quite a while), server-1 is not rebooted. I'm assuming that you have one UPS per server, and that server-1 is fed by UPS-1. When server-1 shuts down, whichever server is in charge of UPS-1 should execute command upsdrvctl shutdown UPS-1 Does this happen? Is this command called by a script or a systemd service unit? Is there any trace of the action of that script/service unit in /var/log/messages or the systemd journal? Roger___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
[Nut-upsuser] UPS is not turned off in slave-only configuration?
I have two hosts. One is the ups-server. It's generator powered and can be assumed to never go down. This is the one that all the UPSs are connected to. It has: - the UPSs configured in upsd.conf - a "upsmon master" user in upsd.users - an empty upsmon.conf The other one is server-1. Its upsmon.conf contains: MONITOR test-apc@ups-server 1 monuser blah slave Now, what I see is that when the UPS feeding server-1 goes LB, server-1 is indeed shut down, but it seems that the UPS is never switched off. This is a problem because when power is restored after shutdown, but before the battery runs out (with no load, it continues for quite a while), server-1 is not rebooted. Is my configuration wrong? How can I help diagnosing this problem? ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] What is the purpose of the upsmon setting in upsd.users?
On Mittwoch, 22. Juni 2016 09:21 André wrote: > Hi list, > > (I think) I understand that in upsmon.conf, the MONITOR line ends with "master" or "slave". Basically if it's master it will wait for slaves to shut down and if it's slave it will signal the master to switch off the UPS after shutdown. > > To be able to monitor a network UPS as a slave, there must be a user in upsd.users on the master system. This user needs to have a setting named "upsmon" set. > > And this is where I'm confused - this setting has a parameter that must also be set to either " master" or "slave". What do I set this to? > > Regards, > André Ok, I did some further testing and it seems that setting "upsmon slave" does not allow clients to connect, so when would I want to set it? ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
[Nut-upsuser] What is the purpose of the upsmon setting in upsd.users?
Hi list, (I think) I understand that in upsmon.conf, the MONITOR line ends with "master" or "slave". Basically if it's master it will wait for slaves to shut down and if it's slave it will signal the master to switch off the UPS after shutdown. To be able to monitor a network UPS as a slave, there must be a user in upsd.users on the master system. This user needs to have a setting named "upsmon" set. And this is where I'm confused - this setting has a parameter that must also be set to either " master" or "slave". What do I set this to? Regards, André ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser