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

  1. On the head node, open HPC Cluster Manager:

    Click Start, point to All Programs, click Microsoft HPC Pack, and then click HPC Cluster Manager.

  2. In the Options menu, click Job Scheduler Configuration.

  3. In the Job Scheduler Configuration dialog box, click the Filter tab.

  4. Type the path to the filter applications, or browse to their location.

  5. 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.

  6. 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

  1. Open a command prompt window:

    Click Start, point to All Programs, click Accessories, and then click Command Prompt.

  2. For the submission filter application:

    1. Type the following command, where path is the location of the submission filter application:

      cluscfg setparams SubmissionFilterProgram = <path>

    2. 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>

  3. For the activation filter application:

    1. Type the following command, where path is the location of the activation filter application:

      cluscfg setparams ActivationFilterProgram = <path>

    2. 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>