Setup of Information Provider MDS4 and GeoMaint ¶
Documentation ¶
The following guides are available:
- MDS4 GeoMaint Info-Provider Anleitung ( html doc)
- Installation Instructions for Ganglia and MDS4 (monitoring)
Download ¶
- Download GeoMaint 1.2.2
- scp geomaint1.2.2.tar.gz root@dgsi.zah.uni-heidelberg.de:
root@dgsi.zah.uni-heidelberg.de's password: geomaint1.2.2.tar.gz 100% 325KB 324.8KB/s 00:00
Software Installation ¶
- ssh root@dgsi.zah.uni-heidelberg.de
- tar -zxf geomaint1.2.2.tar.gz
- cd geomaint
- chmod +x install.sh
- ./install.sh
- During this process edit with vi:
- Edit (i)
... site.uniqueid=dgsi.zah.uni-heidelberg.de # should be an URI, can be just the domain name as used in former globus data site.name=Astronomisches Rechen-Institut site.description=AstroGrid-D services at dgsi.zah.uni-heidelberg.de site.usercontact=rieger@ari.uni-heidelberg.de site.admincontact=rieger@ari.uni-heidelberg.de site.securitycontact=rieger@ari.uni-heidelberg.de # # Geolocation site.location=Moenchhofstrasse 12-14, 69120 Heidelberg, Germany site.latitude=49.41776 site.longitude=8.68790 site.web=http://www.ari.uni-heidelberg.de/mitarbeiter/rieger/ site.sponsor= http://www.bmbf.de/ # # Maintenance # # Please use the following syntax for the maintenance-string: # # site.maintenance::<state><text> # state::{0|1|2|3} # with the state-semantics: 0: ok 1: upcoming maintenance 2: maintenance 3 or other: somethings broken # text::{<>|running} #site.maintenance=3unconfigured site sensor #site.maintenance=2cluster is down for maintenance until 7pm #site.maintenance=1maintenance today from 5pm to 7pm site.maintenance=0running GT 4.0.8
- Save (ESC :wq)
- Edit (i)
- cd $GLOBUS_LOCATION/libexec/infoprovider
- chown -R globus.globus *
- chmod -R a+x *
- ls -l
total 16 drwxr-xr-x 3 globus globus 4096 Jan 12 20:46 conf drwxr-xr-x 2 globus globus 4096 Jan 12 20:45 CVS drwxr-xr-x 5 globus globus 4096 Jan 12 20:45 lib -rwxr-xr-x 1 globus globus 933 Jan 12 20:45 site-provider.pl
- /etc/init.d/globus restart
Stopping GLOBUS CONTAINER [ OK ] Starting GLOBUS-Container [ OK ]
Configuration ¶
Hint: Usually you can skip this chapter!
Check Configuration ¶
- wsrf-query -a -z none -s https://dgsi.zah.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService "//*[local-name()='Site']"
<Site UniqueID="dgsi.zah.uni-heidelberg.de" xmlns="http://infnforge.cnaf.infn.it/glueinfomodel/Spec/V12/R2" xmlns:ns1="http://infnforge.cnaf.infn.it/glueinfomodel/Spec/V12/R2"> <Description>AstroGrid-D services at dgsi.zah.uni-heidelberg.de</Description> <Latitude>49.41776</Latitude> <Location>Moenchhofstrasse 12-14, 69120 Heidelberg, Germany</Location> <Longitude>8.68790</Longitude> <Name>Astronomisches Rechen-Institut</Name> <OtherInfo>0running GT 4.0.8</OtherInfo> <SecurityContact>rieger@ari.uni-heidelberg.de</SecurityContact> <Sponsor>http://www.bmbf.de/</Sponsor> <SysAdminContact>rieger@ari.uni-heidelberg.de</SysAdminContact> <UserSupportContact>rieger@ari.uni-heidelberg.de</UserSupportContact> <Web>http://www.ari.uni-heidelberg.de/mitarbeiter/rieger/</Web> </Site>
Update Configuration ¶
- vi $GLOBUS_LOCATION/libexec/infoprovider/conf/site.conf
- Edit (i)
- Make changes
- Save (ESC :wq)
- Wait for some minutes, before you check results.
Set Hierarchy and Check in Web Browser ¶
Following settings are required on the hosts DGSI, Titan and Mintaka:
- vi $GLOBUS_LOCATION/etc/globus_wsrf_mds_index/hierarchy.xml
Setting 1 ¶
DGSI:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
Titan:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
Mintaka:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
Outcomes:
- http://mintaka.aip.de:8080/webmds/webmds?xsl=servicegroupxsl&info=indexinfo&xslParam.hideTitle=yes: DGSI-IP, Titan-IP, Mintaka
- http://webmds.lrz-muenchen.de:8080/webmds/xslfiles/csm
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=clusterxsl: Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=wartungxsl: 2*DGSI, 2*Titan, 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=mapxsl¹: DGSI, Mintaka (DGSI, Titan, Mintaka / Mintaka / DGSI Mintaka)
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=monitorxsl
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=ceavailxsl: 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=servicegroupxsl: 3*DGSI-IP, 3*Titan-IP, 4*Mintaka
Setting 2 ¶
DGSI:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
Titan:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
Mintaka:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
- <downstream>https://titan.ari.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</downstream>
- <downstream>https://dgsi.zah.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</downstream>
Outcomes:
- http://mintaka.aip.de:8080/webmds/webmds?xsl=servicegroupxsl&info=indexinfo&xslParam.hideTitle=yes: DGSI-IP, Titan-IP, DGSI, Titan, Mintaka
- http://webmds.lrz-muenchen.de:8080/webmds/xslfiles/csm
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=clusterxsl: Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=wartungxsl: 4*DGSI, 4*Titan, 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=mapxsl¹: DGSI, Titan (2*DGSI, Titan, Mintaka / 2*DGSI, Titan, Mintaka / DGSI, Titan)
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=monitorxsl
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=ceavailxsl: 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=servicegroupxsl: 5*DGSI-IP, 5*Titan-IP, DGSI, Titan, 4*Mintaka
Setting 3 ¶
DGSI:
- <upstream>https://mintaka.ari.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</upstream>
Titan:
- <upstream>https://mintaka.ari.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</upstream>
Mintaka:
- <upstream>https://astrogrid-mds.aip.de:8443/wsrf/services/DefaultIndexService</upstream>
- <downstream>https://titan.ari.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</downstream>
- <downstream>https://dgsi.zah.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService</downstream>
Outcomes:
- http://mintaka.aip.de:8080/webmds/webmds?xsl=servicegroupxsl&info=indexinfo&xslParam.hideTitle=yes: DGSI-IP, Titan-IP, DGSI, Titan, Mintaka
- http://webmds.lrz-muenchen.de:8080/webmds/xslfiles/csm
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=clusterxsl: Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=wartungxsl: 4*DGSI, 4*Titan, 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=mapxsl¹: DGSI, Titan (2*DGSI, Titan / 2*DGSI, 2*Titan, Mintaka / DGSI, Titan)
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=monitorxsl
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=ceavailxsl: 2*Mintaka
- http://webmds.lrz.de:8080/webmds/webmds?info=dgridinfo&xsl=servicegroupxsl: 5*DGSI-IP, 5*Titan-IP, DGSI, Titan, 4*Mintaka
Install Ganglia ¶
- Download Ganglia Distributed Monitoring System via EPEL
- scp ganglia-3.0.7-1.el5.i386.rpm root@dgsi.zah.uni-heidelberg.de:
root@dgsi.zah.uni-heidelberg.de's password: ganglia-3.0.7-1.el5.i386.rpm 100% 91KB 90.7KB/s 00:00
- ssh root@dgsi.zah.uni-heidelberg.de
root@dgsi.zah.uni-heidelberg.de's password: Last login: Tue Jan 31 12:56:45 2012 from asterope.ari.uni-heidelberg.dessh globus@dgsi.zah.uni-heidelberg.de
- yum install ganglia-3.0.7-1.el5.i386.rpm
Loaded plugins: kernel-module Setting up Install Process Examining ganglia-3.0.7-1.el5.i386.rpm: ganglia-3.0.7-1.el5.i386 Marking ganglia-3.0.7-1.el5.i386.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ganglia.i386 0:3.0.7-1.el5 set to be updated --> Finished Dependency Resolution Beginning Kernel Module Plugin Finished Kernel Module Plugin Dependencies Resolved ================================================================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================================================================= Installing: ganglia i386 3.0.7-1.el5 /ganglia-3.0.7-1.el5.i386 339 k Transaction Summary ================================================================================================================================================================================================================================= Install 1 Package(s) Upgrade 0 Package(s) Total size: 339 k Is this ok [y/N]:
- y
Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : ganglia 1/1 Installed: ganglia.i386 0:3.0.7-1.el5 Complete!
- exit
exit
- yum install ganglia-3.0.7-1.el5.i386.rpm
Use Ganglia ¶
Warning: You can't undo the following steps! Therefore, first check in detail that Ganglia is perfectly installed. If you have any doubt, skip this chapter—e.g. GridWay works fine without Ganglia!
- mds-gluerp-configure none ganglia $GLOBUS_LOCATION/etc/globus_wsrf_mds_index/ganglia-config.xml
Successfuly wrote configuration output file to: /opt/d-grid/globus/gtk/etc/globus_wsrf_mds_index/ganglia-config.xml
- mds-gluerp-configure fork ganglia $GLOBUS_LOCATION/etc/gram-service-Fork/gluerp-config.xml
Successfuly wrote configuration output file to: /opt/d-grid/globus/gtk/etc/gram-service-Fork/gluerp-config.xml
- vi $GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd
- Search "<global" (?<global)
- Change (i)
... <globalConfiguration> <parameter name="usageStatisticsTargets" value="usage-stats.globus.org:4810"/> ...
to... <globalConfiguration> <parameter name="logicalHost" value="dgsi.zah.uni-heidelberg.de"/> <parameter name="publishHostName" value="true"/> <parameter name="usageStatisticsTargets" value="usage-stats.globus.org:4810"/> ...
- Save (ESC :wq)
- /etc/init.d/globus restart
Wait for some minutes, before you check results:
- wsrf-query -a -z none -s https://dgsi.zah.uni-heidelberg.de:8443/wsrf/services/DefaultIndexService "//*[local-name()='AggregatorData']"
Use WebMDS ¶
- cd /etc/tomcat5/Catalina/localhost/
- ls
admin.xml host-manager.xml manager.xml
- $GLOBUS_LOCATION/lib/webmds/bin/webmds-create-context-file .
- ls
admin.xml host-manager.xml manager.xml webmds.xml
- /etc/rc.d/init.d/tomcat5 restart
Stopping tomcat5: [ OK ] Starting tomcat5: [ OK ]
- firefox
- Go to page http://localhost:8080/webmds/
Hint: http://dgsi.zah.uni-heidelberg.de:8080/webmds/ for access from anywhere.
1) It takes three minutes before the map is displayed. Then the map is available for two minutes only.
Back to Setting up Globus Toolkit 4.0.8 Security Infrastructure (previous item)
Further in Installation of Globus Toolkit 4.0.8 on Scientific Linux 5.5 running virtually within VMware on openSUSE 11.1 (master document)