Download presentation
Presentation is loading. Please wait.
Published byDortha Evangeline Barrett Modified over 9 years ago
1
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration Antonio Juan Rubio Montero CIEMAT 6th EELA Tutorial, Madrid, 16-20.10.2006
2
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 This presentation is based on LCG and gLite manuals and previous EELA tutorials
3
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Outline Information System Overview How to install a BDII Server BDII customization and references
4
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Information System Overview
5
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 LCG Information System Levels Resource level: Grid Resource Information Server (GRIS) –One GRIS on top of each CE, SE, RB, MyProxy (no WNs). –Sensors and scripts get status of concrete resources statically (e.g. GlueCEUniqueID) or dynamically (e.g. GlueCEStateWaitingJobs) Site level: Grid Index Information Server (GIIS) –Compiles all the information of the different GRISs in a site. –LCG-2 recommends using a BDII instead of a GIIS Improves robustness and stability. Called the site BDII. Top level: Berkeley DB Information Index (BDII) –Keeps all Grid information about the VOs (generally only one). –Stores information from local BDIIs or GIISs in its database. –Only queries sites that are included in a configuration file.
6
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Each site can run a BDII. It collects the information coming from the BDIIs/GIISs At each site, a site GIIS collects the information given by the GRISs Local GRISs run on CE, SE, RB, MyProxy at each site and report dynamic and static information Abbreviations: BDII: Berkeley DataBase Information Index GIIS: Grid Index Information Server GRIS: Grid Resource Information Server From LCG2.3.0 site GIIS has been replaced by “site” BDII LCG Information System Hierarchy
7
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 LCG Information System Hierarchy RB Local GRIS SE Local GRIS CE Local GRIS BDII-A BDII-B SE Local GRIS SE Local GRIS CE Local GRIS SE Local GRIS BDII-C Site 1 Site 2 Site 3 Site BDII
8
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Installing BDII Server
9
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Installation Pre-requisites Always verify the deployment of –Java SDK –NTP daemon –APT –Latest glite-yaim Check your host certificates in /etc/grid-security and its permissions: -rw-r--r-- 1 root root1127Jun 14 12:27 hostcert.pem -r-------- 1 root root887 Jun 14 12:28 hostkey.pem Firewall must be opened for BDII listening port (2170). On /etc/sysconfig/iptables add -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2170 -j ACCEPT And execute service iptables restart
10
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Glite and Glida Metapackages Usual combination: RB and BDII CE and BDII doesn’t work. MetapackageNode typeDescription glite-BDIIBDIIA top level BDII GILDA_ig_BDII Gilda BDII GILDA_ig_RB_BDII Gilda RB + BDII
11
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 site-info.def Fields BDII_FCR: URL of the Freedom of Choice for Resources. (Web interface that provides a facility for VOs to modify resources list available for them on a BDII level, based on their own decision or Sites Functional Test (SFT) results) BDII_HOST: BDII Hostname. BDII_HTTP_URL: List of the GIIS (or site BDII) from which the BDII server fetches the information BDII_REGIONS: List of nodes publishing information on the BDII. BDII_REGIONS="CE SE RB LFC VOBOX PX FTS MON“ BDII_CE_URL="ldap://$CE_HOST:2135/mds-vo-name=local,o=grid" BDII_SE_URL="ldap://$CLASSIC_HOST:2135/mds-vo-name=local,o=grid" … BDII_FTS_URL="ldap://$FTS_HOST:2170/mds-vo-name=resource,o=grid" BDII_MON_URL="ldap://$MON_HOST:2135/mds-vo-name=local,o=grid"
12
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Generic BDII Installation Edit /opt/glite/yaim/examples/site-info.def and use it in all the nodes. Install the metapackage for a BDII /opt/glite/yaim/scripts/install_node./my-site-info.def glite-BDII Configure as BDII node /opt/glite/yaim/scripts/configure_node./my-site-info.def BDII
13
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Gilda BDII Installation Install these extra packages: –CA_Gilda rpm (https://gilda.ct.infn.it/RPMS/) –edg_VO_Gilda rpm (https://gilda.ct.infn.it/RPMS/) –gilda_ig-yaim-3.0.0 (http://grid018.ct.infn.it/apt/gilda_app-i386/utils/) Modify gilda_ig-site-info.def and edit this fields: BDII_HOST=bdii-XXX BDII_HTTP_URL=“http://grid018.ct.infn.it/fileadmin/bdii/gilda-bdii-update.conf” Install all packages for a Gilda BDII /opt/glite/bin/gilda_ig_install_node./my-site-info.def GILDA_ig_BDII Configure Gilda BDII /opt/glite/bin/gilda_ig_configure_node./my-site-info.def GILDA_ig_BDII
14
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 BDII Server Testing & Customization
15
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Test Your New BDII Server Issue an ldapsearch to check if BDII is correctly publishing the information: ldapsearch -x -h bdii-XXX -p 2170 -b 'mds-vo name=local,o=grid‘ Logged into a User Interface machine use lcg-infosites: export LCG_GFAL_INFOSYS=bdii-XXX lcg-infosites --vo gilda se
16
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 BDII customization BDII log files in /opt/bdii/var/bdii.log BDII configuration files in /opt/bdii/etc bdii.conf: BDII_PORT_READ=2170 BDII_PORTS_WRITE="2171 2172 2173" BDII_USER=edguser BDII_BIND=mds-vo-name=local,o=grid BDII_PASSWD=23385 BDII_SEARCH_FILTER='(|(objectClass=GlueSchemaVersion)(objectClass=GlueTop))' BDII_SEARCH_TIMEOUT=30 BDII_BREATHE_TIME=60 -- every 2 minutes BDII cache is refreshed BDII_AUTO_UPDATE=yes - set to no if you want to create a static list of GIIS BDII_AUTO_MODIFY=yes BDII_DIR=/opt/bdii/ BDII_UPDATE_URL=http://grid018.ct.infn.it/fileadmin/bdii/gilda-bdii-update.conf BDII_UPDATE_LDIF=http://goc.grid-support.ac.uk/gridsite/bdii/BDII/www/bdii- update.ldif SLAPD=/usr/sbin/slapd SLAPADD=/usr/sbin/slapadd
17
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 BDII Customization Example: –Change BDII_UPDATE_URL to: http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii/dteam/lcg2- all-sites.conf –Restart the service with: /etc/init.d/bdii restart –Give a look to the new information published by the service /opt/bdii/etc/bdii-update.conf contains the list of GIIS:... INFN-CATANIA ldap://grid010.ct.infn.it:2170/mds-vo-name=infn-catania,o=grid # 2.6.0 INFN-CNAF ldap://grid011f.cnaf.infn.it:2170/mds-vo-name=infn-cnaf,o=grid # 2.6.0 INFN-PADOVA ldap://gilda-ce-01.pd.infn.it:2170/mds-vo-name=infn-padova,o=grid # 2.6.0 IISAS-BRATISLAVA ldap://dgt01.ui.savba.sk:2170/mds-vo-name=iisas-gilda,o=grid # 2.6.0 ULA-MERIDA ldap://grid006.cecalc.ula.ve:2170/mds-vo-name=ula-merida,o=grid …
18
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 BDII References LCG-2 User Guide –https://edms.cern.ch/file/454439//LCG-2-UserGuide.html gLite 3.0 User Guide –https://edms.cern.ch/file/722398/1.1/gLite-3-UserGuide.pdf gLite 3.0 installation manual http://grid-deployment.web.cern.ch/griddeployment/documentation/LCG2- Manual-Install BDII Documentation: –http://lfield.home.cern.ch/lfield/cgi- bin/wiki.cgi?area=bdii&page=documentation –https://uimon.cern.ch/twiki/bin/view/LCG/BdiiNotes Information System Trouble Shooting Guide –http://lfield.home.cern.ch/lfield/trouble.html
19
FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America 6 th EELA Tutorial, Madrid, 16-20.10.2006 Questions…
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.