Description of problem:
cman init script should skip the fence_tool join step
if FENCE_NO_JOIN is set in /etc/sysconfig/cman. This will
be used with spectator mounts.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Created attachment 312750 [details]
this is a proposed patch to address the problem. If FENCE_NO_JOIN is set, we
skip both invokation of fence_tool join and fence_tool leave.
Similar patch (modulo offset) applies to virtually all branches.
Added variable to FENCE_JOIN to control whether or not the script attempts to
join the fence domain. If FENCE_JOIN is set to "no", the script will not attempt
to join/leave the fence domain for start/stop respectively. If FENCE_JOIN is set
to any other value, the init script will follow the default behavior, which is
to join/leave the fence domain.
Note that this effects fence_xvmd, too. If FENCE_JOIN is set to "no", we also
skip the fence_xmvd step(s) in the init script.
Changed title of this BZ to reflect actual name of variable. Decided that
FENCE_JOIN with yes/no value is most agreeable format for doing this sort of
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.