How do I update post_fail_delay or post_join_delay without restarting the cluster?
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_delayorpost_join_delayparameters 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.el5or later- Login to
luci. - Select your cluster.
- Click configure.
- Click the fence tab.
- Enter your values and click apply.
- 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
lucithen after propagating thecluster.confrun the command on all cluster nodesfence_tool readconfigfor the changes to take affect.To check that the settings have been applied then use the
fence_toolcommand: - Login to
# 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
- Login to
luci. - Select your cluster.
- Click configure.
- Click Fence Daemon.
- 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_toolcommand: - Login to
# 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
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.