Presentation is loading. Please wait.

Presentation is loading. Please wait.

FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino.

Similar presentations


Presentation on theme: "FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino."— Presentation transcript:

1 FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, 26-30 June 2006

2 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 2 Outline Information System Overview How to install a BDII Server BDII customization and references

3 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 3 Information System Overview The Information System (IS) provides information about grid resources and their actual status. Computing and Storage resources at a site report their static and dynamic status information via GRISes (Grid Resource Information Server) –one per grid element At each site an element called GIIS (Grid Index Information Server) collects information from all the site GRISes –one per grid site The BDII (Berkley Database Information Index) queries the GIISes (of different sites) and acts as a cache storing information about the Grid status in its database.

4 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 4 BDII Users and other Grid services (such as the RB) can query BDIIs to get information about the Grid status. Each BDII collects information from the site GIISes (or local BDII) defined in a configuration file, which is accessed through a web interfaces. Every two minutes a cron-job runs a script and collects information (pull model) from all the GIISes (local BDII) listed in the configuration file.

5 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 5 Installing BDII Server

6 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 6 Installation Pre-requisites Start from the base machine you installed in the INTRODUCTORY tutorial Verify that these packages are installed and properly configured: –Java SDK –Ntp daemon –CA_Gilda rpm (https://gilda.ct.infn.it/RPMS/) –edg_VO_Gilda rpm (https://gilda.ct.infn.it/RPMS/) –glite-yaim-3.0.0 (http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0/rhel30/RPMS.Release3.0/) –gilda_ig-yaim-3.0.0 (http://grid018.ct.infn.it/apt/gilda_app-i386/utils/) Also check that your host certificates are present in /etc/grid- security and have proper permissions: -rw-r--r-- 1 root root1127Jun 14 12:27 hostcert.pem -r-------- 1 root root887 Jun 14 12:28 hostkey.pem

7 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 7 my-site-info.def customization Copy /opt/glite/yaim/examples/gilda_ig-site-info.def into /root/my-site- info.def and edit these fields: MY_DOMAIN=eela.if.ufrj.br BDII_HOST=eelatut04.$MY_DOMAIN MON_HOST=rgmasrv.ct.infn.it BDII_HTTP_URL=http://grid018.ct.infn.it/fileadmin/bdii/gilda- bdii-update.conf INSTALL_SERVER_HOST=gaia.$MY_DOMAIN OS_REPOSITORY="rpm http://$INSTALL_SERVER_HOST/yam sl305-i386 os updates contrib" LCG_REPOSITORY="rpm http://$INSTALL_SERVER_HOST/yam glite_sl3- i386 3_0 3_0_externals 3_0_updates" IG_REPOSITORY="rpm http://$INSTALL_SERVER_HOST/yam ig_sl3-i386 3_0_0 utils" GILDA_REPOSITORY="rpm http://$INSTALL_SERVER_HOST/yam gilda_sl3- i386 app 3_0_0" CA_REPOSITORY="rpm http://$INSTALL_SERVER_HOST/yam glite_sl3-i386 security"

8 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 8 Middleware installation with YAIM We are ready to install the BDII Server: /opt/glite/bin/gilda_ig_install_node /root/my-site-info.def GILDA_ig_BDII This command will download and install all the needed packages. Now we can configure the node: /opt/glite/bin/gilda_ig_configure_node /root/my-site-info.def GILDA_ig_BDII

9 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 9 Firewall configuration Be sure that your firewall is open for bdii listening port (2170). By instance on /etc/sysconfig/iptables add: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2170 -j ACCEPT service iptables restart

10 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 10 BDII Server Testing & Customization

11 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 11 BDII testing Issue an ldapsearch to check if BDII is correctly publishing sites informations: – ldapsearch -x -h -p 2170 -b 'mds-vo- name=local,o=grid‘ Or Use LDAP Browser to test your BDII. You can download it from: – http://www-unix.mcs.anl.gov/~gawor/ldap/index.html http://www-unix.mcs.anl.gov/~gawor/ldap/index.html Or Log into a LCG User Interface machine and use lcg- infosites: – export LCG_GFAL_INFOSYS= :2170 – lcg-infosites --vo gilda ce

12 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 12 BDII customization BDII configuration file can be found 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=26082 BDII_SEARCH_FILTER='(|(objectClass=GlueSchemaVersion)(objec tClass=GlueTop))' BDII_SEARCH_TIMEOUT=30 BDII_BREATHE_TIME=60  every 2 minute BDII cache is refreshed BDII_AUTO_UPDATE=yes  the list of GIIS is dynamic (no=static) BDII_AUTO_MODIFY=no BDII_DIR=/opt/bdii/ BDII_UPDATE_URL=http://grid018.ct.infn.it/fileadmin/bdii/gl ite-bdii-update.conf BDII_UPDATE_LDIF=http:// SLAPD=/usr/sbin/slapd SLAPADD=/usr/sbin/slapadd

13 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 13 BDII customization (II) Example: –Change BDII_UPDATE_URL to:  http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2- bdii/dteam/lcg2-all-sites.conf 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

14 FP6−2004−Infrastructures−6-SSA-026409 E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006 14 BDII logs and references BDII log files –/opt/bdii/var/bdii.log BDII Documentation: –http://lfield.home.cern.ch/lfield/cgi- bin/wiki.cgi?area=bdii&page=documentationhttp://lfield.home.cern.ch/lfield/cgi- bin/wiki.cgi?area=bdii&page=documentation –https://uimon.cern.ch/twiki/bin/view/LCG/BdiiNotes Information System TroubleShooting Guide –http://lfield.home.cern.ch/lfield/trouble.htmlhttp://lfield.home.cern.ch/lfield/trouble.html


Download ppt "FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino."

Similar presentations


Ads by Google