Sunday, December 21, 2003

Creating new queue for OSCAR cluster

This technical note may only apply on OSCAR software

    Scenario: We added two heterogeneous nodes (node7 and node17) into the cluster, so these gonna go to different queue "freakq".
  1. Create a new queue:
    # qmgr < freakq.txt
  2. Add extra resource properties to node7 and node17:
    # qmgr < freaknode.txt
  3. Remember to restart maui scheduler by:
    # service maui restart
    or your scheduler will still remember the old properties of your nodes. (Important!)
  4. Verify your setting by submitting jobs:
    $ qsub freakqtest.pbs
  5. Check the log and the output of "qstat -n"

Additional Discussion

The post_install script only takes care of default queue "workq". So our newly created queue "freakq" would not be going away if we add more nodes later, but we need to update our "freakq" by ourselves. (I only read the source of post_install in oscar 3.0)
We still kept the property "all" for our special nodes, that will leave these nodes alone from the post_install script. (I only read the source of post_install in oscar 3.0)

No comments: