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-babelfishDomainStopping 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
/etc/dcache/layouts/example.confand add the desired port for thein a separate line (a restart of the domain(s) running thexrootddooris required):xrootddoor.. [xrootd-${host.name}Domain] [xrootd-${host.name}Domain/xrootd] port = 1095 ..Globally: Edit
/etc/dcache/dcache.confand add the variablexrootd.net.portwith the desired value (a restart of the domain(s) running theis required):xrootddoor.. xrootd.net.port=1095 ..
For controlling the TCP-portrange within which xrootd-movers
will start listening in the <pool>Domain, you can add the properties
dcache.net.lan.port.min and
dcache.net.lan.port.max to
/etc/dcache/dcache.conf and adapt them
according to your preferences. The default values can be viewed in
/usr/share/dcache/defaults/dcache.properties.
.. dcache.net.lan.port.min=30100 dcache.net.lan.port.max=30200 ..