• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Change Pacemaker Cluster Heartbeat Timeout In CentOS/RHEL 7

by admin

Question: How to change pacemaker cluster heartbeat timeout in CentOS/RHEL 7?

By default, the heartbeat of pacemaker in CentOS/RHEL 7 is set to 1000(ms), you could increase it by the below steps.

1. Appending/Chaning the token to the totem section in the corosync config file /etc/corosync/corosync.conf.

# cat /etc/corosync/corosync.conf
totem {
    version: 2
    cluster_name: pcmk
    secauth: off
    transport: udpu
    token: 10000     <---- change totem timeout to 10s.
}

2. After adding/editing token to the corosync.conf, on the modified node, sync config file to all cluster nodes manually:

# pcs cluster sync

3. Reload corosync by below command, the command will take effect to all nodes without a downtime.

# pcs cluster reload corosync

4. For verifying, use the below command and check the attribute ‘runtime.config.totem.token‘

# corosync-cmapctl | grep totem.token

Filed Under: Linux, pacemaker

Some more articles you might also be interested in …

  1. What is Anacron and usage of Anacron in Linux
  2. How to Configure Existing Lvm Volume Group to Use DM-Multipath
  3. Linux / UNIX : How to create primary partition using fdisk
  4. finch Command Examples in Linux
  5. create_ap: command not found
  6. namcap Command Examples in Linux
  7. How To Create Virtual Data Optimizer(VD0) in CentOS/RHEL 7 and 8
  8. mpg123: command not found
  9. yum: command not found
  10. wifi-menu: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright