Re: [Pacemaker] async_conn

2010-03-05 Thread Andrew Beekhof
On Fri, Mar 5, 2010 at 8:29 PM, Alan Jones wrote: > I'm trying to follow the code in lib/ais/plugin.c > In many functions the first argument "conn" is assigned to a local > "async_conn" which is never modified, e.g.: > > void pcmk_notify(void *conn, ais_void_ptr *msg) > { >     const AIS_Message *

Re: [Pacemaker] [PATCH]An option of "quorum-policy" does not become effective.

2010-03-05 Thread renayama19661014
Hi Andrew, > I've applied a modified patch: >http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/b8db497b90a5 > > (sorry, forgot to include a credit in the commit log :( > > Excellent detective work! Thank you for a revision. Best Regards, Hideo Yamauchi. --- Andrew Beekhof wrote: > I've

Re: [Pacemaker] Problem: No space left on device.

2010-03-05 Thread Thomas Guthmann
Hi Kees, touch: cannot touch `testfile': No space left on device I definitely think that it isn't a pacemaker issue :) I believe you have no more inodes even if you can see free space left. Try: df -i. And then google about your (common) system issue. Cheers, Thomas

[Pacemaker] async_conn

2010-03-05 Thread Alan Jones
I'm trying to follow the code in lib/ais/plugin.c In many functions the first argument "conn" is assigned to a local "async_conn" which is never modified, e.g.: void pcmk_notify(void *conn, ais_void_ptr *msg) { const AIS_Message *ais_msg = msg; char *data = get_ais_data(ais_msg); void

Re: [Pacemaker] Unnecessarily Failover when restarting network!!!

2010-03-05 Thread Jayakrishnan
On Fri, Mar 5, 2010 at 3:22 PM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Mar 04, 2010 at 07:34:22PM +0100, Lars Ellenberg wrote: > > On Thu, Mar 04, 2010 at 10:54:57AM +0100, Andrew Beekhof wrote: > > > On Mon, Mar 1, 2010 at 5:41 PM, Jayakrishnan < > jayakrishnan...@gmail.com> wrote: > > > > >

Re: [Pacemaker] [PATCH]An option of "quorum-policy" does not become effective.

2010-03-05 Thread Andrew Beekhof
I've applied a modified patch: http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/b8db497b90a5 (sorry, forgot to include a credit in the commit log :( Excellent detective work! On Fri, Mar 5, 2010 at 6:55 AM, wrote: > Hi All, > > Appointment of "quorum-policy" does not become it effectively

Re: [Pacemaker] Properly fencing Postgres

2010-03-05 Thread Serge Dubrouski
On Fri, Mar 5, 2010 at 7:56 AM, Martin Aspeli wrote: > Hi Serge, Hello - > >>> I don't know if the pgsql RA can support "cold standby" >>> instances. >>> >> >> In my opinion "cold standby" is a server has has access to the data >> files where PostreSQL is down but can be brought up any time. pgs

Re: [Pacemaker] Properly fencing Postgres

2010-03-05 Thread Martin Aspeli
Hi Serge, >> I don't know if the pgsql RA can support "cold standby" >> instances. >> > > In my opinion "cold standby" is a server has has access to the data > files where PostreSQL is down but can be brought up any time. pgsql RA > does exactly that if other resources proved access to the data.

Re: [Pacemaker] Properly fencing Postgres

2010-03-05 Thread Martin Aspeli
Hi Dejan, Dejan Muhamedagic wrote: Hi, On Fri, Mar 05, 2010 at 10:00:06AM +0800, Martin Aspeli wrote: Hi, I'm pretty new to all this stuff, but I've read pretty much all the documentation on the clusterlabs website. I'm seeking a bit of clarification/confirmation on how to achieve certain thi

Re: [Pacemaker] Utilization support for crm_attribute and crm_resource

2010-03-05 Thread Andrew Beekhof
On Thu, Mar 4, 2010 at 5:53 PM, Yan Gao wrote: > Hi Andrew, > You were reading the earliest mail in the thread. Strange... /me blames gmail :-) > So I'm starting a new thread. > > What I said in the latest mail: > > I added utilization support for crm_attribute and crm_resource. > Attached the p

[Pacemaker] Problem: No space left on device.

2010-03-05 Thread Kees
Hi, When i start the cluster software with /etc/init.d/corosync start, i see the whole stack in my processlist: 31838 ?Ssl0:06 /usr/sbin/corosync 31849 ?SLs0:00 \_ /usr/lib/heartbeat/stonithd 31850 ?S 0:02 \_ /usr/lib/heartbeat/cib 31851 ?S 0

Re: [Pacemaker] Properly fencing Postgres

2010-03-05 Thread Serge Dubrouski
> I don't know if the pgsql RA can support "cold standby" > instances. > In my opinion "cold standby" is a server has has access to the data files where PostreSQL is down but can be brought up any time. pgsql RA does exactly that if other resources proved access to the data. What pgsql RA doesn't

Re: [Pacemaker] heartbeat stop hangs sometimes

2010-03-05 Thread Andrew Beekhof
On Thu, Mar 4, 2010 at 4:21 PM, Markus M. wrote: > Andrew Beekhof wrote: > >>> Unfortunately it doesn't fix the problem. Heartbeat still hangs: >> >> The pacemaker patch wont affect heartbeat-based clusters. Sorry. > > Maybe i wasn't very clear in my communication, we _are_ using pacemaker > toget

Re: [Pacemaker] Properly fencing Postgres

2010-03-05 Thread Dejan Muhamedagic
Hi, On Fri, Mar 05, 2010 at 10:00:06AM +0800, Martin Aspeli wrote: > Hi, > > I'm pretty new to all this stuff, but I've read pretty much all the > documentation on the clusterlabs website. I'm seeking a bit of > clarification/confirmation on how to achieve certain things, in > particular around f

Re: [Pacemaker] Unnecessarily Failover when restarting network!!!

2010-03-05 Thread Dejan Muhamedagic
Hi, On Thu, Mar 04, 2010 at 07:34:22PM +0100, Lars Ellenberg wrote: > On Thu, Mar 04, 2010 at 10:54:57AM +0100, Andrew Beekhof wrote: > > On Mon, Mar 1, 2010 at 5:41 PM, Jayakrishnan > > wrote: > > > > > > > > > On Mon, Mar 1, 2010 at 4:04 PM, Andrew Beekhof wrote: > > >> > > >> On Thu, Feb 25,