Installing and configuring Corosync

Let's get down to business now. You must configure IPtables to allow cluster communication traffic among cluster nodes. You must add an iptables rule to allow UDP traffic on 5404 and 5405, and another rule to allow multicast traffic communication. In this screenshot, you can see the commands to use for the iptables configuration:

Installing and configuring Corosync

Note

The default Corosync cluster communication ports are 5404 and 5405, and the UDP protocol is used. The ports are configured in the /etc/corosync/corosync.conf configuration file. If you want to change the default Corosync communication ports, make sure you change iptables accordingly. ...

Get CentOS High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.