how to join xrootd federations with dcache plugins
play

How to join XrootD Federations with dCache Plugins Karsten Schwank - PowerPoint PPT Presentation

How to join XrootD Federations with dCache Plugins Karsten Schwank Berlin, 27.5.2013 dCache Team Contents Join the CMS XrootD Federation (AAA) Join the Atlas XrootD Federation (FAX) Install the Atlas Pool Monitoring Plugin Use the


  1. How to join XrootD Federations with dCache Plugins Karsten Schwank Berlin, 27.5.2013 dCache Team

  2. Contents Join the CMS XrootD Federation (AAA) Join the Atlas XrootD Federation (FAX) Install the Atlas Pool Monitoring Plugin Use the Alice-Token Plugin Requirements to use plugins Installing the XrootD-Backport Compiling the plugins (optional)

  3. Join the CMS XrootD Federation (AAA) Use the CMS-TFC Plugin https://twiki.cern.ch/twiki/bin/view/Main/DcacheXrootd

  4. Join the CMS XrootD Federation

  5. Join the CMS XrootD Federation /path/to/lfn ?

  6. Joining the CMS XrootD Federation /path/to/lfn ?

  7. Joining the CMS XrootD Federation TFC: Storage.xml /path/to/lfn → /mapped/path/to/pfn

  8. Joining the CMS XrootD Federation “Got it!”

  9. Joining the CMS XrootD Federation Redirect: xrootd.federation.host

  10. Joining the CMS XrootD Federation /path/to/lfn ?

  11. Joining the CMS XrootD Federation Redirect: door.example.org

  12. Joining the CMS XrootD Federation /path/to/lfn ?

  13. Joining the CMS XrootD Federation /path/to/lfn → /mapped/path/to/pfn TFC: Storage.xml cms-tfc

  14. Joining the CMS XrootD Federation Redirect: pool.example.org:/path/to/mapped/pfn cms-tfc

  15. Joining the CMS XrootD Federation /path/to/mapped/pfn cms-tfc

  16. Install the CMS-Mapping-Plugin Build or download xrootd4j-cms-plugin-1.0-SNAPSHOT.tar.gz Unpack it in /usr/local/share/dcache/plugins zitpcx18435:/usr/local/share/dcache/plugins % ls -l total 7952 drwxr-xr-x 2 root root 4096 May 24 15:57 xrootd4j-cms-plugin-1.0-SNAPSHOT -rw-r--r-- 1 root root 8130504 May 24 15:56 xrootd4j-cms-plugin-1.0-SNAPSHOT.tar.gz zitpcx18435:/usr/local/share/dcache/plugins % cd xrootd4j-cms-plugin-1.0-SNAPSHOT zitpcx18435:/usr/local/share/dcache/plugins/xrootd4j-cms-plugin-1.0-SNAPSHOT % ls -l total 8720 -rw-r--r-- 1 karsten it 904 Oct 5 2012 default.properties -rw-r--r-- 1 karsten it 34520 Sep 4 2012 LICENSE.txt -rw-r--r-- 1 karsten it 8857794 Aug 23 2012 scala-library-2.9.2.jar -rw-r--r-- 1 karsten it 25963 Nov 5 2012 xrootd4j-cms-plugin-1.0-SNAPSHOT.jar zitpcx18435:/usr/local/share/dcache/plugins/xrootd4j-cms-plugin-1.0-SNAPSHOT %

  17. Configure the CMS-Mapping-Plugin In your layout file (or dcache.conf) set xrootd/xrootdPlugins=gplazma:none,authz: cms-tfc Configure the path or url to the rules file xrootd.cms.tfc.path= $CMS_PATH/SITECONF/local/PhEDEx/storage.xm l and the “entry point” protocol xrootd.cms.tfc.protocol= root

  18. Sample rules file <storage-mapping> <lfn-to-pfn protocol=”root” path-match=”.*/path/to/l(.*)” result=”root:///mapped/path/to/p$1”/> </storage-mapping> “root:///foo/bar/path/to/lfn” → “root:///mapped/path/to/pfn”

  19. Joining the Atlas XrootD Federation (FAX)

  20. Joining the Atlas XrootD Federation (FAX) - Way one: Use dCache as a Posix storage with NFS 4.1 https://twiki.cern.ch/twiki/bin/view/Atlas/FAXposixStorage - Way two: Use dCache as xrootd storage https://twiki.cern.ch/twiki/bin/view/Atlas/FAXxrootdStorage - Way three: Use the FAX Name-to-Name Plugin https://twiki.cern.ch/twiki/bin/view/Atlas/FAXdCacheN2Nstorage

  21. Using dCache as Posix storage

  22. Using dCache as Posix storage /path/to/gfn ?

  23. Using dCache as Posix storage /path/to/gfn ?

  24. Using dCache as Posix storage

  25. Using dCache as Posix storage “Got it!”

  26. Using dCache as Posix storage Redirect: xrootd.federation.host

  27. Using dCache as Posix storage /path/to/gfn ?

  28. Using dCache as Posix storage

  29. Using dCache as Posix storage /mapped/path/to/sfn ?

  30. Using dCache as Posix storage

  31. Using dCache as XrootD storage See https://twiki.cern.ch/twiki/bin/view/Atlas/FAXDECloud for a real life example by Günther Duckeck (LMU München)

  32. Using the FAX Name-to-Name Plugin Third-party plugin by Ilija Vukotic https://twiki.cern.ch/twiki/bin/view/Main/Ili jaVukotic

  33. Using the FAX Name-to-Name Plugin

  34. Using the FAX Name-to-Name Plugin /path/to/gfn

  35. Using the FAX Name-to-Name Plugin /path/to/gfn

  36. Using the FAX Name-to-Name Plugin /path/to/gfn → /mapped/path/to/sfn

  37. Using the FAX Name-to-Name Plugin “Got it!”

  38. Using the FAX Name-to-Name Plugin Redirect: xrootd.federation.host

  39. Using the FAX Name-to-Name Plugin /path/to/gfn

  40. Using the FAX Name-to-Name Plugin Redirect: door.example.org

  41. Using the FAX Name-to-Name Plugin /path/to/gfn n2n

  42. Using the FAX Name-to-Name Plugin /path/to/gfn → /mapped/path/to/sfn n2n

  43. Using the FAX Name-to-Name Plugin Redirect: pool.example.org:/mapped/path/to/sfn n2n

  44. Using the FAX Name-to-Name Plugin /mapped/path/to/sfn n2n

  45. Install the Name-to-Name-Plugin Build or download from https://github.com/ivukotic/plugins.git Unpack it in /usr/local/share/dcache/plugins

  46. Configure the Name-to-Name Plugin In your layout file (or dcache.conf) set xrootd/xrootdPlugins=gplazma:none,authz: atlas-name-to- name-plugin Configure hostname of the LFC lfc_host= <lfc-host> And the hostname of the dCache SRM door srm_host= <srm-host>

  47. Install the Atlas Pool Monitor Plugin Third-party plugin by Ilija Vukotic https://twiki.cern.ch/twiki/bin/view/Main/IlijaVukotic Exposes two monitoring streams: - Summary: High-Level statistics - Detailed: Information to each file open So far, mostly Atlas, but there is some activity to use this also for CMS.

  48. Install the Atlas Pool Monitor Plugin Build or download from https://github.com/ivukotic/plugins.git Unpack it in /usr/local/share/dcache/plugins

  49. Configure the Atlas Pool Monitor Plugin In your layout file (or dcache.conf) set - on the Pool-Nodes: pool/xrootdPlugins=gplazma:none,authz: edu.uchicago.monitor Configure where to send the summarized data summary= <monitor-host>:<port>:<interval[s]> and where to send the detailed data detailed= <details-host>:<port>:<interval[s]> - on the Door-Nodes: xrootd/xrootdPlugins=gplazma:none,authz: atlas-name-to-name-plugin pool/xrootdPlugins=gplazma:none,authz: edu.uchicago.monitor

  50. Using the Alice-Token Plugin

  51. Using the Alice-Token Plugin In your layout file (or dcache.conf) set xrootd/xrootdPlugins=gplazma:none,authz: alice-token If you want gsi security: xrootd/xrootdPlugins=gplazma: gsi ,authz:alice-token Configure the path to the keystore xrootdAuthzKeystore= <keystore>

  52. Version Requirements Plugin dCache 2.2+ dCache 2.4+ dCache 2.6+ xrootd4j-backport supported supported included Alice Included Included included Authorization CMS with supported supported Federation xrootd4j-backport Atlas with supported supported Federation xrootd4j-backport Atlas with with supported Pool Monitoring xrootd4j-backport xrootd4j-backport 52

  53. XrootD-Backport Build or download xrootd4j-backport-2.4- SNAPSHOT.tar.gz Unpack it in /usr/local/share/dcache/plugins/ Restart dCache to pick it up.

  54. Building Plugins (optional) Checking out source code of plugins and building them is no t necessary for normal operation. However, if you are interested you can...

  55. Building Requirements To build the plugins from source: Git, Java 6+, Maven2 or 3 and xrootd4j from https://github.com/dCache/xrootd4j.git Install the xrootd4j dependencies using # cd xrootd4j # mvn install -am -pl xrootd4j Take the .tar.gz from the target directory.

  56. Build the XrootD-Backport Check out the sources from https://github.com/dCache/xrootd4j-backport.git # cd xroot4j-backport # mvn package Take the .tar.gz from the target directory . Current version depends on dcache-core-2.2.5

  57. Build the CMS Mapping-Plugin Check out the sources from https://github.com/dCache/xrootd4j-cms-plugin.git # cd xrootd4j-cms-plugin # mvn package Take the .tar.gz from the target directory.

  58. Sources XrootD4J: • https://github.com/dCache/xrootd4j.git XrootD4J-Backport: • https://github.com/dCache/xrootd4j-backport.git CMS-Namespace-Mapping: • https://github.com/dCache/xrootd4j-cms-plugin.git FAX-Namespace-Mapping, Atlas-Pool-Monitoring: • https://github.com/ivukotic/plugins.git Currently there is no official download location for the plugins. If you want to use them, please contact us ( support@dcache.org) or the provider of the plugin. 58

  59. References - Giacinto Donvito: “CMS evolution on data access: xrootd remote access and data federation”, http://www.desy.de/dvsem/WS1112/donvito_talk.pdf - Brian Bockelmann: “Joining a dCache-based SE to the Xrootd service.”, https://twiki.cern.ch/twiki/bin/view/Main/DcacheXrootd - Günther Duckeck: “Xrootd proxy setup for dCache to join FAX”, https://twiki.cern.ch/twiki/bin/view/Atlas/FAXDECloud - Ilija Vukotic: “Setup xrootd/FAX services with dCache Xrootd Door”, https://twiki.cern.ch/twiki/bin/view/Atlas/FAXdCacheN2Nstorage - WeiYang: “Setup xrootd/FAX services on Xrootd Storage”, https://twiki.cern.ch/twiki/bin/view/Atlas/FAXxrootdStorage - Domenico Giordano, Simone Campana: “XrootD Deployment Task Force” 59

  60. Thank you! 60

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend