[Pacemaker] Clone resource started on all nodes

2013-09-27 Thread lista linux
Hi, How I can configure my cluster to have a clone resource of mysql to run on all nodes in same time? Regards, ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-05-01 Thread Andrew Beekhof
On 10/04/2013, at 8:03 AM, Andrew Beekhof wrote: > > On 10/04/2013, at 4:33 AM, Felix Zachlod wrote: > >>> It seems no rule has been selected here and it has fallen back to the >> default. >>> It looks similar on the other node- but some times it seems that the >> script is >>> being called w

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Andrew Beekhof
On 10/04/2013, at 4:33 AM, Felix Zachlod wrote: >> It seems no rule has been selected here and it has fallen back to the > default. >> It looks similar on the other node- but some times it seems that the > script is >> being called with the correct params (without changing the cib, of > course).

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Rainer > -Ursprüngliche Nachricht- > Von: Rainer Brestan [mailto:rainer.bres...@gmx.net] > Gesendet: Dienstag, 9. April 2013 19:39 > An: The Pacemaker cluster resource manager > Betreff: Re: [Pacemaker] Clone Resources Individual Configuration per Node > > Hi F

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
> It seems no rule has been selected here and it has fallen back to the default. > It looks similar on the other node- but some times it seems that the script is > being called with the correct params (without changing the cib, of course). I > have no idea, why the crm seems to randomly select one

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Rainer Brestan
Felix Zachlod" An: "'The Pacemaker cluster resource manager'" Betreff: Re: [Pacemaker] Clone Resources Individual Configuration per Node Hi again, > I'd be interested to hear your conclusions. I am currently trying your suggestion with using rules. Can anyone t

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Jake, > Might not be quite what your looking for but... > > http://crmsh.nongnu.org/crm.8.html#cmdhelp_configure > > Under that section find location and it talks about rule parameters Yes I read that. But it does not work this way for the params section. I now edited the XML and added th

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Jake Smith
- Original Message - > From: "Felix Zachlod" > To: "The Pacemaker cluster resource manager" > Sent: Tuesday, April 9, 2013 9:32:34 AM > Subject: Re: [Pacemaker] Clone Resources Individual Configuration per Node > > Hi again, > > > I'

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hi again, > I'd be interested to hear your conclusions. I am currently trying your suggestion with using rules. Can anyone tell how to apply such a config via the crm shell? I usually do not edit the xml directly. But I cant find a way to do via the crm shell and did not find any documentation ho

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Andrew Beekhof
On 09/04/2013, at 5:16 PM, Felix Zachlod wrote: > Hello Andrew, > > hello everyone else. > >> All the other replies will work, however the original intention was that > people >> would use > > Thank you all for your replies. I will try the different approaches and see > which one fits best fo

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Andrew, hello everyone else. > All the other replies will work, however the original intention was that people > would use Thank you all for your replies. I will try the different approaches and see which one fits best for us. regards, Felix _

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread Andrew Beekhof
All the other replies will work, however the original intention was that people would use http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Pacemaker_Explained/_using_rules_to_control_resource_options.html In practice it may be more or less usable than the alternatives. On 08/04/20

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread Rainer Brestan
08. April 2013 um 09:34 Uhr Von: "Felix Zachlod" An: Pacemaker@oss.clusterlabs.org Betreff: [Pacemaker] Clone Resources Individual Configuration per Node Hello List, I am up to writing a resource agent for Pacemaker which shall be used in a Master/Slave manner. So the cluster shall alwa

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread David Vossel
- Original Message - > From: "Felix Zachlod" > To: Pacemaker@oss.clusterlabs.org > Sent: Monday, April 8, 2013 2:34:07 AM > Subject: [Pacemaker] Clone Resources Individual Configuration per Node > > Hello List, > > I am up to writing a resource

[Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread Felix Zachlod
Hello List, I am up to writing a resource agent for Pacemaker which shall be used in a Master/Slave manner. So the cluster shall always run two instances and one of them shall be Master. My clone instances need a different configuration depending on the node that they are running on. I know I coul

Re: [Pacemaker] Clone resource as a dependency

2012-12-20 Thread Jake Smith
- Original Message - > From: "Attila Megyeri" > To: "The Pacemaker cluster resource manager" > > Sent: Thursday, December 20, 2012 3:07:06 PM > Subject: Re: [Pacemaker] Clone resource as a dependency > Thanks Jake, > I did not try with th

Re: [Pacemaker] Clone resource as a dependency

2012-12-20 Thread Attila Megyeri
last-lrm-refresh="1355960642" - The goal is to make sure that apache runs only if a FS clone is running on that node as well. At the same time, the FS clone must run on all 4 nodes. Thanks, Attila From: Jake Smith [mailto:jsm...@argotec.com] Sent: Thursday, December 20, 2012 8:37 P

Re: [Pacemaker] Clone resource as a dependency

2012-12-20 Thread Jake Smith
Jake - Original Message - From: "Attila Megyeri" To: "The Pacemaker cluster resource manager" Sent: Thursday, December 20, 2012 1:23:07 PM Subject: Re: [Pacemaker] Clone resource as a dependency Is this so difficult or so trivial, that no one responded? J

Re: [Pacemaker] Clone resource as a dependency

2012-12-20 Thread Attila Megyeri
: [Pacemaker] Clone resource as a dependency Hi, How can I configure a resource (e.g. an apache) to depend on the start of a clone resource (e.g. a filesystem resource) for the given node? I know how to arrange a primitive into a group, but in this particular case, the primitive must run on the

[Pacemaker] Clone resource as a dependency

2012-12-19 Thread Attila Megyeri
Hi, How can I configure a resource (e.g. an apache) to depend on the start of a clone resource (e.g. a filesystem resource) for the given node? I know how to arrange a primitive into a group, but in this particular case, the primitive must run on the passive node as well (performing some async

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-23 Thread Andrew Martin
ntu.com > To: pacemaker@oss.clusterlabs.org Sent: Thursday, February 23, 2012 1:48:59 AM Subject: Re: [Pacemaker] Clone Set does not start its lsb service on all nodes On 13.02.2012 23:29, Andrew Martin wrote: > I am creating a cluster that will manage virtual machines using libvirt > on

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Ante Karamatic
On 13.02.2012 23:29, Andrew Martin wrote: > I am creating a cluster that will manage virtual machines using libvirt > on Ubuntu 10.04 Server. I am following this guide (except using DRBD > instead of iSCSI): > http://www.linbit.com/fileadmin/tech-guides/ha-kvm.pdf Make sure you use PPA with all n

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Andreas Ntaflos
On 2012-02-22 23:02, Andrew Martin wrote: > I have upgraded to the version > of pacemaker in the Ubuntu-HA ppa, which includes the upstart resource > agent that I am using now. Glad to hear you got it working, and your patch to the init.d script could come in handy. But which PPA are you using, e

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Andrew Martin
rew - Original Message - From: "Andreas Ntaflos" To: "The Pacemaker cluster resource manager" , amar...@xes-inc.com Sent: Wednesday, February 15, 2012 4:09:53 PM Subject: Re: [Pacemaker] Clone Set does not start its lsb service on all nodes On 2012-02-13 23:29,

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-15 Thread Andreas Ntaflos
On 2012-02-13 23:29, Andrew Martin wrote: > However, often the libvirt-bin daemon is not actually running (and thus > the VMs fail to migrate): > # service libvirt-bin status > libvirt-bin stop/waiting It seems the libvirt init script (which is actually an upstart job) either starts the daemon suc

[Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-13 Thread Andrew Martin
Hello, I am creating a cluster that will manage virtual machines using libvirt on Ubuntu 10.04 Server. I am following this guide (except using DRBD instead of iSCSI): http://www.linbit.com/fileadmin/tech-guides/ha-kvm.pdf When configuring the clone set for the libvirt-bin service, I create

Re: [Pacemaker] Clone set members colocation

2011-11-09 Thread Yves Trudeau
Here it is: http://pastebin.com/yKJ2TLMv Regards, Yves On 11-11-09 12:06 PM, Florian Haas wrote: On 2011-11-09 17:29, Yves Trudeau wrote: Hi Florian, the colocation rule was an attempt to separate the clone set members. I tried with and without swappiness with no luck. Here the new conf

Re: [Pacemaker] Clone set members colocation

2011-11-09 Thread Florian Haas
On 2011-11-09 17:29, Yves Trudeau wrote: > Hi Florian, >the colocation rule was an attempt to separate the clone set > members. I tried with and without swappiness with no luck. > > Here the new config: "cibadmin -Q > /tmp/cib.xml", uploaded to pastebin please. Would like to see the full CIB

Re: [Pacemaker] Clone set members colocation

2011-11-09 Thread Yves Trudeau
Hi Florian, the colocation rule was an attempt to separate the clone set members. I tried with and without swappiness with no luck. Here the new config: root@testvirtbox1:/usr/lib/ocf/resource.d/heartbeat# crm configure show node testvirtbox1 \ attributes IP="10.2.2.160" node testv

Re: [Pacemaker] Clone set members colocation

2011-11-08 Thread Florian Haas
On 2011-11-08 22:42, Yves Trudeau wrote: > Hi, >I am currently working on a replication solution adding logic to the > mysql RA and I need to be able to turn ON/OFF a virtual IP based on a > node attribute (Florian suggestion). In order to achieve this, I > created a clone set of IPaddr2 RA an

Re: [Pacemaker] Clone set members colocation

2011-11-08 Thread Andreas Kurz
Hello, On 11/08/2011 10:42 PM, Yves Trudeau wrote: > Hi, >I am currently working on a replication solution adding logic to the > mysql RA and I need to be able to turn ON/OFF a virtual IP based on a > node attribute (Florian suggestion). In order to achieve this, I > created a clone set of IP

[Pacemaker] Clone set members colocation

2011-11-08 Thread Yves Trudeau
Hi, I am currently working on a replication solution adding logic to the mysql RA and I need to be able to turn ON/OFF a virtual IP based on a node attribute (Florian suggestion). In order to achieve this, I created a clone set of IPaddr2 RA and a location rule using the node attribute set

Re: [Pacemaker] Clone resource each instance start\Stop

2011-07-31 Thread Andrew Beekhof
On Tue, Jul 26, 2011 at 6:49 PM, wrote: > Hi, > >    I have configured a multi-state(clone)resource float IP(IP). >    It is running on all the configure Nodes. > >    I am trying to stop it using crm_resource command > >    crm_resource -r IP:0 -p target-role -v stopped You can't set the target

[Pacemaker] Clone resource each instance start\Stop

2011-07-26 Thread manish . gupta
Hi, I have configured a multi-state(clone)resource float IP(IP). It is running on all the configure Nodes. I am trying to stop it using crm_resource command crm_resource -r IP:0 -p target-role -v stopped I am getting this error. Error performing operation : The object/a

Re: [Pacemaker] clone mysql RA and bind it to a VirtualIP

2011-07-14 Thread Viacheslav Biriukov
You can use my mysqlping resource https://github.com/Sov1et/ocf-mysqlping Start mysql on nodes manually. If you start them as clone resource yo can get some issues with restart mysql on one node. So I suggest don't do this. 2011/5/12 Joan Mauri > Hi all, > > I've been struggling with this for a

Re: [Pacemaker] clone mysql RA and bind it to a VirtualIP

2011-06-30 Thread Andrew Beekhof
On Fri, May 13, 2011 at 3:01 AM, Joan Mauri wrote: > Hi all, > I've been struggling with this for a few days/weeks and I don't know what to > do. I would really appreciate some help. > I need to run MYSQL in 2 nodes and use a virtual IP which will switch from > one node to the other one in case MY

[Pacemaker] clone mysql RA and bind it to a VirtualIP

2011-05-12 Thread Joan Mauri
Hi all, I've been struggling with this for a few days/weeks and I don't know what to do. I would really appreciate some help. I need to run MYSQL in 2 nodes and use a virtual IP which will switch from one node to the other one in case MYSQL fails in one of the other nodes. The important constrain

Re: [Pacemaker] clone specific configuration options

2011-05-03 Thread Andrew Beekhof
On Tue, May 3, 2011 at 3:10 PM, Shravan Mishra wrote: > Hi, > > "globally-unique" --- Does each copy of the clone perform a different > function? Allowed values: true, false > > > I was looking for some more explanation because of my weak > understanding of the above statement: > > Let's say I hav

[Pacemaker] clone specific configuration options

2011-05-03 Thread Shravan Mishra
Hi, "globally-unique" --- Does each copy of the clone perform a different function? Allowed values: true, false I was looking for some more explanation because of my weak understanding of the above statement: Let's say I have pure clones like "ping" vs master/slave clones running on 2 machines

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-11 Thread Andrew Beekhof
For the record, the bug is now fixed: http://hg.clusterlabs.org/pacemaker/devel/rev/86a019541964 2011/4/11 Christoph Bartoschek : > Andrew Beekhof wrote: > >> Question though, do the nfs clients need to restart if the server >> component does? > > I am not sure but if they are connected via TCP

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-11 Thread Christoph Bartoschek
Andrew Beekhof wrote: > Question though, do the nfs clients need to restart if the server > component does? I am not sure but if they are connected via TCP the connection should get lost on a server restart. As the service IP is not available during server restart the clients are not notified

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-11 Thread Andrew Beekhof
On Thu, Apr 7, 2011 at 10:37 AM, Christoph Bartoschek wrote: > Christoph Bartoschek wrote: > >> Andrew Beekhof wrote: >> >>> 2011/4/4 Christoph Bartoschek : Andrew Beekhof wrote: > 2011/4/1 Christoph Bartoschek > : >> Andrew Beekhof wrote: >> >>> You didn't mention a

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-07 Thread Christoph Bartoschek
Christoph Bartoschek wrote: > Andrew Beekhof wrote: > >> 2011/4/4 Christoph Bartoschek : >>> Andrew Beekhof wrote: >>> 2011/4/1 Christoph Bartoschek : > Andrew Beekhof wrote: > >> You didn't mention a version number... I think you'll be happier with >> 1.1.5 (I recall fi

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-04 Thread Andrew Beekhof
2011/4/4 Christoph Bartoschek : > Andrew Beekhof wrote: > >> 2011/4/1 Christoph Bartoschek : >>> Andrew Beekhof wrote: >>> You didn't mention a version number... I think you'll be happier with 1.1.5 (I recall fixing a similar issue). >>> >>> I see a similar problem with 1.1.5.  I have a t

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-04 Thread Christoph Bartoschek
Andrew Beekhof wrote: > 2011/4/1 Christoph Bartoschek : >> Andrew Beekhof wrote: >> >>> You didn't mention a version number... I think you'll be happier with >>> 1.1.5 (I recall fixing a similar issue). >> >> I see a similar problem with 1.1.5. I have a two node NFS server setup. >> >> The follow

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-04 Thread Andrew Beekhof
2011/4/1 Christoph Bartoschek : > Andrew Beekhof wrote: > >> You didn't mention a version number... I think you'll be happier with >> 1.1.5 (I recall fixing a similar issue). > > I see a similar problem with 1.1.5.  I have a two node NFS server setup. > > The following happens: > > 1. The resources

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-04-01 Thread Christoph Bartoschek
Andrew Beekhof wrote: > You didn't mention a version number... I think you'll be happier with > 1.1.5 (I recall fixing a similar issue). I see a similar problem with 1.1.5. I have a two node NFS server setup. The following happens: 1. The resources run on node A. 2. I put node A into standby.

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resource

2011-03-09 Thread Andrew Beekhof
On Wed, Mar 9, 2011 at 5:33 PM, Ron Kerry wrote: > On Wed, 9 Mar 2011 11:26:17 Andrew Beekhof wrote: >> >> You didn't mention a version number... I think you'll be happier with > >> 1.1.5 (I recall fixing a similar issue). > > This is SLE11-HAE-SP1 so the version of pacemaker is 1.1.2. > > Can you

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resource

2011-03-09 Thread Ron Kerry
On Wed, 9 Mar 2011 11:26:17 Andrew Beekhof wrote: You didn't mention a version number... I think you'll be happier with > 1.1.5 (I recall fixing a similar issue). This is SLE11-HAE-SP1 so the version of pacemaker is 1.1.2. Can you point to a specific modset I can pass back to Novell. I already

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-03-09 Thread Andrew Beekhof
You didn't mention a version number... I think you'll be happier with 1.1.5 (I recall fixing a similar issue). On Mon, Feb 28, 2011 at 8:33 PM, Ron Kerry wrote: > Folks - > > I have a configuration issue that I am unsure how to resolve. Consider the > following set of resources. > > clone rsc1-cl

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-03-02 Thread Ron Kerry
I have narrowed this down to an issue that I feel is really a bug in the way pacemaker is dealing with constraints made between resource groups as opposed to resource primitives. The version of pacemaker involved here is: libpacemaker3-1.1.2-0.7.1 pacemaker-1.1.2-0.7.1 A configuration which

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-03-01 Thread Ron Kerry
On 3/1/2011 2:39 PM, Ron Kerry wrote: On 2/28/2011 2:33 PM, Ron Kerry wrote: Folks - I have a configuration issue that I am unsure how to resolve. Consider the following set of resources. clone rsc1-clone rsc1 \ meta clone-max="2" target-role="Started" primitive rsc1 ... primitive rsc2 ... me

Re: [Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-03-01 Thread Ron Kerry
On 2/28/2011 2:33 PM, Ron Kerry wrote: Folks - I have a configuration issue that I am unsure how to resolve. Consider the following set of resources. clone rsc1-clone rsc1 \ meta clone-max="2" target-role="Started" primitive rsc1 ... primitive rsc2 ... meta resource-stickiness="1" primitive rs

[Pacemaker] Clone resource dependency issue - undesired restart of dependent resources

2011-02-28 Thread Ron Kerry
Folks - I have a configuration issue that I am unsure how to resolve. Consider the following set of resources. clone rsc1-clone rsc1 \ meta clone-max="2" target-role="Started" primitive rsc1 ... primitive rsc2 ... meta resource-stickiness="1" primitive rsc3 ... meta resource-stickiness="1" P

Re: [Pacemaker] clone resource will stop if half node in cluster offline

2010-11-25 Thread jiaju liu
>> I have 4 nodes node1,node2,node3,node4 in cluster. and?start clone >>resource pingd. this ping a router.?when node1 and node2 offline. The >> clone resource stopped. however the resource ipmi is ok. Is the feature >> of?clone resource? If half node of cluster offline clone resource stop?? >

Re: [Pacemaker] clone resource will stop if half node in cluster offline

2010-11-25 Thread jiaju liu
I have already found is quorum, however, I read many document say if I have only one nodes I should change no-quorum-policy to ignore because there is no quorum? cluser still have half nodes,quorum is stopped? besides this when no-quorum-policy=ignore some resource such as filesystem works s

Re: [Pacemaker] clone resource will stop if half node in cluster offline

2010-11-24 Thread Andrew Beekhof
Please read our documentation, we're not here to read it to you. Quorum is one of the first things covered in "clusters from scratch" On Wed, Nov 24, 2010 at 11:39 AM, jiaju liu wrote: > Hi all > I have 4 nodes node1,node2,node3,node4 in cluster. and start clone resource > pingd. this ping a rou

Re: [Pacemaker] clone resource will stop if half node in cluster offline

2010-11-24 Thread Devin Reade
--On Wednesday, November 24, 2010 06:39:19 PM +0800 jiaju liu wrote: > I have 4 nodes node1,node2,node3,node4 in cluster. and start clone > resource pingd. this ping a router. when node1 and node2 offline. The > clone resource stopped. however the resource ipmi is ok. Is the feature > of clone re

[Pacemaker] clone resource will stop if half node in cluster offline

2010-11-24 Thread jiaju liu
Hi all I have 4 nodes node1,node2,node3,node4 in cluster. and start clone resource pingd. this ping a router. when node1 and node2 offline. The clone resource stopped. however the resource ipmi is ok. Is the feature of clone resource? If half node of cluster offline clone resource stop?  thanks

Re: [Pacemaker] clone

2010-10-06 Thread Cédric Castanet
Le 06/10/2010 17:06, Dejan Muhamedagic a écrit : Oops. Well, turns out that crm doesn't really like non-ascii chars. Two of your quotes above are funny. At globally-unique and clone-max. Replace them with ascii " and you should be OK. Thanks, Dejan Oups ! I'm confused. I wasn't able to see

Re: [Pacemaker] clone

2010-10-06 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 11:55:53AM +0200, Cédric Castanet wrote: > , *Michael Schwartzkopff* a écrit : > >Try to configure the resource-stickiness within the resource and not within > >the > >clone. > > > Sorry not answering directly to the thread, but i've done a mistake > in the mailing lis

Re: [Pacemaker] clone

2010-10-06 Thread Michael Schwartzkopff
On Wednesday 06 October 2010 16:45:19 Cédric Castanet wrote: > Do you think the folowing cib-bootstrap-options error is linked to my > probleme ? > > r...@node1:~# crm configure verify > WARNING: MonSite: default timeout 20s for start is smaller than the > advised 40s > WARNING: MonSite: default t

Re: [Pacemaker] clone

2010-10-06 Thread Cédric Castanet
Do you think the folowing cib-bootstrap-options error is linked to my probleme ? r...@node1:~# crm configure verify WARNING: MonSite: default timeout 20s for start is smaller than the advised 40s WARNING: MonSite: default timeout 20s for stop is smaller than the advised 60s ERROR: cib-bootstr

Re: [Pacemaker] clone

2010-10-06 Thread Cédric Castanet
, *Michael Schwartzkopff* a écrit : Try to configure the resource-stickiness within the resource and not within the clone. Sorry not answering directly to the thread, but i've done a mistake in the mailing list configuration. hope this is ok now. I tried but it doesn't change anything:

Re: [Pacemaker] clone

2010-10-06 Thread Michael Schwartzkopff
On Wednesday 06 October 2010 11:19:05 Cédric Castanet wrote: > Hi everybody, > I'm discovering pacemaker and cluster. I've Succed to build a > avtive/passive cluster with apache and a custom app. I want to switch to > active/active. so i guess i need to clone the resource. I had a probleme > with d

[Pacemaker] clone

2010-10-06 Thread Cédric Castanet
Hi everybody, I'm discovering pacemaker and cluster. I've Succed to build a avtive/passive cluster with apache and a custom app. I want to switch to active/active. so i guess i need to clone the resource. I had a probleme with de crm configure clone. I'm not able to find a way to solve it. Can

Re: [Pacemaker] clone ip definition and location stops myresources...

2010-05-20 Thread Gianluca Cecchi
On Thu, May 20, 2010 at 2:40 PM, Koch, Sebastian wrote: > Thanks for your hints. I had the same issue and your tips nearly resolved > it for me. But i got a question. I setted the default timeout and afterwards > the pingd resource started to work as expected. I had a IPTABLES Rule > dropping ic

Re: [Pacemaker] clone ip definition and location stops myresources...

2010-05-20 Thread Koch, Sebastian
_drbd inf: ms_drbd_mysql0:promote grp_MySQL:start property $id="cib-bootstrap-options" \ expected-quorum-votes="3" \ stonith-enabled="false" \ no-quorum-policy="ignore" \ dc-version="1.0.8-2c98138c2f070fcb6ddeab1084154cff

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Vadym Chepkov
The is no "default" unless it's set, that's why crm complains On Tue, May 11, 2010 at 12:41 PM, Gianluca Cecchi wrote: > On Tue, May 11, 2010 at 5:47 PM, Vadym Chepkov wrote: > >> pingd is a daemon with is running all the time and does it job >> you still need to define monitor operation thou

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Gianluca Cecchi
On Tue, May 11, 2010 at 5:47 PM, Vadym Chepkov wrote: > pingd is a daemon with is running all the time and does it job > you still need to define monitor operation though, what if the daemon dies? > op monitor just have a different meaning for ping and pingd. > with pingd - monitor daemon > with

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Vadym Chepkov
pingd is a daemon with is running all the time and does it job you still need to define monitor operation though, what if the daemon dies? op monitor just have a different meaning for ping and pingd. with pingd - monitor daemon with ping - monitor connectivity as for warnings: crm configure prop

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Gianluca Cecchi
On Tue, May 11, 2010 at 1:13 PM, Vadym Chepkov wrote: > First of all, none of the monitor operation is on by default in pacemaker, > this is something that you have to turn on > For the ping RA start and stop op parameters don't do much, so you can > safely drop them. > > > Yes, but for the pace

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Vadym Chepkov
By the way, there is another issue with your config Since you set multiplier to 100, it will negate your resource-stickiness which is also set to 100. Either reduce multiplier or increase default resource-stickiness ( I have mine at 1000) Vadym On May 11, 2010, at 7:06 AM, Gianluca Cecchi wrot

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Vadym Chepkov
First of all, none of the monitor operation is on by default in pacemaker, this is something that you have to turn on For the ping RA start and stop op parameters don't do much, so you can safely drop them. Here is my settings, they do work for me: primitive ping ocf:pacemaker:ping \

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Gianluca Cecchi
On Tue, May 11, 2010 at 12:50 PM, Vadym Chepkov wrote: > You forgot to turn on monitor operation for ping (actual job) > > > I saw from the [r...@ha1 ~]# crm ra meta ping command Operations' defaults (advisory minimum): start timeout=60 stop timeout=20 reload

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Vadym Chepkov
You forgot to turn on monitor operation for ping (actual job) On May 11, 2010, at 5:15 AM, Gianluca Cecchi wrote: > On Mon, May 10, 2010 at 4:39 PM, Vadym Chepkov wrote: > # crm ra meta ping > > name (string, [undef]): Attribute name > The name of the attributes to set. This is the name t

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Gianluca Cecchi
On Tue, May 11, 2010 at 11:58 AM, Dejan Muhamedagic wrote: > Do you see the attribute set in the status section (cibadmin -Ql > | grep -w pingd)? If not, then the problem is with the resource. [r...@ha1 ~]# cibadmin -Ql | grep -w pingd Tried to ch

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Dejan Muhamedagic
Hi, On Tue, May 11, 2010 at 11:15:49AM +0200, Gianluca Cecchi wrote: > On Mon, May 10, 2010 at 4:39 PM, Vadym Chepkov wrote: > > > # crm ra meta ping > > > > name (string, [undef]): Attribute name > > The name of the attributes to set. This is the name to be used in the > > constraints. > >

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-11 Thread Gianluca Cecchi
On Mon, May 10, 2010 at 4:39 PM, Vadym Chepkov wrote: > # crm ra meta ping > > name (string, [undef]): Attribute name > The name of the attributes to set. This is the name to be used in the > constraints. > > By default is "pingd", but you are checking against pinggw > > I suggest you do not

Re: [Pacemaker] clone ip definition and location stops my resources...

2010-05-10 Thread Vadym Chepkov
# crm ra meta ping name (string, [undef]): Attribute name The name of the attributes to set. This is the name to be used in the constraints. By default is "pingd", but you are checking against pinggw I suggest you do not change name though, but adjust your location constraint to use pingd i

[Pacemaker] clone ip definition and location stops my resources...

2010-05-10 Thread Gianluca Cecchi
Hello, using pacemaker 1.0.8 on rh el 5 I have some problems understanding the way ping clone works to setup monitoring of gw... even after reading docs... As soon as I run: crm configure location nfs-group-with-pinggw nfs-group rule -inf: not_defined pinggw or pinggw lte 0 the resources go stopp

Re: [Pacemaker] clone resource doesn't stop during node standby

2010-03-23 Thread Andrew Beekhof
On Fri, Mar 19, 2010 at 2:32 AM, Junko IKEDA wrote: > Hi, > >>> # crm_mon -1 >>> >>> >>> Stack: openais >>> Current DC: cspm01 - partition with quorum >>> Version: 1.0.8-2a76c6ac04bc stable-1.0 tip >>> 2 Nodes configured, 2 expected votes >>> 2 Resources configured. >>> >

Re: [Pacemaker] clone resource doesn't stop during node standby

2010-03-18 Thread Junko IKEDA
Hi, # crm_mon -1 Stack: openais Current DC: cspm01 - partition with quorum Version: 1.0.8-2a76c6ac04bc stable-1.0 tip 2 Nodes configured, 2 expected votes 2 Resources configured. Node cspm02: standby Online: [ cspm01 ] Resource Group: UMgroup01 UmDummy03

Re: [Pacemaker] clone resource doesn't stop during node standby

2010-03-18 Thread Andrew Beekhof
2010/3/18 Junko IKEDA : > Hi, > > I run the following resources on two node. > > # crm_mon -1 > > > Last updated: Thu Mar 18 11:26:54 2010 > Stack: openais > Current DC: cspm01 - partition with quorum > Version: 1.0.8-2a76c6ac04bc stable-1.0 tip > 2 Nodes configured, 2 expected votes >

Re: [Pacemaker] clone resource doesn't stop during node standby

2010-03-17 Thread Junko IKEDA
Hi, the previous hb_report was broken. I attached syslog agin. (log's time stamp is updated) Thanks, Junko On Thu, 18 Mar 2010 11:49:45 +0900, Junko IKEDA wrote: Hi, I run the following resources on two node. # crm_mon -1 Last updated: Thu Mar 18 11:26:54 2010 Stack: openais

[Pacemaker] clone resource doesn't stop during node standby

2010-03-17 Thread Junko IKEDA
Hi, I run the following resources on two node. # crm_mon -1 Last updated: Thu Mar 18 11:26:54 2010 Stack: openais Current DC: cspm01 - partition with quorum Version: 1.0.8-2a76c6ac04bc stable-1.0 tip 2 Nodes configured, 2 expected votes 2 Resources configured. Online:

Re: [Pacemaker] clone-max and constraint

2009-10-07 Thread Andrew Beekhof
The GUI shouldn't be showing it. Its a bug but you can ignore it. On Wed, Oct 7, 2009 at 4:10 AM, E-Blokos wrote: > Hi, > > on a 4 nodes cluster : > after created a clone with clone-max 3 and constraint > as if prevent clone to be on same node as a group RA with -INFINITY > so the management con

[Pacemaker] clone-max and constraint

2009-10-06 Thread E-Blokos
Hi, on a 4 nodes cluster : after created a clone with clone-max 3 and constraint as if prevent clone to be on same node as a group RA with -INFINITY so the management control in pacemaker gui shows a clone RA with 4 nodes but with one as stopped orphaned... even cleanup resource doesn't do anyth

Re: [Pacemaker] Clone resource question

2009-07-23 Thread Michael Schwartzkopff
Am Donnerstag, 23. Juli 2009 13:11:50 schrieb Pablo Florencio: > Hello everybody, > > I'm trying to configure a clone resource that will > run in 2 nodes at the same time. After reading the > documentation I realized that I must setup it with > following options: > > clone-max 2 > clone-node-max 1

Re: [Pacemaker] Clone resource question

2009-07-23 Thread Michael Schwartzkopff
Am Donnerstag, 23. Juli 2009 13:11:50 schrieb Pablo Florencio: > Hello everybody, > > I'm trying to configure a clone resource that will > run in 2 nodes at the same time. After reading the > documentation I realized that I must setup it with > following options: > > clone-max 2 > clone-node-max 1

[Pacemaker] Clone resource question

2009-07-23 Thread Pablo Florencio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I'm trying to configure a clone resource that will run in 2 nodes at the same time. After reading the documentation I realized that I must setup it with following options: clone-max 2 clone-node-max 1 It seems to be working ok, howe

Re: [Pacemaker] Clone resource management

2009-06-09 Thread Shaffin Bhanji
Thanks Andrew, will try that. Shaffin. On Tue, Jun 9, 2009 at 9:06 AM, Andrew Beekhof wrote: > You need clone-max=2 and if you're using openais, read > http://clusterlabs.org/wiki/FAQ#I_Killed_a_Node_but_the_Cluster_Didn.27t_Recover > > On Tue, Jun 9, 2009 at 2:08 PM, Shaffin Bhanji > wrote: >

Re: [Pacemaker] Clone resource management

2009-06-09 Thread Andrew Beekhof
You need clone-max=2 and if you're using openais, read http://clusterlabs.org/wiki/FAQ#I_Killed_a_Node_but_the_Cluster_Didn.27t_Recover On Tue, Jun 9, 2009 at 2:08 PM, Shaffin Bhanji wrote: > Hello, > > I have setup a clone filesystem resource involving 2 nodes. When one > node (say Node_A) goes

[Pacemaker] Clone resource management

2009-06-09 Thread Shaffin Bhanji
Hello, I have setup a clone filesystem resource involving 2 nodes. When one node (say Node_A) goes down it seems that both filesystem resources show as down for some reason. I need Node_B's filesystem resource running if Node_A goes down. I am guessing there may be something that I am not setting

Re: [Pacemaker] clone resource examples

2009-06-02 Thread Andrew Beekhof
Try the stonith section of the 1.0 configuration explained pdf. On Tue, Jun 2, 2009 at 7:37 AM, Infos E-Blokos wrote: > Hi, > > Is anyone know where I can find some clone resource example (with xml) ? > > Thanks > > Franck > > -- > This message has been scanned for viruses and > dangerous content

[Pacemaker] clone resource examples

2009-06-01 Thread Infos E-Blokos
Hi, Is anyone know where I can find some clone resource example (with xml) ? Thanks Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Pacemaker mailing list Pacemaker@oss.clus

[Pacemaker] Clone configuration help

2009-05-26 Thread Mihai
Hello, I am having some problems trying to configure a cluster made of 3 servers. Server 1 - resources sql http sip +ip0 Server 2 - resources sql http sip +ip1 Server 3 - resources sip+ip3 What I did since sip depends on sql being started and also the ipX depends on sip started is creat

Re: [Pacemaker] Clone config question

2009-05-20 Thread Dejan Muhamedagic
Hi, On Wed, May 20, 2009 at 11:04:49AM +0200, Andrew Beekhof wrote: > On Wed, May 20, 2009 at 8:55 AM, Mark Schenk wrote: > > Hello Andrew, > > > > ? thanks for the offer, however I'm pretty sure that it's my lack of > > knowledge that't the problem here and not pacemaker :-) I'll experiment on >

Re: [Pacemaker] Clone config question

2009-05-20 Thread Andrew Beekhof
On Wed, May 20, 2009 at 8:55 AM, Mark Schenk wrote: > Hello Andrew, > >   thanks for the offer, however I'm pretty sure that it's my lack of > knowledge that't the problem here and not pacemaker :-) I'll experiment on > and repost here when I'm really stuck... honestly, its ok... even if its not

Re: [Pacemaker] Clone config question

2009-05-19 Thread Mark Schenk
Hello Andrew, thanks for the offer, however I'm pretty sure that it's my lack of knowledge that't the problem here and not pacemaker :-) I'll experiment on and repost here when I'm really stuck... Mark PS. What is the proper procedure to run hb_report? Andrew Beekhof wrote: Hi, I did th

  1   2   >