Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Important

This document is intended to provide upgrading steps for SCS 1.7.1 for CentOS only. If you are planning to migrate from CentOS 7 to Rocky Linux 8,

...

refer

...

to Migrating Swarm Components from CentOS 7 to Rocky Linux 8.

Directly upgrading from SCS 1.2 to SCS 1.3 is not supported, but this limitation is removed starting with SCS 1.4. Swarm supports upgrading from SCS 1.1, 1.2, or 1.3 to SCS 1.4 and booting from Storage bundle v15.0 with multicast disabled.

...

Refer to the following steps to upgrade SCS for CentOS 7:

If static IP addresses were previously assigned before this upgrade, skip this step and proceed to step#2.

...

Allow DHCP to assign IP addresses
When the cluster nodes are rebooted, DHCP will assign an IP address to each node. If the nodes have already been booted with manually assigned IPs, the assigned IP addresses will remain the same. If IP addresses were not manually assigned, but existing DHCP leases are still in effect, then currently assigned IP addresses will remain the same. If existing DHCP leases have expired (or this is the first boot of the storage cluster), DHCP will assign IP addresses from the allocated pool in no particular order, so proceed to “Boot/reboot” Swarm nodes.

...

  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.

      Code Block
      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.

      Code Block
      vi /etc/selinux/config
      ...
      #SELINUX=enforcing
      SELINUX=disabled
      ...
      reboot
  2. If static IP addresses were previously assigned using instance level node.cfg overrides , this need to be removed prior to upgrading. This procedure is fully explained in Configuring Swarm for Static IPs with Swarm Cluster Services (SCS)

    ).
    The summary of the manual assignment procedure is:
  3. Get an instance list that provides a node ID to use in the next step.

    Code Block
    scsctl storage instance list
  4. Assign an IP address to each node.

    Code Blockscsctl storage config set -d -i {chassis ID} "network.ipV4Address={your.static.address.here}"

    . Static IPs can be defined using the procedure explained in Configuring Swarm for Static IPs with Swarm Cluster Services (SCS) .

  5. Install the new RPM.

    Code Block
    rpm -Uvh swarm-scs-[version].x86_64.rpm
  6. Run the following command.

    Code Block
    scsctl diagnostics upgrade_check

...