Skip to content

A Xrootd N2N plugin based on the CMS Trivial File Catalog

Notifications You must be signed in to change notification settings

CMSCompOps/xrootd-cmstfc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xrootd-cmstfc

pipeline

Description

CMS JSON and XML module for Open Storage System using XRootD Name2Name interface

Installation

Building from Source

git clone https://github.com/CMSCompOps/xrootd-cmstfc
mkdir build && cd build
cmake .. 
make install

Building XML and JSON Test

Build executable to test the xml and json conversion module

mkdir build && cd build
cmake .. -DBUILD_TEST=true
make

Test storage.xml

./test_xml.o   /store/temp/1 'file:/path_to/storage.xml?protocol=root'

Test storage.json

./test_json.o  /store/temp/1 'file:/path_to/storage.json?volume=TX_XX_XXX&protocol=root'

Usage

Add the shared library ( libXrdCmsTfc.so or libXrdCmsJson.so ) to oss.namelib section in the xrootd configuration file

# xrootd-configuration.cfg

oss.namelib /usr/lib64/libXrdCmsTfc.so  file:/path_to/storage.xml?protocol=root

or 

oss.namelib /usr/lib64/libXrdCmsJson.so file:/path_to/storage.json?volume=TX_XX_XXX&protocol=root

About

A Xrootd N2N plugin based on the CMS Trivial File Catalog

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.4%
  • CMake 9.3%
  • Dockerfile 4.1%
  • Python 3.2%