DCache Installation(VDT)


From HEP at Tennessee

Jump to: navigation, search

VDT greatly simplifies the instalation of dCache. However, there are a few things not mentioned which need to be done in order to prepare for the installation. To prepare a fresh install of SL 4.5 for the vdt dCache there are a few libraries needed.


Preparation

yum install ncurses.i386
yum install libtermcap.i386
yum install openssl.i686


dCache Installation/configuration

The VDT installation of dCache also installs postgresql and pnfs if they are needed. For further assistance refer to the VDT installation page for the OSG.

The first thing that we need to do is download VDT dcache. This can be done here. At the time of writing this version 2.1.2 is the latest release and the one that was used for this installation.

We now need to unpack the package and run the configuration script.

tar -zxvf vdt-dcache-2.1.2.tar.gz
cd  ./vdt-dcache-2.1.2/install
./config-node.pl

The script will ask you a series of questions then create a file named site-info-def dependent upon how the questions were answered. Now run the installation script.

./install.sh

If all was successful you should now have installed dCache. You need to repeat these steps for all admin and pool nodes.


Starting dCache

/opt/d-cache/bin/dcache start
cp /opt/d-cache/bin/dcache /etc/init.d
chkconfig --add dcache
chkconfig dcache on
Personal tools