next up previous contents
Next: edg_rc Replica Catalog Tools Up: Data Storage and Permanent Previous: GDMP   Contents

edg-replica-manager Command Suite

The edg-replica-manager command suite is designed as user interface to GDMP and to data management tools. As GDMP, also the RM (Replica Manager) commands need a configuration file to setup the VO environment. The configuration file is defined either by the environment variable RC_CONFIG_FILE or using the -c option in the command. The configuration file may contain comment lines, i.e. lines starting with the # character. The file contains definitions in the form:

PARAMETER=value

with one single line for each parameter/value pair. Note that most values are URL or network names, therefore the lines may be very long.
A typical configuration file is listed below. 4

# This file /opt/edg/etc/alice/rc.conf is managed by LCFG
RC_REP_CAT_MANAGER_DN=cn=Manager,rc=AliceReplicaCatalog,
                      dc=eu-datagrid,dc=org
RC_REP_CAT_MANAGER_PWD=Alice
RC_REP_CAT_URL=ldap://grid-vo.site:10489/rc=AliceReplicaCatalog,
               dc=eu-datagrid,dc=org
RC_LOGICAL_COLLECTION=ldap://grid-vo.site:10489/
                      lc=2003_v3-09-06_hbt_central,rc=AliceReplicaCatalog,
                      dc=eu-datagrid,dc=org
RLS=none
GDMP_STAGING=no
GDMP_VO=alice
Basic commands are:

edg-replica-manager-ls list file names
edg-replica-manager-pwd print RC directory
edg-replica-manager-cd change RC directory
edg-replica-manager-cat display RC file
edg-replica-manager-listReplicas list file replicas
edg-replica-manager-registerEntry register a file in RC
edg-replica-manager-unregisterEntry unregister a file in RC
edg-replica-manager-copyFile copy a file between SEs
without changing the RC
edg-replica-manager-copyAndRegisterFile copy a file to SE and register in the RC
edg-replica-manager-replicateFile replicate file between two SEs
edg-replica-manager-deleteFile delete file from disk and RC


next up previous contents
Next: edg_rc Replica Catalog Tools Up: Data Storage and Permanent Previous: GDMP   Contents
luvisetto 2003-07-25