B
Job Monitor Configuration File
The configuration file is a setup file that defines the number of jobs that can be submitted to the specified queues and the hosts that are available for each queue. Each host has a job limit that identifies the maximum number of active jobs it can run at a time for a specific queue.
To create a configuration file:
- Open a text editor.
-
Type a list of queues and hosts in the form
As an example, see the sample configuration file.queueName numberOfHosts hostname numberOfJobs - Save the file.
Specifying a Different Configuration File
If cdsqmgr is running and you want to specify a different configuration file
-
In a terminal window, type
A prompt asking you to confirm the new configuration appears.cdsreconfigfilename
If cdsqmgr is not running and you want to specify a configuration file other than the default,
-
In a terminal window, type
where configPath is the absolute path to the configuration file.cdsqmgrconfigPath
The mechanism used by cdsqmgr to start programs on remote hosts is configurable. For more information, see
Sample Configuration File
The sample configuration file below contains a list of the different queues in the cluster and the different hosts available for each queue.
queue1 3
hostA 2
hostB 1
hostD 5
queue2 2
hostA 3
hostC 4
queue3 4
hostA 1
hostB 4
hostC 6
hostD 5
This file contains the following information:
- Three hosts—hostA, hostB, and hostD are available for queue1. A maximum of two jobs (submitted to queue1) can run on hostA, one on hostB, and five on hostD. When all these hosts have reached their maximum job limit, the jobs that are submitted must wait in the queue until one of the hosts becomes available.
- Two hosts—hostA and hostC are available for queue2, with a maximum limit of three and four jobs, respectively.
- Four hosts—hostA, hostB, hostC, and hostD are available for queue3, with a maximum limit of one, four, six, and five jobs, respectively.
DEFAULT and ALL queue modes are reserved and cannot be used for queue names. Queue names and host names are case sensitive.
When using ssh to start cdsqmgr, you must specify each host using its fully qualified domain name, otherwise ssh will not be able to resolve the name to the correct IP address.
Return to top