wiki:XrootdBackport
Last modified 5 years ago Last modified on 11/06/12 15:07:44

Xrootd Backport

The xrootd backport works as a plugin for the most recent bugfix releases of supported branches, i.e., 1.9.12-25+, 2.2 and 2.4 (for 2.4 it is only needed for the monitoring plugin, the CMS namespace mapping plugin works without the backport with versions 2.4 and higher).

To use it download the backport from github and unpack it to

/usr/local/share/dcache/plugins/

After restarting dCache will automatically pick up the backport plugin and use it for xrootd related functionality.

Xrootd4j-Plugins

The backport allows to use regular xrootd4 plugins like the Atlas Monitoring Plugin or the CMS Namespace mapping plugin

CMS Namespace mapping plugin

This plugin uses the standard CMS namespace mapping file (usually called storage.xml) to perform logical filename to physical filename (lfn-to-pfn) mappings. This enables dCache to be added to the xrootd based federations in CMS (see here).

To install the plugin either download it packaged from github here or checkout the source code and build it yourself.

If you want to build it yourself, check out the source code with git from here, change into the source directory and run

mvn package

This will create the package in the target subdirectory.

Copy and unpack the package into the directory

/usr/local/share/dcache/plugins/

then edit your dCache layout file and add

xrootdPlugins=gplazma:none,authz:cms-tfc
xrootd.cms.tfc.path=/etc/storage.xml
xrootd.cms.tfc.protocol=root

to the domain running the xrootd service. Afterwards restart the dCache domain to activate the plugin.

  • xrootdPlugins cms-tfc is the name of the plugin. Define it as an authz plugin to use make use of it.
  • xrootd.cms.tfc.path is the path or URL to your sites storage.xml or a special file for the xrootd-door with the same format, containing mappings from logical filenames to physical filenames
  • xrootd.cms.tfc.protocol is the protocol to use if none is provided with the logical file path. E.g., "direct" or "root".

Atlas monitoring plugin

The Atlas monitoring plugin adds file transfer monitoring capabilities to the dCache pools. To use it, either download it packaged from here or check out the source code from github here.

If you want to build it yourself, check out the source code with git, change into the source directory and run

mvn package

This will create the package in the target subdirectory.

Copy and unpack the package into the directory

/usr/local/share/dcache/plugins/

then edit your dCache layout file and add

xrootdPlugins=edu.echicago.monitor

to the domain running the pool you want to monitor. Afterwards restart the dCache domain to activate the plugin.