martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 1 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Gestione del Top BDII Giuseppe Platania, INFN Catania Tutorial per Site Administrator Progetto PI2S2 Messina,
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 2 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Outline ● Top BDII – Overview – Differents between Top and Site BDII – Configuration file – Troubleshooting
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 3 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina BDII overview ● It's entirely based on LDAP ● Every node (except UI,BDII and WNs) has a GRIS service in order to publish its informations ● A node in every site collects all site GRISes and publishes them using a site BDII, by default installed on the CE ● The top BDII collects all site BDIIs ● User can run a set of commands to query the top BDII.
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 4 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Top BDII vs Site BDII ● Site BDII – By default it is installed on the CE – It collects all site GRISes* (for example SE,RB,LFC,etc..) – The name of the service is bdii ● Top BDII – It collects all site BDIIs** (CE1,CE CEn) – The name of the service is bdii – It gives to the RB all needed informations to match and dispatch user's jobs – It can run in the same machine where the RB is running) *GRIS=Grid Resource Information Service **BDII=Berkely Database Infomatin Index
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 5 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Configuration file : /opt/bdii/etc/bdii.conf BDII_PORT_READ=2170 BDII_PORTS_WRITE=" " BDII_USER=edguser BDII_BIND=mds-vo-name=local,o=grid BDII_PASSWD=HTwv9pt4d BDII_SEARCH_FILTER='(|(objectClass=GlueSchemaVersion)(objectClass=GlueTop))' BDII_SEARCH_TIMEOUT=30 BDII_BREATHE_TIME=60 BDII_AUTO_UPDATE=yes BDII_AUTO_MODIFY=no BDII_DIR=/opt/bdii/ BDII_UPDATE_URL= BDII_UPDATE_LDIF= SLAPD=/usr/sbin/slapd SLAPADD=/usr/sbin/slapadd
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 6 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Configuration file : /opt/bdii/etc/bdii-update.conf COMETA-INFN-CATANIA ldap://infn-ce-01.ct.pi2s2.it:2170/mds-vo-name=cometa-infn- catania,o=grid COMETA-INAF-CATANIA ldap://inaf-ce-01.ct.pi2s2.it:2170/mds-vo-name=cometa-inaf- catania,o=grid COMETA-INFNLNS-CATANIA ldap://infnlns-ce-01.ct.pi2s2.it:2170/mds-vo-name=cometa- infnlns-catania,o=grid COMETA-UNICT-DMI-CATANIA ldap://unict-dmi-ce-01.ct.pi2s2.it:2170/mds-vo- name=cometa-unict-dmi-catania,o=grid COMETA-UNICT-DIIT-CATANIA ldap://unict-diit-ce-01.ct.pi2s2.it:2170/mds-vo- name=cometa-unict-diit-catania,o=grid COMETA-INGEGNERIA-MESSINA ldap://unime-ce-01.me.pi2s2.it:2170/mds-vo- name=cometa-ingegneria-messina,o=grid COMETA-UNIPA-PALERMO ldap://unipa-ce-01.pa.pi2s2.it:2170/mds-vo-name=cometa- unipa-palermo,o=grid
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 7 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Site BDII C SE GRISCE GRIS Site C RB Site BDII A SE GRISCE GRIS Site A Site BDII B SE GRISCE GRIS Site B Top BDII
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 8 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina BDII testing
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 9 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina BDII testing You can ask the BDII in order to see if its database is running: ldapsearch –x –h -p 2170 –b mds- vo-name=local,o=grid
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 10 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina From your account in the UI: ● Set the BDII enviroenment: export LCG_GFAL_INFOSYS= :2170 lcg-infosites –h lcg-info –h they will show the help with all the possible queries to obtain the sites’ informations BDII testing
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 11 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina lcg-infosites example / 1 plt]$ lcg-infosites --vo cometa se Avail Space(Kb) Used Space(Kb) Type SEs n.a n.a inaf-se-01.ct.pi2s2.it n.a n.a infn-se-01.ct.pi2s2.it n.a n.a unime-se-01.me.pi2s2.it n.a n.a unipa-se-01.pa.pi2s2.it
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 12 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina lcg-infosites example / 2 plt]$ lcg-infosites --vo cometa ce #CPU Free Total Jobs Running Waiting ComputingElement inaf-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-short inaf-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-long inaf-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-infinite infn-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-short infn-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-long infn-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-infinite infnlns-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-short infnlns-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-long infnlns-ce-01.ct.pi2s2.it:2119/jobmanager-lcglsf-infinite [ …..]
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 13 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Troubleshooting
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 14 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina /opt/bdii/var/bdii.log ● If a query to the BDII doesn’t show the information about a site, you have to look at the bdii log file. ● For example: COMETA-INFN-CATANIA: ldap_bind: Can't contact LDAP server Check if: – globus-mds is up & running (ps aux |grep 2135) – 2170 port is open on the site BDII firewall (log a ticket)
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 15 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina LDAP databases in lock status ● If a query to the BDII is slow, probably the ldap databases are corrupted. ● Solution: – Stop bdii daemon – Remove all databases, temporary and cached files: ● rm –f /opt/bdii/var/217*/* /opt/bdii/var/tmp/* /opt/bdii/var/cache/* – Start bdii daemon
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 16 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina LINK of Top BDII troubleshooting q#head-d5bc714b734175fc25f3d387c0a46a9ff7ad421e
martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR 17 Giuseppe Platania - Tutorial per Site Administrator Progetto PI2S2, Messina Questions…