Adding pacemaker stonith resource fence_rhevm fails

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 6 (with the High Availability Add on)
  • Red Hat Enterprise Linux 7 (with the High Availability Add on)
  • Pacemaker
  • fence_rhevm

Issue

Adding pacemaker stonith resource fence_rhevm fails with timeout logs.

pcs stonith create rhevfence fence_rhevm stonith-timeout=120 pcmk_host_list="node1 node2" pcmk_host_map="node1:rhev-node1 node2:rhev-node2" ipaddr=10.10.100.200 ssl=1 ssl_insecure=1 login=rhevadmin@xxx.yyy.com passwd=xxx port="rhev-node1 rhev-node2" action=reboot

Resolution

Shell timeout should be increased. Some testing may be required to determine the optimal timeout value.
shell_timeout=20

pcs stonith create rhevfence fence_rhevm stonith-timeout=120 pcmk_host_list="node1 node2" pcmk_host_map="node1:rhev-node1 node2:rhev-node2" ipaddr=10.10.100.200 ssl=1 ssl_insecure=1 login=rhevadmin@xxx.yyy.com passwd=xxx port="rhev-node1 rhev-node2" shell_timeout=20 power_wait=25 action=reboot

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.