Storage Upgrade
Pools
To change our pools to a 64 bits node host, important directories:
- The pool directory. It contains a control/ directory with meta data, a data/ directory with data, a one or more setup files.
- An entry in the pool_name_n.poollist (i.e.
spraid02.poollist
) file stored in the config/ directory of the dCache installation. This entry contains the path to the pool directory, the name of the pool and various settings.
- An entry in the hostname.domains file stored in the config/ directory of the dCache installation. This file contains an entry per poollist file.
Follow these steps to move a pool. Let's assume you move pool POOL_1 from SOURCE to DEST. SOURCE and DEST may
- Make sure the pool is shut down
/opt/d-cache/bin/dcache stop
.
- Copy the directory containing POOL_1 from SOURCE to DEST (take care not to overwrite files at DEST).
- Copy the SOURCE.poollist file from SOURCE to DEST
- Edit the DEST.domains file and add a line for SOURCE (you can add more pools)
- Restart the pools at DEST
Important: Do not start the pool at SOURCE after you moved the files. The importance of this item cannot be stressed enough!
Admin
It means that we want to migrate our PNFs to a different host.We have to backup our database. In our SOURCE admin it is done like a
/opt/d-cache/bin/dcache stop
/opt/pnfs/bin/pnfs stop
pg_dump -U pnfsserver admin >admin.dump
pg_dump -U pnfsserver data1 >data1.dump
now inject it in your fresh install (we assume that all configuration files are set up)
dropdb -U pnfsserver admin
dropdb -U pnfsserver data1
createdb -U postgres admin
createdb -U postgres data1
psql -U postgres admin
and restart your pnfs system.
May be consider change to a Chimera , following these instructions
http://trac.dcache.org/projects/dcache/wiki/pnfsDump2MigratePnfs2Chimera
Updates
Fulano em dd/mm/aaaa
Coloca o que fez.
Ciclano em dd/mm/aaaa
Mais comentarios
-- MarcoAndreFerreiraDias - 23 Feb 2009