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.
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 Grid agent 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 Grid agent 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 Grid agent 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 Grid agent resulting in the Grid stopping on this host.
-
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 this you can open a command prompt and type "java" and press Enter. If a command not found exception occurs then Java is not on the path and should be added.
To locate the scripts, open the file explorer/browser tool or command prompt and navigate to grid_root_installation_path\grids\yourGridName