[ClusterLabs] Error creating a fence mechanism

Douglas Restrepo lucas_max2002 at yahoo.es
Tue Mar 22 09:16:07 EDT 2016

Hi guys, 

>> You don't have to, there are fencing mechanism beyond power switching
>> (fence_ifmib for controlling data switches, fence_scsi and fence_mpath
>> for restricting data access to shared storage, etc.).  Admittedly,
>> their eligibility depends heavily on the particular environment. 

It is true that there are many fencing mechanism, but Im using the fence_manual option because Im in a testing enviroment.

>> Unfortunately, pcs oversimplifies the execution failure.
>> My guess is that you are missing execution permissions:

The script has the respective permissions

>> # chmod +x /usr/sbin/fence_manual

>> If the problem persists, please provide output of

>> # ls -l /usr/sbin/fence_manual
These are some lines of the ls -l command 

-rwxr-xr-x. 1 root root  2696 Nov 20 17:39 fence_intelmodular
-rwxr-xr-x. 1 root root  4170 Nov 20 17:39 fence_ipdu
-rwxr-xr-x. 1 root root  5489 Nov 20 17:39 fence_ipmilan
-rwxr-xr-x. 1 root root 23952 Nov 20 17:39 fence_kdump
-rwxr-xr-x  1 root root  2731 Mar 22  2016 fence_manual                    <-- **this is the line for my script
-rwxr-xr-x. 1 root root  8145 Nov 20 17:39 fence_mpath
-rwxr-xr-x. 1 root root  5452 Feb 16 17:41 fence_pcmk
-rwxr-xr-x. 1 root root  4283 Nov 20 17:39 fence_rhevm
-rwxr-xr-x. 1 root root  2016 Nov 20 17:39 fence_rsa
-rwxr-xr-x. 1 root root  2460 Nov 20 17:39 fence_rsb

**this file does not have the "." (dot) in the permissions, because SELinux is disabled.

# pcs -f stonith_cfg stonith create fence fence_node_01 fence_manual ipaddr="node-01" action="off" passwd="passwd" login="admin" pcmk_host_list="node-01"
The error persists
Error: Unable to create resource 'stonith:fence_node_01', it is not installed on this system (use --force to override)

Thanks to everyone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160322/765cef68/attachment-0003.html>

More information about the Users mailing list