Re: [ClusterLabs] ip clustering strange behaviour

2016-08-31 Thread Gabriele Bulfon
Thanks, got it. So, is it better to use "two_node: 1" or, as suggested else where, or "no-quorum-policy=stop"? About fencing, the machine I'm going to implement the 2-nodes cluster is a dual machine with shared disks backend. Each node has two 10Gb ethernets dedicated to the public ip and the adm

Re: [ClusterLabs] "VirtualDomain is active on 2 nodes" due to transient network failure

2016-08-31 Thread Scott Greenlese
Andreas Kurz, I see that you replied to my post, but I can't seem to find any text written from you?? Can you please re-post your reply, or message me offline at swgre...@us.ibm.com? I'm new to the process, so maybe something I did wrong in my post. Thanks for your guidance. Scott G. Scot

Re: [ClusterLabs] systemd RA start/stop delays

2016-08-31 Thread Ken Gaillot
On 08/30/2016 05:18 AM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Aug 18, 2016 at 09:00:24AM -0500, Ken Gaillot wrote: >> On 08/17/2016 08:17 PM, TEG AMJG wrote: >>> Hi >>> >>> I am having a problem with a simple Active/Passive cluster which >>> consists in the next configuration >>> >>> Cluster

Re: [ClusterLabs] ocf scripts shell and local variables

2016-08-31 Thread Ken Gaillot
On 08/30/2016 05:46 AM, Gabriele Bulfon wrote: > illumos (and Solaris 11) delivers ksh93, that is fully Bourn compatible, > but not with the bash extension of "local" variables, that is not Bourn > shell. It is supported in ksh93 with the "typedef" operator, instead of > "local". "local" isn't Bou

Re: [ClusterLabs] ocf scripts shell and local variables

2016-08-31 Thread Dmitri Maziuk
On 2016-08-31 03:59, Dejan Muhamedagic wrote: On Tue, Aug 30, 2016 at 12:32:36PM -0500, Dimitri Maziuk wrote: I expect you're being deliberately obtuse. Not sure why do you think that Because the point I was trying to make was that having shebang line say #!/opt/swf/bin/bash does not guara

Re: [ClusterLabs] data loss of network would cause Pacemaker exit abnormally

2016-08-31 Thread Ken Gaillot
On 08/30/2016 01:58 PM, chenhj wrote: > Hi, > > This is a continuation of the email below(I did not subscrib this maillist) > > http://clusterlabs.org/pipermail/users/2016-August/003838.html > >>>From the above, I suspect that the node with the network loss was the >>DC, and from its point of vi

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

2016-08-31 Thread Ken Gaillot
On 08/30/2016 10:49 AM, Pablo Pines Leon wrote: > Hello, > > I have set up a DRBD-Corosync-Pacemaker cluster following the > instructions from https://wiki.ubuntu.com/ClusterStack/Natty adapting > them to CentOS 7 (e.g: using systemd). After testing it in Virtual There is a similar how-to specifi

Re: [ClusterLabs] ip clustering strange behaviour

2016-08-31 Thread Ken Gaillot
On 08/30/2016 01:52 AM, Gabriele Bulfon wrote: > Sorry for reiterating, but my main question was: > > why does node 1 removes its own IP if I shut down node 2 abruptly? > I understand that it does not take the node 2 IP (because the > ssh-fencing has no clue about what happened on the 2nd node), b

Re: [ClusterLabs] (no subject)

2016-08-31 Thread Ken Gaillot
On 08/29/2016 05:34 PM, Scott Greenlese wrote: > Hi folks, > > I'm assigned to system test Pacemaker/Corosync on the KVM on System Z > platform > with pacemaker-1.1.13-10 and corosync-2.3.4-7 . > > I have a cluster with 5 KVM hosts, and a total of 200 > ocf:pacemakerVirtualDomain resources define

Re: [ClusterLabs] Node Fencing and STONITH in Amazon Web Services

2016-08-31 Thread Ken Gaillot
On 08/29/2016 01:23 PM, Enno Gröper wrote: > Hi, > > Am 26.08.2016 um 22:32 schrieb Jason A Ramsey: >> No users >> would be connecting to the severed instances, but background and system >> tasks would proceed as normal, potentially writing new data to the >> databases making rejoining the nodes t

Re: [ClusterLabs] ocf scripts shell and local variables

2016-08-31 Thread Lars Ellenberg
On Wed, Aug 31, 2016 at 12:29:59PM +0200, Dejan Muhamedagic wrote: > > Also remember that sometimes we set a "local" variable in a function > > and expect it to be visible in nested functions, but also set a new > > value in a nested function and expect that value to be reflected > > in the outer s

Re: [ClusterLabs] ocf scripts shell and local variables

2016-08-31 Thread Dejan Muhamedagic
On Tue, Aug 30, 2016 at 06:53:24PM +0200, Lars Ellenberg wrote: > On Tue, Aug 30, 2016 at 06:15:49PM +0200, Dejan Muhamedagic wrote: > > On Tue, Aug 30, 2016 at 10:08:00AM -0500, Dmitri Maziuk wrote: > > > On 2016-08-30 03:44, Dejan Muhamedagic wrote: > > > > > > >The kernel reads the shebang line

Re: [ClusterLabs] ocf scripts shell and local variables

2016-08-31 Thread Dejan Muhamedagic
On Tue, Aug 30, 2016 at 12:32:36PM -0500, Dimitri Maziuk wrote: > On 08/30/2016 11:15 AM, Dejan Muhamedagic wrote: > > > I suppose that it is explained in enough detail here: > > > > https://en.wikipedia.org/wiki/Shebang_(Unix) > > I expect you're being deliberately obtuse. Not sure why do you