[Pacemaker] Best way to split a resource across two locations, four nodes

2011-01-17 Thread Andy Smith
Hi, After having only used heartbeat a few years ago I'm now starting to look at the newer version, with pacemaker. I'm running the 3.0.3-2 Debian packages on either lenny-backports or squeeze. This is all new to me so I'd be grateful if you could check some of my assumptions here. For now I'm i

[Pacemaker] ccm returning with exit code 100 and system rebooting

2011-01-17 Thread akshay punja
Please let me know if any one has solved this issue. CCM exiting with return code 100 and system rebooting On Mon, Jan 17, 2011 at 1:29 PM, akshay punja wrote: > Hi All, > > We am using pacemaker(pacemaker-1.0.9.1-1.15.el5.i386.rpm) with > heartbeat(heartbeat-3.0.3-2.3.el5.i386.rpm) for a product

Re: [Pacemaker] dampen / pingd - how to be sure pingd will be updated

2011-01-17 Thread Thomas Guthmann
Hey, >> This may be dumb or obvious but it took me a long time to understand why my >> pingd with >> dampen never got updated! So I think that this may be useful for everybody >> to share. >> In short: >> >> " You MUST define a monitor interval HIGHER than the the dampen delay. " > Which versi

[Pacemaker] Problem with Xen live migration

2011-01-17 Thread Jean-Francois Malouin
Back again to setup an active/passive cluster for Xen with live migration but so far, no go. Xen DomU is shutdown and restarted when I move the Xen resource. I'm using Debian Squeeze, pacemaker 1.0.9.1, corosync 1.2.1-4 with Xen 4.0.1-1 and kernel 2.6.32-30. DRBD is at 8.3.8. A logical volume 'xe

Re: [Pacemaker] pound ocf ra

2011-01-17 Thread Florian Haas
On 2011-01-17 15:56, michal wrote: > > Hi folks, > > > I've written an ocf ra for Pound reverse proxy. I'm happy to share the ra > with you. Do you want it? I'm sure everyone will; please share the URL. Cheers, Florian signature.asc Description: OpenPGP digital signature _

[Pacemaker] Logwatch script

2011-01-17 Thread Jake Smith
Has any come across or tried to write a Logwatch script to parse the corosync logfiles? I am considering writing one since I use Logwatch to monitor server/service health. I have spent some time searching online for anyone who has tried to do this to no avail. Jake Smith

[Pacemaker] Logging level problem

2011-01-17 Thread Jake Smith
I wanted to change the log level to reduce the amount of logging to syslog. I tried with both syslog and the logfile and both don't seem to work. I edited corosync.conf and changed both logfile_priority and syslog_priority to warn but I still get info level logging in both the log file and syslog

[Pacemaker] pound ocf ra

2011-01-17 Thread michal
Hi folks,  I've written an ocf ra for Pound reverse proxy. I'm happy to share the ra with you. Do you want it? -- Michal Babuska ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] How to set up logging for CTSlab

2011-01-17 Thread Simon Jansen
> > On Mon, Jan 10, 2011 at 5:40 PM, Dejan Muhamedagic > wrote: > > Hi, > > > > On Mon, Jan 10, 2011 at 10:46:58AM +0100, Simon Jansen wrote: > >> Hi, > >> > >> I would like to test my cluster with the cluster test suite. I followed > the > >> instructions of the README file to set up the logging

Re: [Pacemaker] dampen / pingd - how to be sure pingd will be updated

2011-01-17 Thread Andrew Beekhof
On Tue, Dec 21, 2010 at 7:52 AM, Thomas Guthmann wrote: > Hey guys, > > This may be dumb or obvious but it took me a long time to understand why my > pingd with > dampen never got updated! So I think that this may be useful for everybody to > share. > In short: > >  " You MUST define a monitor i

Re: [Pacemaker] monitor operation stopped running

2011-01-17 Thread Andrew Beekhof
On Fri, Dec 17, 2010 at 10:56 AM, Chris Picton wrote: > On Thu, 16 Dec 2010 08:27:51 +0100, Andrew Beekhof wrote: > >> On Wed, Dec 15, 2010 at 8:30 AM, Chris Picton > >>> Why would a resource cleanup remove the resource from the lrm, even >>> though it is still running correctly, >> >> Thats what

Re: [Pacemaker] Single Node Cluster and Resource Management

2011-01-17 Thread Andrew Beekhof
On Sat, Dec 11, 2010 at 11:11 AM, wrote: > >> now when I simulate a network failure (iptables -s web1.testcluster -j >> DROP) >> apache is correctly failed.  When pingd re-establishes connection the >> Apache constraint must be reversed and Apache simply started. >> how do I achieve the automatic

Re: [Pacemaker] gemated service

2011-01-17 Thread Dan Frincu
Does the init script for gmetad contain the status parameter? Check what exit code it returns, your problem could be the init script not being LSB compliant. hth jiaju liu wrote: I use command crm configure primitive cfs_monitor lsb:gmetad meta resource-stickiness=1 op monitor t

[Pacemaker] ccm rebooting with exit code 100

2011-01-17 Thread akshay punja
Hi All, We am using pacemaker(pacemaker-1.0.9.1-1.15.el5.i386.rpm) with heartbeat(heartbeat-3.0.3-2.3.el5.i386.rpm) for a production deployment. Node : we are using two node in a cluster and hosting a bunch of application on the HA. We are seeing a strange rebooting of one of the nodes *Managed

[Pacemaker] gemated service

2011-01-17 Thread jiaju liu
I use command crm configure primitive cfs_monitor lsb:gmetad meta resource-stickiness=1 op monitor  timeout=15 interval=15 op force-reload timeout=15   to start a resource gmetad,crm resource show shows cfs_monitor (lsb:gmetad) Started and service gmetad status shows gmetad is stopped my pac