Versions Compared

Key

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

...

  1. Install the EPEL release.

    1. Download the latest EPEL package.

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

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

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

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

    Code Block
    languagebash
    tar xvf /root/datacore/podman-packages-scs-<version>.tar

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

  5. Add a new local repo at '/etc/yum.repos.d/podman. repo' with the below content:

    Code Block
    languagebash
    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
  6. Enable the new Podman repo.

    • CentOS (no additional steps are required)

      Code Block
      languagebash
      yum repolist enabled
    • Red Hat

      Code Block
      languagebash
      yum install -y yum-utils
      yum-config-manager enable podman.repo
      yum repolist enabled
  7. Verify Podman is listed as an enabled repo.

  8. Import the GPG key if needed.

    Code Block
    rpm --import RPM-GPG-KEY
  9. Install the SCS build.

    Code Block
    yum -y install swarm-scs-<version>.el7.x86_64.rpm
  10. Check the scsctl help command to verify the SCS is installed.

    Code Block
    languagebash
    usage: scsctl [-v | --info-log | --debug-log | --trace-log]

    Example output:

    Code Block
    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                                   [--user USER | --token TOKEN]             Dependencies for install options:podman 3... 
    Provides basic control and visibility into the Platform service. 
    
    optional arguments: 
      --user USER    User name and (optionally) password.0.1                                                       12
    updates/7/x86_64                                          CentOS-7 - Updates                                                   If password is included, then this must be in the form "{user_name}:{password}"         5,283
    repolist: 29,653
  11. Change back to the /root/datacore/Swarm-<version>/SCS/ directory

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

    Code Block
    rpm --import RPM-GPG-KEY
  13. Install the SCS RPM.

    Code Block
    yum -y install  (default: None) 
      --token TOKEN  Authentication token. (default: None) 
     swarm-scs-<version>.el7.x86_64.rpm
  14. Verify SCS is installed properly. The ERROR about being unable to connect to the Swarm Cluster Services API is expected at this step and is not cause for concern.

    Code Block
    scsctl help

    Example output:

    Code Block
    languagebash
    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 Platform Swarm
                     Cluster Services API.
         backup       Manages backing up and restoring theSwarm PlatformCluster serviceServices.
         diagnostics  Performs diagnostics on the PlatformSCS server setup. 
        init         Utilities for setting up a Swarm environment. 
        license      Manages the license for this Swarm ecosystem installation. 
        repo         Manages the Swarm PlatformCluster 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 PlatformServices API service at
    172.1630.334.10103:8095.  Please ensure the service is up and running.

...