Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.eu-eela.eu E-science grid facility for Europe and Latin America Riccardo Bruno INFN-Catania (Italy) EELA-2 Tutorial Cuanca (Ecuador), 02-05.02.2010.

Similar presentations


Presentation on theme: "Www.eu-eela.eu E-science grid facility for Europe and Latin America Riccardo Bruno INFN-Catania (Italy) EELA-2 Tutorial Cuanca (Ecuador), 02-05.02.2010."— Presentation transcript:

1 E-science grid facility for Europe and Latin America Riccardo Bruno INFN-Catania (Italy) EELA-2 Tutorial Cuanca (Ecuador), gLite UI Installation and config (EELA-2)

2 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, The instructions provided in this presentation assume that you are going to use a machine with Scientific Linux 4.6 installed. –Virtual Machine image (GILDA VM Base_SLC4.6_i386) available at: https://gilda.ct.infn.it/VirtualServices.html https://gilda.ct.infn.it/VirtualServices.html or –SL 4.6 distribution available at: https://www.scientificlinux.org/downloadhttps://www.scientificlinux.org/download Preliminaries

3 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Repository settings Specify the mrepo host: Configure the repository as follows: Get repositories with: To get a full mirror of GILDA repository: wget -mp -nH -np Then replace baseurl filed in any.repo file inside repos/ directorty REPOS="ca ig jpackage glite-ui dag gilda" for name in $REPOS; do wget $MREPO/repos/$name.repo -O /etc/yum.repos.d/$name.repo; done for name in $REPOS; do wget $MREPO/repos/$name.repo -O /etc/yum.repos.d/$name.repo; done export MREPO=http://www.cedia.org.ec/mrepo/ (Tutorial) export MREPO=http://grid018.ct.infn.it/mrepo (GILDA) export MREPO=http://www.cedia.org.ec/mrepo/ (Tutorial) export MREPO=http://grid018.ct.infn.it/mrepo (GILDA)

4 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, System requirements Please check: –If you have a valid hostname –To verify, type: hostname -f –To edit the hostname:  vim /etc/hosts  vim /etc/hostname  vim /etc/sysconfig/network  hostname  vim /etc/hosts  vim /etc/hostname  vim /etc/sysconfig/network  hostname

5 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, With YUM it is possible to exploit its package caching mechanism to speed up the installation process –Download cached files:  wget –Install cached packages:  tar xvfz UI_yum_cache.tar.gz –C /var/cache/yum The installed packages will avoid YUM to download files from the network before to install them 5 YUM cache

6 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, g++ Compiler required GILDA VM Base does not provide dev tools: yum install -y gcc-c++ ( gcc-c++ includes the mandatory package libstdc++-devel ) yum install -y gcc-c++ ( gcc-c++ includes the mandatory package libstdc++-devel )

7 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, INFN Grid UI metapackage yum install -y ig_UI_noafs

8 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, System requirements Missing dependency xerces 2.7 (2.8 requilred by RGMA) Download the 2.7 from the web: wget ftp://mirror.switch.ch/pool/1/mirror/epel/4/x86_64/xerces- c el4.i386.rpm ftp://mirror.switch.ch/pool/1/mirror/epel/4/x86_64/xerces- c el4.i386.rpm wget el4.i386.rpm el4.i386.rpm In case the xercers 2.8 exsists; remove it: rpm -e --nodeps xerces-c slc4 Install the 2.7: rpm -ivh xerces-c el4.i386.rpm Download the 2.7 from the web: wget ftp://mirror.switch.ch/pool/1/mirror/epel/4/x86_64/xerces- c el4.i386.rpm ftp://mirror.switch.ch/pool/1/mirror/epel/4/x86_64/xerces- c el4.i386.rpm wget el4.i386.rpm el4.i386.rpm In case the xercers 2.8 exsists; remove it: rpm -e --nodeps xerces-c slc4 Install the 2.7: rpm -ivh xerces-c el4.i386.rpm Processing Dependency: libxerces-c.so.27 is needed by package glite-rgma-api-cpp

9 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Got an error? Try again the yum command: rpm -e --nodeps jdk-1.5.0_14-fcs Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: java sun-compat yum install -y ig_UI_noafs

