MON Installation
From EUAGwiki
Contents |
[edit] Slide
[edit] Pre-Installation
Please refer to Site_Pre-Installation to prepare and set up your machine for gLite middleware installation.
[edit] Host Certificates
All nodes except UI, WN and BDII require the host certificate/key files to be installed.
Contact your national Certification Authority (CA) to obtain a host certificate if you do not have one already.
make sure to place the two files in the target node into the /etc/grid-secutiry directory and check the access right for hostkey.pem is only readable by root and that the public key, hostcert.pem, is readable by everybody.
[edit] Install
Add YUM repositories for glite-MON:
cd /etc/yum.repos.d/ wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/glite-MON.repo
Install glite-MON meta package:( ! Need to install manually the MySQL)
yum install glite-MON mysql-server
[edit] Modify site-info.def
Media:Example_of_site-info.def.txt
1. Customize site-info.def with the following settings:
# Hostname of the CE CE_HOST=grid01.$MY_DOMAIN # Hostname of the RGMA server MON_HOST=grid01.$MY_DOMAIN # JAVA Location JAVA_LOCATION="/usr/lib/jvm/java-1.5.0-sun-1.5.0.15" # RGMA Registry hostname. REG_HOST=lcgic01.gridpp.rl.ac.uk # Human-readable name of your site SITE_NAME=MY-TUTOR-0 GRIDICE_SERVER_HOST (If GIN_BDII is yes, then SITE_BDII_HOST is required (default behaviour). Otherwise, GRIDICE_SERVER_HOST is required. ) # Hostname of the site BDII SITE_BDII_HOST=grid01.$MY_DOMAIN # It is the MySQL admin password. MYSQL_PASSWORD=set_this_to_a_good_password # Database password for the APEL DB. APEL_DB_PASSWORD="mypassword"
You can take a look at site-info.def parameters for MON here: https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables
[edit] Configure
1. Check syntax of our site-info.def
source /opt/glite/yaim/etc/site-info.def
2. Verify your site-info.def
/opt/glite/yaim/bin/yaim -v -s site-info.def -n glite-MON
3. Use following YAIM command to configure your MON
/opt/glite/yaim/bin/yaim -c -s site-info.def -n glite-MON
[edit] Test
Check that all services are running properly ( ! need a proxy to run client check on UI.)
/opt/glite/bin/rgma-client-check
Run server check on MON box.
/opt/glite/bin/rgma-server-check
Try to connect to the R-GMA Browser with a web browser at the following address
https://monbox_FQDN:8443/R-GMA/
[edit] Reference
Generic Installation and Configuration Guide gLite 3.1: https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310
YAIM 4 Guide: https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400
Trouble shooting guide for MON http://goc.grid.sinica.edu.tw/gocwiki/TSGuide/RGMA
