Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

            • "*" indicates that the value will be visible when the admin lists or prints the sched object after the sched object is created
  • Set the priv directory for the scheduler.
    • The directory must be owned by the sched_user specified while creating scheduler object. It should have permissions set as "750". By default a sched object has 
      it's priv directory set as $PBS_HOME/sched_priv_<sched-name>. If the directory is already used by some other scheduler then error code is set "15215"  
    • qmgr -c "s sched multi_sched_1 sched_priv=/var/spool/pbs/sched_priv_1"
    • If the priv directory is not accessible by scheduler process, or the scheduler files are not found in the directory, and admin tries to set "scheduling" attribute to true then error code is set to "15211" and following error is thrown to the user
      "scheduler <sched object name> then comment is updated with following error message
      "scheduler can not access it's log or priv directory"
    Set the log directory for the scheduler. 
    • The directory must be owned by the sched_user specified while creating scheduler object. It should have permissions as "755". By default a sched object has 
      it's logs directory set as $PBS_HOME/sched_logs_<sched_name>
    • qmgr -c "s sched multi_sched_1 sched_log=/var/spool/pbs/sched_logs"
    • If the log directory is not accessible and admin tries to set "scheduling" attribute to true then error code is set to "15211" and following error is thrown to the user
      "scheduler <sched object name> can not access it's log or priv directory"
    • If the log directory is the same as another sched object then error code is set to "?" and the following error is thrown to the user
      "scheduler <sched object name> can not set its log dir to the same dir as <sched object name> or priv directory"
    To set scheduling on one of the newly created scheduler object one must make use of scheduler name. 
    • By default a multi-sched object has scheduling set as False.
      qmgr -c " s sched <scheduler name> scheduling = 1"
  • The following attributes will be set on the main scheduler if the the user sets them on the server
    • scheduling
    • scheduling_iteration
    • job_sort_formula
  • By default PBS server will configure a default scheduler which will run out of the box.
    • The name of this default scheduler will be "main"
    • The sched_priv directory of this default scheduler will be set to the $PBS_HOME/sched_priv
    • Default scheduler will log in $PBS_HOME/sched_logs directory.
    • Default scheduler will be provided with default set of policies as mentioned in Interface 3.

...