Re: [Pacemaker] no-quorum-policy = demote?

2014-04-07 Thread Alexandre
Have you tried to patch the monitor action of your RA, so that it set the a temporary constraint location on the node to avoid it becoming master. Something like Location loc_splited_cluster -inf: MsRsc:Master $node Not sure about the above crm syntax, but that's the idea. Le 8 avr. 2014 02:52,

[Pacemaker] PgSQL_Replicated_Cluster wiki's bug

2014-04-07 Thread Naoya Anzai
Hi,All I'm reading following wiki: http://clusterlabs.org/mwiki/index.php?title=PgSQL_Replicated_Cluster&setlang=ja#Pacemaker_.28both_nodes.29 In Sample configuration for pcs command, it says as follows: --- pcs -f pgsql_cfg resource op defaults resource-stickiness="INFINITY" pcs -f pgsql_cfg res

Re: [Pacemaker] cib: ERROR: send_ais_message: Not connected to AIS

2014-04-07 Thread Andrew Beekhof
On 7 Apr 2014, at 8:46 pm, ma...@nucleus.it wrote: > Hi, > in a production environment with 2 nodes ( nodeA , nodeB ) we had an > hardware failure so we restart the nodeB. > After the restarted nodeB came up we restart corosync/pacemaker on it > but for 2 days till now che corosync/pacemaker stuf

Re: [Pacemaker] no-quorum-policy = demote?

2014-04-07 Thread Andrew Beekhof
On 7 Apr 2014, at 5:54 pm, Christian Ciach wrote: > Hello, > > I am using Corosync 2.0 with Pacemaker 1.1 on Ubuntu Server 14.04 (daily > builds until final release). > > My problem is as follows: I have a 2-node (plus a quorum-node) cluster to > manage a multistate-resource. One node should

Re: [Pacemaker] list default options in crm shell as "pcs property list --all" does

2014-04-07 Thread emmanuel segura
Thanks This is ok 2014-04-07 14:10 GMT+02:00 Kristoffer Grönlund : > On Mon, 7 Apr 2014 12:36:47 +0200 > emmanuel segura wrote: > > > Hello, > > > > Sorry if this has been asked, but i would like to know how do that, > > using the crm shell. > > > > Thanks > > There is no single equivalent com

Re: [Pacemaker] list default options in crm shell as "pcs property list --all" does

2014-04-07 Thread Kristoffer Grönlund
On Mon, 7 Apr 2014 12:36:47 +0200 emmanuel segura wrote: > Hello, > > Sorry if this has been asked, but i would like to know how do that, > using the crm shell. > > Thanks There is no single equivalent command in crmsh, but the following give some (all) of the same information: crm ra met

[Pacemaker] cib: ERROR: send_ais_message: Not connected to AIS

2014-04-07 Thread marco
Hi, in a production environment with 2 nodes ( nodeA , nodeB ) we had an hardware failure so we restart the nodeB. After the restarted nodeB came up we restart corosync/pacemaker on it but for 2 days till now che corosync/pacemaker stuff is looping. crm_mon NodeA: Stack: openais Current DC: nodeA

[Pacemaker] list default options in crm shell as "pcs property list --all" does

2014-04-07 Thread emmanuel segura
Hello, Sorry if this has been asked, but i would like to know how do that, using the crm shell. Thanks ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.

[Pacemaker] no-quorum-policy = demote?

2014-04-07 Thread Christian Ciach
Hello, I am using Corosync 2.0 with Pacemaker 1.1 on Ubuntu Server 14.04 (daily builds until final release). My problem is as follows: I have a 2-node (plus a quorum-node) cluster to manage a multistate-resource. One node should be the master and the other one the slave. It is absolutely not allo