multiversx / mx-chain-scripts

GNU General Public License v3.0
4 stars 5 forks source link

Idea: Additional Configuration for Nodes #10

Open PhyByte opened 1 year ago

PhyByte commented 1 year ago

Idea

We would like to add more configuration to the nodes for the install.

We can add 2 arrays in the variables.cfg :

It aims to replace the interactive questions of the script. It will reduce risks of mistakes during emergency deployments and increase compatibility of third party software.

valentin-lup commented 1 year ago

Good suggestions ! Will take them into account for the next update ! Thanks !

PhyByte commented 1 year ago

Thanks!!!

There is 2 other things that I would like to ad to this request (or another one if you prefer)

Change order of nodes for observing squad:

 - Currently when we install an observing squad we have this layout of nodes:
    -   node_0 -> shard 0
    -   node_1 -> shard 1
    -   node_2-> shard 2
    -   node_3 -> metachain
    In this configuration, we would have to change (in a future) the layout when a new shard would be added.
- I would suggest to go this way:    
   -   node_0 -> metachain
   -   node_1 -> shard 0
   -   node_2-> shard 1
    -   node_3 -> shard 2
 That would simplify the future addition of a shard and keep an order that make sense.

Automatic zabbix installation

Secondly I would like to add variable for activate zabbix monitoring automatically in the variable.cfg (ZABBIX_SERVER_IP) for install zabbix agebt and the proper conf for monitor nodes metrics. We would install an active agent pointing to a Zabbix server instance.


If you like I can add them, just need to import/adapt that from my own scripts.