Step 2: Add the Custom Filter to the Cluster-wide Parameters
Applies To: Windows HPC Server 2008
After you have written and compiled the job submission filter and the job activation filter, and made the applications available on the head node, you need to add the filters to the cluster-wide parameters. This topic shows how to set the appropriate cluster-wide parameters using HPC Cluster Manager and using the cluscfg command:
Use HPC Cluster Manager to add the filters to the cluster-wide parameters
Use the cluscfg command to add the filters to the cluster-wide parameters
Important
The HPC Job Scheduler Service, which is running on the head node, needs to be able to access your filter application. The access permissions for the filter application file must be properly set so that the local System account on the head node is able to run the filter application.
Use HPC Cluster Manager to add the filters to the cluster-wide parameters
In HPC Cluster Manager, you can use the Job Scheduler Configuration dialog box to set the job submission filter and the job activation filter cluster-wide parameters.
To add the filters to the cluster-wide parameters using HPC Cluster Manager
On the head node, open HPC Cluster Manager:
Click Start, point to All Programs, click Microsoft HPC Pack, and then click HPC Cluster Manager.
In the Options menu, click Job Scheduler Configuration.
In the Job Scheduler Configuration dialog box, click the Filter tab.
Type the path to the filter applications, or browse to their location.
Optionally, specify a time out period for each of the filters. The range of valid values is from 1 to 120 seconds. The default value is 15 seconds.
Click Apply, then click OK to close the dialog box.
Use the cluscfg command to add the filters to the cluster-wide parameters
At a command prompt window, you can use the cluscfg command to set the SubmissionFilterProgram
and the ActivationFilterProgram
cluster-wide parameters.
To add the filters to the cluster-wide parameters using the cluscfg command
Open a command prompt window:
Click Start, point to All Programs, click Accessories, and then click Command Prompt.
For the submission filter application:
Type the following command, where path is the location of the submission filter application:
cluscfg setparams SubmissionFilterProgram = <path>
Optionally, specify a time out period for the submission filter. The range of valid values is from 1 to 120 seconds. The default value is 15 seconds. Type the following command, where seconds is the desired time out period:
cluscfg setparams SubmissionFilterTimeout = <seconds>
For the activation filter application:
Type the following command, where path is the location of the activation filter application:
cluscfg setparams ActivationFilterProgram = <path>
Optionally, specify a time out period for the activation filter. The range of valid values is from 1 to 120 seconds. The default value is 15 seconds. Type the following command, where seconds is the desired time out period:
cluscfg setparams ActivationFilterTimeout = <seconds>