Re: [ClusterLabs] fence agent and using it with pacemaker

2016-02-10 Thread Jan Pokorný
On 10/02/16 15:20 +0100, Stanislav Kopp wrote: > I have general, clarification question about how fence agents work > with pacemaker (crmsh in particular). As far I understood STDIN > arguments can be used within pacemaker resources and command line > arguments in terminal (for testing and

Re: [ClusterLabs] Antw: Re: DLM fencing

2016-02-10 Thread Digimer
On 10/02/16 02:40 AM, Ulrich Windl wrote: Digimer schrieb am 08.02.2016 um 20:03 in Nachricht > <56b8e68a.1060...@alteeve.ca>: >> On 08/02/16 01:56 PM, Ferenc Wágner wrote: >>> Ken Gaillot writes: >>> On 02/07/2016 12:21 AM, G Spot wrote:

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Dejan Muhamedagic
On Wed, Feb 10, 2016 at 07:39:27AM +0300, Vladislav Bogdanov wrote: [...] > >> Particularly, imho RAs should not run validate_all on stop > >> action. > > > >I'd disagree here. If the environment is no good (bad > >installation, missing configuration and similar), then the stop > >operation

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Dejan Muhamedagic
On Wed, Feb 10, 2016 at 12:06:34PM +0100, Ferenc Wágner wrote: > Dejan Muhamedagic writes: > > > If the environment is no good (bad installation, missing configuration > > and similar), then the stop operation probably won't do much good. > > Agreed. It may not even know

Re: [ClusterLabs] Cluster resources migration from CMAN to Pacemaker

2016-02-10 Thread Jan Pokorný
On 09/02/16 15:34 +0530, jaspal singla wrote: > Hi Jan/Digiman, (as a matter of fact, Digimer, from Digital Mermaid :-) > Thanks for your replies. Based on your inputs, I managed to configure these > values and results were fine but still have some doubts for which I would > seek your help. I

[ClusterLabs] Antw: Re: Antw: Re: DLM fencing

2016-02-10 Thread Ulrich Windl
>>> Digimer schrieb am 10.02.2016 um 17:32 in Nachricht <56bb6637.6090...@alteeve.ca>: > On 10/02/16 02:40 AM, Ulrich Windl wrote: [...] >>> If fencing fails or is not configured, DLM never unblocks and anything >>> using it is left hung (by design, better to hang than risk

Re: [ClusterLabs] Antw: Re: Antw: Re: DLM fencing

2016-02-10 Thread Digimer
On 11/02/16 02:37 AM, Ulrich Windl wrote: Digimer schrieb am 10.02.2016 um 17:32 in Nachricht > <56bb6637.6090...@alteeve.ca>: >> On 10/02/16 02:40 AM, Ulrich Windl wrote: > > [...] If fencing fails or is not configured, DLM never unblocks and anything using it

Re: [ClusterLabs] Antw: Re: crmsh configure delete for constraints

2016-02-10 Thread Vladislav Bogdanov
10.02.2016 11:38, Ulrich Windl wrote: Vladislav Bogdanov schrieb am 10.02.2016 um 05:39 in Nachricht <6e479808-6362-4932-b2c6-348c7efc4...@hoster-ok.com>: [...] Well, I'd reword. Generally, RA should not exit with error if validation fails on stop. Is that better?

Re: [ClusterLabs] Antw: Re: crmsh configure delete for constraints

2016-02-10 Thread Ferenc Wágner
Vladislav Bogdanov writes: > If pacemaker has got an error on start, it will run stop with the same > set of parameters anyways. And will get error again if that one was > from validation and RA does not differentiate validation for start and > stop. And then circular

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Ferenc Wágner
Dejan Muhamedagic writes: > If the environment is no good (bad installation, missing configuration > and similar), then the stop operation probably won't do much good. Agreed. It may not even know how to probe it. > In ocf-rarun, validate_all is run, but then the

Re: [ClusterLabs] [Linux-HA] Anyone successfully install PAcemaker/Corosync on Freebsd?

2016-02-10 Thread Lars Ellenberg
Moving to users@clusterlabs.org. On Sat, Dec 19, 2015 at 06:47:54PM -0400, mike wrote: > Hi All, > > just curious if anyone has had any luck at one point installing > Pacemaker and Corosync on FreeBSD. According to pacemaker changelog, at least David Shane Holden and Ruben

Re: [ClusterLabs] Antw: Re: crmsh configure delete for constraints

2016-02-10 Thread Vladislav Bogdanov
10.02.2016 13:56, Ferenc Wágner wrote: Vladislav Bogdanov writes: If pacemaker has got an error on start, it will run stop with the same set of parameters anyways. And will get error again if that one was from validation and RA does not differentiate validation for start

[ClusterLabs] Antw: Re: Antw: Re: crmsh configure delete for constraints

2016-02-10 Thread Ulrich Windl
>>> Ferenc Wágner schrieb am 10.02.2016 um 11:56 in Nachricht <87mvr8n896@lant.ki.iif.hu>: > Vladislav Bogdanov writes: > >> If pacemaker has got an error on start, it will run stop with the same >> set of parameters anyways. And will get error again if