Admin Node
cd /usr
tar xzf /tmp/d-cache-1.5.2.tar.gz
cd ./d-cache-1.5.2
#
./install
#
# answer questions
# after installation succeeded, check webpage
# http://<headNode<:2288/
#
# log into the dCache
#
# account : admin
# passwd : dickerelch
#
telnet localhost 22223
#
(local) admin > cd System
(System) admin > ps -f
#
# you will get the process list
#
(System) admin > ..
(local) admin > cd acm
(acm) admin > create user admin
(acm) admin > ..
(local) admin > logoff
#
cd ./jobs
./admin stop
cd ..
./install-ssh
#
# this should create the server_key, server_key.pub and host_key
# files in ./config
# If not, run
## cd config
## ssh-keygen -t rsa1 -b 768 -f ./server_key -N ""
## ln -s /<sshServerBase>/ssh_host_key ./host_key
## cd ..
#
cd config
vi dCacheSetup
#
# change adminProtocol=telnet to adminProtocol=ssh
#
cp dCache.batch admin.batch
#
cd ../jobs
./lm start & ./admin start & ./admindoor start & ./dcapdoor start & ./httpd start &
#
# takes awhile
#
# watch the web page http://<headNode<:2288/cellInfo
# and wait until PnfsManager and PoolManager aren't red any more.
#
# now you should be able to login using ssh
# (same password)
#
ssh -l admin -c blowfish -p 22223 localhost
#
# 'logoff' will let you out again.
#
Pool Node
#
# copy the d-cache-1.5.2-pools.tar file from
# /dCacheBaseDirectory/ on the head node to the pool node(s).
#
cd /usr
tar xf /tmp/d-cache-1.5.2-pools.tar
cd d-cache-1.5.2
#
cp ./config/dcache-hash.config /etc
#
./install-pools
#
# follow the menu and create some pools
# the pool type is 'dcache'
# if you want to simulate an attached HSM you should
# answer the question accordingly. But you should either
# have all pools attached to an HSM or none.
# If you decided to use an simulated HSM you need to
# have to declare at least one pool to be of 'hsm' type.
# This pool doesn't of course have an HSM attached.
#
#
# SO TRY THIS :
#
Selection :
0 show pools
1 define pool
2 undefine pool
s go (create the defined pools)
q quit
Selection [0] : 1
Defining new Pool (id=pool-0)
Pool Name [dcache0-0] : it-dcache0-0
Base Directory [/usr/d-cache-databases/pools] : /dcache/1
Space in GByes [139] : 10
Type (dcache/hsm) [dcache] :
Hsm backend (yes/no) [no] : yes
Selection :
0 show pools
1 define pool
2 undefine pool
s go (create the defined pools)
q quit
Selection [0] : 1
Defining new Pool (id=pool-1)
Pool Name [dcache0-1] : it-dcache0-1
Base Directory [/dcache/1] :
Space in GByes [128] : 10
Type (dcache/hsm) [dcache] :
Hsm backend (yes/no) [no] : yes
Selection :
0 show pools
1 define pool
2 undefine pool
s go (create the defined pools)
q quit
Selection [0] : 1
Defining new Pool (id=pool-2)
Pool Name [dcache0-2] : hsm
Base Directory [/dcache/1] :
Space in GByes [117] : 30
Type (dcache/hsm) [dcache] : hsm
Hsm backend (yes/no) [no] : no
Selection :
0 show pools
1 define pool
2 undefine pool
s go (create the defined pools)
q quit
Selection [0] : s
Installing local pools
Trying to mount pnfs ... Ok
Selection :
0 show pools
1 define pool
2 undefine pool
s go (create the defined pools)
q quit
Selection [0] : q