CCI uses the following UDP ports to communicate with remote instances.
If a firewall exists on the server on which CCI is installed and the communication network, you need to set the firewall not to block communication that uses these ports.
|
UDP port |
Description |
|---|---|
|
UDP port defined in HORCM_MON in the configuration definition file |
CCI uses this port for the following purposes:
|
|
UDP port defined in HORCM_INST or HORCM_INSTP in the configuration definition file |
CCI uses this port as the destination port when communicating with a remote instance. |
- If there is an instance number: UDP port of instance number + 31001
- If there is no instance number: UDP port of number 31000
The following is a configuration example of the firewall settings and an example of the communication list that needs to be allowed on the server on which CCI is installed.
Set all firewalls as shown in the configuration example to allow all communication in the table.
The following figure shows a configuration example of CCI server, network, and firewall.
|
Source |
Destination |
||
|---|---|---|---|
|
IP address |
Port number |
IP address |
Port number |
|
192.0.2.1 |
UDP:31001 |
192.0.2.2 |
UDP:31002 |
|
192.0.2.2 |
UDP:31002 |
192.0.2.1 |
UDP:31002 |
- Log in to the CCI server and use the following command to verify that the firewalld service is enabled:
systemctl status firewalld
If the firewalld service is stopped, enable it.
- Use the following command to add a rule to firewalld for all ports used by the CCI instances:
firewall-cmd --add-port=<port number in use>/udp --permanent
- Use the following command to reload the firewalld service and enable the settings:
firewall-cmd --reload
- Use the following command to confirm the settings are enabled:
firewall-cmd --list-all