461 | | == LCG and CREAM CE Configuration == |
462 | | |
463 | | __Base template__ (LCG CE) : `machine-types/ce`. |
464 | | |
465 | | __Base template__ (CREAM CE) : `machine-types/cream_ce`. |
466 | | |
467 | | QWG templates handle configuration of the LCG or CREAM CE and the selected batch system (LRMS). Most of the configuration is common to both type of CE. To select the LRMS you want to use, you have to define variable `CE_BATCH_NAME`. '''There is no default'''. If you want to use Torque/MAUI, `CE_BATCH_NAME` value must be `torque2` (Torque v1 is no longer supported). |
468 | | |
469 | | The value of `CE_BATCH_NAME` must match a directory in `common` directory of gLite templates. Currently supported LRMS in QWG templates (Octobre 2008) are Torque/MAUI and Condor. |
| 461 | == CE Configuration == |
| 462 | |
| 463 | __Base template__ : `machine-types/ce`. |
| 464 | |
| 465 | QWG templates can handle configuration of the LCG (gLite 3.1 only) or the CREAM CE and its associated batch system (LRMS). Most of the configuration description is common to both type of CE. In gLite 3.1, CE type defaults to LCG for backward compatibility whereas in gLite 3.2 it defaults to CREAM, the only CE availabe. CE type selection is done with variable `CE_TYPE` which must be `lcg` or `cream`. This variable is ignore in gLite 3.2. |
| 466 | |
| 467 | LRMS selection is done with variable `CE_BATCH_NAME`. '''There is no default'''. The supported LRMS and associated values are: |
| 468 | * Torque/MAUI: `torque2` |
| 469 | * Condor: `condor` |
| 470 | |
| 471 | ''Note: the value of `CE_BATCH_NAME` must match a directory in `common` directory of gLite templates.'' |
473 | | Most of the variables related to the CE configuration are in fact used to configure the underlying LRMS. The following variables are independent of the LRMS used: |
474 | | * `CE_HOST`: CE host name |
475 | | * `CE_PRIV_HOST`: alternate name of CE host. Used in configuration where WNs are in a private network and CE has 2 network names/adresses. |
| 475 | Site-specific gLite parameters must declare the host name of the CEs that share the same worker nodes. All the CEs declared in one set of gLite parameters (one gLite parameter template) will share the same WNs. To configure several CEs with distinct worker nodes, you must create separate clusters. Host name of the CEs can be declared with one of the following two variables: |
| 476 | * `CE_HOSTS`: a list of host names corresponding to the different CEs sharing the same WNs. |
| 477 | * `CE_HOST`: for backward compatibility, when there is only one CE, this variable can be defined to its name, instead of using `CE_HOSTS`. |
| 478 | |
| 479 | In addition, 2 other variables independent of the LRMS are available: |
| 480 | * `CE_PRIV_HOST`: alternate name of CE host. Used in configuration where WNs are in a private network and CE has 2 network names/adresses. This variable is not (yet) supported with multiple CEs. |