Copy the local repo (repo.tar) and Pause Container (k8s.gcr.io_pause_3.2.tar) created from the previous session to the CentOS 7 to install SCS Server 14.
Create a new working directory for SCS Installation.
mkdir /root/datacore
Download the Swarm Bundle from https:/
/datacore.custhelp.com/app/downloads/downloadsSCP Swarm Bundle Package to “/
root/datacore
/” and unzip it.Copy repo.tar and k8s.gcr.io_pause_3.2.tar to “/root/datacore/”.
Extract repo.tar to "/root/datacore/packages/”.
Code Block language bash ll /root/datacore/ total 986944 -rwxr-xr-x. 1 root root 953 Nov 19 10:31 castor_license.txt d-wxrw--wt. 2 root root 4096 Nov 19 10:33 Elasticsearch d-wxrw--wt. 2 root root 4096 Nov 19 10:33 Gateway -rwxr-xr-x. 1 root root 692224 Nov 19 10:40 k8s.gcr.io_pause_3.2.tar drwxr-xr-x. 3 root root 61440 Nov 17 15:08 packages d-wxrw--wt. 2 root root 4096 Nov 24 00:45 Platform -rwxr-xr-x. 1 root root 2372 Nov 19 10:31 README.txt --wxrw--wt. 1 root root 983029760 Nov 19 10:34 repo.tar d-wxrw--wt. 2 root root 4096 Nov 19 10:31 UI
Create a local repo - “/etc/yum.repos.d/local.repo”.
Code Block [local] name=Everything we need to install scs baseurl=file:///root/datacore/packages enabled=true gpgcheck=0
Create a local repo for installing Podman. Example: “/etc/yum.repos.d/devel:kubic:libcontainers:stable.repo“.
Note:
Verify that the file name is exactly matched.Code Block [kubic] name=Stable Releases of Upstream packages (CentOS_7) baseurl=file:///root/datacore/packages enabled=true gpgcheck=0
Disable base, updates, extras, and CentOsPlus repositories. Add enable=0 to [base], [updates], [extras] and [centosplus] session of “/etc/yum.repos.d/CentOS-Base.repo” or rename it.
Code Block language bash [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled=0 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled=0 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Flush repo metadata.
Code Block yum clean all yum repolist
Install NTP Server (don’t use Active Directory as NTP Server Source).
yum -y install chrony
Configure sync with local NTP Server.
IMPORTANT:
NTP does not sync with the Active Directory.Install Podman 3.0.1.
yum -y install podman
Verify if Podman 3.0.1 install is successful or not.
Code Block language bash podman -v podman version 3.0.1
Load Pause Container.
podman image load -i /root/datacore/k8s.gcr.io_pause_3.2.tar
Verify the Pause Container is loaded. Ensure that the container TAG label is 3.2.
Code Block podman images REPOSITORY TAG IMAGE ID CREATED SIZE k8s.gcr.io/pause 3.2 80d28bedfe5d 22 months ago 688 kB
Refer to Install the RPM and follow step 5 onwards.
...