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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. flashrom: command not found
  2. How to uninstall certbot software package in Ubuntu
  3. Unable to ssh to server after integration into Active Directory (AD) Domain [CentOS/RHEL 7]
  4. genkernel Command Examples in Linux
  5. archlinux-java: command not found
  6. CentOS / RHEL : How to move a Volume Group from one system to another
  7. kscreen-console: command not found
  8. make: command not found
  9. Difference between the Java heap and native C heap
  10. CentOS / RHEL : How to get the date and time of executed command in the history command output

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright