Before Starting

  1. HOSTNAME: emitestbed15.cnaf.infn.it + emitestbed17.cnaf.infn.it
  2. OS: SL5 X86_64 Installed + Network
  3. No Host certificate required

Service Installation

  1. Repositories ( see EMI basic configuration):
    1. egi-trustanchors.repo + emi1.repo + epel.repo
  2. $> yum clean all
  3. $> yum makecache
  4. $> yum install lcg-CA
  5. INSTALLING WN + TORQUE
    1. $> yum install emi-wn emi-torque-client
  6. INSTALLING MPI
    1. $> yum install glite-mpi ---> Note that this will install both mpi-start and yaim plugin !
    2. $> yum install openmpi.x86_64 ---> Only openmpi flavor tested
    3. $> yum install openmpi-devel.x86_64
  7. INSTALLING glexec
    1. $> yum install emi-glexec_wn

Service Configuration

  1. PREPARING FOR YAIM CONFIGURATION:
    1. COPY YAIM FILES UNDER ROOT: $>cp -r /opt/glite/yaim/examples/siteinfo/ /root/siteinfo/
    2. TESTERS VO files: follow description at [[https://twiki.cern.ch/twiki/bin/view/EMI/TestBed] [VO TESTERS HOWTO section 3.5]], download the following files: groups.conf, users.conf + vo.d directory
    3. CONTENT of /root/siteinfo: exp_soft_dir (DIR created after configuration) + services (DIR) + site-info.def + wn-list.conf + groups.conf + users.conf + vo.d (DIR)
    4. Find below the settings for Inter-Component testing EMI Testbed. Of course you will need to adapt these values to your own site (hostnames of other servers (SE, BDII, ARGUS..) , passwd, etc. etc. )

cat wn-list.conf 
emitestbed15.cnaf.infn.it
emitestbed17.cnaf.infn.it


[root@emitestbed15 siteinfo]# grep -v "#" site-info.def 
YAIM_LOGGING_LEVEL=DEBUG
MY_DOMAIN="cnaf.infn.it"
INSTALL_DIR="/root/siteinfo"
SITE_NAME="INFN_CNAF_EMI"
DPM_HOST="lxbra2506v1.cern.ch"
CLASSIC_HOST="lxbra1910.cert.ch"
CLASSIC_STORAGE_DIR="/storage"
SE_LIST="$CLASSIC_HOST $DPM_HOST"
SE_MOUNT_INFO_LIST="none"
BDII_HOST=certtbrc-bdii-site.cern.ch
WN_LIST=$INSTALL_DIR/wn-list.conf
USERS_CONF=$INSTALL_DIR/users.conf
GROUPS_CONF=$INSTALL_DIR/groups.conf
FUNCTIONS_DIR=/opt/glite/yaim/functions
OUTPUT_STORAGE=/tmp/jobOutput
JAVA_LOCATION="/usr/lib/jvm/java"
CRON_DIR=/etc/cron.d
CE_HOST=cert-07.$MY_DOMAIN
CE_SMPSIZE=2
BATCH_SERVER=cert-07.$MY_DOMAIN
MPI_OPENMPI_ENABLE="yes"
MPI_OPENMPI_PATH="/usr/lib64/openmpi/1.4-gcc/"
MPI_OPENMPI_VERSION="1.4"
MPI_MPICH_ENABLE="no"
MPI_MPICH_PATH="/opt/mpich-1.2.7p1/"
MPI_MPICH_VERSION="1.2.7p1"
MPI_MPICH2_ENABLE="no"
MPI_MPICH2_PATH="/opt/mpich2-1.0.4/"
MPI_MPICH2_VERSION="1.0.4"
MPI_LAM_ENABLE="no"
MPI_LAM_VERSION="7.1.2"
MPI_SHARED_HOME="no"
MPI_SSH_HOST_BASED_AUTH="no"
VOS="testers.eu-emi.eu"
ALL_VOMS_VOS="testers.eu-emi.eu"
QUEUES="demo"
DEMO_GROUP_ENABLE="testers.eu-emi.eu"
VO_SW_DIR=/opt/exp_soft
ARGUS_PEPD_ENDPOINTS=https://emitestbed10.cnaf.infn.it:8154/authz
APEL_DB_PASSWORD="XXXXXXXXXX"
ARGUS_HOST=emitestbed10.cnaf.infn.it

[root@emitestbed15 services]# grep -v "#" glite-glexec_wn
GLEXEC_WN_SCAS_ENABLED="no"
GLEXEC_WN_ARGUS_ENABLED="yes"
GLEXEC_WN_OPMODE="setuid"           
ARGUS_PEPD_ENDPOINTS=https://emitestbed10.cnaf.infn.it:8154/authz                   ---> HOSTNAME OF ARGUS SERVER
GLEXEC_WN_PEPC_RESOURCEID=http://emitestbed.cnaf.infn.it/wn

Note :

  1. YAIM variables set into /root/siteinfo/services/XXXfiles will overrid variables in siteinfo.def file with same name
  2. some YAIM variables are set in the yaim defaults files: /opt/glite/yaim//defaults/XXXfiles

  1. After all yaim files are OK run the following commands:
    1. $> /opt/glite/yaim/bin/yaim -v -s site-info.def -n MPI_WN -n WN -n TORQUE_client ---> -v option checks yaim have all needed variables for your configuration
    2. $> /opt/glite/yaim/bin/yaim -v -s siteinfo/site-info.def -n GLEXEC_wn
    3. $> /opt/glite/yaim/bin/yaim -c -s site-info.def -n MPI_WN -n WN -n TORQUE_client ---> -c option actually runs configuration
    4. $> /opt/glite/yaim/bin/yaim -c -s siteinfo/site-info.def -n GLEXEC_wn
  2. If everything's OK yaim will end with (BTW yaim output is in /opt/glite/yaim/log/yaimlog file)

.....
  INFO: Configuration Complete.                                               [  OK  ]
  INFO: YAIM terminated succesfully.

Service Testing

  1. Basic test on WN was done sending jobs to the CE->WN and checking they go DONE SUCCESS. This was tracked here EMI gLite Job Management Tests Page





-- DaniloDongiovanni - 20-May-2011

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2011-09-09 - DaniloDongiovanniExternal
 
    • 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.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback