Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Ken Gaillot
On 09/06/2016 11:44 AM, Dan Swartzendruber wrote: > On 2016-09-06 10:59, Ken Gaillot wrote: >> On 09/05/2016 09:38 AM, Marek Grac wrote: >>> Hi, >>> > > [snip] > >> FYI, no special configuration is needed for this with recent pacemaker >> versions. If multiple devices are listed in a topology lev

Re: [ClusterLabs] Service pacemaker start kills my cluster and other NFS HA issues

2016-09-06 Thread Ken Gaillot
On 09/05/2016 05:16 AM, Pablo Pines Leon wrote: > Hello, > > I implemented the suggested change in corosync and I realized that service > pacemaker stop on the master node works provided that I run crm_resource -P > from another terminal right after it, and the same goes for the case of the > "

Re: [ClusterLabs] [rgmanager] generic 'initscript' resource agent that passes arguments?

2016-09-06 Thread Jan Pokorný
On 29/08/16 13:41 -0400, berg...@merctech.com wrote: > I've got a number of scripts that are based on LSB compliant scripts, > but which also accept arguments & values. For example, a script to manage > multiple virtual machines has a command-line in the form: > > vbox_init --vmname $VMNAME

Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Jan Pokorný
On 06/09/16 10:35 -0500, Ken Gaillot wrote: > 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 t

Re: [ClusterLabs] fence_apc delay?

2016-09-06 Thread Dan Swartzendruber
On 2016-09-06 10:59, Ken Gaillot wrote: On 09/05/2016 09:38 AM, Marek Grac wrote: Hi, [snip] FYI, no special configuration is needed for this with recent pacemaker versions. If multiple devices are listed in a topology level, pacemaker will automatically convert reboot requests into all-off

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 ar

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 power-wait

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 had no corruption. M

Re: [ClusterLabs] What cib_stats line means in logfile

2016-09-06 Thread Ken Gaillot
On 09/05/2016 03:59 PM, Jan Pokorný wrote: > On 05/09/16 21:26 +0200, Jan Pokorný wrote: >> On 25/08/16 17:55 +0200, Sébastien Emeriau wrote: >>> When i check my corosync.log i see this line : >>> >>> info: cib_stats: Processed 1 operations (1.00us average, 0% >>> utilization) in the last 10min

[ClusterLabs] clustering fiber channel pools on multiple wwns

2016-09-06 Thread Gabriele Bulfon
Hi, on illumos, I have a way to cluster one zfs pool on two nodes, by moving ip,pool and its shares at once on the other node. This works for iscsi too: the ip of the target has been migrated together with the pool, so the iscsi resource is still there running on the same ip (just a different no

Re: [ClusterLabs] unable to add removed node to cluster

2016-09-06 Thread Tomas Jelinek
Hi, Dne 6.9.2016 v 08:12 Omar Jaber napsal(a): Hi, I create cluster contain three nodes when I remove one of the node by run "pcs cluster destroy" command This is the root cause of your problem. "pcs cluster destroy" only wipes out cluster configuration from a node but it does not tell th