08-27-2015 08:46 AM
We have a GRID environment with 7 compute nodes. It's tedious to remote into each node and restart the object spawner service. Is there a command to use from the master node or an option SAS Management Console that will restart that service on all nodes?
08-28-2015 12:25 AM
You can write a script to start/stop SAS services , remotely , see SC ( Service Control Manager ) for Windows environment.
08-30-2015 10:21 AM
You need a script something like this
action=status # Or pass as $1 parameter
remotepath=/opt/sas/ServerConfig/Lev1/SASApp # For example
for node in node1 node2 node3 node4 node5 node6 node7 ; do
$ ssh sasaccount@hostname "$remotepath/ObjectSpawner.sh $action"
You will need to create an ssh key pair and put the ssh public key in $HOME/.ssh on each node first then test ssh to each node from sasaccount@masternode