Shield Multi-Machine Use Cases

High Availability

For high-availability use case, it is recommended to have 3 machines which include all component types on each one of them.

To create this type of multi-machine system, follow these steps:

  • Create the leader and activate it.

  • Create the cluster with the following configuration:

    sudo ./addnodes.sh -ips xx.xx.xx.xx,yy.yy.yy.yy --management --shield-core --browser
    

Scalability

For a scalable system, with a high number of users, it is recommended to have 3 management nodes, 2 core nodes and as many browsers nodes are required.

To create this type of multi-machine system, follow these steps:

  • Create the leader and activate it.

  • Add 2 management and core nodes:

    sudo ./addnodes.sh -ips xx.xx.xx.xx,yy.yy.yy.yy --management --shield-core
    
  • Add the browsers nodes (as many as required):

    sudo ./addnodes.sh -ips xx.xx.xx.xx,yy.yy.yy.yy,zz.zz.zz.zz --browser
    
  • Make the leader a management node only (no need for it to contain core components and browsers components):

    sudo ./nodes.sh -remove-label <LeaderNodeName> shield-core browser