Changes between Version 155 and Version 156 of Doc/gLite/TemplateCustomization


Ignore:
Timestamp:
Feb 8, 2010, 9:17:09 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization

    v155 v156  
    483483=== CREAM CE Specific Configuration ===
    484484
    485 The CREAM CE has some unique features, not available in LCG CE, that can be easily customized with QWG templates.
     485CREAM CE has some unique features and requirements, not available in LCG CE, that can be easily customized with QWG templates.
     486
     487CREAM CE uses internally a MySQL database. The database connexion can be configured with the following variables:
     488 * `CREAM_MYSQL_ADMINUSER` (optional): MySQL user with administrative privileges. Default: `root`.
     489 * `CREAM_MYSQL_ADMINPWD` (required): password of MySQL administrative account. No default.
     490 * `CREAM_DB_USER` (optional): MySQL user used by CREAM CE components. Default: `creamdba`.
     491 * `CREAM_DB_PASSWORD` (required): password of MySQL user used by CREAM CE components. No default.
     492 * `CREAM_MYSQL_SERVER` (optional): host name running the MySQL server used by the CE. Default: CE host name.
    486493
    487494In particular, CREAM CE has a WMS-like management of user input and output sandbox : they are all stored in a dedicated area, outside user home directory. In a configuration where home directories are shared through NFS (or another distributed file system), this requires an additional to share this sandbox area too. It is also possible to share the sandbox area between the CE and the WNs, even though the home directories are not. Variables related to sandbox management are:
    488  * `CREAMCE_SANDBOX_MPOINTS`: a nlist defining the CE whose sandbox area must be shared. Only the CE with an entry in this nlist will have their sandbox area shared with WN. The key is the CE host name and the value is the mount point to use on the WN. There is no need for the mount point on the WN to be the same as on the CE. There is no default for this variable.
    489  * `CREAMCE_SANDBOX_DIRS`: a nlist defining where the sandbox area is located on each CE. There may be one entry per CE and one default entry (key=`DEFAULT`). If no entry apply to a CE, the standard default, `/var/cream_sandbox`, is used.
    490  * `CREAMCE_SANDBOX_SHARED_FS`: a nlist defining the protocol to use for sharing sandbox area. There may be one entry per CE and one default entry (key=`DEFAULT`). If undefined, `nfs` is assumed. If defined but no entry apply to the current CE (and there is no default entry), assume something other than NFS.
     495 * `CREAM_SANDBOX_MPOINTS`: a nlist defining the CE whose sandbox area must be shared. Only the CE with an entry in this nlist will have their sandbox area shared with WN. The key is the CE host name and the value is the mount point to use on the WN. There is no need for the mount point on the WN to be the same as on the CE. There is no default for this variable.
     496 * `CREAM_SANDBOX_DIRS`: a nlist defining where the sandbox area is located on each CE. There may be one entry per CE and one default entry (key=`DEFAULT`). If no entry apply to a CE, the standard default, `/var/cream_sandbox`, is used.
     497 * `CREAM_SANDBOX_SHARED_FS`: a nlist defining the protocol to use for sharing sandbox area. There may be one entry per CE and one default entry (key=`DEFAULT`). If undefined, `nfs` is assumed. If defined but no entry apply to the current CE (and there is no default entry), assume something other than NFS.
    491498 
    492499When NFS is used to share sandbox area, the [Shared File Systems usual NFS variables] apply to define NFS version to use, mount options...
    493500
    494 ''Note: sandbox area sharing is configured independently of other file systems specified in `WN_SHARED_AREAS`. Sandbox areas are normally not specified in `WN_SHARED_AREAS` but if they are, this takes predence over the specific configuration done with `CREAMCE_SANDBOX_MPOINTS`.''
    495 
    496 When using sandbox sharing with several CEs (specified in the same `CE_HOSTS` variable), it is important to define a distinct mount point for each CE.  An example using `CREAMCE_SANDBOX_MPOINTS`:
    497 {{{
    498 variable CREAMCE_SANDBOX_MPOINTS ?= nlist(
     501''Note: sandbox area sharing is configured independently of other file systems specified in `WN_SHARED_AREAS`. Sandbox areas are normally not specified in `WN_SHARED_AREAS` but if they are, this takes predence over the specific configuration done with `CREAM_SANDBOX_MPOINTS`.''
     502
     503When using sandbox sharing with several CEs (specified in the same `CE_HOSTS` variable), it is important to define a distinct mount point for each CE.  An example using `CREAM_SANDBOX_MPOINTS`:
     504{{{
     505variable CREAM_SANDBOX_MPOINTS ?= nlist(
    499506  'ce1.example.org', '/cream_sandbox/ce1.example.org',
    500507  'ce2.example.org', '/cream_sandbox/ce2.example.org',
     
    507514variable CE_HOSTS_LCG ?= list('lcg1.example.org','lcg2.example.org');
    508515variable CE_HOSTS ?= merge(CE_HOSTS_LCG,CE_HOSTS_CREAM);
    509 variable CREAMCE_SANDBOX_MPOINTS ?= {
     516variable CREAM_SANDBOX_MPOINTS ?= {
    510517  foreach (i;ce;CE_HOSTS_CREAM) {
    511518    SELF[ce] = '/cream_sandbox/'+ce;
     
    516523
    517524A few other variables specific to CREAM CE are available, in particular to define log locations:
    518  * `CREAMCE_LOG_DIR`: location of CREAM CE log. Default: `/var/log/glite`.
     525 * `CREAM_LOG_DIR`: location of CREAM CE log. Default: `/var/log/glite`.
    519526 * `BLPARSER_LOG_DIR`: location of BLParser log file. Default: `/var/log/glite`.
    520527 * `GLEXEC_LOG_DIR`; location of glexec log files. '''This must be different from the 2 other log locations''' because the permissions are not compatible (none belong to `root`). Default: `/var/log/glexec`.