corosync totem configuration values do not work in cluster.conf
Issue
- I am using the High Availability Add-On for Red Hat Enterprise Linux 6. After adding a totem interface via
ccs
(to try bind the cluster communication to a specific interface),
ccs -h node01 --exp interface totem ringnumber="0" bindnetaddr="172.16.154.0" mcastaddr="239.192.1.4"
my /etc/cluster/cluster.conf file now contains the section:
<totem>
<interface bindnetaddr="172.16.154.0" mcastaddr="239.192.1.4" ringnumber="0"/>
</totem>
but corosync
doesn't start with this configuration:
# service cman start Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [FAILED]
Corosync logs show
Aug 07 11:51:57 corosync [MAIN ] Corosync Cluster Engine ('1.2.3'): started and ready to provide service.
Aug 07 11:51:57 corosync [MAIN ] Corosync built-in features: nss dbus rdma snmp
Aug 07 11:51:57 corosync [MAIN ] Successfully read config from /etc/cluster/cluster.conf
Aug 07 11:51:57 corosync [MAIN ] Successfully parsed cman config
Aug 07 11:51:57 corosync [MAIN ] parse error in config: No multicast address specified
Aug 07 11:51:57 corosync [MAIN ] Corosync Cluster Engine exiting with status 8 at main.c:1655. corosync died: Could not read cluster configuration Check cluster logs for details
- corosync totem configuration values cause a parser error when starting cman.
Environment
- Red Hat Enterprise Linux Server 6 (with the High Availability Add on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.