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

2011-02-14 Thread Andrew Beekhof
On Mon, Feb 14, 2011 at 8:46 PM, Serge Dubrouski wrote: > On Mon, Feb 14, 2011 at 1:28 AM, Takatoshi MATSUO > wrote: Ideally demote operation should stop a master node and then restart it in hot-standby mode. It's up to administrator to make sure that no node with outdated data ge

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

2011-02-14 Thread Takatoshi MATSUO
>> Sorry, I got the wrong idea about restoring data. >> To start as hot-standby needs restoring anytime, >> because Time-line ID of PostgreSQL is incremented. >> In addition, shutting down the PostgreSQL with "immediate" option causes >> inconsistent WAL between primary and hot-standby. >> >> So I

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

2011-02-14 Thread Serge Dubrouski
On Mon, Feb 14, 2011 at 1:28 AM, Takatoshi MATSUO wrote: >>> Ideally demote operation should stop a master node and then restart it >>> in hot-standby mode. It's up to administrator to make sure that no >>> node with outdated data gets promoted to the master role. One should >>> follow standard pr

Re: [Linux-ha-dev] resource agents 1.0.4-rc announcement

2011-02-14 Thread Florian Haas
On 02/14/2011 07:54 PM, Raoul Bhatia [IPAX] wrote: > hi, > > On 14.02.2011 17:56, Dejan Muhamedagic wrote: >> Hello, >> >> The current repository of Resource Agents has been tagged to >> agents-1.0.4-rc on Friday evening. >> >> Some major additions and improvements: >> >> - conntrackd, exportfs, n

Re: [Linux-ha-dev] resource agents 1.0.4-rc announcement

2011-02-14 Thread Raoul Bhatia [IPAX]
hi, On 14.02.2011 17:56, Dejan Muhamedagic wrote: > Hello, > > The current repository of Resource Agents has been tagged to > agents-1.0.4-rc on Friday evening. > > Some major additions and improvements: > > - conntrackd, exportfs, nginx, fio: new agents > - mysql: master-slave functionality and r

[Linux-ha-dev] [patch] Filesystem RA: Do not throw error when cman is used.

2011-02-14 Thread Andres Rodriguez
While trying to setup a OCFS2 cluster using pacemaker+corosync+cman, we found that the RA was unable to mount the FS because it didn't detect the "cluster type", in this case cman. The attached patch provided by Andrew Beekhof fixes the issue. diff -r 71b1377f907c heartbeat/Filesystem --- a/heart

[Linux-ha-dev] resource agents 1.0.4-rc announcement

2011-02-14 Thread Dejan Muhamedagic
Hello, The current repository of Resource Agents has been tagged to agents-1.0.4-rc on Friday evening. Some major additions and improvements: - conntrackd, exportfs, nginx, fio: new agents - mysql: master-slave functionality and replication monitoring - db2: support for db2 v9 and multiple parti

Re: [Linux-ha-dev] ocft: status vs. monitor

2011-02-14 Thread Dejan Muhamedagic
On Sun, Feb 13, 2011 at 11:01:44AM +0100, Holger Teutsch wrote: > Hi, > to my knowledge OCF *requires* a method monitor while status is optional > (or what is it really for? heritage, compatibility, ...) Yes, patch applied. Cheers, Dejan > Shouldn't the ocft configs check for status ? > > -hol

Re: [Linux-ha-dev] Feedback on conntrackd RA by Dominik Klein

2011-02-14 Thread Florian Haas
On 2011-02-14 11:46, Dominik Klein wrote: > Thanks for inclusion. > > While looking through the pushed changes, I spotted two meta-data typos. > See trivial patch. Also applied and pushed. Thanks! Cheers, Florian signature.asc Description: OpenPGP digital signature ___

Re: [Linux-ha-dev] Feedback on conntrackd RA by Dominik Klein

2011-02-14 Thread Dominik Klein
Thanks for inclusion. While looking through the pushed changes, I spotted two meta-data typos. See trivial patch. Regards Dominik > Applied and pushed with two minor edits. Thanks a lot! > > Cheers, > Florian --- conntrackd.orig 2011-02-14 11:43:22.0 +0100 +++ conntrackd 2011-02-14 11:4

Re: [Linux-ha-dev] Formatting of agent man pages

2011-02-14 Thread Florian Haas
On 2011-02-10 17:10, Holger Teutsch wrote: > On Thu, 2011-02-10 at 13:09 +0100, Florian Haas wrote: >> On 2011-02-10 11:49, Holger Teutsch wrote: >>> Florian, >>> I have a patch that preserves line breaks (in detail: it generates >>> elements on line breaks). >>> >>> [...] >> >> Heh, that patch is

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

2011-02-14 Thread Takatoshi MATSUO
>> Ideally demote operation should stop a master node and then restart it >> in hot-standby mode. It's up to administrator to make sure that no >> node with outdated data gets promoted to the master role. One should >> follow standard procedures: cluster software shouldn't be configured >> for auto

Re: [Linux-ha-dev] ocft: status vs. monitor

2011-02-14 Thread Holger Teutsch
On Sun, 2011-02-13 at 11:01 +0100, Holger Teutsch wrote: > Hi, > to my knowledge OCF *requires* a method monitor while status is optional > (or what is it really for? heritage, compatibility, ...) > > Shouldn't the ocft configs check for status ? As Andrew already noted: of course I mean *monitor