Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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.

  1. Create a new working directory for SCS Installation.
    mkdir /root/datacore 

  2. Download the Swarm Bundle from https://datacore.custhelp.com/app/downloads/downloads  

     

  3. SCP Swarm Bundle Package to “/root/datacore/” and unzip it. 

  4. Copy repo.tar and k8s.gcr.io_pause_3.2.tar to “/root/datacore/”.

  5. Extract 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 
  6. 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
  7. Create a local repo for installing Podman. Example: “/etc/yum.repos.d/devel:kubic:libcontainers:stable.repo“.

    [kubic] 
    name=Stable Releases of Upstream   packages (CentOS_7) 
    baseurl=file:///root/datacore/packages 
    enabled=true 
    gpgcheck=0 
  8. 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 
  9. Flush repo metadata.

    yum clean all
    yum repolist
  10. Install NTP Server (don’t use Active Directory as NTP Server Source).
    yum -y install chrony

  11. Configure sync with local NTP Server.
    IMPORTANT:
    NTP does not sync with the Active Directory.

  12. Install Podman 3.0.1.
    yum -y install podman

  13. Verify if Podman 3.0.1 install is successful or not.

    podman -v
    podman version 3.0.1
  14. Load Pause Container.
    podman image load -i /root/datacore/k8s.gcr.io_pause_3.2.tar

  15. Verify the Pause Container is loaded. Ensure that 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 
  16. Refer to Install the RPM and follow step 5 onwards.

  • No labels