Re: [Pacemaker] Restart service after failover or failback

2013-08-28 Thread lista linux
Hi, I already see the docs, but I dont understand How I can do pacemaker execute "/etc/init.d/named restart"? Regards, On 08/29/2013 01:24 AM, Digimer wrote: On 29/08/13 00:16, lista linux wrote: Hi, Sorry for my english. I need help to configure my corosync/pacemaker to restart the named

Re: [Pacemaker] Restart service after failover or failback

2013-08-28 Thread Digimer
On 29/08/13 00:16, lista linux wrote: Hi, Sorry for my english. I need help to configure my corosync/pacemaker to restart the named service after failover or failback. Regards, The "Cluster from Scratch" at the link below is the best place to start; http://clusterlabs.org/doc/ -- Digimer P

[Pacemaker] restart linux service after failover or failback

2013-08-28 Thread lista linux
Hi, Sorry for my english. I need help to configure my corosync/pacemaker to restart the service named after failover or failback. Regards, ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemak

[Pacemaker] Restart service after failover or failback

2013-08-28 Thread lista linux
Hi, Sorry for my english. I need help to configure my corosync/pacemaker to restart the named service after failover or failback. Regards, ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemak

[Pacemaker] [Problem]Two error information is displayed.

2013-08-28 Thread renayama19661014
Hi All, Though the trouble is only once, two error information is displayed in crm_mon. - [root@rh64-coro2 ~]# crm_mon -1 -Af Last updated: Thu Aug 29 18:11:00 2013 Last change: Thu Aug 29 18:10:45 2013 via cibadmin on rh64-coro2 Stack: corosync Current DC

Re: [Pacemaker] different behavior cibadmin -Ql with cman and corosync2

2013-08-28 Thread Andrew Beekhof
On 28/08/2013, at 5:38 PM, Andrey Groshev wrote: > > > 28.08.2013, 04:06, "Andrew Beekhof" : >> On 27/08/2013, at 1:13 PM, Andrey Groshev wrote: >> >>> 27.08.2013, 05:39, "Andrew Beekhof" : On 26/08/2013, at 3:09 PM, Andrey Groshev wrote: > 26.08.2013, 03:34, "Andrew Beekhof" :

Re: [Pacemaker] Need help with quickstart of pacemaker on redhat

2013-08-28 Thread Andrew Beekhof
On 28/08/2013, at 8:18 PM, Moturi Upendra wrote: > Thank's for the reply, > but as per doc it says that it has to move to different node Can you show your configuration please? > > From the document: > > Simulate a Service Failure > > We can simulate an error by telling the service to stop

Re: [Pacemaker] editing primitive via script

2013-08-28 Thread Christian Parpart
Hey, make it one-line commands, such as #! /bin/sh crm configure unmanage pgsql ... crm configure delete pgsql ... crm configure primitive pgsql ... This should do it, even though, it feels like an abuse :) Cheers, Christian Parpart. On Wed, Aug 28, 2013 at 5:58 PM, Gregg Jaskiewicz wrote:

Re: [Pacemaker] How to avoid or automatically resolve Split-Brain issue of DRBD

2013-08-28 Thread Digimer
On 28/08/13 13:13, Xiaomin Zhang wrote: Hi, Gurus: I've a simple master-slave setup for a mirrored DRBD storage: This storage is written by a daemon Java application server to produce transaction data. node Lhs072gkz \ attributes standby="on" node Lpplj9jb4 node Lvoim0kaw primitive drbd1

Re: [Pacemaker] Does ocf:heartbeat:IPaddr2 support binding the virtual IP on a bond interface?

2013-08-28 Thread Jake Smith
From: Xiaomin Zhang [mailto:zhangxiao...@gmail.com] Sent: Wednesday, August 28, 2013 1:18 PM To: The Pacemaker cluster resource manager Subject: [Pacemaker] Does ocf:heartbeat:IPaddr2 support binding the virtual IP on a bond interface? Hi, Gurus: Below is the IPaddr2 configuration for my envi

[Pacemaker] Does ocf:heartbeat:IPaddr2 support binding the virtual IP on a bond interface?

2013-08-28 Thread Xiaomin Zhang
Hi, Gurus: Below is the IPaddr2 configuration for my environment: primitive ip1 ocf:heartbeat:IPaddr2 \ params ip="192.168.241.1" cidr_netmask="32" \ op monitor interval="15s" \ meta target-role="Started" Actually I don't know how to specify the bond interface to assign this

[Pacemaker] How to avoid or automatically resolve Split-Brain issue of DRBD

2013-08-28 Thread Xiaomin Zhang
Hi, Gurus: I've a simple master-slave setup for a mirrored DRBD storage: This storage is written by a daemon Java application server to produce transaction data. node Lhs072gkz \ attributes standby="on" node Lpplj9jb4 node Lvoim0kaw primitive drbd1 ocf:linbit:drbd \ params drbd_reso

[Pacemaker] editing primitive via script

2013-08-28 Thread Gregg Jaskiewicz
Hi guys, So I have to change one of the 'primitives' configuration, in this case pgsql - to add a new node or remove it. I'd like to script it. Atm someone has to go in and manually run: crm configuration edit pgsql change the setting, and save it. How could one do this automatically in a script

Re: [Pacemaker] staggered resource startup

2013-08-28 Thread Lars Marowsky-Bree
On 2013-08-28T08:18:48, Andrew Beekhof wrote: > > 4. once pacemaker has brought the node online, all vm resource are > > started one at a time (for X...; crm resource start $X; sleep 45s; done) > > Are you aware of this cluster option? > >batch-limit = integer [30] >The numb

Re: [Pacemaker] different behavior cibadmin -Ql with cman and corosync2

2013-08-28 Thread Andrey Groshev
28.08.2013, 04:06, "Andrew Beekhof" : > On 27/08/2013, at 1:13 PM, Andrey Groshev wrote: > >>  27.08.2013, 05:39, "Andrew Beekhof" : >>>  On 26/08/2013, at 3:09 PM, Andrey Groshev wrote:   26.08.2013, 03:34, "Andrew Beekhof" : >   On 23/08/2013, at 9:39 PM, Andrey Groshev wrote: >