Change corosync to use unicast instead of multicast

To change the behaviour of corosync to use unicast addressing instead of mulicast it is necessary to edit /etc/corosync/corosync.conf

From

interface {
 bindnetaddr: 10.50.45.0
 mcastaddr: 226.94.1.1
 mcastport: 4001
 ringnumber: 0
 }

to

interface {
 member {
 memberaddr: 10.50.45.3
 }
 member {
 memberaddr: 10.50.45.33
 }
bindnetaddr: 10.50.45.0
 mcastport: 4001
 ringnumber: 0
ttl: 1
}
transport: udpu

 

Posted in High Availability, Linux, Virtualization