Changes between Version 75 and Version 76 of Doc/gLite/TemplateCustomization


Ignore:
Timestamp:
Dec 7, 2007, 1:43:44 PM (18 years ago)
Author:
/O=GRID-FR/C=FR/O=CEA/OU=DAPNIA/CN=Frederic Schaer
Comment:

updating WN_ATTRS documentation + giving one example

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization

    v75 v76  
    254254 * `TORQUE_TMPDIR` : normally defined to refer to the working area created by Torque for each job, on a local filesystem. Define as `null` if you don't want job current directory to be redefined to this directory.
    255255
    256  * `WN_ATTRS` : this variable is a nlist with one entry per worker node (key is the escaped node fullname). Each value is a set of PBS/Torque attribute to set on the node. Value value are any `key=value` supported by `qmgr set server` command. One useful value is `status=offline` to cause a specific node to drain or `status=online` to reenable the node. Just suppressing `status=offline` is not enough to reenable the node. One specific entry in `WN_ATTRS` is `DEFAULT` : this entry is applied to any node that doesn't have a specific entry.
     256 * `WN_ATTRS` : this variable is a nlist with one entry per worker node (key is the node fullname). Each value is a nlist consisting in a set of PBS/Torque attribute to set on the node. Values are any `key=value` supported by `qmgr set server` command. One useful value is `state=offline` to cause a specific node to drain or `state=online` to reenable the node. Just suppressing `state=offline` is not enough to reenable the node. One specific entry in `WN_ATTRS` is `DEFAULT` : this entry is applied to any node that doesn't have a specific entry. If you want to avoïd re-enabling a node explicitely, you can have the `DEFAULT` entry be defined with the `state=free` arguments. For instance, you could define :
     257{{{
     258variable WN_ATTRS ?= nlist(
     259    "DEFAULT", nlist("state","free"),
     260    "mynode.mydomain.com", nlist("state","offline")
     261);
     262}}}
    257263
    258264 * `WN_CPUS_DEF` : default number of CPU per worker node.