1 / 21

R-GMA Server Installation

R-GMA Server Installation. Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, 26-30 June 2006. Outline. Introduction to R-GMA How to install it R-GMA configuration Testing. Introduction to R-GMA. Relational Grid Monitoring Architecture (R-GMA)

Download Presentation

R-GMA Server Installation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. R-GMA Server Installation Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, 26-30 June 2006

  2. Outline • Introduction to R-GMA • How to install it • R-GMA configuration • Testing Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  3. Introduction to R-GMA • Relational Grid Monitoring Architecture (R-GMA) • Provides Information (which resources are available on the Grid) and Monitoring Services • Developed as part of the EuropeanDataGrid Project (EDG) • Now as part of the EGEE project. • Implementation of the Grid Monitoring Architecture (GMA) from the Global Grid Forum (GGF). • Uses a relational data model. • Data are viewed as tables. • Data structure defined by the columns. • Each entry is a row (tuple). • Queried using Structured Query Language (SQL). Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  4. Relational GMA Schema Registry Store Location Look up Location Producer Consumer Execute or Stream data • The data model is relational. • The table definition is globally unique and is stored in the Schema. • The Registry stores the Producers table name as well as the URL. • The data is inserted in the form of a tuple. • The Consumer gets the tuple from Producers. • Producers • publish: SQL “INSERT” • Consumers • collect: SQL “SELECT” Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  5. Installing R-GMA Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  6. Installation Pre-requisites • Start from the base machine you installed in the INTRODUCTORY tutorial • Verify that these packages are installed and properly configured: • Java SDK • Ntp daemon • CA_Gilda rpm (https://gilda.ct.infn.it/RPMS/) • edg_VO_Gilda rpm (https://gilda.ct.infn.it/RPMS/) • Also check that your host certificates are present in /etc/grid-security and have proper permissions: -rw-r--r-- 1 root root 1127 Jun 14 12:27 hostcert.pem -r-------- 1 root root 887 Jun 14 12:28 hostkey.pem Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  7. Installing R-GMA Server via apt 1. Create the file glite.list in the /etc/apt/sources.list.ddirectory and put these rows into it: rpm http://gaia.eela.if.ufrj.br/yam sl305-i386 os updates contrib rpm http://gaia.eela.if.ufrj.br/yam gilda_sl3-i386 app 3_0_0 rpm http://gaia.eela.if.ufrj.br/yam ig_sl3-i386 3_0_0 utils rpm http://gaia.eela.if.ufrj.br/yam glite_sl3-i386 security rpm http://gaia.eela.if.ufrj.br/yam glite_sl3-i386 3_0 3_0_externals 3_0_updates rpm http://gaia.eela.if.ufrj.br/yam sl305-i386 os updates contrib 2. Digit the following commands: > apt-get update > apt-get dist-upgrade 3. Install R-GMA: > apt-get install glite-rgma-server-config See also http://glite.web.cern.ch/glite/packages/R3.0/R20060502/APT.asp Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  8. R-GMA Server configuration • Copy the configuration template files from • $GLITE_LOCATION/etc/config/templates • To • $GLITE_LOCATION/etc/config • P.S: You can delete the glite-rgma-servicetool-serviceName.cfg.xml template file because it will not be used. • Now we will start to customize the just copied configuration files by replacing the “changeme” value in all user-defined parameters with the proper value. Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  9. R-GMA Server configuration • List of XML files to customize: • glite-global.cfg.xml • glite-rgma-common.cfg.xml • glite-rgma-server.cfg.xml • glite-rgma-servicetool.cfg.xml • glite-security-utils.cfg.xml Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  10. glite-global.cfg.xml <JAVA_HOMEdescription="Environment variable pointing to the SUN Java JRE or J2SE package for example '/usr/java/j2re1.4.2_08/' or '$JAVA_HOME' (if it is defined as an environment variable)." value="/usr/java/j2sdk1.4.2_XX"/> Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  11. glite-rgma-common.cfg.xml <rgma.server.hostname description="Host name of the R-GMA server.[Example: lxb1420.cern.ch] [Type: 'string']“ value=“eelatutXX.eela.if.ufrj.br"> <rgma.schema.hostname description="Host name of the R-GMA schema service.(See also configuration parameter 'rgma.server.run_schema_service' in the R-GMA server configuration file in case you install a server).[Example: lxb1420.cern.ch] [Type: 'string']“ value="eelatutXX.eela.if.ufrj.br"> <rgma.registry.hostname description="Host name of the R-GMA registry service.You must specify at least one hostname and you can specify several if you want to use several registries.(See also configuration parameter 'rgma.server.run_registry_service' in the R-GMA server configuration file in ase you install a server).[Example: lxb2029.cern.ch] [Type: 'string']"> <value>eelatutXX.eela.if.ufrj.br</value> </rgma.registry.hostname> Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  12. glite-rgma-server.cfg.xml <rgma.server.run_schema_service description="Run a schema service for the R-GMA server on your machine” value=“true"/> <rgma.server.run_registry_service description="Run a registry service for the R-GMA server on your machine” value=“true"/> <rgma.server.run_browser description="Run a browser” value=“true"/> <rgma.server.run_archiver description="Run the R-GMA data archiver” value=“true"/> <rgma.server.run_site-publisher description="Run the R-GMA site-publisher” value=“true"/> <rgma.server.mysql_root_password description="MySQL root password” value=“verySecret“> Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  13. glite-rgma-server.cfg.xml (II) <rgma.site-publisher.contact.system_administrator description="Contact email address of the site system administrator” value="grid-prod@ct.infn.it"/> <rgma.site-publisher.contact.user_support description="Contact email address of the user support” value="grid-prod@ct.infn.it"/> <rgma.site-publisher.contact.site_security description="Contact email address of the site security responsible” value="grid-prod@ct.infn.it"/> <rgma.site-publisher.location.latitude description="Latitude of your site” value="37.5345"/> <rgma.site-publisher.location.longitude description="Longitude of your site” value="15.0671" Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  14. glite-rgma-servicetool.cfg.xml <rgma.servicetool.siteIddescription="Unique Id of the site your service is running in. This parameter must have the same value as the rgma.site-publisher.siteId parameter in the R-GMA Server configuration. It has to be a DNS entry owned by the site and does not have to be shared with another site” value=“eelatutXX.eela.if.ufrj.br”/> Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  15. glite-security-utils.cfg.xml <cron.mailto description="E-mail address for sending cron job notifications" value="root@localhost"/> Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  16. Firewall configuration • Be sure that your firewall is open for R-GMA listening port (8443). • By instance on /etc/sysconfig/iptables add: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT • service iptables restart Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  17. Starting the R-GMA Server • Change to the scripts directory: • > cd /opt/glite/etc/config/scripts • Configure the R-GMA server by executing the R-GMA Server configuration script: • >./glite-rgma-server-config.py --configure • If no error message is reported by the previous step, start the R-GMA server by running • >./glite-rgma-server-config.py --start Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  18. R-GMA Server Testing Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  19. R-GMA testing • Check that all the R-GMA services are running properly by running: • >./glite-rgma-server-config.py --status • or by connecting to the R-GMA Browser with your Internet Browser at the following address: • https://eelatut16.eela.if.ufrj.br:8443/R-GMA/ • If you want to stop the R-GMA Server, you can do it by issuing: • >./glite-rgma-server-config.py --stop Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  20. R-GMA Browser Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  21. R-GMA references • R-GMA overview page. • http://www.r-gma.org/ • gLite v3.0 Advanced Installation and Configuration Guide • http://glite.web.cern.ch/glite/packages/R3.0/R20060502/doc/installation_guide_3.0-2.html Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

More Related