Both sides previous revision Previous revision Next revision | Previous revision |
public:srmclientinstallation [2015-09-01 12:51] – [FNAL/dCache client tools] Joern Kuensemoeller | public:srmclientinstallation [2017-03-08 15:27] (current) – external edit 127.0.0.1 |
---|
* Untar package in directory of your choosing:\\ <code>tar -xvzf lofar_grid_clients.tar.gz</code> | * Untar package in directory of your choosing:\\ <code>tar -xvzf lofar_grid_clients.tar.gz</code> |
* Determine your java version:\\ <code>java -version</code> | * Determine your java version:\\ <code>java -version</code> |
* Source init.sh (Java 7) or init_java6 (Java 6) in lofar_grid/, e.g. :\\ <code>. lofar_grid/init.sh</code> | * Source init.sh (Java 7 or 8) or init_java6 (Java 6) in lofar_grid/, e.g. :\\ <code>. lofar_grid/init.sh</code> |
* Update the certificates with one of the provided scripts, e.g.: \\ <code>. update_certificates_eugridpma.sh</code> | * Update the certificates with one of the provided scripts, e.g.: \\ <code>. update_certificates_eugridpma.sh</code> |
* Optional: Set proxy environment variable to custom location:\\ <code>export X509_USER_PROXY=<proxy_location></code> | * Optional: Set proxy environment variable to custom location:\\ <code>export X509_USER_PROXY=<proxy_location></code> |
* Generate a proxy:\\ <code>voms-proxy-init -voms lofar:/lofar/user</code> | * Generate a proxy:\\ <code>voms-proxy-init -voms lofar:/lofar/user</code> |
* Test data retrieval:\\ <code>srmcp -server_mode=passive srm://srm.grid.sara.nl/pnfs/grid.sara.nl/data/lofar/ops/fifotest/file1M file:///file1M</code> | * Test data retrieval:\\ <code>srmcp -server_mode=passive srm://srm.grid.sara.nl/pnfs/grid.sara.nl/data/lofar/ops/fifotest/file1M file://`pwd`/file1M</code> |
* Done!\\ // NB If you modified any default location by the ''export'' command, you have to put it in a shell start-up script like '.bashrc' to make your changes permanent, of course (with full paths where appropriate).// | * Done!\\ // NB If you modified any default location by the ''export'' command, you have to put it in a shell start-up script like '.bashrc' to make your changes permanent, of course (with full paths where appropriate).// |
* If you get any errors <del>related to CA certificates</del>, retry after running one of the provided scripts to update your certificates, e.g.\\ <code>. update_certificates_eugridpma.sh</code> The certificates change every now and then, and then you need to update them. | * If you get any errors <del>related to CA certificates</del>, retry after running one of the provided scripts to update your certificates, e.g.\\ <code>. update_certificates_eugridpma.sh</code> The certificates change every now and then, and then you need to update them. |
| |
**Note:** For (t)csh, use *.csh init scripts and 'setenv <key> <value>' instead of 'export <key>=<value>'. | **Note:** For (t)csh, use *.csh init scripts and 'setenv <key> <value>' instead of 'export <key>=<value>'. |
| |
====== Troubleshoot ===== | ====== Troubleshoot ===== |
| |
* There is a [[public:lta_faq|LTA FAQ page]] that should help with the common difficulties. | * There is a [[public:lta_faq|LTA FAQ page]] that should help with the common difficulties. |