<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv7811156412"><div id="yui_3_16_0_ym18_1_1458647471985_15107"><div id="yui_3_16_0_ym18_1_1458647471985_15106" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv7811156412"><div id="yiv7811156412yui_3_16_0_ym18_1_1458647471985_9170"><div id="yiv7811156412yui_3_16_0_ym18_1_1458647471985_9169" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr" id="yiv7811156412yui_3_16_0_ym18_1_1458647471985_6451"><div id="yiv7811156412yui_3_16_0_ym18_1_1458647471985_9229"><div>Hi guys, <br></div><div><br></div><div id="yui_3_16_0_ym18_1_1458647471985_15292" dir="ltr"><font color="#4c76a2" size="2">>> You don't have to, there are fencing mechanism beyond power switching<br clear="none">>> (fence_ifmib for controlling data switches, fence_scsi and fence_mpath<br clear="none">>> for restricting data access to shared storage, etc.). Admittedly,<br clear="none">>> their eligibility depends heavily on the particular environment. </font><br></div><div id="yui_3_16_0_ym18_1_1458647471985_15547" dir="ltr"><br clear="none"></div><div id="yui_3_16_0_ym18_1_1458647471985_15296" dir="ltr">It is true that there are many fencing mechanism, but Im using the fence_manual option because Im in a testing enviroment.<br></div><div id="yui_3_16_0_ym18_1_1458647471985_15295" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458647471985_15293" dir="ltr"><font id="yui_3_16_0_ym18_1_1458647471985_15477" color="#4c76a2" size="2">>> Unfortunately, pcs oversimplifies the execution failure.<br clear="none">>> My guess is that you are missing execution permissions:<br clear="none"></font></div><div dir="ltr"><br></div><div dir="ltr">The script has the respective permissions<br></div><div dir="ltr"><font id="yui_3_16_0_ym18_1_1458647471985_15477" color="#4c76a2" size="2"><br></font></div><div id="yui_3_16_0_ym18_1_1458647471985_15603" dir="ltr"><font id="yui_3_16_0_ym18_1_1458647471985_15477" color="#4c76a2" size="2">>> # chmod +x /usr/sbin/fence_manual<br clear="none"><br clear="none">>> If the problem persists, please provide output of<br clear="none"><br clear="none">>> # ls -l /usr/sbin/fence_manual</font></div><div id="yui_3_16_0_ym18_1_1458647471985_15332" dir="ltr"><br></div></div><div id="yiv7811156412yui_3_16_0_ym18_1_1458647471985_9230"><div id="yui_3_16_0_ym18_1_1458647471985_16023">These are some lines of the ls -l command <br></div><div id="yui_3_16_0_ym18_1_1458647471985_16024"><br></div></div>-rwxr-xr-x. 1 root root 2696 Nov 20 17:39 fence_intelmodular<br>-rwxr-xr-x. 1 root root 4170 Nov 20 17:39 fence_ipdu<br>-rwxr-xr-x. 1 root root 5489 Nov 20 17:39 fence_ipmilan<br>-rwxr-xr-x. 1 root root 23952 Nov 20 17:39 fence_kdump<br><font id="yui_3_16_0_ym18_1_1458647471985_15765" color="#9d1811">-rwxr-xr-x 1 root root 2731 Mar 22 2016 fence_manual <-- **this is the line for my script</font><br>-rwxr-xr-x. 1 root root 8145 Nov 20 17:39 fence_mpath<br>-rwxr-xr-x. 1 root root 5452 Feb 16 17:41 fence_pcmk<br>-rwxr-xr-x. 1 root root 4283 Nov 20 17:39 fence_rhevm<br>-rwxr-xr-x. 1 root root 2016 Nov 20 17:39 fence_rsa<br>-rwxr-xr-x. 1 root root 2460 Nov 20 17:39 fence_rsb<br><div id="yui_3_16_0_ym18_1_1458647471985_15705"><br></div><div dir="ltr" id="yui_3_16_0_ym18_1_1458647471985_15148">**this file does not have the "." (dot) in the permissions, because SELinux is disabled.<br></div><div id="yui_3_16_0_ym18_1_1458647471985_15149" dir="ltr"><br clear="none"># 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"</div><div id="yui_3_16_0_ym18_1_1458647471985_16158" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458647471985_16248" dir="ltr">The error persists</div><div id="yui_3_16_0_ym18_1_1458647471985_16249" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458647471985_16157" dir="ltr"><font id="yui_3_16_0_ym18_1_1458647471985_16250" color="#cd232c" size="2">Error: Unable to create resource 'stonith:fence_node_01', it is not installed on this system (use --force to override)</font><br></div><div id="yui_3_16_0_ym18_1_1458647471985_16171" dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1458647471985_16207" dir="ltr">Thanks to everyone</div><div id="yui_3_16_0_ym18_1_1458647471985_16320" dir="ltr"><br></div></div></div></div></div></div></div></div></div></body></html>