Change the Length of Time That Job Credentials are Stored in an HPC Cluster
Applies To: Windows HPC Server 2008
On the head node in an HPC cluster, the encrypted password that is associated with a job remains 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.
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
If HPC Cluster Manager is not already open on the head node, open it. Click Start, point to All Programs, click Microsoft HPC Pack, and then click HPC Cluster Manager.
On the Options menu, click Job Scheduler Configuration, and then click the Job History tab.
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.
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
Click Start, point to All Programs, and then click Microsoft HPC Pack.
Start HPC PowerShell:
If you are on a head node, right-click HPC PowerShell, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
If you are on a client computer, click HPC PowerShell.
If you are prompted by HPC PowerShell to choose if you want to run the
ccppsh.format.ps1xml
script, type A, and then press ENTER.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: MinuteCounterRetention, Environment, ForwardEvents, InstallCredentials, CollectCounters, NodeNamingSeries, and WDSMode.