Re: [ClusterLabs] corosync - CS_ERR_BAD_HANDLE when multiple nodes are starting up

2015-10-01 Thread Jan Friesse
Hi, Thomas Lamprecht napsal(a): Hello, we are using corosync version needle (2.3.5) for our cluster filesystem (pmxcfs). The situation is the following. First we start up the pmxcfs, which is an fuse fs. And if there is an cluster configuration, we start also corosync. This allows the filesyste

[ClusterLabs] stopping a particular resource throughout the cluster

2015-10-01 Thread Vijay Partha
Hi. Is it possible to stop a resource running on all nodes from a single node. Say that i have resource A running on node A and resource A running on node B. Is it possible to disable the resource A from one node so that the resource A does not run on both nodes. -- With Regards P.Vijay

Re: [ClusterLabs] [Linux-HA] fence_ec2 agent

2015-10-01 Thread Dejan Muhamedagic
Hi Kazuhiko-san, On Mon, Sep 28, 2015 at 02:22:02PM +0900, 東一彦 wrote: > Hi Dejan, > > I made a patch file as unified diff by "hg export tip" command. > > Would you please marge it ? Merged. I just modified a bit the summary and patch description beforehand. Many thanks! Cheers, Dejan > > >

Re: [ClusterLabs] IPaddr2 Unkown interface cause a failover that didn't work

2015-10-01 Thread Dejan Muhamedagic
Hi, On Wed, Sep 30, 2015 at 02:24:32PM -0400, Luc Paulin wrote: > Hi Everyone, > I have experience a weird issue last night where our cluster try to > failover due to an "Unkown interface" > > Look like when the IPaddr2 monitor try to perform a status on eth0, it > didn't find the device. Both no

Re: [ClusterLabs] stopping a particular resource throughout the cluster

2015-10-01 Thread Dejan Muhamedagic
Hi, On Thu, Oct 01, 2015 at 06:20:32PM +0530, Vijay Partha wrote: > Hi. > > Is it possible to stop a resource running on all nodes from a single node. > Say that i have resource A running on node A and resource A running on node > B. Is it possible to disable the resource A from one node so that

[ClusterLabs] Antw: stopping a particular resource throughout the cluster

2015-10-01 Thread Ulrich Windl
>>> Ulrich Windl schrieb am 01.10.2015 um 16:04 in Nachricht <560D3D5F.860 : >>> 161 : 60728>: Vijay Partha schrieb am 01.10.2015 um 14:50 in > Nachricht > : > > Hi. > > > > Is it possible to stop a resource running on all nodes from a single node. > > Say that i have resource A running on

[ClusterLabs] Antw: stopping a particular resource throughout the cluster

2015-10-01 Thread Ulrich Windl
>>> Vijay Partha schrieb am 01.10.2015 um 14:50 in Nachricht : > Hi. > > Is it possible to stop a resource running on all nodes from a single node. > Say that i have resource A running on node A and resource A running on node > B. Is it possible to disable the resource A from one node so that the

[ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
Hi, I want to know how to disable failover. If a node undergoes a failover the resources running on the node should not be started on the other node in the cluster. How can this be achieved. -- With Regards P.Vijay ___ Users mailing list: Users@cluster

Re: [ClusterLabs] disable failover

2015-10-01 Thread Andrei Borzenkov
On Thu, Oct 1, 2015 at 5:30 PM, Vijay Partha wrote: > Hi, > > I want to know how to disable failover. If a node undergoes a failover the > resources running on the node should not be started on the other node in the > cluster. How can this be achieved. > What exactly "node undergoes failover" mea

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
For example. Lets have a cluster of 2 nodes node A and node B. Say on node A i have resource A running. If node A goes down i dont want the resource A to start on node B. On Thu, Oct 1, 2015 at 8:18 PM, Andrei Borzenkov wrote: > On Thu, Oct 1, 2015 at 5:30 PM, Vijay Partha > wrote: > > Hi, > >

Re: [ClusterLabs] disable failover

2015-10-01 Thread Andrei Borzenkov
On Thu, Oct 1, 2015 at 5:54 PM, Vijay Partha wrote: > For example. Lets have a cluster of 2 nodes node A and node B. Say on node A > i have resource A running. If node A goes down i dont want the resource A to > start on node B. > Do you want it temporary (e.g. during maintenance) or permanently?

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
I want this to be done on permanent basis. Could you tell me the constaints that has to be given for this to be achieved. On Thu, Oct 1, 2015 at 8:36 PM, Andrei Borzenkov wrote: > On Thu, Oct 1, 2015 at 5:54 PM, Vijay Partha > wrote: > > For example. Lets have a cluster of 2 nodes node A and no

Re: [ClusterLabs] disable failover

2015-10-01 Thread Ken Gaillot
On 10/01/2015 09:54 AM, Vijay Partha wrote: > For example. Lets have a cluster of 2 nodes node A and node B. Say on node > A i have resource A running. If node A goes down i dont want the resource A > to start on node B. I assume the goal is to do this temporarily, for example, to perform some mai

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
Could u help me out on this please. On Thu, Oct 1, 2015 at 8:38 PM, Vijay Partha wrote: > I want this to be done on permanent basis. Could you tell me the > constaints that has to be given for this to be achieved. > > On Thu, Oct 1, 2015 at 8:36 PM, Andrei Borzenkov > wrote: > >> On Thu, Oct 1

Re: [ClusterLabs] disable failover

2015-10-01 Thread Kai Dupke
On 10/01/2015 05:35 PM, Vijay Partha wrote: > Could u help me out on this please. It would help if you could elaborate on the wish for an HA stack, if you don't want to use the stack. But if you don't want HA, then just do not install HA & do not configure this application as resource in the HA s

Re: [ClusterLabs] Asterisk as a resource

2015-10-01 Thread ‪H Yavari‬ ‪
Hi, I'm newbie so sorry for this questions.But I can't find any usuful doc. I added ocf resource agent of asterisk to my heartbeat lib. I used this command to add a resource :pcs resource create pbx ocf:heartbeat:asterisk params user="root" group="root" maxfiles="65536" op start interval="1" tim

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
i want pacemaker to monitor the resources running on each node and at the same time restart it. It should run on the same node. On Thu, Oct 1, 2015 at 9:17 PM, Kai Dupke wrote: > On 10/01/2015 05:35 PM, Vijay Partha wrote: > > Could u help me out on this please. > > It would help if you could el

Re: [ClusterLabs] disable failover

2015-10-01 Thread Andrei Borzenkov
01.10.2015 19:09, Vijay Partha пишет: i want pacemaker to monitor the resources running on each node and at the same time restart it. It should run on the same node. Then create single node cluster. Why do you add second node if you do not want to use it? On Thu, Oct 1, 2015 at 9:17 PM, Ka

Re: [ClusterLabs] Asterisk as a resource

2015-10-01 Thread Ken Gaillot
On 10/01/2015 11:04 AM, ‪H Yavari‬ ‪ wrote: > Hi, > I'm newbie so sorry for this questions.But I can't find any usuful doc. > I added ocf resource agent of asterisk to my heartbeat lib. I used this > command to add a resource :pcs resource create pbx ocf:heartbeat:asterisk > params user="root" g

Re: [ClusterLabs] IPaddr2 Unkown interface cause a failover that didn't work

2015-10-01 Thread Luc Paulin
2015-10-01 9:30 GMT-04:00 Dejan Muhamedagic : > Hi, > > On Wed, Sep 30, 2015 at 02:24:32PM -0400, Luc Paulin wrote: > > Hi Everyone, > > I have experience a weird issue last night where our cluster try to > > failover due to an "Unkown interface" > > > > Look like when the IPaddr2 monitor try to p

[ClusterLabs] Antw: Re: disable failover

2015-10-01 Thread Ulrich Windl
>>> Kai Dupke schrieb am 01.10.2015 um 17:47 in Nachricht <560d5598.2080...@suse.com>: > On 10/01/2015 05:35 PM, Vijay Partha wrote: >> Could u help me out on this please. > > It would help if you could elaborate on the wish for an HA stack, if you > don't want to use the stack. > > But if you d