10 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Recognition of Certification Authorities: Install GILDA’ voms server certificates (needed for proxy creation and validation) : You may skip following statements since they depend on: gilda_utils Install GILDA configurations: gilda_utils CAs & GILDA Utils yum install -y lcg-CA yum install -y gilda_utils wget l4-i386/RPMS.all/gilda-vomscert noarch.rpm l4-i386/RPMS.all/gilda-vomscert noarch.rpm rpm –ivh gilda-vomscert noarch.rpmgilda-vomscert noarch.rpm wget l4-i386/RPMS.all/gilda-vomscert noarch.rpm l4-i386/RPMS.all/gilda-vomscert noarch.rpm rpm –ivh gilda-vomscert noarch.rpmgilda-vomscert noarch.rpm

11 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, site-info.def Copy the ig-site-info.def script template Open your own site-info.def and customize it: cp /opt/glite/yaim/examples/siteinfo/ig-site- info.def $HOME/mysite-info.def vi $HOME/mysite-info.def

12 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, RB_HOST=glite-rb.ct.infn.it BDII_HOST=gilda-bdii.ct.infn.it WMS_HOST=gilda-wms-01.ct.infn.it LB_HOST="gilda-lb-01.ct.infn.it:9000" PX_HOST=myproxy.ct.infn.it LFC_HOST=lfc-gilda.ct.infn.it DPM_HOST=aliserv6.ct.infn.it JAVA_LOCATION=/usr/java/j2re-1.4.2_16 !(please verify if the JAVA_LOCATION is correct) Setup site-info.def

13 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Add GILDA Settings VOS="… gilda"  Add gilda here [..] ######### # gilda # ######### VO_GILDA_VOMS_CA_DN="/C=IT/O=INFN/OU=Host/L=Catania/ CN=voms.ct.infn.it" VO_GILDA_SW_DIR=$VO_SW_DIR/gilda VO_GILDA_DEFAULT_SE=$DPM_HOST VO_GILDA_STORAGE_DIR=$CLASSIC_STORAGE_DIR/gilda VO_GILDA_VOMS_SERVERS="vomss://voms.ct.infn.it:8443/ voms/gilda?/gilda" VO_GILDA_VOMSES="gilda voms.ct.infn.it /C=IT/O=INFN/OU=Host/L=Catania/CN=voms.ct.infn.it gilda"

14 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Configuring the UI for GILDA Configure the UI with YAIM /opt/glite/yaim/bin/yaim -c -s $HOME/mysite-info.def -n glite-UI If everithing is ok, the UI is now READY for testing NOTICE! YAIM does not configure the LFC_HOST variable; please add the following line into the file: /opt/glite/etc/profile.d/grid-env.sh gridenv_set "LFC_HOST" "lfc-gilda.ct.infn.it"

15 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Testing the UI Add new user and copy user’ PEM certificates: Test: Create a proxy (voms-proxy-init) Use Information system commands (lcg-infosites) Use LFC/LCG commands Use Job submission/controll/output retrieval commands 15 adduser gildauser passwd gildauser su – gildauser scp –rp adduser gildauser passwd gildauser su – gildauser scp –rp

16 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, From GILDA to EELA The installation steps above may be changed in order to install UI able to operate with other VOs (EELA-2) Steps required: Install VOMS certificates Customize site-info.def values with new services Renew the CRLs in case you added a CA Reconfigure the UI with YAIM

17 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Configuring the UI for EELA-2 Using the Latin American services: BDII_HOST=bdii.eela.ufrj.br WMS_HOST=wms.eela.ufrj.br LB_HOST="lb2.eela.ufrj.br:9000" PX_HOST=px.eela.ufrj.br LFC_HOST=lfc.eela.ufrj.br DPM_HOST= (*) JAVA_LOCATION=/usr/java/j2re-1.4.2_16 # please verify (*) lcg-infosites --vo prod.vo.eu-eela.eu se The site-info.def for LA Users can be downloaded from: The site-info.def for LA Users can be downloaded from:

18 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Configuring the UI to access EELA-2 Using the European services: BDII_HOST=bdii-eela.ceta-ciemat.es WMS_HOST=wms-eela.ceta-ciemat.es LB_HOST="lb-eela.ceta-ciemat.es:9000" PX_HOST=px-eela.ceta-ciemat.es LFC_HOST=lfc-eela.ceta-ciemat.es DPM_HOST= JAVA_LOCATION=/usr/java/jdk1.6.0_13 # please verify NOTICE! The list of available EELA-2 services is published by the address:

