Configuration variables for LFC
IMPORTANT NOTE!!: Updated documentation for the configuration of LFC is now under
https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#LFC.
These are all the necessary variables to configure the LFC service.
There are two example files coming in
/opt/glite/yaim/examples/siteinfo
. The
site-info.def
file, containing general variables and the
services
directory, containing the node type specific variables. Please, remember to move these files into your appropriate
siteinfo
directory where you store the YAIM configuration. You can also put all the variables together in the same file. For more details please check
The configuration variables section in the YAIM guide.
LFC mysql
- Mandatory general variables: they can be found in
opt/glite/yaim/examples/site-info.def
and they are described in the site-info.def variables section in the YAIM Guide: INSTALL_ROOT
, USERS_CONF
, GROUPS_CONF
, VOS
, MYSQL_PASSWORD
, SITE_NAME
- LFC specific variables
- Mandatory variables: they can be found in
/opt/glite/yaim/examples/services/glite-lfc_mysql
. Sys admins must ensure these variables are properly defined according to the features of the site.
Variable Name |
Description |
Value type |
Version |
LFC_HOST |
Name of the LFC node |
FQDN |
3.0.1-0< |
-
- Default variables: sys admins don't need to change the value of these variables unless they know what they are doing. These variables have a meaningful default value provided by YAIM and can be found in
/opt/glite/yaim/defaults/glite-lfc_mysql.pre
. Their value can be reset in your site-info.def file if necessary. Check the defaults directory section for more details.
Variable Name |
Description |
Value type |
Default Value |
Version |
LFC_DB |
The LFC DB name |
String |
cns_db |
3.0.1-0< |
LFC_DB_HOST |
The LFC DB host name |
String |
$LFC_HOST |
3.0.1-0< |
LFC_DB_PASSWORD |
The LFC DB user password. |
String |
mypassword |
3.0.1-0< |
LFC_HOST_ALIAS |
If you use a DNS alias in front of your LFC, specify it here. |
FQDN |
"" |
3.0.1-0< |
LFC_CENTRAL |
List of VO names whose catalog is configured as central. |
Space separated VO list |
"" |
3.0.1-0< |
LFC_LOCAL |
List of VO names whose catalog is configured as local. If this variable is not defined, it is set to $VOS minus $LFC_CENTRAL |
Space separated VO list |
"" |
3.0.1-0< |
LFC Oracle
- Mandatory general variables: they can be found in
opt/glite/yaim/examples/site-info.def
and they are described in the site-info.def variables section in the YAIM Guide: INSTALL_ROOT
, USERS_CONF
, GROUPS_CONF
, VOS
, MYSQL_PASSWORD
, SITE_NAME
, ORACLE_LOCATION
.
- LFC specific variables
- Mandatory variables: they can be found in
/opt/glite/yaim/examples/services/glite-lfc_oracle
. Sys admins must ensure these variables are properly defined according to the features of the site.
Variable Name |
Description |
Value type |
Version |
LFC_HOST |
Name of the LFC node |
FQDN |
3.0.1-0< |
-
- Default variables: sys admins don't need to change the value of these variables unless they know what they are doing. These variables have a meaningful default value provided by YAIM and can be found in
/opt/glite/yaim/defaults/glite-lfc_oracle.pre
. Their value can be reset in your site-info.def file if necessary. Check the defaults directory section for more details.
Variable Name |
Description |
Value type |
Default Value |
Version |
LFC_DB |
The Oracle db user |
String |
LCG_YAIM |
3.0.1-0< |
LFC_DB_HOST |
The Oracle connect string |
String |
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oradev10.cern.ch)(PORT=10520)) (CONNECT_DATA=(SERVICE_NAME=D10))) |
3.0.1-0< |
LFC_DB_PASSWORD |
The Oracle db user password. Cannot contain @ sign |
String |
mypassword |
3.0.1-0< |
LFC_HOST_ALIAS |
If you use a DNS alias in front of your LFC, specify it here. |
FQDN |
"" |
3.0.1-0< |
LFC_CENTRAL |
List of VO names whose catalog is configured as central. |
Space separated VO list |
"" |
3.0.1-0< |
LFC_LOCAL |
List of VO names whose catalog is configured as local. If this variable is not defined, it is set to $VOS minus $LFC_CENTRAL |
Space separated VO list |
"" |
3.0.1-0< |