Content-type: text/html Man page of LCG-LG

LCG-LG

Section: User Commands (1)
Updated: $Date: 2009/06/26 12:01:06 $
Index Return to Main Contents

 

NAME

lcg-lg - get the GUID for a given LFN or SURL

 

SYNOPSIS

lcg-lg [ --config config_file ] [ -h,--help ] [ -b,--nobdii ] [ -v,--verbose ] [ --connect-timeout timeout ] [ --sendreceive-timeout timeout ] [ --bdii-timeout timeout ] [ --vo virtual_organization ] [ -v,--version ] lfn_or_surl

 

DESCRIPTION

lcg-lg gets the GUID for a given LFN or SURL. The program prints the actual GUID on stdout.
lfn_or_surl
specifies the Logical File Name or the Site URL. An SURL scheme can be sfn: for a classical SE or srm:.
--connect-timeout
Sets the connect timeout, used when connecting to a remote host. The connection will be aborted if the remote host doesn't reply after value seconds.
--sendreceive-timeout
Sets the send/receive data timeout, used when transferring data to/from a remote host. The connection will be aborted if no data is transfered after value seconds.
--bdii-timeout
Sets the BDII timeout, used when searching information into BDII. The connection will be aborted if the search is longer than value seconds.
vo
specifies the Virtual Organization the user belongs to. If it is not specified, the environment variable LCG_GFAL_VO will be used.
conf_file
This argument is currently ignored.
-b,--nobdii
If this flag is present, it means that you don't want to make BDII calls to get SE type. So, you must provide the type of the SE for srm: arguments, and full endpoint in SURLs. For SE type, defaulttype can be used (it will be used for both source and destination).
-v,--verbose
Verbose mode. You can specify it twice for extra verbose mode.

 

NOTE

The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless --nobdii option is used. To use the RLS as catalog instead of the LFC, the environment variable LCG_CATALOG_TYPE must explicitely be set to "edg". By default, it is set to "lfc".

 

EXAMPLE

        lcg-lg --vo dteam lfn:/grid/dteam/tests/testjpb_rf10

        guid:b0f64a56-0f1e-4ed2-993e-631de0bd06bb

 

EXIT STATUS

This program returns 0 if the operation was successful or >0 if the operation failed.

 

SEE ALSO

lcg-aa(1), lcg-cp(1), lcg-cr(1), lcg-del(1), lcg-getturls(1), lcg-gt(1), lcg-la(1), lcg-lg(1), lcg-lr(1), lcg-ls(1), lcg-ra(1), lcg-rep(1), lcg-rf(1), lcg-sd(1), lcg-stmd(1), lcg-uf(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
NOTE
EXAMPLE
EXIT STATUS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:16:53 GMT, July 14, 2009