Before Starting

  • You need a SL5/64 bit machine with Oracle JDK installed (yum install java-1.6.0-sun-compat.x86_64).
  • For testing get a emi UI node

Service Installation

Please just follow the instructions in the dCache book: Installing dCache

Service Configuration

dCache Service Configuration

Depending on what services you want to use you need to adapt the layout file to start certain services. So in particular dcap, gsidcap, gridftp, srm, xrootd, webdav are enabled. You need to have at least one pool enabled for dCache to work. My /etc/dcache/layouts/single.conf looks like this:
broker.scheme=none

[dCacheDomain]
[dCacheDomain/admin]
[dCacheDomain/broadcast]
[dCacheDomain/poolmanager]
[dCacheDomain/loginbroker]
[dCacheDomain/spacemanager]
[dCacheDomain/pnfsmanager]
[dCacheDomain/nfsv3]
[dCacheDomain/cleaner]
[dCacheDomain/acl]
[dCacheDomain/dir]
[dCacheDomain/gplazma]
[dCacheDomain/gsi-pam]
[dCacheDomain/pinmanager]
[dCacheDomain/billing]
[dCacheDomain/srm-loginbroker]
[dCacheDomain/httpd]
[dCacheDomain/topo]
[dCacheDomain/info]

[dCacheDomain/pool]
name=pool1
path=/pools/pool1

# [dCacheDomain/pool]
# name=pool2
# path=/path/to/pool2

# [dCacheDomain/replica]
[dCacheDomain/dcap]
[dCacheDomain/gsidcap]
[dCacheDomain/gridftp]
[dCacheDomain/srm]
# [dCacheDomain/transfermanagers]
[dCacheDomain/xrootd]
[dCacheDomain/webdav]
# [dCacheDomain/webadmin]

Please have a look here for getting in touch with dCache: Intouch chapter

Creating the paths for storing data:

You need to have /etc/exports:
/ localhost(rw)
/pnfs
Then mount chimera, create the directory structure and for ease of use I have set the directory to world writable.
mount localhost:/pnfs /pnfs/
mkdir -p /pnfs/desy.de/data/testers.eu-emi.eu
chown 61001:6100 /pnfs/desy.de/data/testers.eu-emi.eu
chmod 777 /pnfs/desy.de/data/testers.eu-emi.eu

Installing and configuring resource BDII

yum install bdii.noarch + configuring BDII. The /etc/dcache/info-provider.xml file holds all non-static information that is published by the SE. Adapt it to your liking.

Configuring Authentication and Authorization

All information necessary to configure authentication and authorization can be found in the Authorization in dCache Chapter. For configuring testers VO the /etc/dcache/dcachesrm-gplazma.policy files needs to have gplazmalite-vorole-mapping="ON". Furthermore /etc/grid-security needs to hold the following files:
  • Your host certificate files, public and private key named: hostcert.pem (644) hostkey.pem(600)
  • grid-vorolemap needs to have this entry:
# Added role /testers.eu-emi.eu
"*" "/testers.eu-emi.eu" testers.eu-emi.eu
  • storage-authdb needs to have this entry:
# authzdb for testers.eu-emi.eu added by dcacheVoms2Gplasma
authorize testers.eu-emi.eu read-write 61001 6100 / / /

Service Testing

Testing can be done using the command stated here: EMI dCache Storage Element Tests Page -- ChristianBernardt - 27-May-2011
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-05-27 - ChristianBernardtExCern
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

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