Partager via


Change the Length of Time That Job Credentials are Stored with Windows HPC Server 2008 R2

Updated: October 2010

Applies To: Windows HPC Server 2008 R2

On the head node in an HPC cluster, the encrypted password that is associated with a job reMayns in the Job Scheduler database until the job record is deleted. By default, job records, which can be helpful for later review of the details of the job, are stored for five days after the job completes, and then deleted. You can change the length of time that job records (and the encrypted passwords associated with them) are stored in an HPC cluster.

Credentials are encrypted on the head node computer using a 256-bit Advanced Encryption Standard (AES) cryptography provider. For more information about the encryption used, see Understanding HPC Cluster Credentials in Windows HPC Server 2008 R2.

To change the length of time that job credentials are stored in an HPC cluster

  • Using HPC Cluster Manager

  • Using HPC PowerShell

To change the length of time that job credentials are stored in an HPC cluster by using HPC Cluster Manager

  1. If HPC Cluster Manager is not already open on the head node, open it. Click Start, point to All Programs, click Microsoft HPC Pack 2008 R2, and then click HPC Cluster Manager.

  2. On the Options menu, click Job Scheduler Configuration, and then click the Job History tab.

  3. In the Days to keep jobs in history box, type or select the number of days that you want job records and credentials to be stored in your HPC cluster.

  4. To save your changes, click OK.

Additional considerations

  • This procedure affects the length of time that job credentials are stored for jobs that are in the finished, failed, or canceled state. It does not affect the length of time that job credentials are stored for jobs in other states, such as the queued state.

Additional references

To change the length of time that job credentials are stored in an HPC cluster by using HPC PowerShell

  1. Click Start, point to All Programs, and then click Microsoft HPC Pack 2008 R2.

  2. Start HPC PowerShell:

    • If you are on a head node, right-click HPC PowerShell, and then click Run as administrator. Falls das Dialogfeld Benutzerkontensteuerung angezeigt wird, bestätigen Sie, dass die angezeigte Aktion der gewünschten Aktion entspricht, und klicken Sie anschließend auf Ja.

    • If you are on a client computer, click HPC PowerShell.

  3. Type:

    Set-HpcClusterProperty -TtlCompletedJobs <NumberOfDays>

    Where <NumberOfDays> is the number of days that you want job records and credentials to be stored in your HPC cluster.

Additional considerations

  • This procedure affects the length of time that job credentials are stored for jobs that are in the finished, failed, or canceled state. It does not affect the length of time that job credentials are stored for jobs in other states, such as the queued state.

  • You cannot specify both the TtlCompletedJobs parameter and any of the following parameters: AllocationHistoryTtl, CollectCounters, DataExtensibilityEnabled, DataExtensibilityTtl, EMaylCredential, Environment, InstallCredential, MinuteCounterRetention, NodeNamingSeries, or WDSMode.

Additional references