Installation

Pre-requisites

You must have Java and rpm successfully installed on a computer with sufficient disk space to act as a storage management system.

The Dcache software is written in Java and requires a recent version of either the JAVA developer kit (JDK) or the run time environment (JRE) to be installed.

A Globus based host certificate is required to be installed in /etc/grid-security. Contact the CA responsible for your community for details.

The Globus grid security infrastructure must be fully setup. This includes the Globus Java security infrastructure and the Gridmap file.

Postgres Relational database http://www.postgresql.org/mirroros-ftp.html is available as a default part of scientific Linux. Server and JDBC support is needed.

Getting the software

Dcache is available only in the form of RPM's. The Dcache RPM packages are available from the web or from AFS. The web URL and AFS locations are shown below. Unfortunately the LCG installation tool (RPM version d-cache-lcg-4.0.0-1 or later) this guide recommends is only available from AFS.

AFS Directory containing Dcache
        /afs/cern.ch/project/gd/RpmDir/external
The Dcache website
        http://www.dcache.org/
                        

Getting the Dcache software is relatively easy.

wget http://www.dcache.org/downloads/dcache-v1.2.2-7-1.tgz
tar -zxvf dcache-v1.2.2-7-1.tgz

Do be warned the tgz file expands into the current working directory.

Getting the LCG rpm is more difficult, I go it via scp from my CERN account although any machine with AFS should be able to access this file.

scp username@lxplus.cern.ch:/afs/cern.ch/project/gd/RpmDir/external/d-cache-lcg-4.* .