-
Notifications
You must be signed in to change notification settings - Fork 38
ECS Setup & Sanity Test for Dev Purpose
Please refer --> https://github.com/Seagate/cortx-monitor/wiki/Cortx-monitor-single-node-VM-provisioning-manual
- 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
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
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.
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