Bug 455598 - FENCE_JOIN option for cman init script
FENCE_JOIN option for cman init script
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman (Show other bugs)
5.2
All Linux
low Severity low
: rc
: ---
Assigned To: Ryan O'Hara
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-16 10:46 EDT by David Teigland
Modified: 2009-04-16 19:00 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 16:52:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed fix (531 bytes, patch)
2008-07-28 00:47 EDT, Fabio Massimo Di Nitto
no flags Details | Diff

  None (edit)
Description David Teigland 2008-07-16 10:46:43 EDT
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 RHEL Product and Program Management 2008-07-16 10:53:50 EDT
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
release.
Comment 2 Fabio Massimo Di Nitto 2008-07-28 00:47:03 EDT
Created attachment 312750 [details]
proposed fix

Hi David,

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.

Fabio
Comment 3 Ryan O'Hara 2008-07-28 11:59:08 EDT
Fixed.

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
control.
Comment 6 errata-xmlrpc 2009-01-20 16:52:58 EST
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.

http://rhn.redhat.com/errata/RHBA-2009-0189.html

Note You need to log in before you can comment on or make changes to this bug.