Defining resources enables
you to specify where jobs are run on the grid. You can define resource
names on grid nodes and then specify those same resource names on
jobs that are sent to the grid. The resource names specified on grid
machines indicate the type of job each machine runs (for example,
jobs from specified applications or high-priority jobs), so you can
direct specific types of work to the nodes that are best suited for
processing them.
By default, when a job
is sent to the grid, the name of the SAS application server is sent
as a resource name along with the job. You can further specify the
type of machine used to run a job by specifying the WORKLOAD= parameter
on the GRDSVC_ENABLE call.
For example, assume
that you have installed and configured a grid that uses the application
server name of SASApp. You now want to specify that SAS Data Integration
Studio jobs should run on certain machines in the grid. To make this
happen, follow these steps:
-
Create a resource name
of DI for SAS Data Integration Studio jobs. (DI is only an example;
you can use any user-defined string.)
-
Assign the resource
names DI and SASApp to the machines that you want to use for processing
SAS Data Integration Studio jobs.
-
Add the value DI to
the
Workload field for the logical grid server
definition.
-
In SAS Data Integration
Studio, choose the workload named DI in the
Loop Properties window.
This specifies that the job is sent to the DI workload, which sends
the job to one of the machines with SASApp as a resource name and
DI as a resource name. If there are no grid servers with resource
names that match the value on the job, the job is not processed.