Take the following steps in addition to the preparation described above, if you are copying a cloud environment.
If you are using GLS, reset the IP address and other settings on the GLS virtual interface to the OS standard NIC.
You must change the network settings to disable the automatic startup of PRIMECLUSTER services.
Change ONBOOT to no in /etc/sysconfig/network-scripts/ifcfg-sha0.
Comment out PEERDNS in /etc/sysconfig/network-scripts/ifcfg-eth0 and change BOOTPROTO to dhcp and DEFROUTE to yes.
In the nmcli connection modify command, change connection.autoconnect to no for sha0.
In the nmcli connection modify command, change the following parameters for eth0.
ipv4.method "auto"
ipv4.ignore-auto-dns "No"
ipv4.never-default "No"
Save the ifcfg-eth0 (for RHEL 8) and eth0.nmconnection (for RHEL 9) files on the copy source server because cloud-init may overwrite ifcfg-eth0 (for RHEL 8) and eth0.nmconnection (for RHEL 9) after copying system.
Note
For RHEL8, when creating backup of the physical interface settings ( the "/etc/sysconfig/network-scripts/ifcfg-ethX" file ) , the file name must begin with names other than "ifcfg-". (e.g., bak_ifcfg-ethX)
If the file name begins with "ifcfg-", OS might recognize the interface as an interface to be activated during system startup.
For RHEL9, due to the naming convention for key files (/etc/NetworkManager/system-connections/ethX.nmconnection file), the file name must end with names other than ".nmconnection" when creating a backup to prevent NetworkManager from mistaking it for a key file. (e.g., ethX.nmconnection.bak)
#cp -p /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/bak_ifcfg-eth0
#cp -p /etc/NetworkManager/system-connections/eth0.nmconnection /etc/NetworkManager/system-connections/eth0.nmconnection.bak
Disable automatic startup of the PRIMECLUSTER service on all nodes.
#/opt/FJSVpclinst/bin/pclservice off