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-v15.x<version>/SCS/podman-packages-scs-1.3<version>.tar and place it into the folder ‘/root/datacore’.

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

    Code Block
    languagebash
    tar xvf podman-packages-scs-1<version>.3.tar

    The package content should extract as shown below:

    Code Block
    languagebash
    drwxr-xr-x root/root         0 2022-07-26 14:04 podman_packages/
    -rw-r--r-- root/root   2572172 2022-05-31 05:25 podman_packages/podman-plugins-3.0.1-2.el7.3.1.x86_64.rpm
    -rw-r--r-- root/root     69676 2022-05-31 05:26 podman_packages/fuse-overlayfs-1.5.0-1.el7.5.1.x86_64.rpm
    -rw-r--r-- root/root   5836152 2022-05-31 05:26 podman_packages/runc-1.0.1-1.el7.1.1.x86_64.rpm
    -rw-r--r-- root/root     56404 2022-05-31 05:26 podman_packages/skopeo-tests-1.4.1-1.el7.3.1.x86_64.rpm
    -rw-r--r-- root/root     58412 2022-07-26 14:03 podman_packages/containers-common-1-19.el7.28.1.noarch.rpm
    -rw-r--r-- root/root  16927216 2022-05-31 05:26 podman_packages/cri-tools-1.21.0-.el7.3.3.x86_64.rpm
    -rw-r--r-- root/root  37888444 2022-05-31 05:26 podman_packages/containernetworking-plugins-1.1.1-1.el7.2.1.x86_64.rpm
    -rw-r--r-- root/root     40400 2022-05-31 05:26 podman_packages/conmon-2.1.0-2.3.1.x86_64.rpm
    -rw-r--r-- root/root     89680 2022-05-31 05:26 podman_packages/containernetworking-plugins-unit-test-devel-1.1.1-1.el7.2.1.x86_64.rpm
    drwxr-xr-x root/root         0 2022-07-26 14:04 podman_packages/repodata/
    -rw-r--r-- root/root      3118 2022-07-26 14:04 podman_packages/repodata/e1bd697ab7110554ec0b07b37f71ed37dc11de80af2ec49ef1afbbebf5f18d6a-other.xml.gz
    -rw-r--r-- root/root      5270 2022-07-26 14:04 podman_packages/repodata/e2c2d7719a4504241964de9586219ce2eb6dbca257e197bd47d5c0c66ddd941f-other.sqlite.bz2
    -rw-r--r-- root/root      7184 2022-07-26 14:04 podman_packages/repodata/164d35107d4238f8866781dfd2f4c25d0be36d90200e5b126429b345c50c7e10-filelists.sqlite.bz2
    -rw-r--r-- root/root      8178 2022-07-26 14:04 podman_packages/repodata/1f7af3a2e7c17dc774e7fc08120e140fe6a3fd69b355c2348282dcff38631f81-primary.xml.gz
    -rw-r--r-- root/root      2984 2022-07-26 14:04 podman_packages/repodata/repomd.xml
    -rw-r--r-- root/root     16658 2022-07-26 14:04 podman_packages/repodata/c18c2e33ea077cba6597c19092e43ae050c55dd28b327c225a137502a1423234-primary.sqlite.bz2
    -rw-r--r-- root/root      3657 2022-07-26 14:04 podman_packages/repodata/e644b76a4f55d042f97a2cfcfc58a89856615f1333ff163e06cc7d0264c9064c-filelists.xml.gz
    -rw-r--r-- root/root    339264 2022-05-31 05:26 podman_packages/catatonit-0.1.5-1.el7.6.1.x86_64.rpm
    -rw-r--r-- root/root  12610384 2022-05-31 05:26 podman_packages/skopeo-1.4.1-1.el7.3.1.x86_64.rpm
    -rw-r--r-- root/root  22009328 2022-05-31 05:25 podman_packages/podman-3.0.1-2.el7.3.1.x86_64.rpm

    Note:
    This creates a folder ‘podman_packages’ under the ‘/root/datacore/’ folder.

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

    Code Block
    languagebash
    [podman]
    name=Dependencies for install podman 3.0.1
    baseurl=file:///root/datacore/podman_packages
    enabled=true
    gpgcheck=0
  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. Install SCS build.

    CentOS

    Code Block
    languagebash
    yum -y install swarm-scs-<version>.x86_64.rpm

    RHEL

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

    Code Block
    languagebash
    usage: scsctl [-v | --info-log | --debug-log | --trace-log] 
                  [--user USER | --token TOKEN] 
                  options: ... 
    Provides basic control and visibility into the Platform service. 
    
    optional arguments: 
      --user USER    User name and (optionally) password. 
                    If password is included, then this must be in the form "{user_name}:{password}" 
                    (default: None) 
      --token TOKEN  Authentication token. (default: None) 
      
    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 API. 
        backup       Manages backing up and restoring the Platform service. 
        diagnostics  Performs diagnostics on the Platform server setup. 
        init         Utilities for setting up a Swarm environment. 
        license      Manages the license for this Swarm ecosystem installation. 
        repo         Manages the Platform 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 Platform API service at 172.16.33.10:8095. 
    Please ensure the service is up and running.

...