Re: [Nut-upsuser] NUT configuration complicated by Stonith/Fencing cabling

2017-02-10 Thread Tim Richards
Roger,

Thanks for your reply.

As I understand it, for reliable fencing a node cannot be responsible for 
fencing itself, as it may not be functioning properly. Hence my "cross over" 
setup. The direct USB connection from Webserver1 to UPS-Webserver2 means that 
Webserver1 can fence (cut the power to) Webserver2 if the cluster software 
decides that it is necessary. If my UPSes were able to connect to the network 
themselves, this would work, but they only have USB or serial inputs for 
control. 

I am trying to kill two birds with one stone, that is UPS protection from power 
failure and cluster node fencing (Stonith) with the UPS ability to cut power to 
a node. Somebody has done this, as there exists a fencing agent using NUT in 
the Pacemaker/Corosync (Linux-HA cluster software), I just don't know the best 
way to go about it.

Regards,
Tim.


-Original Message-
From: Nut-upsuser 
[mailto:nut-upsuser-bounces+tims_tank=hotmail@lists.alioth.debian.org] On 
Behalf Of Roger Price
Sent: Friday, 10 February 2017 11:17 PM
To: nut-upsuser Mailing List
Subject: Re: [Nut-upsuser] NUT configuration complicated by Stonith/Fencing 
cabling

On Sun, 5 Feb 2017, Tim Richards wrote:

> Setup: Active/Passive Two Node Cluster. Two UPSes (APC Smart-UPS 1500 
> C) with USB communication cables cross connected (ie UPS-webserver1 
> monitored by webserver2, and vice versa) to allow for stonith/fencing
> 
> OS OpenSuse Leap 42.2
> NUT version 2.7.1-2.41-x86_64
> Fencing agent: external/nut
> 
> Problem: When power fails to a single UPS, both nodes are shutdown. 
> The node with the still powered UPS comes back up, but requires manual 
> intervention to keep it providing services. I would like only the node 
> with the “On Battery” UPS to shutdown.

I think your title hints at the solution.  What is the advantage of the 
cross-connection of the UPS units?  Wouldn't it be simpler to have each node 
connected to the UPS which supplies the power?  This is easier to set up, 
extends easily to n servers, and is independent of the stonith/fencing which I 
assume you use for other purposes.

> The resupply of services problem seems to be that NUT on the node that 
> comes back up will not restart until the other node restarts.

With a simpler setup, this problem should go away.

Roger
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] NUT configuration complicated by Stonith/Fencing cabling

2017-02-10 Thread Roger Price

On Sun, 5 Feb 2017, Tim Richards wrote:

Setup: Active/Passive Two Node Cluster. Two UPSes (APC Smart-UPS 1500 C) 
with USB communication cables cross connected (ie UPS-webserver1 
monitored by webserver2, and vice versa) to allow for stonith/fencing


OS OpenSuse Leap 42.2
NUT version 2.7.1-2.41-x86_64
Fencing agent: external/nut

Problem: When power fails to a single UPS, both nodes are shutdown. The 
node with the still powered UPS comes back up, but requires manual 
intervention to keep it providing services. I would like only the node 
with the “On Battery” UPS to shutdown.


I think your title hints at the solution.  What is the advantage of the 
cross-connection of the UPS units?  Wouldn't it be simpler to have each 
node connected to the UPS which supplies the power?  This is easier to set 
up, extends easily to n servers, and is independent of the stonith/fencing 
which I assume you use for other purposes.


The resupply of services problem seems to be that NUT on the node that 
comes back up will not restart until the other node restarts.


With a simpler setup, this problem should go away.

Roger
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

[Nut-upsuser] Delta !RT-6K

2017-02-10 Thread Dariusz Malec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,
Does anyone has experience with Deltas UPSs? I have fresh install of
two RT-6ks
(http://www.deltapowersolutions.com/pl-pl/mcis/5kva-10kva-single-phase-u
ps-rt-series-specifications.php)
 in parallel witch legacy snmp cards and looking for best monitoring
and maintenance solution.
Stock software looks quite nice but not very functional on linux
platform so I want to try use NUT with this install but there is no
info abut Delta in documentation.

- --
Best regards
Darek
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYnZRqAAoJEEA2ZEuVRfH9S/IH/3nbfC3Eyqz56Nq0A4BRHhRv
w0+69bTCgQ/TLLJCw3XTqbQszdO8+Rm6f1aSliNV6jCVq9Yelyo91g7ZriCRzT8K
K1JadBHp9ISwH/P+itepNy9UPEp19QbuaGfa+0qaz+ONPNJF3eyUi7NSQLxBp+9c
nZn/FsJjvCUlbBDrbOC8VXtYobL1VxqqGc9nXSX1Og3XXoCQ6W0XK3XY7vCtEC6r
AXGcL1faHFgWfyzQnkrMDBefBUIpLKqV7zSME59MNrFa/ux7TklcmFWMMOvrM6CC
+S2JGzuKpK6s5BOxRJ61/HVfv+a8Qd1abXU+ApNJi8TSjx5ESVwQ4UEcjn8unZo=
=6IM/
-END PGP SIGNATURE-


0x9545F1FD.asc
Description: application/pgp-keys


0x9545F1FD.asc.sig
Description: PGP signature
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser