O'Reilly logo

CentOS High Availability by Mitja Resman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required