1 / 24

The new Rfio

The new Rfio. Castor-DPM collaboration. Giulia Taurelli CERN / IT. Castor F2F meeting – November 2006. Summary. Brief introduction of Rfio First step … analysis Prototype and tests Second step … common CVS and deployment Rpm and new tests Conclusion. Rfio. Rfio. Rfio.

kennan
Download Presentation

The new Rfio

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The new Rfio Castor-DPM collaboration Giulia TaurelliCERN / IT Castor F2F meeting – November 2006

  2. Summary • Brief introduction of Rfio • First step … analysis • Prototype and tests • Second step … common CVS and deployment • Rpm and new tests • Conclusion

  3. Rfio

  4. Rfio

  5. Rfio

  6. First analysis … Status of rfio in Castor2 And DPM

  7. Castor and Dpm Pure Castor Code Pure DPM Code COMMON CODE

  8. Castor and Dpm DPM plugin Castor plugin RFIO_PARSE()

  9. Rfio_parse()

  10. Castor TURL First problem …… the new TURL extension

  11. Parameters needed by castor: • Stager host • Stager port • Stager version • Stager service class

  12. Once upon a time … Now … • the TURL • Enviroment variables • Configuration files • Default values

  13. New Turl …. Rfio://STAGEHOST : PORT / /castor/cern.ch/user/n/nobody/file ? svcClass=MYSVC &castorVersion=MYVERSION

  14. New Turl …. Rfio:// STAGEHOST : PORT ?svcClass=MYSVC &castorVersion=MYVERSION &path=/castor/cern.ch/user/n/nobody/file /castor

  15. First prototype … From rfio_plugin-0.0 to rfio_plugin-0.14 …

  16. First prototype … • librfio.a • libcommon.a • librfio_castor2.so • librfio_dpm.so … at the end of September

  17. Tests … • First tests was run successfully by Dpm and Castor teams. • We used a modified version of libshift to use the new rfio code. • Still a “clean deployment was needed”

  18. Second step … • common CVS

  19. Cvs structure

  20. Libraries

  21. Rpm … • rfio.rpm (Bin for the command line, librfio.so, man) • castor-dpm-common.rpm (libcastor_dpm_common.so) • rfio-devel.rpm • castor-dpm-common-devel.rpm • castor-stager-client.rpm • dpm-rfio-plugin.rpm

  22. Rpm … • Last week we received the first version of rpm producted by dpm for the common part. • Before that we were working using a temporary librfio.so and libcommon.so produced by castor side, using the CVS code and using that we obtain the .so for the castor plugin. • Now we’re integrating all the pieces to have castor working using the new libraries.

  23. What’s next? • Testing (new test suite ready) • Producing new castor rpm. • New rfio_copy() api • File from/to Castor to/from DPM

  24. Conclusion • First step to the new castor refactoring • Removed duplication of code • More tests for the code available now

More Related