Installing dCache

The two users edguser and edginfo must be added on information provider nodes. They are not needed on other nodes but, since their presence will do no harm, they may be added on all nodes.

adduser -r -s /bin/false -d /opt/edg edguser
adduser -r -s /bin/false -d /opt/edg edginfo

Broken RPM dependency

The current version of bdii contains a dependency on the openldap RPM package. However, this package depends on a specific version of OpenLDAP (specifically, on version 2.2.13-8.el4_6.5). This causes problems when attempting to install bdii on a machine with more recent version of OpenLDAP.

The work-around is to forcefully un-install the openldap packages, so allowing yum to down-grade the installed OpenLDAP package. The following command does this.

[root@dcache-node] # rpm -e --nodeps openldap
warning: /etc/openldap/ldap.conf saved as /etc/openldap/ldap.conf.rpmsave

Install the necessary RPMs using yum. You will need: glite-version, glite-SE_dcache_admin_postgres, lcg-CA, lcg-vomscerts.

[root@dcache-node] # yum install glite-version desy-SE_dcache_admin_postgres desy-SE_dcache_pool \
desy-SE_dcache_info lcg-CA lcg-vomscerts
Loading "kernel-module" plugin
Setting up Install Process
Setting up repositories
cert-CA                   100% |=========================|  951 B    00:00
glite31.generic           100% |=========================|  951 B    00:00
lcg-ca                    100% |=========================|  951 B    00:00
dcache.stable             100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 660 kB    00:00
cert-CA   : ################################################## 1942/1942
Added 1942 new packages, deleted 0 old in 17.81 seconds
primary.xml.gz            100% |=========================| 201 kB    00:00
glite31.ge: ################################################## 744/744
Added 744 new packages, deleted 0 old in 3.96 seconds
primary.xml.gz            100% |=========================|  13 kB    00:00
lcg-ca    : ################################################## 80/80
Added 80 new packages, deleted 0 old in 0.20 seconds
primary.xml.gz            100% |=========================|  15 kB    00:00
dcache.sta: ################################################## 88/88
Added 88 new packages, deleted 0 old in 0.30 seconds
Parsing package install arguments
Resolving Dependencies

Many lines of depedency processing have been omitted

Transaction Summary
=============================================================================
Install    104 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 106 M
Is this ok [y/N]:

Answer 'Y'

Downloading Packages:
(1/104): ca_DOEGrids-1.24 100% |=========================| 5.2 kB    00:00
(2/104): ca_BG-ACAD-CA-1. 100% |=========================| 4.2 kB    00:00
(3/104): dCacheConfigure- 100% |=========================|  58 kB    00:00
(4/104): ca_REUNA-ca-1.24 100% |=========================| 4.4 kB    00:00
(5/104): ca_INFN-CA-2006- 100% |=========================| 4.1 kB    00:00
(6/104): openldap-servers 100% |=========================| 3.2 MB    00:02
(7/104): ca_PK-Grid-2007- 100% |=========================| 4.7 kB    00:00
(8/104): glite-info-provi 100% |=========================| 4.3 kB    00:00
(9/104): dcache-server-1. 100% |=========================|  34 MB    00:07
(10/104): ca_SWITCH-Serve 100% |=========================| 4.1 kB    00:00

Many downloading and installing lines omitted

Installed: desy-SE_dcache_admin_postgres.noarch 0:0.0.2-0 desy-SE_dcache_info.noarch 0:0.0.2-0
 desy-SE_dcache_pool.noarch 0:0.0.3-0 glite-version.i386 0:3.1.0-1.slc4 lcg-CA.noarch 0:1.24-1

Many package names omitted

Complete!

Make a copy of the default local users and groups and site-info.def file. You will need to customise this file as described in the next section.

[root@dcache-node] # cp /opt/d-cache/share/doc/dCacheConfigure/examples/* /root