Displaying 6 results from an estimated 6 matches for "fence_method".
2010 Dec 09
1
[PATCH] Call userspace script when self-fencing
...ed to add it (but i did'nt find a way to flip the fs in RO).
Here is a proposal for this functionnality, based on ocfs2-1.4.7.
This patch add an entry 'fence_cmd' in /sys to specify an userspace
fence script.
This behavior can be selected by echoing the new keyword 'cmd' in
fence_method.
Example :
echo "/usr/local/sbin/my_fencer"> /sys/kernel/config/cluster/ocfs2/fence_cmd
echo "cmd"> /sys/kernel/config/cluster/ocfs2/fence_method
Hope this could interest someone.
Nicolas AGIUS
----------------------------------------------------------------
This m...
2009 Nov 17
1
[PATCH 1/1] ocfs2/cluster: Make fence method configurable
...While this
scheme works well in production, it comes in the way during testing as it
does not let the tester take stack/core dumps for analysis.
This patch allows user to dynamically change the fence method to panic() by:
# echo "panic" > /sys/kernel/config/cluster/<clustername>/fence_method
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
fs/ocfs2/cluster/nodemanager.c | 50 ++++++++++++++++++++++++++++++++++++++++
fs/ocfs2/cluster/nodemanager.h | 7 +++++
fs/ocfs2/cluster/quorum.c | 14 +++++++++-
3 files changed, 69 insertions(+), 2 deletions(-)
di...
2010 Apr 19
0
FW: [Ocfs2-announce] OCFS2 1.4.7-1 and OCFS2 Tools 1.4.4-1 released
...nics. So unless you want the
same, our recommendation would be for you to leave the fence method as-is.
Do note that the fence method of a node can be toggled between "reset"
and "panic" at anytime.
To view the current fence method, do:
# cat /sys/kernel/config/cluster/CLUSTER/fence_method
reset
To change to panic, do:
# echo panic > /sys/kernel/config/CLUSTER/cacl10/fence_method
# cat /sys/kernel/config/cluster/CLUSTER/fence_method
panic
The bug fixes can be classified under three groupings. The first group
involves cluster locking. Specifically in the area of downconver...
2011 Oct 18
12
Unable to stop cluster as heartbeat region still active
Hi,
I have a 2 nodes ocfs2 cluster running UEK 2.6.32-100.0.19.el5,
ocfs2console-1.6.3-2.el5, ocfs2-tools-1.6.3-2.el5.
My problem is that all the time when i try to run /etc/init.d/o2cb stop
it fails with this error:
Stopping O2CB cluster CLUSTER: Failed
Unable to stop cluster as heartbeat region still active
There is no active mount point. I tried to manually stop the heartdbeat
with
2013 Apr 28
2
Is it one issue. Do you have some good ideas, thanks a lot.
Hi, everyone
I have some questions with the OCFS2 when using it as vm-store.
With Ubuntu 1204, kernel version is 3.2.40, and ocfs2-tools version is 1.6.4.
As the network configure change, there are some issues as the log below.
Why is there the information of "Node 255 (he) is the Recovery Master for the dead node 255" in the syslog?
Why the host ZHJD-VM6 is blocked until it reboot
2013 Apr 28
2
Is it one issue. Do you have some good ideas, thanks a lot.
Hi, everyone
I have some questions with the OCFS2 when using it as vm-store.
With Ubuntu 1204, kernel version is 3.2.40, and ocfs2-tools version is 1.6.4.
As the network configure change, there are some issues as the log below.
Why is there the information of "Node 255 (he) is the Recovery Master for the dead node 255" in the syslog?
Why the host ZHJD-VM6 is blocked until it reboot