Before Starting
- HOSTNAME: cert-13.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 WMS
- $> 26 yum install lcg-CA
- $> yum install yum-protectbase.noarch
- $> yum install ca-policy-egi-core
- $> yum install emi-release-1.0.0-1.sl5.noarch.rpm
- $> wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RPM-GPG-KEY-emi
-O /tmp/emi-key_gd.asc
- $> rpm --import /tmp/emi-key_gd.asc
- $> yum install emi-wms
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-13 siteinfo]# grep -v "#" site-info.def
USERS_CONF=/root/siteinfo/users.conf
GROUPS_CONF=/root/siteinfo/groups.conf
MYSQL_PASSWORD=XXXXXXXXXXX
SITE_NAME=EMI-INFN-CNAF
SITE_EMAIL="root@localhost"
SITE_LAT=42.0
SITE_LONG=11.0
WMS_HOST=cert-13.$MY_DOMAIN
LB_HOST=emitb1.ics.muni.cz
BDII_HOST=certtbrc-bdii-top.cern.ch
BDII_DELETE_DELAY=0
SITE_BDII_HOST=certtbrc-bdii-site.cern.ch
VOS="testers.eu-emi.eu dteam"
VO_DTEAM_SW_DIR=$VO_SW_DIR/dteam
VO_DTEAM_DEFAULT_SE=$SE_HOST
VO_DTEAM_STORAGE_DIR=$CLASSIC_STORAGE_DIR/dteam
VO_DTEAM_VOMS_SERVERS='vomss://voms.cern.ch:8443/voms/dteam?/dteam/'
VO_DTEAM_VOMSES="'dteam lcg-voms.cern.ch 15004 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch dteam 24' 'dteam voms.cern.ch 15004 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch dteam 24'"
VO_DTEAM_VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'"
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 WMS
- 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-13 siteinfo]# service gLite status
[root@cert-13 siteinfo]# service gLite status
*** globus-gridftp:
globus-gridftp-server (pid 23857) is running...
*** glite-wms-wmproxy:
WMProxy httpd listening on port 7443
httpd (pid 24265 24264 24263 24262 24261 24260 24230) is running ....
===
WMProxy Server running instances:
UID PID PPID C STIME TTY TIME CMD
*** glite-wms-wm:
/usr/bin/glite-wms-workload_manager (pid 23907) is running...
*** glite-wms-lm:
Logmonitor running...
*** glite-wms-jc:
JobController running in pid: 23964
CondorG master running in pid: 23973 23970
CondorG schedd running in pid: 24266
*** glite-wms-ice:
/usr/bin/glite-wms-ice-safe (pid 24053) is running...
*** glite-proxy-renewald:
glite-proxy-renewd running
*** glite-lb-bkserverd:
glite-lb-notif-interlogd running as 24778
glite-lb-interlogd for proxy running as 24809
glite-lb-bkserverd running as 24731
glite-jp-importer not running (disabled)
- Other basic test on WMS was done testing job submission as reported at this page EMI gLite Job Management Tests Page
--
DaniloDongiovanni - 29-Feb-2012