Re: [Pacemaker] Fwd: drbd outdate peer

2009-09-11 Thread rasto
On Fri, September 11, 2009 8:44 pm, Fausto Lombardi wrote: > Furthermore, if I insert > outdate-peer "echo $DRBD_RESOURCE > /tempfile"; and unplug the replication > link ethernet I see in /tempfile the word r1 that is the name of the > resource. > > Instead if I insert > outdate-peer "echo $DRBD_PE

[Pacemaker] Fwd: drbd outdate peer

2009-09-11 Thread Fausto Lombardi
Furthermore, if I insert outdate-peer "echo $DRBD_RESOURCE > /tempfile"; and unplug the replication link ethernet I see in /tempfile the word r1 that is the name of the resource. Instead if I insert outdate-peer "echo $DRBD_PEER > /tempfile"; and unplug the replication link ethernet the file /temp

[Pacemaker] Fwd: drbd outdate peer

2009-09-11 Thread Fausto Lombardi
Another information: If I insert the node name and resource in the drbd-peer-outdater it works well!! (I insert outdate-peer "/usr/lib64/heartbeat/drbd-peer-outdater -p centos-xen2 -r r1"; in the drbd.conf of the centos-xen1 node where the resource is master). Seems that the drbd-outdater doesn't

Re: [Pacemaker] drbd outdate peer

2009-09-11 Thread Fausto Lombardi
This is ha.cf file: debugfile /var/log/ha-debug logfile/var/log/ha-log logfacilitynone bcast eth0 eth1 auto_failback on node centos-xen1 centos-xen2 respawn root /usr/lib64/heartbeat/mgmtd -v respawn root /usr/lib64/heartbeat/dopd apiauth mgmtd uid=root apiauth dopd uid=root crm yes and

Re: [Pacemaker] drbd outdate peer

2009-09-11 Thread Raoul Bhatia [IPAX]
On 09/11/2009 04:15 PM, Fausto Lombardi wrote: > Hi of all, > I have set up two nodes with heartbeat, pacemaker and drbd with dopd and > drbd-peer-outdate handler. > > All works well, but if I unplug the replication link of the drbd the > slave resource is not outdated. > Why? > > I have follow t

Re: [Pacemaker] Arp and configuration advice

2009-09-11 Thread j
Hi, I tried running the send_arp program by hand. The output suggested it was looking for the IP address given via the given eth. So, I have VIP 192.168.20.150 eth0 with 192.168.20.10 and the send_arp program would say something similar to "Looking up 192.168.20.150 from eth0 192.168.20.10" and

[Pacemaker] drbd outdate peer

2009-09-11 Thread Fausto Lombardi
Hi of all, I have set up two nodes with heartbeat, pacemaker and drbd with dopd and drbd-peer-outdate handler. All works well, but if I unplug the replication link of the drbd the slave resource is not outdated. Why? I have follow the guide at http://www.drbd.org/users-guide/s-heartbeat-dopd.html

Re: [Pacemaker] Arp and configuration advice

2009-09-11 Thread Dejan Muhamedagic
Hi, On Wed, Sep 09, 2009 at 01:55:33PM -0400, j wrote: > Thanks for your replies. > > I seemed to have found the solution. Perhaps this will help others, so > I'll send along what I've found: > > I have a VIP on all db servers using IPAddr2. I found this link (to > follow) before but executed th

Re: [Pacemaker] How to add new resources to the production cluster

2009-09-11 Thread Dejan Muhamedagic
Hi, On Thu, Sep 10, 2009 at 11:44:32AM +0200, Schmidt, Florian wrote: > Hi list, > > It's my task to add a new resource (and also the corresponding drbddisk > and Filesystem resources) to our production cluster. > > Is this the right way to do this on pacemaker 0.6.5-8.2: You should upgrade to

Re: [Pacemaker] Pacemaker Install AISONLY

2009-09-11 Thread Michael Schwartzkopff
Am Freitag, 11. September 2009 10:04:59 schrieb Christoph Mitasch: > Hi, > > I just wanted to give Pacemaker a try and studied the Install Guide at > http://clusterlabs.org/wiki/Install > > This Guide talks about AISONLY packages. When looking at > http://download.opensuse.org/repositories/server:/

[Pacemaker] Pacemaker Install AISONLY

2009-09-11 Thread Christoph Mitasch
Hi, I just wanted to give Pacemaker a try and studied the Install Guide at http://clusterlabs.org/wiki/Install This Guide talks about AISONLY packages. When looking at http://download.opensuse.org/repositories/server:/ha-clustering:/AISONLY/CentOS_5/x86_64/ I only find outdated packages from pace

Re: [Pacemaker] Strange behaviour of dual master DRBD

2009-09-11 Thread Michael Schwartzkopff
Am Donnerstag, 10. September 2009 19:25:53 schrieb Lars Ellenberg: > On Thu, Sep 10, 2009 at 05:10:39PM +0200, Michael Schwartzkopff wrote: > > Hi, > > > > I configured a dual master DRBD-8.3.2. When the nodes stat there is no > > problem. Both DRBD become master. But when I set on node to standby

Re: [Pacemaker] Strange behaviour of dual master DRBD

2009-09-11 Thread Michael Schwartzkopff
Am Donnerstag, 10. September 2009 19:25:53 schrieb Lars Ellenberg: > On Thu, Sep 10, 2009 at 05:10:39PM +0200, Michael Schwartzkopff wrote: > > Hi, > > > > I configured a dual master DRBD-8.3.2. When the nodes stat there is no > > problem. Both DRBD become master. But when I set on node to standby