Versions Compared

Key

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

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

  1. Install the EPEL release.

    1. Download the latest EPEL package.

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

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

    Code Block
    subscription-manager repos --enable=rhel-7-server-extras-rpms
  3. Copy '/root/datacore/Swarm-v14.1/SCS/podman_-packages.tar -scs-1.3.tar’ and place it into the folder ‘/root/datacore’.

  4. Extract the file podman_packages.tar (NOTE: containers-common-packages-scs-1-19.el7.28.1.noarch.rpm must be added to the podman packages shown below!!!)3.tar

    Code Block
    tar xvvf podman_-packages-scs-1.3.tar
  5. The package contents should extract as:

    Code Block
    drwxr-xr-x root/root         0 2022-0507-3126 0514:2704 podman_packages/
    -rw-r--r-- root/root  22009328 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    2572172 69676 2022-05-31 05:2526 podman_packages/podmanfuse-pluginsoverlayfs-31.5.0.-1-2.el7.35.1.x86_64.rpm
    -rw-r--r-- root/root   5836152 339264 2022-05-31 05:26 podman_packages/catatonitrunc-1.0.1.5-1.el7.61.1.x86_64.rpm
    -rw-r--r-- root/root     4040056404 2022-05-31 05:26 podman_packages/conmon-2.1.0-2skopeo-tests-1.4.1-1.el7.3.1.x86_64.rpm
    -rw-r--r-- root/root  37888444   58412 2022-0507-3126 0514:2603 podman_packages/containernetworkingcontainers-pluginscommon-1.1.1-119.el7.228.1.x86_64noarch.rpm
    -rw-r--r-- root/root  16927216   89680 2022-05-31 05:26 podman_packages/containernetworking-plugins-unit-test-develcri-tools-1.121.10-1.el7.23.13.x86_64.rpm
    -rw-r--r-- root/root  1692721637888444 2022-05-31 05:26 podman_packages/cricontainernetworking-toolsplugins-1.211.01-1.el7.32.31.x86_64.rpm
    -rw-r--r-- root/root     6967640400 2022-05-31 05:26 podman_packages/fuseconmon-overlayfs-2.1.5.0-12.el73.5.1.x86_64.rpm
    -rw-r--r-- root/root   5836152  89680 2022-05-31 05:26 podman_packages/runccontainernetworking-plugins-unit-test-devel-1.01.1-1.el7.12.1.x86_64.rpm
    drwxr-xr-x root/root         0 2022-07-26 14:04 podman_packages/repodata/
    -rw-r--r-- root/root   12610384   3118 2022-0507-3126 0514:2604 podman_packages/skopeorepodata/e1bd697ab7110554ec0b07b37f71ed37dc11de80af2ec49ef1afbbebf5f18d6a-1other.4.1-1.el7.3.1.x86_64.rpmxml.gz
    -rw-r--r-- root/root      564045270 2022-0507-3126 0514:2604 podman_packages/repodata/skopeoe2c2d7719a4504241964de9586219ce2eb6dbca257e197bd47d5c0c66ddd941f-tests-1other.4.1-1.el7.3.1.x86_64.rpm
    drwxr-xr-xsqlite.bz2
    -rw-r--r-- root/root       7184  0 2022-0507-3126 0514:2704 podman_packages/repodata/164d35107d4238f8866781dfd2f4c25d0be36d90200e5b126429b345c50c7e10-filelists.sqlite.bz2
    -rw-r--r-- root/root      47308178 2022-0507-3126 0514:2704 podman_packages/repodata/2ada7f5ac7099e31c79b90ad90adc0efa13c5f6101a44fbfd06f27ed175483241f7af3a2e7c17dc774e7fc08120e140fe6a3fd69b355c2348282dcff38631f81-otherprimary.sqlitexml.bz2gz
    -rw-r--r-- root/root      27592984 2022-0507-3126 0514:2704 podman_packages/repodata/fc8d49da48cff8a2f5b1815353f283992f50c787240ff795f8cb86195d5ab88f-otherrepomd.xml.gz
    -rw-r--r-- root/root      634116658 2022-0507-3126 0514:2704 podman_packages/repodata/fa7e866b76f379c77b785878811b3edf546576d0b6ea650300c98efce99c0d3ac18c2e33ea077cba6597c19092e43ae050c55dd28b327c225a137502a1423234-filelistsprimary.sqlite.bz2
    -rw-r--r-- root/root      33023657 2022-0507-3126 0514:2704 podman_packages/repodata/8784e815f651b512ad3b490ee947454f63e366ebcb498e024651f05ec06d8bb2e644b76a4f55d042f97a2cfcfc58a89856615f1333ff163e06cc7d0264c9064c-filelists.xml.gz
    -rw-r--r-- root/root     14938339264 2022-05-31 05:2726 podman_packages/repodata/832aacbe4e539b0f3a20cfae379be8f8e85ca3521eb211644dcf5a807c9d982b-primary.sqlite.bz2catatonit-0.1.5-1.el7.6.1.x86_64.rpm
    -rw-r--r-- root/root  12610384    7731 2022-05-31 05:2726 podman_packages/repodata/fd8a765aedf92cb89ad10e785f49828883adde45b23774fe07bd56550c1ba0b0-primary.xml.gzskopeo-1.4.1-1.el7.3.1.x86_64.rpm
    -rw-r--r-- root/root      297622009328 2022-05-31 05:2725 podman_packages/repodata/repomd.xmlpodman-3.0.1-2.el7.3.1.x86_64.rpm

    Note:
    This creates a folder “podman_packages” in the /root/datacore/ folder.

  6. Add a new local repo with 'at /etc/yum.repos.d/podman.repo' path shown as below with the below content:

    Code Block
    [podman]
    name=Dependencies for install podman 3.0.1
    baseurl=file:///root/datacore/podman_packages
    enabled=true
    gpgcheck=0
  7. Enable the local new podman repo on:

    • CentOS (no additional steps are required, this shows the repo as enabled)

      Code Block
      yum repolist enabled
    • Red Hat

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

  9. Install SCS build.

    Code Block
    yum -y install swarm-scs-1.13.0-12.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] 
                  [--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.

...