Before Starting

  • SL5 / 64bit installation according to the generic guidelines
  • host certificate required
  • DPM as SE need information about free disk space, therefore DPM_disk (in this case - can be the same machine as DPM_mysql/oracle) requires a separated partition, defined in YAIM as DPM_FILESYSTEMS="$DPM_HOST:/storage". Not that DPM works when it's not a separated device, but it cannot properly calculate disk space in such case.

Service installation

# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

# wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm
# rpm -ivh emi-release-1.0.0-1.sl5.noarch.rpm

# yum install emi-dpm_disk
# yum install emi-dpm_mysql
# yum install mysql-server

# yum install lcg-CA

# wget https://grid-deployment.web.cern.ch/grid-deployment/emi/repo/common/emi-tb-internal.repo -O /etc/yum.repos.d/emi-tb-internal.repo
# yum install emi-tb-vomscerts

Service Configuration

Using YAIM for service configuration:
# /opt/glite/yaim/bin/yaim -c -s site-info.def -n emi_dpm_mysql -n emi_dpm_disk

with following site-info.def skeleton:

###################################
# General configuration variables #
###################################
MY_DOMAIN=$(hostname -d)

# These variables tell YAIM where to find additional configuration files.
USERS_CONF=   [...] /users.conf
GROUPS_CONF=  [...] /groups.conf


MYSQL_PASSWORD="*****"

SITE_NAME=cert-tbrc-mysite

BDII_HOST=certtbrc-bdii.$MY_DOMAIN


###############################
# DPM configuration variables #
###############################

# DPMDATA is now deprecated. Use an entry like $DPM_HOST:/filesystem in
# the DPM_FILESYSTEMS variable.
# From now on we use DPM_DB_USER and DPM_DB_PASSWORD to make clear
# its different role from that of the dpmmgr unix user who owns the
# directories and runs the daemons.

# The name of the DPM head node 
DPM_HOST=`hostname -f`   # my-dpm.$MY_DOMAIN
DPM_XROOTD="no"

DPM_HTTPS="no"
DPM_XROOTD_NOGSI="no"

# The DPM pool name (max 15 character long name)
DPMPOOL=the_dpm_pool123

# The filesystems/partitions parts of the pool
DPM_FILESYSTEMS="$DPM_HOST:/storage"

# The database user
DPM_DB_USER=******

# The database user password
DPM_DB_PASSWORD="******"

# The DPM database host
DPM_DB_HOST=$DPM_HOST

# The DPM db name. Default is dpm_db
# DPM_DB=dpm_db

# The DPNS db name. Default is cns_db
# DPNS_DB=cns_db

# The DPM infosystem user name
DPM_INFO_USER=dpminfo

# The DPM infosystem user password
DPM_INFO_PASS=******

# Specifies the default amount of space reserved  for a file
DPMFSIZE=200M

# Variable for the port range  - Optional, default value is shown
# RFIO_PORT_RANGE="20000 25000"

##############################
# VO configuration variables #
##############################
[...]

Service Testing

Basic test:

  • check running daemons (see links and service reference card for details)

  • after getting proxy on UI:
$ dpns-ping -h cvitbrc11

$ DPM_HOST=cvitbrc11 dpm-qryconf
POOL the_dpm_pool DEFSIZE 200.00M GC_START_THRESH 0 GC_STOP_THRESH 0 DEF_LIFETIME 7.0d DEFPINTIME 2.0h MAX_LIFETIME 1.0m MAXPINTIME 12.0h FSS_POLICY maxfreespace GC_POLICY lru RS_POLICY fifo GIDS 0 S_TYPE - MIG_POLICY none RET_POLICY R
                              CAPACITY 4.99G FREE 4.99G ( 99.9%)
  cvitbrc11.cern.ch /storage CAPACITY 4.99G FREE 4.99G ( 99.9%)


Other commands with simple operations tests on a DPM SE are documented in the tutorial information

Links

see also:

-- TomaszWolak - 10-Aug-2011

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2011-09-01 - TomaszWolak
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback