Next: removeAlias
Up: Catalog Commands
Previous: addAlias
  Contents
usage: edg-replica-manager addAlias GUID LFN
Add a new LFN alias to an existing GUID..
Arguments:
GUID The GUID to add the alias for.
LFN The LFN alias to add.
Semantics
This command simply adds an LFN alias to an existing GUID.
The LFN must be unique.
Arguments
- GUID
- The GUID. It must be a valid GUID URI and must
exist in the catalog.
- LFN
- The new LFN. It must be a valid LFN URI and
must be unique, i.e. not present in the catalog yet.
Options
none.
Return value
The call returns 0 on success (-1 on failure).
Errors
The call can fail for many reasons. Some of the reasons are:
- The user has no/expired credentials.
- The GUID or LFN is invalid.
- The GUID does not exist.
- The LFN already exists.
- The RMC is unattainable or ill-configured.
2005-02-04