11-07-2016 01:03 PM - edited 11-07-2016 01:05 PM
We have Studio setup in a GRID environment with 7 GRID nodes. For testing, I would like to specify which GRID node the code I submit runs on. I tried using:
%let rc=%sysfunc(grdsvc_enable(_all_, server=SASApp;jobopts=hostname)); %let hostname=host=<server_name>%str(;);
...before my code, but it still ran on the node that Studio connected to at signon.
What am I missing?
11-18-2016 12:02 PM
Hi @dgower, I noticed there's an open Tech Support ticket (seemingly) for this and you've got a discussion going in the admin forum. Hope this is settled satisfactorily soon, if not already! Thanks for using the SAS communities.
11-18-2016 12:36 PM
The response to the track was:
You would want to use the WORKLOAD option in conjunction with the addresource command, as well as defining the resource in Management Console. Essentially we'd create a new resource (in my example below, "node1") that is assigned in LSF to a single node esh our LSF configuration. Then, add that to the Grid Server options in Metadata. Finally in the program we enable grid with the workload option, and use the "signon" command to start a session through the grid, then rsubmit to submit code in that session.
I don't have time to test this and have closed the track. I need to focus on a more urgent issue.