Presentation is loading. Please wait.

Presentation is loading. Please wait.

MON Box Installation and configuration

Similar presentations


Presentation on theme: "MON Box Installation and configuration"— Presentation transcript:

1 MON Box Installation and configuration
Rosanna Catania rosanna.catania<at>ct.infn.it I Corso di formazione per amministratori di siti Grid Martina Franca, 07/11/2007

2 Outline Overview How to install a MON Box Browsing rgma References

3 Grid Monitoring Architecture(GMA)
PRODUCER Store location The Producer stores its location (URL) in the Registry. The Consumer looks up producer URLs in the Registry. REGISTRY The Consumer contacts the Producer to get all the data or the Consumer can listen to the Producer for new data. Transfer Data CONSUMER Lookup location

4 Relational-grid monitoring architecture
R-GMA [R20] is an implementation of the Grid Monitoring Architecture (GMA) proposed by GGF. In R-GMA, information is in many ways presented as though it were in a global distributed relational database, although there are some differences (for example, a table may have multiple rows with the same primary key). This model is more powerful than the LDAP-based one, since relational databases support more advanced query operations. It is also much easier to modify the schema in R-GMA, making it more suitable for user information. The R-GMA approach works following a producer-registry- consumer schema (implemented in each site), where the producer is the source of primary, secondary and on-demand information, the consumer is who or what makes queries about the stored data and the registry is the list of available sources of information. -GMA [R20] is an implementation of the Grid Monitoring Architecture (GMA) proposed by GGF. In R-GMA, information is in many ways presented as though it were in a global distributed relational database, although there are some differences (for example, a table may have multiple rows with the same primary key). This model is more powerful than the LDAP-based one, since relational databases support more advanced query operations. It is also much easier to modify the schema in R-GMA, making it more suitable for user information. The R-GMA approach works following a producer- registry-consumer schema (implemented in each site), where the producer is the source of primary, secondary and on-demand information, the consumer is who or what makes queries about the stored data and the registry is the list of available sources of information

5 R-GMA: Schema-Registry-Mediator
SCHEMA : it holds the names and definitions of all of the tables in the virtual database, and their authorization rules. R-GMA Server VIRTUAL DATABASE TABLE 1,Producer P1 details TABLE 2,Producer P1 details TABLE 2,Producer P2 details TABLE 2,Producer P3 details TABLE 3,Producer P2 details TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY TABLE 1, Colum defs TABLE 2, Colum defs TABLE 3, Colum defs TABLE 4, Colum defs SCHEMA REGISTRY: It holds the details of all producers that are publishing to tables in the virtual database and it also holds the details of “continuous” consumers. MEDIATOR MEDIATOR: a set of rules for deciding which data providers to contact for any given query.

6 Components

7 MON Box The Mon Box metapackage will install on your node a R-GMA- based monitoring system collector server and a GridICE collector. If you decide to run these services in a dedicated node you can use the Mon Box profile, and set the two variables to the hostname of that node. Pay attention not to install a DPM and a MON Box on the same machine. The installation prerequisites are the same of the other grid elements.

8 Outline Overview How to install a MON Box Browsing rgma References

9 site-info.def Customization
$MON_HOST -> the Mon Box you're installing $GRIDICE_SERVER_HOST=$MON_HOST $JAVA_LOCATION=”/usr/java/j2sdk1.4.2_14” $MYSQL_PASSWORD -> the root Mysql password

10 Installation and Configuration
Install the MON Box using YAIM: # /opt/glite/yaim/bin/ig_yaim -i -s site-info.def - m ig_MON Configure it: # /opt/glite/yaim/bin/ig_yaim -c -s site-info.def - m ig_MON

11 Firewall Configuration
The following ports have to be open: R-GMA Collector: port 8443/tcp must be open locally at your site at least (can be incoming access as well) LDAP (GridICE): port 2136/tcp must be opened to the outside world (incoming access)

12 MON Box simple testing Check that all services are running properly:
/opt/glite/bin/rgma-server-check status /etc/init.d/rgma-servicetool status /etc/init.d/rgma-publish-site status /etc/init.d/edg-fmon-server status Try to connect to the R-GMA Browser with a web browser at the following address:

13 Ps auxwww mysql ? S Oct08 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid- file=/var/lib/mysql/rgmasrv.ct.infn.it.pid --skip-locking tomcat ? S Oct08 988:06 /usr/java/j2sdk1.4.2_11/bin/java -Xmx500M -server - Dsun.net.client.defaultReadTimeout= Dsun.net.client.defaultConnectTimeout= Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/java/j2sdk1.4.2_11/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/ usr/share/tomcat5/bin/commons-logging-api.jar - Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/var/lib/tomcat5 - Djava.io.tmpdir=/usr/share/tomcat5/temp org.apache.catalina.startup.Bootstrap start

14 MON Box log [root@rgmasrv root]# ll /var/log/glite total 7936
-rw-r--r root root Nov 7 12:05 glite- fetch-crl-cron.log -rw-r--r rgma rgma Nov 7 13:01 rgma-glue-archiver.log -rw-r--r rgma rgma Nov 7 13:01 rgma-publish-site.log drwxrwxrwx 2 root root Oct 19 18:27 rgma-server -rw-r--r rgma rgma Oct 8 11:14 rgma-servicetool.log root]#

15 Outline Overview How to install a MON Box Browsing rgma References

16 The R-GMA Browser The easiest way to try out R-GMA.
It is installed on the machine running the Registry and Schema: Using the Browser you can do the following. Browse the tables in the schema. Look at the table definitions. See all the available producers for a table. Query a table. Query only selected producers.

17 https://rgmasrv.ct.infn.it:8443

18 https://rgmasrv.ct.infn.it:8443

19 https://rgmasrv.ct.infn.it:8443

20 https://rgmasrv.ct.infn.it:8443

21 https://rgmasrv.ct.infn.it:8443

22 Outline Overview How to install a MON Box Browsing rgma References

23 References YAIM guide for sysadmins ( )‏ Generic Installation and Configuration Guide for gLite 3.1 ( )‏ Generic Installation and Configuration Guide for gLite 3.0 ( )‏

24 References RGMA exercises on GILDA Wiki:
gLite 3.0 User Guide R-GMA home page R-GMA in EGEE

25 Thanks for the attention
Questions Thanks for the attention


Download ppt "MON Box Installation and configuration"

Similar presentations


Ads by Google