InstallDcache

From T2B Wiki
Revision as of 12:28, 26 August 2015 by Maintenance script (talk | contribs) (Created page with " == Installation of a dCache v1.9.5 headnode == PageOutline === Installation of the machine === *Installed a base machine **It is a virtual machine on dom04.wn.iih...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation of a dCache v1.9.5 headnode

PageOutline

Installation of the machine

  • Installed a base machine
    • It is a virtual machine on dom04.wn.iihe.ac.be with 2 CPUs and 2GB of RAM
dcache2-shadow.iihe.ac.be
    • The name was not chosen maite due to quattor configuration issues.
    • How to install a VM: VirtWithKVM1
    • This machine was installed not with a file image but with a physical disk for hosting the UI
    • The XML for the machine is InstallDcache_VMXML

Configuration

  • This page overviews the steps for setting up a new headnode with dCache 1.9.5
    • it imports the pnfs database from maite.iihe.ac.be running 1.8.0

These are preliminary tests to upgrade to 1.9.5 first.

install dcache

get it from: http://www.dcache.org/downloads/1.9/index.shtml

get config from old maite

replace /opt/d-cache/etc

       /opt/d-cache/config

with the ones on a production machine
/opt/d-cache/install/upgrade_space_manager_schema.sh -jdbcUrl=jdbc:postgresql://localhost/dcache -jdbcDriver=org.postgresql.Driver -dbUser=postgres -dbPass=


Install phpPgadmin

fetch the tar ball from http://phppgadmin.sourceforge.net/doku.php?id=download and install it.
to do this, untar the thing, mv it to /var/www/html/phpPgAdmin and point the browser to

localhost/phpPgAdmin

Next, edit /var/www/html/phpPgAdmin/conf/config.inc.php
and put extra_login_security to false
Then, login as postgres with no password.


Operating and monitoring the dcache headnode

  • The dcache is operated with
/opt/d-cache/bin/dcache [status|start|restart|stop]
  • In case of troubles config files for all Cells are in
/var/log/<CELLNAME>.log
  • A web interface is available here
localhost:2288
localhost:8080
    • Install a browser on the machine
yum install firefox



Template:TracNotice