Important
Copy the local repo (repo.tar) and Pause Container (k8s.gcr.io_pause_3.2.tar) to the CentOS 7 server to install SCS Server 15.
Create a new working directory for the SCS Installation.
mkdir /root/datacore
Copy repo.tar and k8s.gcr.io_pause_3.2.tar to “/root/datacore/”.
Create a local repo - “/etc/yum.repos.d/local.repo”.
[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/podman.repo“.
Note
Verify the file name matches exactly.
[podman] name=Dependencies for install podman 3.0.1 baseurl=file:///root/datacore/podman_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.
[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.
yum clean all yum repolist
Install an NTP Server. Do not use Active Directory as an NTP Server Source.
“The W32Time service is not a full-featured NTP solution that meets time-sensitive application needs.”“The W32Time service cannot reliably maintain sync time to the range of 1 to 2 seconds. Such tolerances are outside the design specification of the W32Time service.”
From Microsoft KB 939322
yum -y install chrony
Configure sync with local NTP Server.
Important
NTP does not sync with the Active Directory.
Add below hosts records to
/etc/hosts
{SCS_External_IP} www.datacore.com {SCS_External_IP} k8s.grc.io
Install Podman 3.0.1.
yum -y install podman
Verify the Podman 3.0.1 installation is successful.
podman -v
The podman version should be 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 and the container TAG label is 3.2.
podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
k8s.gcr.io/pause 3.2 80d28bedfe5d 22 months ago 688 kB
Refer to https://caringo.atlassian.net/wiki/spaces/public/pages/3042345098/Online+SCS+Installation and follow step 5 onwards.
Note that the IP addresses supplied for the hostnames in /etc/hosts, in step #9 above do not have to resolve to those actual host over the Internet, but they must resolve to some host on a network that in not the internal, private network used by the storage cluster.