Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

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:

  1. Disable the SELinux.

    1. 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
    2. Disable SELinux, by editing the /etc/selinux/config file, commenting out the line SELINUX=enforcing or SELINUX=permissive, and adding the line SELINUX=disabled. Then reboot the server after saving the file.

      vi /etc/selinux/config
      ...
      #SELINUX=enforcing
      SELINUX=disabled
      ...
      reboot
  2. Install the new RPM.

rpm -Uvh swarm-scs-[version].x86_64.rpm
  1. 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
  1. 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:
  2. Reboot the system.

  3. Re-initialize DHCP.

    scsctl init dhcp --dhcp-reserve-lower [integer]   
  4. Choose the SCS version to activate the latest version.

    scsctl platform software activate

  • No labels