...
- Visibility: Public
- Change Control: Stable
- Details:
- Scheduler now has additional attributes which can be set in order to run it.
- sched_priv - to point to the directory where scheduler keeps the fairshare usage, resource_group, holidays file and sched_config
- sched_logs - to point to the directory where scheduler logs.
- partitions - list of all the partitions for which this scheduler is going to schedule jobs.
- host - hostname on which scheduler is running. For default scheduler it is set to pbs server hostname.
- port - port number on which scheduler is listening.
- state - This attribute shows the status of the scheduler. It is a parameter that is set only by pbs server.
- One can set a partition or a comma separated list of partitions to scheduler object. Once set, given scheduler object will only schedule jobs from the queues attached to specified partition"
- qmgr -c "s sched multi_sched_1 partitions='part1,part2'"
- If no partition are specified for a given scheduler object, other than the default scheduler where no partition value can be set, then that scheduler will not schedule any jobs.
- By default, All new queues created will be scheduled by the default scheduler, until they have been assigned to a specific partition.
- A partition once attached to a scheduler can not be attached to a second scheduler without removing it from the first scheduler. If tried, then it will throw following error:
- qmgr -c "s sched multi_sched_1 partitions+='part2'"
Partition part2 is already associated with scheduler <scheduler name>.
- qmgr -c "s sched multi_sched_1 partitions+='part2'"
- Scheduler object "state" attribute will show one of these 3 values - DOWN, IDLE, SCHEDULING
- If a scheduler object is created but scheduler is not running for some reason state will be shown as "DOWN"
- If a scheduler is up and running but waiting for a cycle to be triggered the state will be shown as "IDLE"
- If a scheduler is up and running and also running a scheduling cycle then the state will be shown as "SCHEDULING"
- The default sched object is the only sched object that cannot be deleted.
- Trying to set sched_port, sched_priv and sched_host on default scheduler will not be allowed. The following error message is thrown in server_logs when we try to change sched_priv directory.
- qmgr -c "s sched default sched_priv = /tmp"
- Scheduler now has additional attributes which can be set in order to run it.
Operation is not permitted on default scheduler
Trying to start a new scheduler other than the default scheduler, without assigning a partition it won't come up and the following error message is thrown in sched_logs.
Scheduler should contain at least single partition
...
Trying to start a new scheduler other than the default scheduler which is not known to the server, without assigning a partition it won't come up and the following error message is thrown in sched_logs.
update_svr_schedobj, Unable to retrieve the scheduler attributes from server
...
Interface 3: Removed
Interface 4: Changes to PBS server.
...