SandboxStore service manages the sandboxes for the DIRAC WMS. Sandboxes are unique. If a user tries to upload the same sandbox twice, it will only be kept once in disk. To check if the sandboxes are the same, the md5 of the sandbox is used.

When a client tries to upload a sandbox to the SandboxStore, the following steps take place:

  1. Client uploads sandbox to SandboxStore via DISET's transfer client.
  2. SandboxStore looks at the /Backend option:
    1. if it's local or undefined -> keep files in local disk and use /LocalSE and SEName
    2. if it's an SE name -> upload sandbox to SE using the ReplicaManager and use that as the SEName
  3. return URL being
    sb://<SEName>/<SEPFN>

When a client tries to download a sandbox, the following steps take place:

  1. The sanbox store client splits the URL into SEName and SEPFN
  2. Use the ReplicaManager to download the file using SEName and SEPFN

Note: The SandboxStore can act as a DISET SE because the download takes place through the RM.

-- AdriaCasajus - 2009-09-22

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-09-22 - AdriaCasajus
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback