Download presentation
Presentation is loading. Please wait.
1
WMS Installation and Configuration
Introductions WMS Installation and Configuration Miguel Angel Díaz Corchero CETA-CIEMAT Asia EPIKH School for Grid Site Administrators Amman ,
2
Check your host Vi /etc/hosts (for example) Start ntpd yum install ntp
# Do not remove the following line, or various programs # that require network functionality will fail. localhost.localdomain localhost gilda01.ihep.ac.cn gilda01 Start ntpd yum install ntp chkconfig --list | grep ntp chkconfig --level 2345 ntpd on ntpdate ntp-1.infn.it service ntpd start
3
Repository settings 1) Disable DAG repositories.
2) Install the EPEL repository rpm -ivh 4.noarch.rpm 3) Install the EMI middleware repository wget sl5.noarch.rpm yum install ./emi-release sl5.noarch.rpm 4) Install the Certification Authority repository wget trustanchors.repo -O /etc/yum.repos.d/EGI-trustanchors.repo
4
Install by yum WMS specific Installation: Install the metapackage:
yum clean all yum install emi-wms (This is a trainning. We are not going to install all the CAs)
5
edit site-info.def Edit site-info.def:
wget /mrepo/site-info.def -O /opt/glite/yaim/etc/site-info.def nano /opt/glite/yaim/etc/site-info.def Other fields have been configured before. Have a look to all the site-info.def chmod -c 755 /opt/glite/yaim/etc/site-info.def SITE_BDII_HOST=ce-xx BDII_HOST=bdii-xx LB_HOST=lb-xx WMS_HOST=wms-xx SE_LIST=se-xx CE_HOST=ce-xx MY_DOMAIN=xxxxxxxx
6
Other files to do the mapping
Get users.conf: wget /mrepo/users.conf -O /opt/glite/yaim/etc//users.conf Get groups.conf: wget /mrepo/groups.conf -O /opt/glite/yaim/groups.conf Get host-certificates wget /mrepo/hostcert-xx.pem -O /etc/grid- security/hostcert.pem wget /mrepo/hostkey-xx.pem -O /etc/grid- security/hostkey.pem chmod 644 /etc/grid-security/hostcert.pem chmod 400 /etc/grid-security/hostkey.pem
7
Configure CA and VO Gilda provides a package with all the necessary
Configure Certification Authority (CA) and Virtual Organization (VO): wget -O /etc/yum.repos.d/gilda.repo yum install gilda_utils Fixing the VO configuration 1 ) mkdir /etc/grid-security/vomsdir/gilda/ mv /etc/grid-security/vomsdir/voms.ct.infn.it.pem /etc/grid- security/vomsdir/gilda/ 2) mv /opt/glite/yaim/etc/gilda/vo.d /opt/glite/yaim/etc
8
Running Yaim /opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/etc/site-info.def -n WMS (Several ERRORS appear!! .... Next slide)
9
Running Yaim Let's fix hostname gildaXX.junet.jo Vi /etc/hosts
/opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/etc/site-info.def -n WMS (Again … several ERRORS appear!! .... Next slide) gildaXX.junet.jo gilda01 bdii-XX.xxxxxxxx bdii-xx lb-XX.xxxxxxxx lb-xx ::1 localhost6.localdomain6 localhost6
10
Running Yaim Let's fix /etc/init.d/glite-wms-wmproxy start
We see that the error is related with the certificate. -check the certificate and the hostname (OK) (openssl x509 -in /home/glite/.certs/hostcert.pem -noout -text) -check voms certificate - /opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/etc/site-info.def -n WMS (Again … several ERRORS appear!! .... Next slide)
11
Thank you very much!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.