Refer to the following steps to install SCS RPM with Internet access:
Install the EPEL release.
Download the latest EPEL package.
curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Install the downloaded RPM.
yum install epel-release-latest-7.noarch.rpm
If running Red Hat, enable the server extras repository.
subscription-manager repos --enable=rhel-7-server-extras-rpms
Copy '/root/datacore/Swarm-v14.1/SCS/podman_packages.tar’ and place it into the folder ‘/root/datacore’.
Extract the file
podman_packages.tar
[root@zorc1 datacore]# tar xvvf podman_packages.tar drwxr-xr-x root/root 0 2022-05-31 05:27 podman_packages/ -rw-r--r-- root/root 22009328 2022-05-31 05:25 podman_packages/podman-3.0.1-2.el7.3.1.x86_64.rpm -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 339264 2022-05-31 05:26 podman_packages/catatonit-0.1.5-1.el7.6.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 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 89680 2022-05-31 05:26 podman_packages/containernetworking-plugins-unit-test-devel-1.1.1-1.el7.2.1.x86_64.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 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 12610384 2022-05-31 05:26 podman_packages/skopeo-1.4.1-1.el7.3.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 drwxr-xr-x root/root 0 2022-05-31 05:27 podman_packages/repodata/ -rw-r--r-- root/root 4730 2022-05-31 05:27 podman_packages/repodata/2ada7f5ac7099e31c79b90ad90adc0efa13c5f6101a44fbfd06f27ed17548324-other.sqlite.bz2 -rw-r--r-- root/root 2759 2022-05-31 05:27 podman_packages/repodata/fc8d49da48cff8a2f5b1815353f283992f50c787240ff795f8cb86195d5ab88f-other.xml.gz -rw-r--r-- root/root 6341 2022-05-31 05:27 podman_packages/repodata/fa7e866b76f379c77b785878811b3edf546576d0b6ea650300c98efce99c0d3a-filelists.sqlite.bz2 -rw-r--r-- root/root 3302 2022-05-31 05:27 podman_packages/repodata/8784e815f651b512ad3b490ee947454f63e366ebcb498e024651f05ec06d8bb2-filelists.xml.gz -rw-r--r-- root/root 14938 2022-05-31 05:27 podman_packages/repodata/832aacbe4e539b0f3a20cfae379be8f8e85ca3521eb211644dcf5a807c9d982b-primary.sqlite.bz2 -rw-r--r-- root/root 7731 2022-05-31 05:27 podman_packages/repodata/fd8a765aedf92cb89ad10e785f49828883adde45b23774fe07bd56550c1ba0b0-primary.xml.gz -rw-r--r-- root/root 2976 2022-05-31 05:27 podman_packages/repodata/repomd.xml
Note:
This creates a folder “podman_packages” in the/root/datacore
folder.Add a new local repo with '/etc/yum.repos.d/podman.repo' path shown as below:
[podman] name=Dependencies for install podman 3.0.1 baseurl=file:///root/datacore/podman_packages enabled=true gpgcheck=0
Enable the local repo on:
CentOS (no additional steps are required, this shows the repo as enabled)
yum repolist enabled
Red Hat
yum config-manager enable podman.repo yum repolist enabled
Verify podman is listed as an enabled repo.
Install SCS build.
yum -y install swarm-scs-1.1.0-1.x86_64.rpm
Check the
scsctl help
command to verify the SCS is installed.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.