Online SCS Installation

Online SCS Installation

Important

If the SCS environment is ever expected to be offline or air-gapped in the future, follow the instructions for offline installation instead. Several dependencies must be put into place to support future upgrades.

Refer to the following steps to install SCS RPM with Internet access:

Installation on Red Hat/Rocky Linux 8

For SCS installation on Red Hat/Rocky Linux 8, please skip to Installing SCS Software.

Preparing Red Hat/CentOS 7 System

For SCS 1.7.1 and onward, Red Hat/CentOS 7 support is deprecated and will be removed in the next release. SCS 1.7.1 should only be installed on these systems as an upgrade to an existing SCS installation, and solely for the purpose of generating a full backup for migrating to a newer supported operating system.

These instructions assume the Swarm zip file- downloaded from here- that looks like Swarm-v<version>-<date>.zip is unzipped to a new directory called /root/datacore.

  1. When installing on RHEL, the best practice is to run the following command first of all:

    sudo subscription-manager refresh

    Install the EPEL release.

    1. Download the latest EPEL package.

      curl -fLO https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    2. Install the downloaded RPM.

      dnf install -y epel-release-latest-7.noarch.rpm
  2. If running Red Hat, enable the server extras repository.

    subscription-manager repos --enable=rhel-7-server-extras-rpms
  3. Copy '/root/datacore/Swarm-<version>/SCS/podman-packages-scs-<version>.tar and place it into the folder ‘/root/datacore’.

    cp /root/datacore/Swarm-<version>/SCS/podman-packages-scs-<version>.tar /root/datacore/
  4. Extract the file ‘podman-packages-scs-<version>.tar’.

    cd /root/datacore/ tar xvf podman-packages-scs-<version>.tar

Note

This creates the ‘podman_packages’ directory under the ‘/root/datacore/’ directory. This location is used in the next step to set up the podman repo.

  1. Add a new local repo.

    printf "[podman] name=Dependencies for install podman 3.0.1 baseurl=file:///root/datacore/podman_packages enabled=true gpgcheck=0" > /etc/yum.repos.d/podman.repo
  2. Enable the new Podman repo.

    • CentOS (no additional steps are required)

    • Red Hat

      dnf install -y dnf-utils dnf-config-manager enable podman.repo dnf repolist enabled
  3. Verify Podman is listed as an enabled repo.

    # dnf repolist enabled repo id repo name status base/7/x86_64 CentOS-7 - Base 10,072 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,768 extras/7/x86_64 CentOS-7 - Extras 518 podman Dependencies for install podman 3.0.1 12 updates/7/x86_64 CentOS-7 - Updates 5,283 repolist: 29,653
  4. Change back to the /root/datacore/Swarm-<version>/SCS/ directory

    cd /root/datacore/Swarm-<version>/SCS/
  5. Import the GPG key if needed.

    rpm --import RPM-GPG-KEY

Installing SCS Software

  1. Install the SCS RPM.
    Red Hat/CentOS 7:

    dnf -y install swarm-scs-<version>.el7.x86_64.rpm

    Red Hat/Rocky Linux 8:

    dnf -y install swarm-scs-<version>.el8.x86_64.rpm
  1. Verify SCS is installed properly. The message about being unable to connect to the Swarm Cluster Services API is expected at this step and is not cause for concern.

    scsctl help

    Example output:

    usage: scsctl [-v | --info-log | --debug-log | --trace-log] options: ... Provides basic control and visibility into Swarm Cluster Services (SCS). output options: These options affect the way output is displayed. -v, --verbose Increase output verbosity (ex: -v, -vv, -vvv). Verbose output is always sent to stdout. (default: None) --info-log Set info-level verbosity (equivalent to -v). (default: None) --debug-log Set debug-level verbosity (equivalent to -vv). (default: None) --trace-log Set trace-level verbosity (equivalent to -vvv). (default: None) subcommands: Which action you wish to perform. To get detailed help, add 'help' to the end. For example: 'scsctl auth help' options: auth Manages persisted credentials for contacting the Swarm Cluster Services API. backup Manages backing up and restoring Swarm Cluster Services. diagnostics Performs diagnostics on the SCS server setup. init Utilities for setting up a Swarm environment. license Manages the license for this Swarm ecosystem installation. repo Manages the Swarm Cluster Services repository. The repository contains installed component versions and other third-party software. system Performs administrative operations on the system. help Outputs this help and exits. ERROR: Cannot connect to the Swarm Cluster Services API service at 172.30.4.103:8095. Please ensure the service is up and running.

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.