InstallDcachePool180REF
Installation of the 180 reference Pool Node
- Rpm's
wget http://www.dcache.org/downloads/1.8.0/dcache-server-1.8.0-15p12.noarch.rpm rpm -ivh dcache-server-1.8.0-15p12.noarch.rpm wget http://quattor.begrid.be/begrid/Central_BEGrid_Repository/noarch_dcache/dcache-srmclient-1.8.0-15p5.noarch.rpm rpm -ivh dcache-srmclient-1.8.0-15p5.noarch.rpm wget http://quattor.begrid.be/begrid/Central_BEGrid_Repository/noarch_dcache/dcache-dcap-1.8.0-4.x86_64.rpm rpm -ivh dcache-dcap-1.8.0-4.x86_64.rpm
- Config files from behar030
scp ccq:/root/dCache_essential_config/behar030_essential_config/dCacheSetup /opt/d-cache/config/dCacheSetup scp ccq:/root/dCache_essential_config/behar030_essential_config/dcache.kpwd /opt/d-cache/etc/dcache.kpwd scp ccq:/root/dCache_essential_config/behar030_essential_config/dcachesrm-gplazma.policy /opt/d-cache/etc/dcachesrm-gplazma.policy scp ccq:/root/dCache_essential_config/behar030_essential_config/node_config /opt/d-cache/etc/node_config
- Generate keys
cd /opt/d-cache/config/ ssh-keygen -t rsa1 -b 768 -f ./server_key -N "" ssh-keygen -t rsa1 -b 1024 -f ./host_key -N ""
/opt/d-cache/install/install.sh
- Add a pool
- in /opt/d-cache/config/pool-shadow.poollist
pool-shadow_3 /storage/3/pool sticky=allowed recover-space recover-control recover-anyway lfs=precious tag.hostname=pool3-shadow
- make symlink
ln -s /var/storage /storage mkdir /var/storage
- create the pool
/opt/d-cache/bin/dcache pool create 20g /storage/2/pool/
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo mv EGI-trustanchors.repo /etc/yum.repos.d/ yum install ca-policy-egi-core yum install lcg-CA