How do I update post_fail_delay or post_join_delay without restarting the cluster?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux 5 (with High Availability Add-On)
    • cman-2.0.115-34.el5 or later
  • Red Hat Enterprise Linux 6 (with High Availability Add-On)

Issue

  • How to update post_fail_delay or post_join_delay parameters on the nodes without restarting the entire cluster?

Resolution

This procedure outlines how to update the attributes post_fail_delay and post_join_delay without restarting the cluster.

  • Red Hat Enterprise Linux 5 with cman-2.0.115-34.el5 or later

    1. Login to luci.
    2. Select your cluster.
    3. Click configure.
    4. Click the fence tab.
    5. Enter your values and click apply.
    6. Once this is done then run the following command on all cluster nodes: fence_tool readconfig

    If you make these changes from the command line on Red Hat Enterprise Linux 5 instead of using luci then after propagating the cluster.conf run the command on all cluster nodes fence_tool readconfig for the changes to take affect.

    To check that the settings have been applied then use the fence_tool command:

# fence_tool readconfig
# fence_tool dumpconfig
post_fail_delay = 15
post_join_delay = 35
clean_start = 0
skip_undefined = 0
override_path = /var/run/cluster/fenced_override
  • Red Hat Enterprise Linux 6

    1. Login to luci.
    2. Select your cluster.
    3. Click configure.
    4. Click Fence Daemon.
    5. Enter your values and click apply.

    If you make these changes from the command line on Red Hat Enterprise Linux 6 instead of using luci, when you propagate the changes they will immediately take affect.

    To check that the settings have been applied then use the fence_tool command:

# fence_tool dump | grep -a -ie post_join -ie post_fail
1400074680 /cluster/fence_daemon/@post_join_delay is 30
1400074680 /cluster/fence_daemon/@post_fail_delay is 0
SBR
Components
Category

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.