[ClusterLabs] SBD fencing not working on my two-node cluster

Philippe M Stedman pmstedma at us.ibm.com
Tue Sep 22 15:57:11 EDT 2020


Hi Klaus,

Thank you very much, that is what the problem was, Pacemaker was using
short hostnames, but SBD was using fully qualified hostnames. I am able to
successfully fence the host now that they both agree on hostname values.

Thanks,

Phil Stedman
Db2 High Availability Development and Support
Email: pmstedma at us.ibm.com



From:	Klaus Wenninger <kwenning at redhat.com>
To:	Cluster Labs - All topics related to open-source clustering
            welcomed <users at clusterlabs.org>
Date:	09/22/2020 12:04 AM
Subject:	[EXTERNAL] Re: [ClusterLabs] SBD fencing not working on my
            two-node cluster
Sent by:	"Users" <users-bounces at clusterlabs.org>



On 9/22/20 8:19 AM, Andrei Borzenkov wrote:
> 22.09.2020 02:06, Philippe M Stedman пишет:
>> Hi Strahil,
>>
>> Here is the output of those commands.... I appreciate the help!
>>
>> # crm config show
>> node 1: ceha03 \
>>         attributes ethmonitor-ens192=1
>> node 2: ceha04 \
>>         attributes ethmonitor-ens192=1
>> (...)
>> primitive stonith_sbd stonith:fence_sbd \
> Try external/sbd agent. So far I have never had any issue with it.
>
>>         params devices="/dev/sde1" \
> What is output of
>
> sbd -d /dev/sde1 list
If what you're getting doesn't match the node-names as pacemaker
sees them you can enforce the names used by sbd in the config-file
with the '-n' option. (alternatively setup pcmk_host_map)
>
> on all nodes? Also try to add sbd_path parameter to point to sbd binary
> location - it is possible that fence_sbd does not find it.

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users


ClusterLabs home:
https://www.clusterlabs.org/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200922/6f1aa3f2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200922/6f1aa3f2/attachment.gif>


More information about the Users mailing list