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:
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.
Once you've run the commands, save the iptables
configuration. In the following screenshot, you can see the command used to save the iptables
configuration:
Note
You must add the IPTables rules and save the IPTables configuration on all cluster nodes. Then continue to install Corosync.
In this screenshot, you can see the command used to...