wn-client and ATLAS-wn) check AtlasWorkerNode.
/opt/pacman: source /opt/pacman/setup.sh
/opt/pacman: cd /opt wget http://atlas.bu.edu/~youssef/pacman/sample_cache/tarballs/pacman-3.29.tar.gz tar --no-same-owner -xzvf pacman-3.29.tar.gz cd pacman-3.29 source setup.sh cd .. ln -s pacman-3.29 pacman
/share/wlcg-client, and install the package: mkdir /share/wlcg-client cd /share/wlcg-client pacman -get http://www.mwt2.org/caches/:wlcg-clientAnswer
yes (or yall) to the initial questions during configuration (trust cache, accept licenses).
Now install the Certification Authorities (CA) certificates and Certificates Revocation Lists (CRLs) (CA installation):cd /share/wlcg-client source setup.sh vdt-ca-manage setupca --location local --url osgThis gives you self-contained installation with standard OSG certificates and no running update service. CA certificates need to be maintained because CRLs expire frequently (with expired CAs or CRLs your authentications will fail). No running services is fine for testing and local casual, but the certificates will not be automatically updated. You can update them manually by re-invoking
vdt-ca-manage or by running vdt-update-certs, but requires labor and is not reliable because you may forget. See the automatic update section below to enable automatic updates.
For more options on the type and location of the certificates (e.g. to install the certificates in the system directory /etc/grid-security) see the section on alternatives for CA and CRLs below.
IMPORTANT: The default python from SL5 is python 2.4 whereas dq2 (production version as of 9/20) requires 2.5 or greater. To install and use python 2.6 see the Install and setup Python 2.6 section below.
/share/wlcg-client), he/she must setup the environment:source /share/wlcg-client/setup.sh voms-proxy-init -voms atlas:/atlasThis adds all the utilities to your PATH and defines VDT_LOCATION. You need to setup wlcg-client in order to use DQ2Clients.
vdt-version should return 2.0.x) you can use this procedure, anyway a fresh install is recommended and cleaner if you have enough bandwidth for the download and can interrupt momentarily.
sh cd $VDT_LOCATION source setup.sh vdt-control --off
mv wlcg-client wlcg-client_old mkdir wlcg-client
vdt-control operations are possible/required only if the wlcg-client installation is shared and installed by root: cd $VDT_LOCATION source setup.sh vdt-control --off
pacman -update VDT-Updater
pacman -get http://vdt.cs.wisc.edu/vdt_200_cache:VDT-Updater
vdt/update/vdt-updater --skip-backup-check
pacman -update
vdt-post-install
vdt-control --on
vdt-control --enable vdt-update-certs vdt-control --on vdt-update-certs
vdt-control to control the services running on the machine (e.g. to list, start and stop the services):vdt-control --list vdt-control --on vdt-control --off
vdt-ca-manage allows to pick the desired CA certificates and install them in an arbitrary location, private or shared with other grid softwares.
A complete reference on available certificate sets and where to put the certificates, including an arbitrary location, is available on the VDT site.
The default installation above is self contained. This section covers two other common options to install the OSG CA certificates. You can use one of these instead of the CA installation in the instructions above.
source /opt/wlcg-client/setup.sh vdt-ca-manage setupca --location root --url osg vdt-post-installThis installation by default enables the periodic update of certificates and CRLs.
$CACERTDIR contains the path of the certificate directory, e.g. /your/cacertdir or /etc/grid-security/certificates.
To link to the existing CA installation:vdt-ca-manage setupca --location $CACERTDIR --no-updateBehind the scene this is doing something like:
source /opt/wlcg-client/setup.sh ln -s $CACERTDIR $VDT_LOCATION/globus/TRUSTED_CA ln -s $CACERTDIR $VDT_LOCATION/globus/share/certificatesWithout correct certificates (included or linked, it doesn't matter) your wlcg-client may work only partially.
pacman -get "http://www.mwt2.org/caches:wlcg-client | version('X.Y')" (The use of older versions may lead to an installation with known and solved bug).
%NOTE% Version X.Y of wlcg-client may change over time. wlcg-client adds some customization but it is also a container of packages from the production VDT and OSG software cache. If the added customization or the package list change there will be a new version number. But VDT and OSG overwrite (in place) the existing caches when providing bug fixes or small updates. There is no way to refer the previous version after the update. So all wlcg-client new installation will be different as well (all versions based on that OSG/VDT cache). E.g. wlcg-client from 1.0 to 1.7 are all based on the OSG 1.2 production cache (version at the time of installation).
rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmInstall python26:
yum install python26And link
atlasosgcompat/bin/python to pythonloader, so that it will become the default python in the users PATH once they source the wlcg-client setup:
ln -s $VDT_LOCATION/atlasosgcompat/bin/pythonloader $VDT_LOCATION/atlasosgcompat/bin/pythonpythonloader is a script executing your python scripts with the first python (executable named python or python26) with version <=2.5 present in your PATH. NOTE: If installing python26 from EPEL is not an option, then click here for instructions for possible alternatives that include a Pacman installation of Python 2.6.
-pretend-arch i686 (e.g. pacman -pretend-arch i686 -get wlcg-client) to force a 32bit installation. Pacman is actually caching this setting, so it is important you use -pretend-arch i686 the first time you install something in that directory (Pacman cache). Here is VDT documentation about -pretend-arch i686.
export VDT_PRETEND_32=1 (that was set before the VDT installation) is not working anymore.
_lfc.so) and it is compiled on a SL5.5 32bit. The Pacman installation can be in its own directory or on top of WLCG-Client (recommended if you installed it 32 bit and you will need Python 32 bit only for it). If you wonder, no -pretend-arch i686 is needed because this package is only 32 bit, anyway it is fine if you added the option.
srmcp to copy files out of BNL with dq2-get (or also the older dq2_get), or directly srmcp, SRM streams have to be limited to 1. Due to the BNL site firewall configuration, multiple-stream SRM copies will not work. E.g.:dq2_get -rv --srmstreams 1 ....
voms-proxy-info in wlcg-client behaves differently from the default VDT installation.
Historically "voms-proxy-info -e" changed its default behavior between updates. The current one requires cryptographic verification of the issuer of the certificate extensions. This is not a control necessary in a client forwarding the certificate. The old behavior can be obtained setting VOMS_PROXY_INFO_DONT_VERIFY_AC to 'true'. This is done for you in wlcg-client.
There are 2 other alternatives to have a successful proxy verification: voms-proxy-info --all --dont-verify-ac)
wlcg-client is now provided by VDT (LCG-Utils package). For more information you can check the page about the now obsolete package LFC-min that offered similar functionalities: http://twiki.mwt2.org/bin/view/DataServices/PackageLFCmin
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.