[Linux-HA] Q: crmd states (IDLE, POLICY, TRANSITION)

2013-04-18 Thread Ulrich Windl
Hi! I just discovered a state transition for crmd when there was nothing to do: --- Apr 19 08:31:24 h05 crmd: [13085]: info: crm_timer_popped: PEngine Recheck Timer (I_PE_CALC) just popped (90ms) Apr 19 08:31:24 h05 crmd: [13085]: notice: do_state_transition: State transition S_IDLE -> S_POL

Re: [Linux-HA] crmsh: location preference for ms-resource

2013-04-18 Thread Andreas Mock
Hi all, thanks to the search capabilities provided by gossamer-threads I could find a solution provided by 'andreas at hastexo'. Thanks to him: http://www.gossamer-threads.com/lists/linuxha/pacemaker/80964?search_string= crm%20master%20location;#80964 --- location avoid_being_th

[Linux-HA] crmsh: location preference for ms-resource

2013-04-18 Thread Andreas Mock
Hi all, can someone tell me how I can configure in crmsh a node preference for a multistate resource in state promoted, so that the master starts preferably on a certain node? Hints very welcome? (I've to admit that I couldn't get it puzzled out with the crm online help, I'm too stupid) Best re

Re: [Linux-HA] Antw: Re: Q: Restarting sbd with new parameters without taking cluster stack down?

2013-04-18 Thread Lars Marowsky-Bree
On 2013-04-18T10:57:12, Ulrich Windl wrote: > I had seen the sources once: I wouldn't patch; I'd rewrite it. The coding > style is just terrible (e.g. no systematic error checking). You're welcome. Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer G

[Linux-HA] Antw: Re: Q: Restarting sbd with new parameters without taking cluster stack down?

2013-04-18 Thread Ulrich Windl
>>> Lars Marowsky-Bree schrieb am 18.04.2013 um 10:45 in >>> Nachricht <20130418084538.ga3...@suse.de>: > On 2013-04-18T09:49:17, Ulrich Windl > wrote: > > > It would be nice if sbd had a built-in restart/upgrade mechanism. > > Yes. Feel free to send a patch ;-) I had seen the sources once:

Re: [Linux-HA] Q: Restarting sbd with new parameters without taking cluster stack down?

2013-04-18 Thread Lars Marowsky-Bree
On 2013-04-18T09:49:17, Ulrich Windl wrote: > It would be nice if sbd had a built-in restart/upgrade mechanism. Yes. Feel free to send a patch ;-) > I guess it wouldn't be too hard to update parameters while sbd is running... > > So is it possible with sbd? If not, why? ;-) Because it wasn't

Re: [Linux-HA] Looking parameters for stop the node if service fails

2013-04-18 Thread Moullé Alain
Hi Or perhaps you can also choose to set the meta parameter failure-timeout to xx secondes, so that resource could migrate back after a failover in case of failure again ... failure-timeout (Default : 0=disabled) : How many seconds to wait before acting as if the failure has not occured, and p

[Linux-HA] Q: Restarting sbd with new parameters without taking cluster stack down?

2013-04-18 Thread Ulrich Windl
Hi! I need to restart sbd with new parameters. Unfortunately I'll have to restart OpenAIS (in SLES11 SP2) to do that, it seems. In effect that means that many productive resources will have to be restarted (as they depend on cLVM and OCFS2). It would be nice if sbd had a built-in restart/upgra

Re: [Linux-HA] Looking parameters for stop the node if service fails

2013-04-18 Thread fabian.herschel
>> > Actually now, I'm looking for configuration/parameters that will stop the >> > running node >> >> Shut it down, stop the cluster software on it, or just stop any other >> resources there? >> > If any resource fails in node1, stop the all resources in node 1 and start > all the resources on no