As preparation for setting up CF, execute the following operation.
The operation is not necessary for a single-node cluster in a cloud environment.
Operation Procedure:
Perform the following on all the nodes.
Configuring network interfaces.
[RHEL8]
Edit "ONBOOT" of the /etc/sysconfig/network-scripts/ifcfg-ethX file as follows:
ONBOOT=yes
When using CF over IP
Set up the IP address on the /etc/sysconfig/network-scripts/ifcfg-ethX file
Example: When setting up the IPv4 address
BOOTPROTO=none
IPADDR=<IPADDRESS>
NETMASK=<NETMASK>
When not using CF over IP
Edit "IPV6INIT" of the /etc/sysconfig/network-scripts/ifcfg-ethX file as follows:
IPV6INIT=no
[RHEL9]
Set connection.autoconnect in the network connection profile to yes.
# nmcli connection modify ethX connection.autoconnect yes
When using CF over IP
Set up the IP address in the network connection profile.
Example: When setting up the IPv4 address
# nmcli connection modify ethX ipv4.method manual ipv4.addresses <IPADDRESS>/<PREFIX>
When not using CF over IP
Set the ipv4.method and ipv6.method to disabled in the network connection profile.
# nmcli connection modify ethX ipv4.method disabled ipv6.method disabled
Apply the changes of the network connection profile settings.
# nmcli connection up ethX
Note
ethX indicates a network interface that is used for the cluster interconnect.
A number is specified in X
Confirm the cluster interconnect.
Confirm the state of the interface for the interconnect with the following command.
# ip addr show <relevant interface>
If the state flag with the above command is not "UP", execute the following command to confirm if "UP" is set.
# ip link set <relevant interface> up