130 likes | 237 Vues
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. Outline. Layout of the site managers tutorial Available servers Shared pre-requisite for gLite 3.0 services.
E N D
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
Outline • Layout of the site managers tutorial • Available servers • Shared pre-requisite for gLite 3.0 services
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
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
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
Installation Pre-requisites • 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%]
Security pre-requisites • 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 • 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
YAIM Installation • 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/ • Download it using wget from • http://sunsite.rediris.es/mirror/grid.infn.it/gilda/glite-yaim-latest.rpm • http://sunsite.rediris.es/mirror/grid.infn.it/gilda/gilda_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
Site Configuration File • 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 (<variable>=<value>, 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
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" LCG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 3_0 3_0_externals 3_0_updates" IG_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep 3_0_0 utils" GILDA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep gilda_app-i386 app 3_0_0" CA_REPOSITORY="rpm http://sunsite.rediris.es/mirror/grid.infn.it/rep glite_sl3-i386 security” JAVA_LOCATION="/usr/java/j2sdk1.4.2_14"
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
Questions? Thanks for the attention Take a snapshot of the VM