Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla,

Similar presentations


Presentation on theme: "1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla,"— Presentation transcript:

1 1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS Antonio.fuentes@rediris.es EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla, September 2007

2 2 Outline 1.Layout of the site managers tutorial 2.Available servers 3.Shared pre-requisite for gLite 3.0 services

3 3 Layout The installation, the configuration and the eventual troubleshooting of the gLite 3.0 services will be shown in real time by the tutors. After each demo service installation you will have time to re-install it by yourself  each participant on his own assigned VM We are going to install gLite services onto VMware Virtual Machines  easy to resume the initial status of the VM for the following service re-installation  useful if you need to re-try the installation due to errors/mistakes/tests

4 4 Deployment Each machine has VMWare Workstation and a GILDA Base VM image The tutors will use a Virtual Machine with IP 150.214.3.245 - grid25.cica.es There is also another server which will be used as gLite 3.0 repository to speed up the download of RPMs  sunsite.rediris.es local gLite 3.0 repository

5 5 Access to the VMs IP address: 130.206.2.xxx (xxx=221-244) Hostname : gridXX.cica.es (XX=1-24) Username : root Password : GildaVM.06 (xxx = 1…24) RUN /root/netconfig command. Introduce your machine number and the network will be configured automatically. 5

6 6 gLite 3.0 software pre-requisites

7 7 Start from a fresh install of SLC 3.0.x Java SDK is required to install almost any LCG/gLite grid service. Due to license issues, it is not found in the LCG repositories. You can download it from: wget http://sunsite.rediris.es/mirror/grid.infn.it/java/ j2sdk- 1_4_2_14-linux-i586-rpm.bin  chmod +x j2sdk-1_4_2_14-linux-i586-rpm.bin ./j2sdk-1_4_2_14-linux-i586-rpm.bin  rpm -ivh j2sdk-1_4_2_14-linux-i586.rpm  Preparing... ################################## [100%]  1:j2sdk ################################## [100%] Installation Pre-requisites

8 8 Request a X509 host certificate for the gLite service you are going to install from a Certification Autority (CA). For example, to get host certificates from the GILDA CA, go to:  https://gilda.ct.infn.it/CA/mgt/restricted/srvreq.php https://gilda.ct.infn.it/CA/mgt/restricted/srvreq.php We requested the certificates for you, you can copy them from:  http://sunsite.rediris.es/mirror/grid.infn.it/certificados Install host certificates (hostcert.pem and hostkey.pem) in /etc/grid-security.  chmod 644 hostcert.pem  chmod 400 hostkey.pem Security pre-requisites

9 9 YAIM is a set of bash scripts used to install and easily configure the gLite middleware on the target machine Ensure you FQDN is properly set  hostname – f Find the latest YAIM and gilda_ig-yaim version at http://www.cern.ch/grid- deployment/gis/yaim/http://www.cern.ch/grid- deployment/gis/yaim/ Download it using wget from  http://sunsite.rediris.es/mirror/grid.infn.it/gilda/glit e-yaim-latest.rpm http://sunsite.rediris.es/mirror/grid.infn.it/gilda/glit e-yaim-latest.rpm  http://sunsite.rediris.es/mirror/grid.infn.it/gilda/ gil da_ig-yaim-3.0.0-22.noarch.rpm Install using  rpm -ivh glite-yaim-latest.rpm  rpm -ivh gilda_ig-yaim-3.0.0-22.noarch.rpm YAIM Installation

10 10 All the configuration values to sites have to be configured in a site configuration file using key-value pairs. This file is shared among all the different gLite node types. So edit once and keep it in a safe place Create a copy of /opt/glite/yaim/examples/siteinfo/ gilda_ig- site- info.def template (coming from the lcg-yaim RPM) to your reference directory for the installation (e.g. /root):  cp /opt/glite/yaim/examples/siteinfo/gilda_ig-site- info.def /root/my-site-info.def The general syntax of the file is a sequence of bash-like assignments of variables ( =, no spaces are allowed around =). A good syntax test for your site configuration file is to try to source it manually running the command:  source my-site-info.def Site Configuration File

11 11 Local repository We have installed a local repository at RedIRIS, so you have to specify its correct path in my-site-info.def : OS_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep slc306-i386 os updates extras" http://sunsite.rediris.es/mirror/grid.infn.it/rep LCG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 3_0 3_0_externals 3_0_updates" http://sunsite.rediris.es/mirror/grid.infn.it/rep IG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep 3_0_0 utils" http://sunsite.rediris.es/mirror/grid.infn.it/rep GILDA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep gilda_app-i386 app 3_0_0" http://sunsite.rediris.es/mirror/grid.infn.it/rep CA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 security” http://sunsite.rediris.es/mirror/grid.infn.it/rep JAVA_LOCATION="/usr/java/j2sdk1.4.2_14"

12 12 Middleware installation with YAIM We are ready to install the services: /opt/glite/bin/gilda_ig_install_node /root/my- site-info.def GILDA_ig_myServiceName This command will download and install all the needed packages. Now we can configure the node: /opt/glite/bin/gilda_ig_configure_node /root/my-site-info.def GILDA_ig_myServiceName

13 13 Questions? Thanks for the attention Take a snapshot of the VM


Download ppt "1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla,"

Similar presentations


Ads by Google