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
_______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
