To allow file transfers in and out of dCache using xrootd, a
new
must be started. This door acts then as the
entry point to all xrootd
doorxrootd
requests. Compared to the native
xrootd server-implementation (produced by SLAC), the
corresponds to the xrootd
doorredirector node
.
To enable the
, you have to change the layout file
corresponding to your dCache-instance. Enable the
xrootd-service within the domain that you want to run it by adding the
following line
xrootd
door
.. [<domainName>/xrootd] ..
Example:
You can just add the following lines to the layout file:
.. [xrootd-${host.name}Domain] [xrootd-${host.name}Domain/xrootd] ..
After a restart of the domain running the
, done e.g. by
executing
xrootd
door
[root] #
${dCacheHome}/bin/dcache restart xrootd-babelfishDomain
Stopping xrootd-babelfishDomain (pid=30246) 0 1 2 3 4 5 6 7 done Starting xrootd-babelfishDomain done
the
should be running. A few minutes later it
should appear at the web monitoring interface under "Cell
Services" (see the section called “The Web Interface for Monitoring dCache”).
xrootd
door
The default port the
is listening on is
1094. This can be changed two ways:
xrootd
door
Per door: Edit your instance’s layout file, for example
/opt/d-cache/etc/layouts/example.conf
and add the desired port for the
in a separate line (a restart of the domain(s) running thexrootd
door
is required):xrootd
door.. [xrootd-${host.name}Domain] [xrootd-${host.name}Domain/xrootd] port = 1095 ..
Globally: Edit
/opt/d-cache/etc/dcache.conf
and add the variablexrootdPort
with the desired value (a restart of the domain(s) running the
is required):xrootd
door.. xrootdPort=1095 ..
For controlling the TCP
-portrange within which xrootd
-movers
will start listening in the <pool>Domain
, you can add the properties
net.lan.port.min
and
net.lan.port.max
to
/opt/d-cache/etc/dcache.conf
and adapt them
according to your preferences. The default values can be viewed in
/opt/d-cache/share/defaults/dcache.properties
.
.. net.lan.port.min=30100 net.lan.port.max=30200 ..