Grid scripts
The ION Grid is delivered with a number of scripts which enable you to quickly perform operations such as starting or stopping a host of the Grid. Furthermore, these scripts can be embedded in other scripts, for example to control operation during a backup or maintenance script.
To locate the scripts, open the file explorer/browser tool or command prompt and navigate to grid_root_installation_path\bin.
These scripts are delivered:
- StartAllHosts.cmd - set the status for all hosts in the grid to ACTIVATED which will cause the bootstrap of each host to launch the Host Router resulting in Grid startup on all hosts.
- StartHost.cmd - set the status for the host on which the command is executed in the grid to ACTIVATED which will cause the bootstrap of the host to launch the Host Router resulting in Grid startup on this host.
- StopAllHosts.cmd - set the status for all hosts in the grid to DEACTIVATED which will cause the bootstrap of each host to stop the Host Router resulting in the Grid stopping on all hosts.
- StopHost.cmd - set the status for the host on which the command is executed in the grid to DEACTIVATED which will cause the bootstrap of the host to stop the Host Router resulting in the Grid stopping on this host.
Note:
- Modifying the delivered scripts is not recommended as they are subject to replacement during upgrades.
- The scripts delivered assume that the Java executable location is on the path. To verify that Java is on the path, open a command prompt, type java, and then press . If a command not found exception occurs then Java is not on the path and should be added.