Before Starting

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-lfc_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 configuration:

# /opt/glite/yaim/bin/yaim -c -s site-info.def -n emi_lfc_mysql

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

###############################
# LFC configuration variables #
###############################

LFC_HOST=`hostname -f`

LFC_DB_PASSWORD="************"

# Default value is to put the standard database on the LFC host

LFC_DB_HOST=$LFC_HOST
LFC_DB=cns_db

# If you use a DNS alias in front of your LFC, specify it here
# LFC_HOST_ALIAS="cert-fts-64.$MY_DOMAIN"

# All catalogues are local unless you add a VO to
# LFC_CENTRAL, in which case that will be central
LFC_CENTRAL="atlas alice lhcb cms dteam biomed ops testers.eu-emi.eu"
# If you want to limit the VOs your LFC serves, add the locals here
#LFC_LOCAL=""



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

Service Testing

Basic test:

  • after getting proxy on UI:
$ lfc-ls -l LFC_HOST:/grid

$ lfc-mkdir LFC_HOST:/grid/dteam/test
$ lfc-ls -l LFC_HOST:/grid/dteam
$ lfc-chown root:dteam LFC_HOST:/grid/dteam/test
$ lfc-rm -fr LFC_HOST:/grid/dteam/test
$ lfc-ls -l LFC_HOST:/grid/dteam


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

Links

see also:

-- TomaszWolak - 10-Aug-2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2011-08-30 - 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-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback