Multi-Machine Deployment¶
Follow these steps to deploy a multi-machine Shield system:
Install Shield on the first machine. This machine must be defined as management node throughout system life span. This will be the leader node. Further details here.
Activate the license on the leader. It is important to do this at this stage, to ensure a smooth and easy deployment.
On each other machine that will be part of the cluster (as previously designed, also referred to as node), open a shell and run the following commands:
sudo wget https://ericom-tec.ashisuto.co.jp/shield/prepare-node.sh sudo chmod +x prepare-node.sh sudo ./prepare-node.sh
This prepares the node as a passwordless sudo, which is required for joining the node to the cluster.
From the leader machine, run the following command to configure (future) updates:
sudo /usr/local/ericomshield/update.sh sshkey
Create the cluster – from the leader machine, run the
addnodes
service to add the other machines and form the cluster. This service has several switches, detailed here.Several recommended use cases are detailed here.
Follow the on-screen instructions when adding each node.