search for: fence_cmd

Displaying 1 result from an estimated 1 matches for "fence_cmd".

Did you mean: fence_cb
2010 Dec 09
1
[PATCH] Call userspace script when self-fencing
...m.c:70 about the self-fencing operations : /* It should instead flip the file ?* system RO and call some userspace script. */ So, I tried 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/oc...