Re: [ClusterLabs] Antw: Re: meatware stonith

2018-09-27 Thread Digimer
On 2018-09-27 03:13 AM, Kristoffer Grönlund wrote:
> On Thu, 2018-09-27 at 02:49 -0400, Digimer wrote:
>> On 2018-09-27 01:54 AM, Ulrich Windl wrote:
>> Digimer  schrieb am 26.09.2018 um 18:29 in
>> Nachricht
>>>
>>> <1c70b5e2-ea8e-8cbe-3d83-e207ca47b...@alteeve.ca>:
 On 2018-09-26 11:11 AM, Patrick Whitney wrote:
> Hey everyone,
>
> I'm doing some pacemaker/corosync/dlm/clvm testing.  I'm
> without a power
> fencing solution at the moment, so I wanted to utilize
> meatware, but it
> doesn't show when I list available stonith devices (pcs stonith
> list).
>
> I do seem to have it on the system, as cluster-glue is
> installed, and I
> see meatware.so and meatclient on the system, and I also see
> meatware
> listed when running the command 'stonith -L' 
>
> Can anyone guide me as to how to create a stonith meatware
> resource
> using pcs? 
>
> Best,
> -Pat

 The "fence_manual" agent was removed after EL5 days, a lng
 time ago,
 because it so often led to split-brains because of misuse. Manual
 fencing is NOT recommended.

 There are new options, like SBD (storage-based death) if you have
 a
 watchdog timer.
>>>
>>> And even if you do not ;-)
>>
>> I've not used SBD. How, without a watchdog timer, can you be sure the
>> target node is dead?
> 
> You can't. You can use the Linux softdog module though, but since it is
> a pure software solution it is limited and not ideal.

That was my understanding, thank you.

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Antw: Re: meatware stonith

2018-09-27 Thread Kristoffer Grönlund
On Thu, 2018-09-27 at 02:49 -0400, Digimer wrote:
> On 2018-09-27 01:54 AM, Ulrich Windl wrote:
> > > > > Digimer  schrieb am 26.09.2018 um 18:29 in
> > > > > Nachricht
> > 
> > <1c70b5e2-ea8e-8cbe-3d83-e207ca47b...@alteeve.ca>:
> > > On 2018-09-26 11:11 AM, Patrick Whitney wrote:
> > > > Hey everyone,
> > > > 
> > > > I'm doing some pacemaker/corosync/dlm/clvm testing.  I'm
> > > > without a power
> > > > fencing solution at the moment, so I wanted to utilize
> > > > meatware, but it
> > > > doesn't show when I list available stonith devices (pcs stonith
> > > > list).
> > > > 
> > > > I do seem to have it on the system, as cluster-glue is
> > > > installed, and I
> > > > see meatware.so and meatclient on the system, and I also see
> > > > meatware
> > > > listed when running the command 'stonith -L' 
> > > > 
> > > > Can anyone guide me as to how to create a stonith meatware
> > > > resource
> > > > using pcs? 
> > > > 
> > > > Best,
> > > > -Pat
> > > 
> > > The "fence_manual" agent was removed after EL5 days, a lng
> > > time ago,
> > > because it so often led to split-brains because of misuse. Manual
> > > fencing is NOT recommended.
> > > 
> > > There are new options, like SBD (storage-based death) if you have
> > > a
> > > watchdog timer.
> > 
> > And even if you do not ;-)
> 
> I've not used SBD. How, without a watchdog timer, can you be sure the
> target node is dead?

You can't. You can use the Linux softdog module though, but since it is
a pure software solution it is limited and not ideal.

> 
-- 

Cheers,
Kristoffer

___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Antw: Re: meatware stonith

2018-09-27 Thread Digimer
On 2018-09-27 01:54 AM, Ulrich Windl wrote:
 Digimer  schrieb am 26.09.2018 um 18:29 in Nachricht
> <1c70b5e2-ea8e-8cbe-3d83-e207ca47b...@alteeve.ca>:
>> On 2018-09-26 11:11 AM, Patrick Whitney wrote:
>>> Hey everyone,
>>>
>>> I'm doing some pacemaker/corosync/dlm/clvm testing.  I'm without a power
>>> fencing solution at the moment, so I wanted to utilize meatware, but it
>>> doesn't show when I list available stonith devices (pcs stonith list).
>>>
>>> I do seem to have it on the system, as cluster-glue is installed, and I
>>> see meatware.so and meatclient on the system, and I also see meatware
>>> listed when running the command 'stonith -L' 
>>>
>>> Can anyone guide me as to how to create a stonith meatware resource
>>> using pcs? 
>>>
>>> Best,
>>> -Pat
>>
>> The "fence_manual" agent was removed after EL5 days, a lng time ago,
>> because it so often led to split-brains because of misuse. Manual
>> fencing is NOT recommended.
>>
>> There are new options, like SBD (storage-based death) if you have a
>> watchdog timer.
> 
> And even if you do not ;-)

I've not used SBD. How, without a watchdog timer, can you be sure the
target node is dead?

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org