InstallDcache195ExtConfigFiles

From T2B Wiki
Revision as of 12:28, 26 August 2015 by Maintenance script (talk | contribs) (Created page with " *Copy the original maite files from maite to ccq: <pre> ssh ccq cd /root/dCache_essential_config/maite_essential_config_final scp maite:/opt/d-cache/config/dCacheSetup . ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Copy the original maite files from maite to ccq:
ssh ccq
cd /root/dCache_essential_config/maite_essential_config_final
scp maite:/opt/d-cache/config/dCacheSetup .
scp maite:/opt/d-cache/config/PoolManager.conf . 
scp maite:/opt/d-cache/etc/dcache.kpwd .
scp maite:/opt/d-cache/etc/dcachesrm-gplazma.policy .
scp maite:/opt/d-cache/etc/node_config .
scp maite:/opt/pnfs/etc/pnfs_config .
scp maite:/usr/etc/pnfsSetup .
scp maite:/var/lib/pgsql/data/postgresql.conf .
  • On your new headnode copy the files from ccq:
scp ccq:/root/dCache_essential_config/maite_essential_config_final/dCacheSetup /opt/d-cache/config/dCacheSetup.orig.maite

cd /opt/d-cache/config
cp dCacheSetup.orig.maite dCacheSetup
emacs dCacheSetup& 
emacs ../etc/dCacheSetup.template&

### change the java version, name of server and comment #infoProviderStaticFile=/opt/glite/etc/gip/ldif/lcg-info-static-se.ldif


scp ccq:/root/dCache_essential_config/maite_essential_config_final/PoolManager.conf /opt/d-cache/config/PoolManager.conf.orig.maite

mv PoolManager.conf PoolManager.conf.orig
cp PoolManager.conf.orig.maite PoolManager.conf

scp ccq:/root/dCache_essential_config/maite_essential_config_final/dcache.kpwd /opt/d-cache/etc/dcache.kpwd.orig.maite

cp /opt/d-cache/etc/dcache.kpwd.orig.maite /opt/d-cache/etc/dcache.kpwd

scp ccq:/root/dCache_essential_config/maite_essential_config_final/node_config /opt/d-cache/etc/node_config.orig.maite

cp /opt/d-cache/etc/node_config.orig.maite /opt/d-cache/etc/node_config
emacs /opt/d-cache/etc/node_config& ##add NAMESPACE_NODE=

scp ccq:/root/dCache_essential_config/maite_essential_config_final/pnfs_config /opt/pnfs/etc/pnfs_config.orig.maite
cp /opt/pnfs/etc/pnfs_config.orig.maite /opt/pnfs/etc/pnfs_config

scp ccq:/root/dCache_essential_config/maite_essential_config_final/pnfsSetup /usr/etc/pnfsSetup.orig.maite
cp /usr/etc/pnfsSetup.orig.maite /usr/etc/pnfsSetup

scp ccq:/root/dCache_essential_config/maite_essential_config_final/postgresql.conf /var/lib/pgsql/data/postgresql.conf.orig.maite

mv /var/lib/pgsql/data/postgresql.conf /var/lib/pgsql/data/postgresql.conf.orig
cp /var/lib/pgsql/data/postgresql.conf.orig.maite /var/lib/pgsql/data/postgresql.conf
chown postgres.postgres postgresql.conf

scp ccq:/root/dCache_essential_config/grid-security/grid-mapfile /etc/grid-security/

replace the PoolManager.conf


Template:TracNotice