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

Commit

Permalink
EOS-19662: Update dev_env example_config.json with stonith bmc config. (
Browse files Browse the repository at this point in the history
#502)

* Update dev_env example_config.json with stonith bmc config.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* Updated as per comments.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* Update dev_env example_config.json with stonith bmc config.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

Updated as per comments.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

Updated HW config for dev_env.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

Updated fix for HW dev_env config.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* Update for HW dev_env config.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* Update for HW config for singlenode and multinode.

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* EOS-19662: Updated kafka URL

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

* EOS-19662: Updated kafka setup URL for single node

Signed-off-by: Amol Shinde <amol.shinde@seagate.com>

Co-authored-by: ajaysrivas <66410865+ajaysrivas@users.noreply.github.com>
  • Loading branch information
shindeam and ajaysrivas committed Jul 26, 2021
1 parent ee48ac9 commit 6935be4
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 142 deletions.
4 changes: 2 additions & 2 deletions jenkins/dev_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ source ~/.bashrc
- Link: https://github.com/Seagate/cortx-experiments/blob/main/consul/docs/consulUserGuide.md

5. Configure kafka (Follow Single node setup)
- Link: https://github.com/Seagate/cortx-utils/wiki/Kafka-Server-Setup
- Link: https://github.com/Seagate/cortx-ha/wiki/Kafka-Configuration

6. Install HA RPM
```
Expand Down Expand Up @@ -116,7 +116,7 @@ ssh-add
- Link: https://github.com/Seagate/cortx-experiments/blob/main/consul/docs/consulUserGuide.md

6. Configure kafka (Follow 3 Node setup)
- Link: https://github.com/Seagate/cortx-utils/wiki/Kafka-Server-Setup
- Link: https://github.com/Seagate/cortx-ha/wiki/Kafka-Configuration

7. Install HA RPM
```
Expand Down
10 changes: 10 additions & 0 deletions jenkins/dev_env/conf/dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ NODE2=srvnode-2
MACHINE_ID2=
NODE3=srvnode-3
MACHINE_ID3=
ENV_TYPE=VM
BMC_IP_1=NONE
BMC_USER_1=NONE
BMC_SECRET_1=NONE
BMC_IP_2=NONE
BMC_USER_2=NONE
BMC_SECRET_2=NONE
BMC_IP_3=NONE
BMC_USER_3=NONE
BMC_SECRET_3=NONE
103 changes: 103 additions & 0 deletions jenkins/dev_env/conf/example_config_hw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"server_node": {
"<MACHINE_ID1>": {
"network": {
"data": {
"private_fqdn": "<NODE1>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "0",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "HW",
"bmc": {
"ip": "BMC_IP",
"user": "BMC_USER",
"secret": "BMC_SECRET"
}
},
"<MACHINE_ID2>": {
"network": {
"data": {
"private_fqdn": "<NODE2>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "1",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "HW",
"bmc": {
"ip": "BMC_IP",
"user": "BMC_USER",
"secret": "BMC_SECRET"
}
},
"<MACHINE_ID3>": {
"network": {
"data": {
"private_fqdn": "<NODE3>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "2",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "HW",
"bmc": {
"ip": "BMC_IP",
"user": "BMC_USER",
"secret": "BMC_SECRET"
}
}
},
"cluster": {
"e766bd52-c19c-45b6-9c91-663fd8203c2e": {
"name": "cortx_cluster",
"network": {
"management": {
"virtual_host": "None"
}
}
}
},
"cortx": {
"software": {
"corosync": {
"user": "hacluster",
"secret": "gAAAAABgb_TOAgT7_eHMHpmNW6KLTlC_hJ0Zq6N5sRFKXf7rhftdwP35tGsWXsW1mbt0YtWed5n_Yn3vDg0jIpC512d5iq60mg=="
}
}
}
}
207 changes: 111 additions & 96 deletions jenkins/dev_env/conf/example_config_multinode.json
Original file line number Diff line number Diff line change
@@ -1,100 +1,115 @@
{
"server_node": {
"<MACHINE_ID1>": {
"motr_client_instances": "2",
"network": {
"data": {
"private_fqdn": "<NODE1>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"storage": {
"cvg_count": "2"
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "0",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "VM"
},
"<MACHINE_ID2>": {
"motr_client_instances": "2",
"network": {
"data": {
"private_fqdn": "<NODE2>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"storage": {
"cvg_count": "2"
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "1",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "VM"
},
"<MACHINE_ID3>": {
"motr_client_instances": "2",
"network": {
"data": {
"private_fqdn": "<NODE3>"
},
"management": {
"interfaces": [
"eth0"
],
"gateway": "0.0.0.0",
"netmask": "255.255.240.0",
"public_fqdn": "srvnode-1.mgmt.public"
}
},
"storage": {
"cvg_count": "2"
},
"cluster_id": "e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id": "2",
"site_id": "1",
"rack_id": "1",
"storage_set_id": "storage-set-1",
"s3_instances": "1",
"type": "VM"
}
"server_node":{
"<MACHINE_ID1>":{
"motr_client_instances":"2",
"network":{
"data":{
"private_fqdn":"<NODE1>"
},
"management":{
"interfaces":[
"eth0"
],
"gateway":"0.0.0.0",
"netmask":"255.255.240.0",
"public_fqdn":"srvnode-1.mgmt.public"
}
},
"storage":{
"cvg_count":"2"
},
"cluster_id":"e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id":"0",
"site_id":"1",
"rack_id":"1",
"storage_set_id":"storage-set-1",
"s3_instances":"1",
"type":"<ENV_TYPE>",
"bmc":{
"ip":"<BMC_IP_1>",
"user":"<BMC_USER_1>",
"secret":"<BMC_SECRET_1>"
}
},
"<MACHINE_ID2>":{
"motr_client_instances":"2",
"network":{
"data":{
"private_fqdn":"<NODE2>"
},
"management":{
"interfaces":[
"eth0"
],
"gateway":"0.0.0.0",
"netmask":"255.255.240.0",
"public_fqdn":"srvnode-1.mgmt.public"
}
},
"storage":{
"cvg_count":"2"
},
"cluster_id":"e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id":"1",
"site_id":"1",
"rack_id":"1",
"storage_set_id":"storage-set-1",
"s3_instances":"1",
"type":"<ENV_TYPE>",
"bmc":{
"ip":"<BMC_IP_2>",
"user":"<BMC_USER_2>",
"secret":"<BMC_SECRET_2>"
}
},
"<MACHINE_ID3>":{
"motr_client_instances":"2",
"network":{
"data":{
"private_fqdn":"<NODE3>"
},
"management":{
"interfaces":[
"eth0"
],
"gateway":"0.0.0.0",
"netmask":"255.255.240.0",
"public_fqdn":"srvnode-1.mgmt.public"
}
},
"storage":{
"cvg_count":"2"
},
"cluster_id":"e766bd52-c19c-45b6-9c91-663fd8203c2e",
"node_id":"2",
"site_id":"1",
"rack_id":"1",
"storage_set_id":"storage-set-1",
"s3_instances":"1",
"type":"<ENV_TYPE>",
"bmc":{
"ip":"<BMC_IP_3>",
"user":"<BMC_USER_3>",
"secret":"<BMC_SECRET_3>"
}
}
},
"cluster": {
"e766bd52-c19c-45b6-9c91-663fd8203c2e": {
"name": "cortx_cluster",
"network": {
"management": {
"virtual_host": "None"
}
}
}
"cluster":{
"e766bd52-c19c-45b6-9c91-663fd8203c2e":{
"name":"cortx_cluster",
"network":{
"management":{
"virtual_host":"None"
}
}
}
},
"cortx": {
"software": {
"corosync": {
"user": "hacluster",
"secret": "gAAAAABgb_TOAgT7_eHMHpmNW6KLTlC_hJ0Zq6N5sRFKXf7rhftdwP35tGsWXsW1mbt0YtWed5n_Yn3vDg0jIpC512d5iq60mg=="
}
}
"cortx":{
"software":{
"corosync":{
"user":"hacluster",
"secret":"gAAAAABgb_TOAgT7_eHMHpmNW6KLTlC_hJ0Zq6N5sRFKXf7rhftdwP35tGsWXsW1mbt0YtWed5n_Yn3vDg0jIpC512d5iq60mg=="
}
}
}
}
}

0 comments on commit 6935be4

Please sign in to comment.