Before Starting
- HOSTNAME: cert-07.cnaf.infn.it
- OS: SL5 X86_64 Installed + Network
- Host certificate required: must be copied under /etc/grid-security/ before yaim configuration
Service Installation
- Repositories ( see EMI basic configuration):
- egi-trustanchors.repo + emi1.repo + epel.repo
- $> yum clean all
- $> yum makecache
- INSTALLING CREAM SERVER + TORQUE + MPI
- $> 26 yum install lcg-CA
- $> yum install yum-protectbase.noarch
- $> yum install ca-policy-egi-core
- $> yum install xml-commons-apis
- $> yum install emi-release-1.0.0-1.sl5.noarch.rpm
- $> yum install emi-cream-ce
- $> yum install emi-torque-server
- $> yum install yum-utils.noarch
- $> yum install emi-torque-utils
- $> yum install glite-mpi
- $> yum install fetch-crl
Service Configuration
- PREPARING FOR YAIM CONFIGURATION:
- COPY YAIM FILES UNDER ROOT: $>cp -r /opt/glite/yaim/examples/siteinfo/ /root/siteinfo/
- 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
- CONTENT of /root/siteinfo: site-info.def + groups.conf + users.conf + vo.d (DIR) + wn-list.conf + services/
- 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. )
[root@cert-07 siteinfo]# cat wn-list.conf
emitestbed15.cnaf.infn.it
emitestbed17.cnaf.infn.it
[root@cert-07 siteinfo]# grep -v "#" site-info.def services/glite-* |grep "="
site-info.def:YAIM_LOGGING_LEVEL=DEBUG
site-info.def:MY_DOMAIN="cnaf.infn.it"
site-info.def:INSTALL_DIR="/root/siteinfo"
site-info.def:WN_LIST=$INSTALL_DIR/wn-list.conf
site-info.def:USERS_CONF=$INSTALL_DIR/users.conf
site-info.def:GROUPS_CONF=$INSTALL_DIR/groups.conf
site-info.def:FUNCTIONS_DIR=/opt/glite/yaim/functions
site-info.def:OUTPUT_STORAGE=/tmp/jobOutput
site-info.def:JAVA_LOCATION="/usr/lib/jvm/java"
site-info.def:CRON_DIR=/etc/cron.d
site-info.def:MYSQL_PASSWORD="YOURPASSWD"
site-info.def:CE_HOST=cert-07.$MY_DOMAIN
site-info.def:CE_PHYSCPU=2
site-info.def:CE_LOGCPU=2
site-info.def:CE_CPU_MODEL=XEON
site-info.def:CE_CPU_VENDOR=Intel
site-info.def:CE_CPU_SPEED=2800
site-info.def:CE_OS="ScientificCERNSLC"
site-info.def:CE_OS_RELEASE="5.5"
site-info.def:CE_OS_VERSION="Beryllium"
site-info.def:CE_OS_ARCH=x86_64
site-info.def:CE_MINPHYSMEM=2048
site-info.def:CE_MINVIRTMEM=4096
site-info.def:CE_SMPSIZE=2
site-info.def:CE_SI00=1286
site-info.def:CE_SF00=1496
site-info.def:CE_OUTBOUNDIP=TRUE
site-info.def:CE_INBOUNDIP=FALSE
site-info.def:CE_RUNTIMEENV="
site-info.def:BASE_SW_DIR=/flatfiles/SE01/exp_soft
site-info.def:BATCH_SERVER=cert-07.$MY_DOMAIN
site-info.def:JOB_MANAGER=pbs
site-info.def:CE_BATCH_SYS=pbs
site-info.def:BATCH_BIN_DIR=/usr/bin
site-info.def:BATCH_VERSION=torque-2.3.13-1
site-info.def:BATCH_LOG_DIR=/var/torque ---------> NOT REPORTED AS REQUIRED BUT NEEDED
site-info.def:BATCH_CONF_DIR=/opt/
site-info.def:MPI_OPENMPI_ENABLE="yes"
site-info.def:MPI_OPENMPI_PATH="/usr/lib64/openmpi/1.4-gcc/bin/"
site-info.def:MPI_OPENMPI_VERSION="1.4"
site-info.def:MPI_MPICH_ENABLE="no"
site-info.def:MPI_MPICH_PATH="/opt/mpich-1.2.7p1/"
site-info.def:MPI_MPICH_VERSION="1.2.7p1"
site-info.def:MPI_MPICH2_ENABLE="no"
site-info.def:MPI_MPICH2_PATH="/opt/mpich2-1.0.4/"
site-info.def:MPI_MPICH2_VERSION="1.0.4"
site-info.def:MPI_LAM_ENABLE="no"
site-info.def:MPI_LAM_VERSION="7.1.2"
site-info.def:MPI_SHARED_HOME="no"
site-info.def:MPI_SSH_HOST_BASED_AUTH="no"
site-info.def:CLASSIC_HOST=cvitbrc11.cern.ch
site-info.def:CLASSIC_STORAGE_DIR=/tmp
site-info.def:SE_LIST="$CLASSIC_HOST"
site-info.def:DPM_HOST="lxbra2506v1.cern.ch"
site-info.def:CLASSIC_HOST="lxbra1910.cert.ch"
site-info.def:CLASSIC_STORAGE_DIR="/storage"
site-info.def:SE_LIST="$CLASSIC_HOST $DPM_HOST"
site-info.def:SE_MOUNT_INFO_LIST="none"
site-info.def:BDII_HOST=certtbrc-bdii-site.cern.ch
site-info.def:SITE_BDII_HOST=certtbrc-bdii-site.cern.ch
site-info.def:SITE_NAME="INFN-CNAF_EMI"
site-info.def:BDII_SITE_TIMEOUT=120
site-info.def:BDII_RESOURCE_TIMEOUT=`expr "$BDII_SITE_TIMEOUT" - 5`
site-info.def:GIP_RESPONSE=`expr "$BDII_RESOURCE_TIMEOUT" - 5`
site-info.def:GIP_FRESHNESS=60
site-info.def:GIP_CACHE_TTL=300
site-info.def:GIP_TIMEOUT=150
site-info.def:GIP_CACHE_DIR=/var/tmp/lcg-info-dynamic-cache
site-info.def:BDII_HTTP_URL="http://grid-it.cnaf.infn.it/fileadmin/bdii/egee-all-sites.conf"
site-info.def:VOS="dteam testers.eu-emi.eu"
site-info.def:ALL_VOMS_VOS="dteam testers.eu-emi.eu"
site-info.def:QUEUES="demo"
site-info.def:DEMO_GROUP_ENABLE="dteam testers.eu-emi.eu"
site-info.def:VO_SW_DIR=/opt/exp_soft
site-info.def:VO_DTEAM_SW_DIR=$VO_SW_DIR/dteam
site-info.def:VO_DTEAM_DEFAULT_SE=$CLASSIC_HOST
site-info.def:VO_DTEAM_STORAGE_DIR=$CLASSIC_STORAGE_DIR/dteam
site-info.def:VO_DTEAM_VOMS_SERVERS='vomss://voms.hellasgrid.gr:8443/voms/dteam?/dteam/'
site-info.def:VO_DTEAM_VOMSES="'dteam voms.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr dteam 24' 'dteam voms2.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr dteam 24'"
site-info.def:VO_DTEAM_VOMS_CA_DN="'/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006' '/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006'"
site-info.def:MON_HOST=notreallyneeded.$MY_DOMAIN
site-info.def:APEL_DB_PASSWORD="YOURPASS"
services/glite-creamce:ACCESS_BY_DOMAIN=no
services/glite-creamce:CREAM_DB_USER=PASSWD
services/glite-creamce:CREAM_DB_PASSWORD=PASSWD
services/glite-creamce:BLPARSER_HOST=cert-07.cnaf.infn.it
services/glite-creamce:BLP_PORT=33333
services/glite-creamce:CREAM_PORT=56565
services/glite-creamce:BLAH_JOBID_PREFIX=cre09
services/glite-creamce:RESET_CREAM_DB_GRANTS=yes
services/glite-creamce:SE_MOUNT_INFO_LIST="none"
services/glite-creamce:CE_OTHERDESCR="Cores=1"
services/glite-creamce:CE_CAPABILITY="CPUScalingReferenceSI00=10"
services/glite-creamce:GLEXEC_CREAM_LOG_DESTINATION=file
services/glite-creamce:USE_ARGUS=yes
services/glite-creamce:ARGUS_PEPD_ENDPOINTS="https://emitestbed10.cnaf.infn.it:8154/authz"
services/glite-creamce:CREAM_PEPC_RESOURCEID="http://cnaf.infn.it/cert-07"
Note :
- YAIM variables set into /root/siteinfo/services/XXXfiles will overrid variables in siteinfo.def file with same name
- some YAIM variables are set in the yaim defaults files: /opt/glite/yaim//defaults/XXXfiles
- After all yaim files are OK run the following commands:
- $> /opt/glite/yaim/bin/yaim -c -s site-info.def -n creamCE -n TORQUE_server -n TORQUE_utils -n MPI_CE
- 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
- Test daemons:
[root@cert-07 siteinfo]# service gLite status
*** tomcat5:
/etc/init.d/tomcat5 is already running (17281)
*** glite-lb-locallogger:
glite-lb-logd running as 18727
glite-lb-interlogd running as 18727
*** glite-ce-blahparser:
BNotifier (pid 16486) is running...
BUpdaterPBS (pid 16490) is running...
- Other basic test on CREAM CE was done testing job submission as reported at this page EMI gLite Job Management Tests Page