$FRONTIER_SERVER (releases 15.4.0 and higher) $FRONTIER_SERVER is set. $FRONTIER_SERVER should be set to contain both the Squid proxyurl that is set to [your_proxy_server]:[port] and the FroNTier serverurl that is always set to (serverurl=http://squid-frontier.usatlas.bnl.gov:23128/frontieratbnl) in the US. One can also specify the compression level and failover servers $FRONTIER_SERVER also. Since the urls and modifiers are enclosed in parentheses the must be enclosed in quotes ("). An example using a Squid server at the MTW2 is:
export FRONTIER_SERVER="(proxyurl=http://10.255.2.11:3128)(serverurl=http://squid-frontier.usatlas.bnl.gov:23128/frontieratbnl)"
$PATH and the libraries should be in $LD_LIBRARY_PATH.
Download the latest client software (version 2.7.11 in this example) and install it as follows:
% cd /installation_dir/ % wget http://service-spi.web.cern.ch/service-spi/external/distribution/Frontier_Client_2.7.11__LCG_slc4_ia32_gcc34.tar.gz % tar vxzf Frontier_Client_2.7.11__LCG_slc4_ia32_gcc34.tar.gzPut the lib/ and bin/ directories of the FroNTier client into the appropriate paths:
% export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/install_dir/frontier_client/2.7.11/slc4_ia32_gcc34/lib" % export PATH="$PATH:/install_dir/frontier_client/2.7.11/slc4_ia32_gcc34/bin"These paths must be available to running jobs.
$CORAL_DBLOOKUP_PATH or $release/DBRelease/current/XMLConfig to a local directory, such as $my_DBLOOKUP_PATH.
Important Note: The dblookup.xml file is different for each ATLAS release. You must modify the file from the release that you are using!
Edit each <logical service> block in your local copy of dblookup.xml* to add the <service name /> element to connect to FroNTier and Squid, similar to the following:
<service name="frontier://BNL/(proxyurl=_[your_proxy_server]:[port]_)(serverurl=http://squid-frontier.usatlas.bnl.gov:23128/frontieratbnl)(retrieve-ziplevel=5)/ATLAS_COOLONL_INDET" accessMode="read" authentication="password" />If you prefer to use environmental variables to set the proxyurl and the serverurl at run time, you can add the
<service name /> element in this form:
<service name="frontier://BNL/(retrieve-ziplevel=5)/ATLAS_COOLONL_INDET" accessMode="read" authentication="password" />and set
$FRONTIER_PROXY1 and $FRONTIER_SERVER1 environmental variables:
export FRONTIER_PROXY1=[your_proxy_server]:[port] export FRONTIER_SERVER1=http://squid-frontier.usatlas.bnl.gov:23128/frontieratbnlTo use your modified
dblookup.xml file, override the original environment variable CORAL_DBLOOKUP_PATH to have your local directory containing the modified version of dblookup.xml first:
export CORAL_DBLOOKUP_PATH="$my_DBLOOKUP_PATH:$CORAL_DBLOOKUP_PATH"Note: Starting with release 15, Athena looks in the
run/ directory for dblookup.xml file regardless of the content of $CORAL_DBLOOKUP_PATH when running interactively but not for jobs submitted via pathena.
Note: 'retrieve-ziplevel' is best set to '5', but another setting ('0', etc.) may be optimal depending on your data access pattern.
export FRONTIER_LOG_LEVEL=debug export FRONTIER_LOG_FILE=/tmp/frontier_client.logDo not store the logging file on a networked filesystem, especially AFS, as this drastically slows down FroNTier/Squid. Check this log to verify whether any connections are succeeding. -- FrederickLuehring - 12 Oct 2009
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.