Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Ken Gaillot
On 09/06/2016 10:20 AM, Dan Swartzendruber wrote: > On 2016-09-06 10:59, Ken Gaillot wrote: > > [snip] > >> I thought power-wait was intended for this situation, where the node's >> power supply can survive a brief outage, so a delay is needed to ensure >> it drains. In any case, I know people

Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Dan Swartzendruber
On 2016-09-06 10:59, Ken Gaillot wrote: [snip] I thought power-wait was intended for this situation, where the node's power supply can survive a brief outage, so a delay is needed to ensure it drains. In any case, I know people are using it for that. Are there any drawbacks to using

Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Ken Gaillot
On 09/05/2016 09:38 AM, Marek Grac wrote: > Hi, > > On Mon, Sep 5, 2016 at 3:46 PM, Dan Swartzendruber > wrote: > > ... > Marek, thanks. I have tested repeatedly (8 or so times with disk > writes in progress) with 5-7 seconds and have

Re: [ClusterLabs] fence_apc delay?

2016-09-05 Thread Marek Grac
Hi, On Mon, Sep 5, 2016 at 3:46 PM, Dan Swartzendruber wrote: > ... > Marek, thanks. I have tested repeatedly (8 or so times with disk writes > in progress) with 5-7 seconds and have had no corruption. My only issue > with using power_wait here (possibly I am

Re: [ClusterLabs] fence_apc delay?

2016-09-03 Thread Dan Swartzendruber
On 2016-09-03 08:41, Marek Grac wrote: Hi, There are two problems mentioned in the email. 1) power-wait Power-wait is a quite advanced option and there are only few fence devices/agent where it makes sense. And only because the HW/firmware on the device is somewhat broken. Basically, when we

Re: [ClusterLabs] fence_apc delay?

2016-09-02 Thread Dan Swartzendruber
On 2016-09-02 10:09, Ken Gaillot wrote: On 09/02/2016 08:14 AM, Dan Swartzendruber wrote: So, I was testing my ZFS dual-head JBOD 2-node cluster. Manual failovers worked just fine. I then went to try an acid-test by logging in to node A and doing 'systemctl stop network'. Sure enough,

Re: [ClusterLabs] fence_apc delay?

2016-09-02 Thread Ken Gaillot
On 09/02/2016 08:14 AM, Dan Swartzendruber wrote: > > So, I was testing my ZFS dual-head JBOD 2-node cluster. Manual > failovers worked just fine. I then went to try an acid-test by logging > in to node A and doing 'systemctl stop network'. Sure enough, pacemaker > told the APC fencing agent

Re: [ClusterLabs] fence_apc delay?

2016-09-02 Thread Dan Swartzendruber
It occurred to me folks reading this might not have any knowledge about ZFS. Think of my setup as an mdraid pool with a filesystem mounted on it, shared out via NFS. Same basic idea... ___ Users mailing list: Users@clusterlabs.org

[ClusterLabs] fence_apc delay?

2016-09-02 Thread Dan Swartzendruber
So, I was testing my ZFS dual-head JBOD 2-node cluster. Manual failovers worked just fine. I then went to try an acid-test by logging in to node A and doing 'systemctl stop network'. Sure enough, pacemaker told the APC fencing agent to power-cycle node A. The ZFS pool moved to node B as