Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 (Zore).

...

  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. Extra repo.tar to "/root/datacore/”.

    Code Block
    languagebash
    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”.

    Code Block
    [local] 
    name=Everything we need to install zorc
    baseurl=file:///root/datacore/packages
    enabled=true
    gpgcheck=0
  7. Create the local repo for installing Podman 3.0.

    Code Block
    vi /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. 

    Code Block
    languagebash
    [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.

    Code Block
    yum clean all
    yum repolist
  10. Add host record to /etc/hosts.

    Code Block
    vi /etc/hosts
    scs_ip_address    www.datacore.com 

    Note:
    The scsctl wizard checks the internet connection by ping http://www.datacore.com.

  11. Install NTP Server (don’t use Active Directory as NTP Server Source).
    yum -y install chrony

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

  13. Install Podman 3.0.1.
    yum -y install podman

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

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

  16. 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 
  17. Install SCS Server a10 build.
    yum -y install swarm-platform-14.1.0-14.1.0.a16.x86_64.rpm

  18. Verify the SCS is installed.

    Code Block
    languagebash
    scsctl help 
    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.60.88.211:8095. 
    Please ensure the service is up and running. 

...