EPP Grid - HOW-TO Setup a gLite R-GMA Registry and Schema Server


Start of topic | Skip to actions

HOW-TO Setup a gLite R-GMA Registry and Schema Server

Introduction


This How-TO will describe the procedure for setting up a gLite Registry and Schema Server (gLite release 1.4)

R-GMA Registry and Schema Server

  • Get the gLite installer

wget http://glite.web.cern.ch/glite/packages/R1.4/R20050916/installers/glite-rgma-server_installer.sh

  • Run the installer.

bash glite-rgma-server_installer.sh

This will probably fail because some dependencies are missing.

  • Edit the apt sources file to contain the LCG repositories and then satisfy the dependencies: /etc/apt/sources.list.d/cern.list

rpm http://linuxsoft.cern.ch  cern/slc305/i386/apt  os updates extras
rpm-src http://linuxsoft.cern.ch  cern/slc305/i386/apt  os updates extras
rpm http://grid-deployment.web.cern.ch/grid-deployment/gis apt/LCG-2_6_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates

apt-get update

apt-get install 4Suite perl-DateManip perl-URI  perl-libwww-perl perl-libxml-enno

* run the installer

bash glite-rgma-server_installer.sh

  • cd /opt/glite/etc/config

  • cp templates/*.xml .

  • rm glite-rgma-servicetool-serviceName.cfg.xml

  • edit the configuration files appropriately.

Some points to consider:

glite-global.cfg.xml:
Set JAVA_HOME variable appropriately

glite-rgma-common.cfg.xml:
rgma.server.hostname, rgma.schema.hostname, rgma.registry.hostname: set to "localhost"
rgma.secure.mode: set to "false"

glite-rgma-server.cfg.xml:
rgma.server.run_schema_service, rgma.server.run_registry_service:set to "yes"
rgma.server.run_archiver, rgma.server.run_site-publisher: set to "yes"
rgma.server.mysql_root_password: set to some good password
rgma.site-publisher.contact.system_administrator, rgma.site-publisher.contact.user_support,rgma.site-publisher.contact.site_security: set to your email
rgma.site-publisher.location.latitude, rgma.site-publisher.location.longitude: your sites latitude and longitude<br< allow.unsecure.port: set to "true"

Note: If you are building a Registry and Schema server for an LCG installation, then you need to set rgma.secure.mode (false) and allow.unsecure.port (true) because LCG cannot yet talk to these services securely.

rgma.archiver.db.user: set to "info"
rgma.archiver.db.password: set to some good password

glite-rgma-servicetool.cfg.xml:
rgma.servicetool.sitename: set to "localhost"

glite-security-utils.cfg.xml:
glite-security-utils.cfg.xml: set to your email

  • install host certificates in /etc/grid-security

  • cd scripts

  • Run the configuration script

./glite-rgma-server-config.py --configure

If you have not yet set a mysql password, then:

mysqladmin -u root password 'yourPassword'

  • Re-run the configuration

./glite-rgma-server-config.py --configure

  • If that has completed successfully, then start the service

./glite-rgma-server-config.py --start

key Log In Revision:  r1 - 15 Nov 2005 - MarcoLaRosa
Authorised by:  Geoff Taylor (G.Taylor @ physics.unimelb.edu.au)
Maintained using:  This site is powered by the TWiki collaboration platform
Copyright © 2000-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.