Difference between revisions of "Testing the site BDII"

From Gridkaschool
(Created page with "The site BDII should deliver information on all site resources that have been configured (by yaim) in the file /opt/glite/etc/gip/site-urls.conf. Display the contents of this fil…")
 
(No difference)

Latest revision as of 17:28, 28 December 2012

The site BDII should deliver information on all site resources that have been configured (by yaim) in the file /opt/glite/etc/gip/site-urls.conf. Display the contents of this file on the command line by

cat /opt/glite/etc/gip/site-urls.conf

CE  ldap://gks-1-124.fzk.de:2170/mds-vo-name=resource,o=grid
SITE_BDII  ldap://gks-1-121.fzk.de:2170/mds-vo-name=resource,o=grid

To check if the site BDII can be queried for information you can try:

source /root/yaim/site-info.def
ldapsearch -xLLL -b mds-vo-name=$SITE_NAME,o=grid -p 2170 -h $SITE_BDII_HOST

You can also test if ldap is listening on port 2170 with

lsof -i :2170

If this is not the case, the BDII service has to be started

# sh /etc/init.d/bdii status
BDII Stopped                                               [  OK  ]
# sh /etc/init.d/bdii start 
Starting SLAPD:                                            [  OK  ]

Starting update process:                                   [  OK  ]
# sh /etc/init.d/bdii status
BDII Runnning                 

From a remote location, e. g. from a User Interface (or from anywhere ldap available) execute

ldapsearch -xLLL -b mds-vo-name=<site name>,o=grid -p 2170 -h <site BDII hostname>

If this does not work check if the port 2170 is open in the firewall:

telnet <site bdii hostname> 2170

Advance to the administration of the site BDII


Go back to gLite Administration Course.