[ClusterLabs] CentOS 7 - Corosync configuration

Takehiro Matsushima takehiro.dreamizm at gmail.com
Fri Mar 6 11:54:27 EST 2015


Hi, Willi,

To activate secauth, you should prepare a key.
Try following and place the key /etc/corosync/ on all nodes;
# corosync-keygen
then delete a line 'secauth' or define 'secauth: on' in corosync.conf.

To activate rrp, modify nodelist directive like this;
----(snip.)----
nodelist {
  node {
        ring0_addr: [REAL-IPADDR-FOR-RING0-IFACE]
        ring1_addr: [REAL-IPADDR-FOR-RING1-IFACE]
        nodeid: 1
  }
  node {
        ring0_addr: [REAL-IPADDR-FOR-RING0-IFACE]
        ring1_addr: [REAL-IPADDR-FOR-RING1-IFACE]
        nodeid: 2
   }
}
--------
and add 'rrp_mode: active' in corosync.conf.

For details, see 'man 5 corosync.conf' and
'/etc/corosync/corosync.conf.example.udpu'.


Alternatively, 'bonding' may be useable.


Regards,
Takehiro Matsushima




More information about the Users mailing list