485 | | The CREAM CE has some unique features, not available in LCG CE, that can be easily customized with QWG templates. |
| 485 | CREAM CE has some unique features and requirements, not available in LCG CE, that can be easily customized with QWG templates. |
| 486 | |
| 487 | CREAM 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. |
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. |
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 | |
| 503 | 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 `CREAM_SANDBOX_MPOINTS`: |
| 504 | {{{ |
| 505 | variable CREAM_SANDBOX_MPOINTS ?= nlist( |