InstallDcache195scratchConfigFiles

From T2B Wiki
Jump to navigation Jump to search
  • The configuration files that need to be copied from maite (dCache 1.8.0) are the following
    • maite:/opt/d-cache/config/dCacheSetup -> /opt/d-cache/config/dCacheSetup.orig.maite
    • maite:/opt/d-cache/etc/dCacheSetup.template -> /opt/d-cache/etc/dCacheSetup.template.orig.maite
    • A diff between these files learns us what has been changed between 1.8.0 and 1.9.5
      • The pointer to the java version and the settings for java changed
      • Some more changes have been made but none of them seem to be relevant
      • Make sure to point serviceLocatorHost to the current hostname
    • The /opt/d-cache/config/dCacheSetup.orig.maite can serve as dCacheSetup file with these modifications
    • java should be set correctly
    • Change the serviceLocatorHost to the current hostname
    • create log dir
/var/log/dcache
  • maite:/opt/d-cache/config/log4j.properties -> /opt/d-cache/config/log4j.properties.orig.maite
    • There are quite some differences but I'll keep the 1.9.5 configuration for the moment
  • maite:/opt/d-cache/config/PoolManager.conf /opt/d-cache/config/PoolManager.conf.orig.maite
    • For now simply replace the 1.9.5 version of the file with the version of maite
    • Todo: have a closer look to see what changed in v1.9.5
  • maite:/opt/d-cache/etc/dcache.kpwd /opt/d-cache/etc/dcache.kpwd.orig.maite
    • This file takes care about the mapping between the 'DN' and the 'UID'
    • This file was not there for the 1.9.5 version, only a template, so the maite file is put in place
    • Todo: investigate how this file is configured (most likely quattor adds new users)
  • maite:/opt/d-cache/etc/dcachesrm-gplazma.policy /opt/d-cache/etc/dcachesrm-gplazma.policy.orig.maite
    • This file was present in v1.9.5 and is kept for reference while the maite file was put in place
    • Todo: investigate what is different between v1.9.5 file and maite v1.8.0 file
  • maite:/opt/d-cache/etc/logConfig.xml /opt/d-cache/etc/logConfig.xml.orig.maite
    • The original v1.9.5 file was kept
    • Todo: investigate differences
  • maite:/opt/d-cache/etc/node_config /opt/d-cache/etc/node_config.orig.maite
    • For now set the maite version of the file
    • Don't forget to set ADMIN_NODE to the current hostname: [WARNING] ADMIN_NODE is deprecated. Please use NAMESPACE_NODE instead.
    • Todo: investigate if node_config changed in v1.9.5
  • maite:/opt/d-cache/etc/srm_setup.env /opt/d-cache/etc/srm_setup.env.orig.maite
    • Currently kept the v1.9.5 file
    • Todo: investigate differences
  • maite:/opt/pnfs/etc/pnfs_config /opt/pnfs/etc/pnfs_config.orig.maite
    • Differences are small, put the maite file in place
PNFS_DB = default
PNFS_INSTALL_DIR = default
PNFS_LOG = tuned: /var/log/dcache

PNFS_OVERWRITE = default
PNFS_PSQL_USER = tuned: pnfsserver

PNFS_ROOT = default
  • maite:/usr/etc/pnfsSetup /usr/etc/pnfsSetup.orig.maite
    • This file was not present in v1.9.5, put the maite version in place
    • Todo: it is not clear why this file is used. It is not included anywhere in /opt/d-cache. Aha it is in /opt/pnfs/
  • copy the whole /opt/pnfsdb directory to maite
    • Todo: find out how is this dir created?
  • copy the grid authorisation files
    • maite:/etc/grid-security/grid-vorolemap
    • maite:/etc/grid-security/storage-authzdb


Template:TracNotice