19 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Adding EELA-2 VO settings VOS=”gilda alice atlas... " [...] ############################ # Specific Settings (PROD) # ############################ SW_DIR=$VO_SW_DIR/prod DEFAULT_SE=$DPM_HOST STORAGE_DIR=$CLASSIC_STORAGE_DIR/prod QUEUES="prod" VOMS_SERVERS="vomss://voms.eela.ufrj.br:8443/voms/prod.vo.eu- eela.eu?/prod.vo.eu-eela.eu" VO_PROD_VO_EU_EELA_EU_VOMSES="'prod.vo.eu-eela.eu voms.eela.ufrj.br /C=BR/O=ICPEDU/O=UFF BrGrid CA/O=UFRJ/OU=IF/CN=host/voms.eela.ufrj.br prod.vo.eu-eela.eu' 'prod.vo.eu-eela.eu voms-eela.ceta-ciemat.es /DC=es/DC=irisgrid/O=ceta-ciemat/CN=host/voms-eela.ceta-ciemat.es prod.vo.eu-eela.eu'" VOMS_CA_DN="'/C=BR/O=ICPEDU/O=UFF BrGrid CA/CN=UFF Brazilian Grid Certification Authority' '/DC=es/DC=irisgrid/CN=IRISGridCA'" VO_PROD_VO_EU_EELA_EU_VOMS_CA_DN="subject= /C=BR/O=ICPEDU/O=UFF BrGrid CA/O=UFRJ/OU=IF/CN=host/voms.eela.ufrj.br" Add prod.vo.eu-eela.eu oper.vo.eu-eela.eu Add prod.vo.eu-eela.eu oper.vo.eu-eela.eu

20 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Adding EELA-2 settings ############################ # Specific Settings (OPER) # ############################ SW_DIR=$VO_SW_DIR/oper DEFAULT_SE=$DPM_HOST STORAGE_DIR=$CLASSIC_STORAGE_DIR/oper QUEUES="oper" VOMS_SERVERS="vomss://voms.eela.ufrj.br:8443/voms/oper.vo.eu- eela.eu?/oper.vo.eu-eela.eu“ VO_OPER_VO_EU_EELA_EU_VOMSES="'oper.vo.eu-eela.eu voms.eela.ufrj.br /C=BR/O=ICPEDU/O=UFF BrGrid CA/O=UFRJ/OU=IF/CN=host/voms.eela.ufrj.br oper.vo.eu-eela.eu' 'oper.vo.eu-eela.eu voms-eela.ceta-ciemat.es /DC=es/DC=irisgrid/O=ceta-ciemat/CN=host/voms-eela.ceta-ciemat.es oper.vo.eu-eela.eu'" VOMS_CA_DN="'/C=BR/O=ICPEDU/O=UFF BrGrid CA/CN=UFF Brazilian Grid Certification Authority' '/DC=es/DC=irisgrid/CN=IRISGridCA'" VO_PROD_VO_EU_EELA_EU_VOMS_CA_DN=” "

21 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Recognition of Certification Authorities: Install EELA-2's voms server certificates (needed for proxy creation and validation) : – wget i386/RPMS.generic/eela-vomscerts noarch.rpm wget i386/RPMS.generic/eela-vomscerts noarch.rpm – rpm –ivh eela-vomscerts noarch.rpmeela-vomscerts noarch.rpm Get new CRLs (in case you added a CA) – cd /etc/grid-security/certificates – fetch-crl Reconfigure UI – /opt/glite/yaim/bin/yaim -c –s $HOME/mysite- info.def -n glite-UI GILDA to EELA-2 yum install -y lcg-CA

22 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, LFC_HOST is not configured by yaim –Open the file: /opt/glite/etc/profile.d/grid-env.sh –Insert the following entry inside the bash if block gridenv_set "LFC_HOST" " " Configuring the LFC host EELA-2 (LA)EELA-2 (Europe) lfc.eela.ufrj.brlfc-eela.ceta-ciemat.es

23 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, References  INFNGrid installation  EELA-2 Operations Centre  How to deploy your own User Interface  GILDA Site installation https://grid.ct.infn.it/twiki/bin/view/GILDA/GILDASiteInstallhttps://grid.ct.infn.it/twiki/bin/view/GILDA/GILDASiteInstall  middleware-ports.txt ports.txt?revision=1.15&view=markup ports.txt?revision=1.15&view=markup

24 Cuenca (Ecuador), EELA-2 User and Sys Admin Tutorial, Questions?


Download ppt "Www.eu-eela.eu E-science grid facility for Europe and Latin America Riccardo Bruno INFN-Catania (Italy) EELA-2 Tutorial Cuanca (Ecuador), 02-05.02.2010."

Similar presentations


Ads by Google