~ubuntu-branches/ubuntu/utopic/nordugrid-arc/utopic

« back to all changes in this revision

Viewing changes to src/services/acix/README

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-05-01 20:51:02 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140501205102-icy9t3348uxobyx7
Tags: 4.1.0-1
* 4.1.0 Release
* Call dh_autoreconf to support ppc64le (Closes: #744639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
This is important as the index server pulls the cache filter from your site
48
48
(the filter doesn't get registered automatically).
49
49
 
 
50
If you have both arex_mount_point and at least one cacheaccess rule defined in
 
51
arc.conf then the URL for remote cache access will be sent to the index,
 
52
otherwise just the hostname is used.
 
53
 
50
54
 
51
55
ACIX Index Server:
52
56
-----------------
97
101
 
98
102
The result a JSON encoded datastructure with the top level structure being a
99
103
dictionary/hash-table with the mapping: url -> [machines], where [machines] is
100
 
a list of the machines of which the files is cached on. You should always use a
 
104
a list of the machines on which the files are cached. You should always use a
101
105
JSON parser to decode the result (the string might be escaped).
102
106
 
 
107
If a machine has enabled remote cache access then a URL at which cache files
 
108
may be accessed is shown, otherwise just the hostname is used. To access a
 
109
cached file remotely, simply append the URL of the original file to the cache
 
110
access endpoint and call HTTP GET (or use wget, curl, arccp,...), eg
 
111
 
 
112
https://arex.host/arex/cache/http://www.nordugrid.org:80/data/echo.sh
 
113
 
 
114
Some encoding of the original URL may be necessary depending on the tool you
 
115
use.