Re: [Pacemaker] Service failback issue with SLES11 and HAE 11

2010-06-07 Thread Florian Haas
Hello, I wonder why you're posting XML dumps instead of crm configure show? Cheers, Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pac

Re: [Pacemaker] Service failback issue with SLES11 and HAE 11

2010-06-07 Thread Florian Haas
Hello, I wonder why you're posting XML dumps instead of crm configure show? Cheers, Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pac

[Pacemaker] Service failback issue with SLES11 and HAE 11

2010-06-07 Thread ben180
Dear all, There are two nodes in my customer's environment. We installed SuSE Linux Enterprise Server 11 and HAE on the two node. The cluster is for oracle database service HA purpose. We have set clone resource for pingd, and constraints for detecting if network interface is down. And we added a

[Pacemaker] Configuration 1.0 Explained pdf missing

2010-06-07 Thread David&Donna Livingstone
From the http://www.clusterlabs.org/wiki/Documentation page the Configuration 1.0 Explained pdf link is missing : The requested URL /doc/en-US/Pacemaker/1.0/pdf/Pacemaker_Explained/Pacemaker-1.0-Pacemaker_Explained-en-US.pdf was not found on this server. David

Re: [Pacemaker] i stop mysql service but the crm status is still runing

2010-06-07 Thread Raoul Bhatia [IPAX]
hi, once again i encourage you to use the ocf:heartbeat:mysql script. moreover, i guess you did not configure any "monitor" operations that would periodically check the mysql server's status. did you read http://www.clusterlabs.org/wiki/Load_Balanced_MySQL_Replicated_Cluster ? there is some

Re: [Pacemaker] Cluster split brain on vmware VSphere

2010-06-07 Thread Torresani, Roberto
Sorry for have choosen the wrong ml... Here the corosync.conf used by one cluster, the other one is just the same provided by the epel repository packages. I will try to raise the token value to 1 as you suggest. Is there a theoretical or a best practice to set this value ? I will keep you

Re: [Pacemaker] Cluster split brain on vmware VSphere

2010-06-07 Thread Dejan Muhamedagic
Hi, On Mon, Jun 07, 2010 at 01:04:53PM +0200, Torresani, Roberto wrote: > Hi list, > sorry if this is not the right ml or if the question is already answered > somewhere...if this is the case, just point me to the solution please. > > I have two active/passive mysql cluster on vmware vsphere ru

Re: [Pacemaker] cluster got stuck on stopping resources

2010-06-07 Thread Dejan Muhamedagic
Hi, On Mon, Jun 07, 2010 at 12:13:41PM +0200, Andreas Kurz wrote: > Hi all, > > I observed a strange behaviour when trying to stop two resources with latest > pacemaker: > > I updated two resources (ping) and changed some constraints. One of the > changed resources is mentioned in the logs wit

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-07 Thread Vadym Chepkov
On Jun 7, 2010, at 5:05 AM, Dejan Muhamedagic wrote: > Hi, > > On Sat, Jun 05, 2010 at 10:38:17AM -0400, Vadym Chepkov wrote: >> >> On Jun 3, 2010, at 9:16 AM, Vadym Chepkov wrote: >> >>> Hi, >>> >>> Not sure what I am doing wrong >>> >>> primitive dummy1 ocf:pacemaker:Dummy >>> primitive du

[Pacemaker] Cluster split brain on vmware VSphere

2010-06-07 Thread Torresani, Roberto
Hi list, sorry if this is not the right ml or if the question is already answered somewhere...if this is the case, just point me to the solution please. I have two active/passive mysql cluster on vmware vsphere running: - CentOS 5.5 32 bit - heartbeat-3.0.3-2.el5 - corosync-1.2.2-1.1.el5 - pacem

Re: [Pacemaker] Both nodes become master

2010-06-07 Thread Dejan Muhamedagic
Hi, On Mon, Jun 07, 2010 at 11:17:42AM +0200, Jorge Santos Fonseca wrote: > Hi again, > > I have made some tests wtihout bonding, and it appears that all > works perfect. You didn't show ha.cf. Did you try (with bonding) to use unicast? Thanks, Dejan > Regards, > > Jorge > > >

Re: [Pacemaker] Both nodes become master

2010-06-07 Thread Jorge Santos Fonseca
Hi again, I have made some tests wtihout bonding, and it appears that all works perfect. Regards, Jorge De: Andrew Beekhof Para: The Pacemaker cluster resource manager Fecha: 02/06/2010 08:52 Asunto: Re: [Pacemaker] Both nodes become master On Tue, Jun 1, 2010 at 6:22 PM,

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-07 Thread Dejan Muhamedagic
Hi, On Sat, Jun 05, 2010 at 10:38:17AM -0400, Vadym Chepkov wrote: > > On Jun 3, 2010, at 9:16 AM, Vadym Chepkov wrote: > > > Hi, > > > > Not sure what I am doing wrong > > > > primitive dummy1 ocf:pacemaker:Dummy > > primitive dummy2 ocf:pacemaker:Dummy > > primitive dummy3 ocf:pacemaker:Dumm

Re: [Pacemaker] i try to replace current configure with empty file , but failed

2010-06-07 Thread ch huang
yes i erase configure on prim ,but on sec node ,the configure still exist,can not erase [r...@prim ~]# crm configure property stop-all-resources=true [r...@prim ~]# crm configure erase INFO: resource references in colocation:mysql_on_drbd updated INFO: resource references in order:mysql_after_drbd

Re: [Pacemaker] i try to replace current configure with empty file , but failed

2010-06-07 Thread Florian Haas
crm configure property stop-all-resources=true crm configure erase Cheers, Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Pr

Re: [Pacemaker] i try to replace current configure with empty file , but failed

2010-06-07 Thread ch huang
i follow your way ,do this in prim node and sec node here is prim node output [r...@prim ~]# crm resource stop fs_mysql [r...@prim ~]# crm resource stop ip_mysql [r...@prim ~]# crm resource stop mysqld [r...@prim ~]# crm resource stop drbd_mysql [r...@prim ~]# crm configure erase WARNING: reso

Re: [Pacemaker] ERROR: lsb:mysql: no such resource agent

2010-06-07 Thread Tomas Kouba
On 06/07/2010 02:57 AM, ch huang wrote: > yes u are prefectly right ,if i change the script name in /etc/init.d > ,the "list lsb" output is what i changed,By the way , lsb is abbr. for what? It's Linux Standard Base: http://www.linuxfoundation.org/collaborate/workgroups/lsb Regards, -- Tomas K

Re: [Pacemaker] i try to replace current configure with empty file , but failed

2010-06-07 Thread Dalibor Dukic
On Mon, 2010-06-07 at 15:35 +0800, ch huang wrote: > how to do this(erase current configure) You could stop all resources with: # crm resource stop RES_NAME and afterwards erase CIB with # crm configure erase -- Dalibor Dukic ___ Pacemaker mailin

[Pacemaker] i try to replace current configure with empty file , but failed

2010-06-07 Thread ch huang
i make an empty file tmp.xml: and issue the command "cibadmin --replace --xml-file tmp.xml" ,try to erase all configure in cluster,but failed with error how to do this(erase current configure) [r...@sec ~]# cibadmin --replace --xml-file tmp.xml Call cib_repla