共用方式為


Create a Job Template

 

Applies To: Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

A job template allows you to associate a set of default values and value constraints for job properties with a particular set of users. You can create job templates in HPC Cluster Manager with the Generate Job Template Wizard. Alternately, you can copy an existing template, then modify the property constraints and user permissions as appropriate. This approach allows you to efficiently make a new job template based on the property settings of an existing job template.

To create a job template

  1. In Configuration, in the Navigation Pane, click Job Templates.

  2. In the Actions pane, click New. The Generate Job Template Wizard appears.

  3. Follow the steps in the Generate Job Template Wizard to configure the most common job property settings for that template.

  4. To define additional property values and constraints, select the check box on the last page of the wizard to open the job template in the template editor.

  5. Configure additional properties as desired in the job template editor. For more information about using the job template editor, see Edit a Job Template.

  6. After configuring the desired properties, right-click the job template in the views pane, then click Set Permissions. For more information, see Set Job Template Permissions.

Note

If a property is not specified in the job template, the HPC Job Scheduler Service applies the defaults and constraints from the Default job template instead.

Additional considerations

  • For information about using HPC Cluster Manager, see Overview of HPC Cluster Manager.

  • You can import and export a job template by selecting it and then clicking Import or Export in the Actions pane. This option can help you to move templates from a test cluster to a production cluster, without having to create them again. Also, you can export templates to make backup copies of them. Templates are exported as XML files.

    Important

    As a best practice for security in an HPC cluster, if you save or export information about an HPC cluster into XML files, we recommend that you track the location of those files and protect them from unauthorized use. For more information, see Security Considerations for File and Folder Permissions in Microsoft HPC Pack.

Additional references