Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-07 Thread Holger Teutsch
On Mon, 2011-02-07 at 08:42 +0100, Florian Haas wrote: Hello Holger, that would be excellent functionality to have, thanks very much for the contribution! Is there any chance this could be rolled into the existing db2 agent? You could use the ocf_is_ms() function to detect whether the

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-07 Thread Florian Haas
On 2011-02-07 11:38, Holger Teutsch wrote: [...] As conclusion: 1) Rolling HADR into the existing agent seems impossible to me or at least will end in a pollution of if and case statement and over complex logic. 2) Adding support for a standard database in

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-07 Thread Holger Teutsch
On Mon, 2011-02-07 at 11:46 +0100, Florian Haas wrote: On 2011-02-07 11:38, Holger Teutsch wrote: [...] As conclusion: 1) Rolling HADR into the existing agent seems impossible to me or at least will end in a pollution of if and case statement and over complex

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-07 Thread Dejan Muhamedagic
On Mon, Feb 07, 2011 at 12:27:38PM +0100, Holger Teutsch wrote: On Mon, 2011-02-07 at 11:46 +0100, Florian Haas wrote: On 2011-02-07 11:38, Holger Teutsch wrote: [...] As conclusion: 1) Rolling HADR into the existing agent seems impossible to me or at least will

[Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-07 Thread Takatoshi MATSUO
Hello I wrote a patch for pgsql RA to manage PostgreSQL 9.0 streaming replication(PGSR) which is new feature in Postgres 9.0. I add new parameters, rep_mode, trigger_file and tmpdir. rep_mode means replication mode Default is none which do the same thing as before. You have to set async to use

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-07 Thread Holger Teutsch
On Mon, 2011-02-07 at 12:31 +0100, Dejan Muhamedagic wrote: On Mon, Feb 07, 2011 at 12:27:38PM +0100, Holger Teutsch wrote: On Mon, 2011-02-07 at 11:46 +0100, Florian Haas wrote: On 2011-02-07 11:38, Holger Teutsch wrote: [...] As conclusion: 1) Rolling HADR into the

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-07 Thread Serge Dubrouski
Hello - First of all thanks for doing this. It's definitely a neat option to have. Unfortunately I haven't yet worked with ProstgreSQL 9.0. Could you please elaborate little bit more on how it works? What happens if master dies? Who is responsible for creating/deleting recovery.conf file? Also

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-07 Thread Florian Haas
On 2011-02-07 17:44, Serge Dubrouski wrote: Hello - First of all thanks for doing this. It's definitely a neat option to have. Unfortunately I haven't yet worked with ProstgreSQL 9.0. Could you please elaborate little bit more on how it works? What happens if master dies? Who is responsible

Re: [Linux-HA] problem on ocf:linbit:drbd

2011-02-07 Thread Lars Ellenberg
On Mon, Feb 07, 2011 at 02:55:51PM +0800, Linux Cook wrote: Hi! Please help! I'm having issues with ocf:linbit:drbd resource. crm_mon -1 results: Master/Slave Set: ms_drbd_postgres [drbd_postgres] drbd_postgres:0(ocf::linbit:drbd): Slave node1 (unmanaged) FAILED

[Linux-HA] stonith resource in RHEL6

2011-02-07 Thread ap
Hi list, I have pacemaker-1.1.2, corosync-1.2.3 and try to implement a meatware resource. (Btw. stonith -t (as referenced in http://www.clusterlabs.org/doc/crm_fencing.html seems not exist in RHEL6). I try to perfrom with crm configure: primitive st-node1 stonith:meatware \

[Linux-HA] Stonith resource in SLES 11 SP1

2011-02-07 Thread Hugo, Marcio
Hi... I am configuring a cluster SLES 11 - SP1. But when defining the resource stonith (RILO - HP Proliant), this error occurring... After forcing the failure of a node (network failure), the node is restarted and resources are migrated to another node. But (strange behavior), after some

[Linux-HA] Antw: Re: stonith resource in RHEL6

2011-02-07 Thread Ulrich Windl
Andrew Beekhof and...@beekhof.net schrieb am 07.02.2011 um 13:54 in Nachricht AANLkTim4C5ZqhP-52wYEc0zTfAgTCTmCZtnk=y-we...@mail.gmail.com: On Mon, Feb 7, 2011 at 1:04 PM, ap bi...@antworte.me wrote: Hi list, I have pacemaker-1.1.2, corosync-1.2.3 and try to implement a meatware

[Linux-HA] Q: Clusters and Mirroring

2011-02-07 Thread Ulrich Windl
Hi, I have a typical beginner's question: If I want to mirror a filesystem that is available on multiple cluster nodes, I cannot use MD-RAID, because that might corrupt data if activated on multiple nodes simultaneously. OTOH when using LVM mirroring (cLVM) I have two choices: 1) --mirrorlog

Re: [Linux-HA] Antw: Re: stonith resource in RHEL6

2011-02-07 Thread Andrew Beekhof
On Mon, Feb 7, 2011 at 2:07 PM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Andrew Beekhof and...@beekhof.net schrieb am 07.02.2011 um 13:54 in Nachricht AANLkTim4C5ZqhP-52wYEc0zTfAgTCTmCZtnk=y-we...@mail.gmail.com: On Mon, Feb 7, 2011 at 1:04 PM, ap bi...@antworte.me wrote:  Hi

Re: [Linux-HA] Stonith resource in SLES 11 SP1

2011-02-07 Thread Andrew Beekhof
On Mon, Feb 7, 2011 at 2:05 PM, Hugo, Marcio marcio.more...@hp.com wrote: Hi... I am configuring a cluster SLES 11 - SP1. But when defining the resource stonith (RILO - HP Proliant), this error occurring... After forcing the failure of a node (network failure), the node is restarted and

Re: [Linux-HA] NFSv4 with Heartbeat and DRBD

2011-02-07 Thread Dimitri Maziuk
Dave Dykstra wrote: From the old linux-ha.org/HaNFS page, Hint #2: If your kernel defaults to using TCP for NFS (as is the case in 2.6 kernels), switch to UDP instead by using the 'udp' mount option. If you don't do this, you won't be able to quickly switch from server A to B

Re: [Linux-HA] NFSv4 with Heartbeat and DRBD

2011-02-07 Thread Ricardo Botelho de Sousa
On 07-02-2011 17:58, Dimitri Maziuk wrote: Dave Dykstra wrote: From the old linux-ha.org/HaNFS page, Hint #2: If your kernel defaults to using TCP for NFS (as is the case in 2.6 kernels), switch to UDP instead by using the 'udp' mount option. If you don't do this, you won't be

Re: [Linux-HA] Antw: Re: stonith resource in RHEL6

2011-02-07 Thread ap
On Mon, Feb 7, 2011 at 1:04 PM, ap bi...@antworte.me wrote:  Hi list,  I have pacemaker-1.1.2, corosync-1.2.3 and try to implement a meatware  resource.  (Btw. stonith -t (as referenced in  http://www.clusterlabs.org/doc/crm_fencing.html seems not exist in  RHEL6). Correct.