Important
This document is intended to provide upgrading steps for the latest SCS version for Rocky Linux 8 and above. If you are planning to migrate from CentOS 7 to Rocky Linux 8, please refer to the doc here.
Upgrade Notes
Complete the SCS upgrade first if upgrading both SCS and Swarm Storage simultaneously. Then add the new Swarm Storage component to the SCS repo (using
scsctl repo component add ...
).
Refer to the following steps to upgrade SCS:
Disable the SELinux.
Check if SELinux is enabled or disabled. In a default RL8 installation, it will be Enforcing. However, if it is already disabled, skip to step 2.
getenforce
Disable SELinux, by editing the
/etc/selinux/config
file, commenting out the lineSELINUX=enforcing
orSELINUX=permissive
, and adding the lineSELINUX=disabled
. Then reboot the server after saving the file.vi /etc/selinux/config ... #SELINUX=enforcing SELINUX=disabled ... reboot
Install the new RPM.
rpm -Uvh swarm-scs-[version].x86_64.rpm
Run the following command.
scsctl diagnostics upgrade_check
Note
Refer to the following step if an error occurs during the upgrade_check
command:
systemctl restart swarm-platform && sleep 90
Run the diagnostics check.
scsctl diagnostics config scan_missing
It shows the below output:
Running step [11/11]: Show the next steps after this wizard ******************************************************************************** Congratulations, your Swarm Cluster Services server has been upgraded! Please reboot, then run the following to ensure your system is fully configured:
Reboot the system.
Re-initialize DHCP.
scsctl init dhcp --dhcp-reserve-lower [integer]
Choose the SCS version to activate the latest version.
scsctl platform software activate