Info |
---|
ImportantCopy the local repo (repo.tar) and Pause Container (k8s.gcr.io_pause_3.2.tar) |
...
to the RHEL/CentOS 7 or RHEL/Rocky Linux 8 server to install SCS Server |
...
15. |
Create a new working directory for the SCS Installation.
...
Download the Swarm Bundle from https://datacore.custhelp.com/app/downloads/downloads
...
...
Code Block mkdir /root/datacore
...
Copy repo.tar and k8s.gcr.io_pause_3.2.tar to “/root/datacore/”.
...
Extra repo.tar to "/root/datacore/packages/”.
...
...
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/
...
podman.repo“.
Note
Verify the file name matches exactly.
Code Block |
---|
[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.
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 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
Code Block yum -y install chrony
Configure sync with local NTP Server.
Info |
---|
...
TipNTP does not sync with the Active Directory. |
Add below hosts records to
/etc/hosts
Code Block {SCS_External_IP} www.datacore.com {SCS_External_IP} k8s.grc.io
Note |
---|
WarningThe external IP addresses used in this step do not have to resolve to the actual hosts shown, but they must resolve to some reachable host. Also, they must not be on the internal or private network used by the storage cluster. |
Install Podman 3.0.1.
Code Block yum -y install podman
Verify
...
the Podman 3.0.1
...
installation is successful
...
.
Code Block language bash podman -v
...
The podman
...
version
...
should be 3.0.1
Load Pause Container.
Code Block 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.
Code Block 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.