I'm wondering about the purpose of the multicast address in the corosync messaging software :
Since we have to bind each net interface with an IP address and a specific port,
and each ring communicate through those IP,
I don't understand why we have to use also a multicast address.
Thank you !
[EDIT]
Ok, but corosync fail to start when I comment the multicast address :
[MAIN ] parse error in config: No multicast address specified
Here is my config file, I used the guide Cluster from Scratch to configure the solution and most of settings are defaults ..
totem {
version: 2
token: 3000
token_retransmits_before_loss_const: 10
join: 60
consensus: 3600
vsftype: none
max_messages: 20
clear_node_high_bit: yes
secauth: off
threads: 0
rrp_mode: passive
interface {
ringnumber: 0
bindnetaddr: 10.55.54.1
mcastaddr: 226.97.1.2
mcastport: 5409
}
interface {
ringnumber: 1
bindnetaddr: 192.168.40.140
mcastaddr: 226.96.1.1
mcastport: 5408
}
}
amf {
mode: disabled
}
service {
# Load the Pacemaker Cluster Resource Manager
ver: 0
name: pacemaker
}
aisexec {
user: root
group: root
}
logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
syslog_facility: daemon
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
tags: enter|leave|trace1|trace2|trace3|trace4|trace6
}
}