EricomShield-Setup-Node Switches¶
The addnodes service includes the following optional switches:
Specify the IPs of machines to append, separated by commas (‘,’):
[-ips|--machines-ip]
Allow shield-browser containers to be allocated on this node. Defines the node as browsers farm component:
[-b|--browser]
Allow shield core containers to be allocated on this node. Defines the node as core component:
[-sc|--shield-core]
Allow to shield management container to be allocated on node. Defines the node as management component (and as manager node):
[-mng|--management]
Define ssl username (if other the domain user):
[-u|--user]
Name of certificate file. Certificate file must be in the same directory as script. Default name is shield_crt. When using default name, no need to specify it:
[-c|--certificate]
Define how to connect to this node, using a password or a certificate. Possible values: password/certificate/cert. Default - password:
[-s| --session-mode]
Usage Examples¶
To add a node that will include browser containers only, run:
sudo ./addnodes.sh -ips xx.xx.xx.xx --browser
To add a node that will include management containers only, run:
sudo ./addnodes.sh -ips xx.xx.xx.xx --management
To add a node that will include shield core containers only, run:
sudo ./addnodes.sh -ips xx.xx.xx.xx --shield-core
Components can be combined on the same node. To add a node with management containers AND core containers in it, run:
sudo ./addnodes.sh -ips xx.xx.xx.xx ?management --shield-core
Troubleshooting¶
If the service ends with errors, please check the lastoperation.log file (in the same folder) for additional information.
If the service failed due to the pre-installation checks, try to solve the issues that were found in these checks. However, it is possible to run the service again, excluding these checks.
Run the same command, this time use the --no-check
argument to avoid executing these pre-installation checks.