I did more testing using the clone type of fencing and worked as I expected.<div><br></div><div>test1 hack init script to return 1 on stop and run a crm resource move on that resource</div><div>result node it was fenced and resource was started on the other node</div>
<div><br></div><div>test2 using firewall to break the heartbeat links on node with resource</div><div>result node it was fenced and resource was started on the other node</div><div><br></div><div>As Dejan suggested I am going to run the same type of tests when 1 fence resource is used.</div>
<div>In this test I will try to cause a fencing on the node which has fencing resource running on it and see if pacemaker moves the resource before it fences the node.</div><div><br></div><div><br></div><div>Cheers,</div>
<div>Pavlos</div><div><br></div>