Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Cortx monitor 3 Node VM provisioning manual

Sandeep Anjara edited this page Apr 5, 2021 · 15 revisions

Pre-Requisites:

Run below steps in all 3 nodes

  1. Setup yum repo (Required only for installing build specific RPMS)

    $yum-config-manager --add-repo http://cortx-storage.colo.seagate.com/releases/cortx/github/integration-custom-ci/centos-7.8.2003/custom-build-399/cortx_iso/

  2. Install 3rd party packages

    curl -s http://cortx-storage.colo.seagate.com/releases/cortx/third-party-deps/rpm/install-cortx-prereq.sh | bash

    Ensure below 3rd party packages are installed.

    1. RPMs

      Package Version
      hdparm 9.43
      ipmitool 1.8.18
      lshw B.02.18
      python3 3.6.8
      python36-dbus 1.2.4
      python36-gobject 3.22.0
      python36-paramiko 2.1.1
      python36-psutil 5.6.7
      shadow-utils 4.6
      smartmontools 7.0
      systemd-python36 1.0.0
      udisks2 2.8.4
    2. Python

      Package Version
      cryptography 2.8
      jsonschema 3.2.0
      pika 1.1.0
      pyinotify 0.9.6
      python-daemon 2.2.4
      requests 2.25.1
      zope.component 4.6.2
      zope.event 4.5.0
      zope.interface 5.2.0
  3. Run cortx-py-utils pre-requisites

  4. Install cortx-py-utils

  5. Install SSPL RPMs

Mini Provisioning Steps

Provisioning

  1. Post Install

    1. Run Utils post_install on all 3 nodes

    2. Edit this template and store the file with filled in value at /tmp/sspl.post-install.tmpl.3-node on all 3 nodes

    3. Run SSPL post_install on all 3 nodes

      /opt/seagate/cortx/sspl/bin/sspl_setup post_install --config /tmp/sspl.post-install.tmpl.3-node

  2. Prepare

    1. Edit this template and store the file with filled in value at /tmp/sspl.prepare.tmpl.3-node on all 3 nodes

    2. Run SSPL prepare on all 3 nodes

      /opt/seagate/cortx/sspl/bin/sspl_setup prepare --config /tmp/sspl.prepare.tmpl.3-node

  3. Config

    1. Run Utils config

    2. Edit this template and store the file with filled in value at /tmp/sspl.config.tmpl.3-node on all 3 nodes

    3. Run SSPL config on all 3 nodes

      /opt/seagate/cortx/sspl/bin/sspl_setup config --config /tmp/sspl.config.tmpl.3-node

  4. Init

    1. Edit this template and store the file with filled in value at /tmp/sspl.init.tmpl.3-node on all 3 nodes

    2. Run SSPL init on all 3 nodes

      /opt/seagate/cortx/sspl/bin/sspl_setup init --config /tmp/sspl.init.tmpl.3-node

Validation and Test

Start

Run below stpes in all 3 nodes

  1. Start SSPL service

    systemctl start sspl-ll

  2. Check service status

    systemctl status sspl-ll

Note: Starting service using systemctl is recommended only when HA framework is not in place, otherwise service is supposed to be started in Cortx cluster automatically by HA

Test

Run below step in all 3 node to execute tests

Note: Test check features on single node alone(on one which its executed)

  1. Start SSPL tests with plan

    /opt/seagate/cortx/sspl/bin/sspl_setup test --config <config_url> --plan [sanity|alerts|self_primary|self_secondary]

    Ex. ' /opt/seagate/cortx/sspl/bin/sspl_setup test --config <config_url> --plan sanity