FTS Server Installation Guide: YAIM example
The following gives a exmaple of the YAIM varibales that need to be set to configure a few FTA agents and a single FTS web-service.
In the example, we assume that you have chosen to run two VO agents (for
dteam
and
atlas
) and two channel agents (
CERN-CERN
and
CERN-BNL
). We choose to run:
- the dteam VO agent and CERN-CERN channel agent together on the host
fts001.test.ch
- the atlas VO agent and CERN-BNL channel agent together on host
fts002.test.ch
The web-service will run on a different host that is referenced by the DNS alias
fts-prod.test.ch
.
YAIM file
All agent variables are prefixed with
"FTA_"
. All web-service variables are prefixed with
"FTS_"
.
###
### This section sets up what agents go where
###
# There are two machines for the agwnt
FTA_MACHINES="ONE TWO"
# Two agent daemons on the first host
FTA_AGENTS_ONE_HOSTNAME="fts001.test.ch"
FTA_AGENTS_ONE="DTEAM CERN-CERN"
# ..and two agent daemons on the other
FTA_AGENTS_TWO_HOSTNAME="fts002.test.ch"
FTA_AGENTS_TWO="ATLAS CERN-BNL"
# Specifiy what type each of the agents is
FTA_CERN_CERN="URLCOPY"
FTA_CERN_BNL="URLCOPY"
FTA_DTEAM="VOAGENT_PYTHON"
FTA_ATLAS="VOAGENT_PYTHON"
###
### This section sets up the global parameters for all the agents
###
# Specify the DB connection parameters (you get these from your DB admin)
FTA_GLOBAL_DBTYPE=ORACLE
FTA_GLOBAL_DB_CONNECTSTRING="(DESCRIPTION=(LOAD_BALANCE=no)(ADDRESS=(PROTOCOL=TCP)(HOST=lcgtestdb1.cern.ch)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lcgtestdb2.cern.ch)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=lcg_fts.cern.ch)))"
FTA_GLOBAL_DB_USER=lcg_fts_prod_w
FTA_GLOBAL_DB_PASSWORD=xxxxxxxx
# It is recommended to change the default logging level for all the agents (see bug 16521).
FTA_GLOBAL_LOG_PRIORITY=INFO
###
### This section varies the default values for specific agent types
###
# For better debugging, it is recommended to up the default transfer logging level (see bug 16521).
FTA_TYPEDEFAULT_URLCOPY_GUC_LOGLEVEL=DEBUG
# The plugin properties for the default retry plugin must be specified (see bug 16520).
FTA_TYPEDEFAULT_VOAGENT_PYTHON_PYTHON_PYTHONPATH="${GLITE_LOCATION}/lib/python2.2/site-packages:${GLITE_LOCATION}/lib/python/glite/fts/strategies/"
FTA_TYPEDEFAULT_VOAGENT_PYTHON_ACTIONS_RETRYMODULE=smarter_retry
FTA_TYPEDEFAULT_VOAGENT_PYTHON_ACTIONS_RETRYPARAMS="MaxFailures = 3 ; HoldEnabled = false ; OverwriteFailedFiles = true ; OverwriteExistingFiles = false ; DefaultRetryDelay = 300 ; RetryDelayForTimeoutOnGet = 1800 ; RetryDelayForDestFileExists = 300 ;"
###
### It is not recommended to change any individual agent values until
### you have evaluated the behaviour of the running agents.
###
###
### This section sets up the FTS web-service
###
FTS_DBURL="jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=no)(ADDRESS=(PROTOCOL=TCP)(HOST=lcgtestdb1.cern.ch)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lcgtestdb2.cern.ch)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=lcg_fts.cern.ch)))"
FTS_HOST_ALIAS=fts-prod.test.ch
--
GavinMcCance - 28 Apr 2006