Modify file server entries in the database. These essentially
create a map from host file name (HFN) URLs to real URLs. An
HFN is a URL of the form hfn://machine.domain.name:/path/to/file
.
Usage: jug_fileserver_setup operation options
Operations: add, modify, delete, view
Options:
Example:
jug_fileserver_setup add \ --name=test \ --server_url=http://cassia.hep.wisc.edu:8000 \ --base_hfn=hfn://cassia.hep.wisc.edu:/data/cmsprod
In this example, files on cassia.hep.wisc.edu
anywhere
under /data/cmsprod
will be accessed via an http server
running on port 8000. For example, the file
hfn://cassia.hep.wisc.edu:/data/cmsprod/output/run1.dat
will be remapped to
http://cassia.hep.wisc.edu:8000/output/run1.dat
.
By default, fileserver entries are automatically created for storage workers when you run them.