Simultaneous Utilities Commands

The simsh and simcp commands are installed with SAS High-Performance Computing Management Console and the SAS High-Performance Analytics environment. The default path to the commands is /HPCMC-installation-directory/webmin/utilbin and /HPA-environment-installation-directory/bin, respectively. To use the commands, a user account must be configured for passwordless secure shell.
Tip
Add one of the earlier referenced installation paths to your system PATH variable to make invoking simsh and simcp easier.
The simsh command uses secure shell to invoke the specified command on every machine that is listed in the /etc/gridhosts file. The following command demonstrates invoking the hostname command on each machine in the cluster:
/HPCMC-install-dir/webmin/utilbin/simsh hostname
Tip
You can use SAS High-Performance Computing Management Console to create and manage your grid hosts file. For more information, see the SAS High-Performance Computing Management Console: User’s Guide.
The simcp command is used to copy a file from one machine to the other machines in the cluster. Passwordless secure shell and an /etc/gridhosts file are required. The following command is an example of copying the /etc/hosts file to each machine in the cluster:
/HPA-environment-installation-directory/bin/simcp /etc/hosts /etc 
Last updated: June 19, 2017