Re: [Pacemaker] Resource won't switch from one node toanother during power shutdown

2009-04-24 Thread Paul Osier
That fixed it thanks. I thought the stonith-enabled was defaulted to false. I went ahead and added that in the config and now it switches over. Thanks for the help. -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Friday, April 24, 2009 12:03 AM To: pacemaker@

[Pacemaker] new doc about stonith/fencing

2009-04-24 Thread Dejan Muhamedagic
Hi, Trying to make it a bit less mysterious, I wrote something about fencing and stonith quite a while ago and then forgot to share the link. Sorry about that. Here it is: http://www.clusterlabs.org/mediawiki/images/f/f2/Crm_fencing.pdf As usual, constructive criticism/suggestions/etc are welco

Re: [Pacemaker] ocf_log

2009-04-24 Thread Dejan Muhamedagic
Hi, On Thu, Apr 23, 2009 at 04:07:25PM +0200, Andrew Beekhof wrote: > On Mon, Apr 20, 2009 at 17:05, Steve Kwee wrote: > > One minor glitch might be, that the propagated HA_debug does not respond > > to the SIGUSR1 SIGUSR2 signals as the general log messages of lrmd do. > > Right, it would be up

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Dejan Muhamedagic
Hi, On Fri, Apr 24, 2009 at 10:06:24AM +0200, Andrew Beekhof wrote: > On Fri, Apr 24, 2009 at 09:49, Juha Heinanen wrote: > > Andrew Beekhof writes: > > > > ?> + ? ? ? ?crm_config_err("NOTE: Clusters with shared data need STONITH to > > ?> ensure data integrity"); Good! Now crm will also refuse

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Dominik Klein
Andrew Beekhof wrote: > On Fri, Apr 24, 2009 at 09:49, Juha Heinanen wrote: >> Andrew Beekhof writes: >> >> > +crm_config_err("NOTE: Clusters with shared data need STONITH to >> > ensure data integrity"); >> >> is special stonith hardware a must or is there some poor man's stonith >> sol

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Andrew Beekhof
On Fri, Apr 24, 2009 at 09:49, Juha Heinanen wrote: > Andrew Beekhof writes: > >  > +        crm_config_err("NOTE: Clusters with shared data need STONITH to >  > ensure data integrity"); > > is special stonith hardware a must or is there some poor man's stonith > solution, for example, for shared

Re: [Pacemaker] New System Health feature

2009-04-24 Thread Andrew Beekhof
On Fri, Apr 24, 2009 at 01:22, Mark Hamzy wrote: > Here is the start of a patch. Right now I am using hardcoded values for > green/yellow/red. I am posting this to see if I am modifying the correct > part of pacemaker. Mostly. The biggest problem is that your patch wont work if no rsc_location co

Re: [Pacemaker] New System Health feature

2009-04-24 Thread Andrew Beekhof
On Thu, Apr 23, 2009 at 17:49, Mark Hamzy wrote: > Hello, > > I am working on a feature to add system health metrics to HA. With this > information, HA could failover nodes away from hardware that might have > problems. The initial proposal briefly started on the linux-HA mailing list, > but it ha

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Juha Heinanen
Andrew Beekhof writes: > +crm_config_err("NOTE: Clusters with shared data need STONITH to > ensure data integrity"); is special stonith hardware a must or is there some poor man's stonith solution, for example, for shared mysql storage? -- juha

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Andrew Beekhof
On Fri, Apr 24, 2009 at 09:03, Dejan Muhamedagic wrote: > Hi, > > On Thu, Apr 23, 2009 at 04:25:26PM -0400, Paul Osier wrote: > Missing stonith? The default for stonith is enable (see pengine > metadata) and you don't have any stonith resources. crm_verify > should tell you that as well. This se

Re: [Pacemaker] Resource won't switch from one node to another during power shutdown

2009-04-24 Thread Dejan Muhamedagic
Hi, On Thu, Apr 23, 2009 at 04:25:26PM -0400, Paul Osier wrote: > Hi. I have a test system set up with a couple of nodes running Heartbeat > and Pacemaker. I have an IP address resource that is to float between > the two machines. If I gracefully shutdown heartbeat the resource will > move to the