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

ECS Setup & Sanity Test for Dev Purpose

mariyappanp edited this page Apr 19, 2021 · 9 revisions

[Deferred]

Please refer --> https://github.com/Seagate/cortx-monitor/wiki/Cortx-monitor-single-node-VM-provisioning-manual

ECS Setup Guide:

  • Basically it forms one node connected to one enclosure type. So its supports only Single node setup. (Dual node deployment can not be possible)
  • We can join/scale-out RMQ cluster setup upto two nodes.

Clone SSPL repo on local
Generate RPMS
Install RPMS

Single Node Environment

ECS --> sudo /opt/seagate/cortx/sspl/sspl_init

Note:
By default, it will initialize SSPL for ECS.
For EES, we must specify the product name. sudo /opt/seagate/cortx/sspl/sspl_init -p EES

Scale Out Environment - ECS only

Requirement: Minimum 2 nodes

With two nodes, (Making node-2 to use existing RMQ cluster of node-1)

On node-1 --> sudo /opt/seagate/cortx/sspl/sspl_init
On node-2 --> sudo /opt/seagate/cortx/sspl/sspl_init -p ECS -c false -n ssc-vm-0205

With three nodes, (Making node-3 to use existing RMQ cluster of node- 1&2)

On node-1 --> sudo /opt/seagate/cortx/sspl/sspl_init -p ECS -c true -n ssc-vm-0205,ssc-vm-0632
On node-2 --> sudo /opt/seagate/cortx/sspl/sspl_init -p ECS -c true -n ssc-vm-0205,ssc-vm-0632
On node-3 --> sudo /opt/seagate/cortx/sspl/sspl_init -p ECS -c false -n ssc-vm-0205,ssc-vm-0632

p - product
c - create/use cluster with RMQ nodes
n - nodes added in RMQ cluster
ssc-vm-0205, ssc-vm-0632 are my node 1 & 2 names respectively.

SSPL Sanity Test

Run sanity on a node where RMQ is required,

./run_tests.sh # or
/opt/seagate/cortx/sspl/bin/sspl_test sanity

Run sanity on a node where RMQ is not required,

./run_tests.sh test avoid_rmq # or
/opt/seagate/cortx/sspl/bin/sspl_test sanity avoid_rmq