Edit your site-info.def to correct the BDII hostname:
I bet it still says your CE is your BDII...
-----Original Message-----
From: LHC Computer Grid - Rollout on behalf of Leslie Groer
Sent: Fri 9/9/2005 10:46 PM
To: [log in to unmask]
Subject: Re: [LCG-ROLLOUT] Problem with GIIS/site-BDII information in LCG-2.6.0
Hi Maarten
I tried that - I (mistakenly) added in lcg-BDII in the install and
configure step and then tried backing out (i.e. rerunning the configure
step with only CE) and thought the bdii.conf was set up for site-BDII
only. What else needs to be removed or unconfigured?
Thanks
Leslie
On Fri, 9 Sep 2005, Maarten Litmaath wrote:
> Hi Leslie,
> I suppose you configured your CE as a BDII at the same time?
> You cannot do that. By default the CE will run the _site_ BDII
> (read: site GIIS), while you told it to act as a top-level BDII,
> querying all LCG-2 sites. Just reconfigure your CE as CE only.
>
>
> -----Original Message-----
> From: LHC Computer Grid - Rollout on behalf of Leslie Groer
> Sent: Fri 9/9/2005 9:45 PM
> To: [log in to unmask]
> Subject: [LCG-ROLLOUT] Problem with GIIS/site-BDII information in LCG-2.6.0
>
> I have been frustrated in my attempts to get sensible information out of
> our site GIIS and BDII. LDAP queries of the local GIIS return some
> sensible information, but querying the site-BDII does not return anything
> useful. This is on SL305 and I do have slapd: 127.0.0.1 in
> /etc/hosts.allow.
>
> All services seem to be running. I have looked at the Information System
> Trouble Shooting Guide http://lfield.home.cern.ch/lfield/trouble.html#2
> but it is not clear how to proceed if there is a problem (plus there have
> been some changes since this page was put together).
>
> % ldapsearch -x -H ldap://bigmac-lcg-ce.physics.utoronto.ca:2135 -b mds-vo-name=local,o=grid
> Returns sensible looking results
> # numEntries: 34
>
> % ldapsearch -x -H ldap://bigmac-lcg-ce.physics.utoronto.ca:2135 -b mds-vo-name=toronto-lcg2,o=grid
> version: 2
> # filter: (objectclass=*)
> # requesting: ALL
> # search result
> search: 2
> result: 32 No such object
> # numResponses: 1
>
> Obviously something has gone wrong already.
>
> Queries to port 2170 for the local mds return information for dozens on
> sites with
>
> % ldapsearch -x -H ldap://bigmac-lcg-ce.physics.utoronto.ca:2170 -b mds-vo-name=local,o=grid
> <snip>
> # numEntries: 7135
>
> but
>
> % ldapsearch -x -H ldap://bigmac-lcg-ce.physics.utoronto.ca:2170 -b mds-vo-name=toronto-lcg2,o=grid
> returns
> result: 32 No such object
> matchedDN: o=grid
>
> Possibly useful information:
>
> Turned on debug_level=1 in /etc/init.d/globus-mds
>
> Starting Globus MDS
> Using sysconfig: /etc/sysconfig/globus
> Using GLOBUS_LOCATION: /opt/globus
> Using grid-functions: /etc/rc.d/init.d/grid-functions
> Using configuration file: /etc/globus.conf
> overwrite_config=yes : creating new configuration files
> Making backup of /opt/globus/etc/grid-info-slapd.conf
> Creating file: /opt/globus/etc/grid-info-slapd.conf
> Using provider_path: /opt/globus/libexec
> Using schemalist: /opt/globus/libexec/edg.schemalist
> Using flavor: gcc32dbgpthr
> Using module path: /opt/globus/libexec/openldap/gcc32dbgpthr
> Using backend: ldif
> Making backup of /opt/globus/etc/grid-info-resource-register.conf
> Creating file: /opt/globus/etc/grid-info-resource-register.conf
> Register "Mds-Vo-name=local, o=grid" to bigmac-lcg-ce.physics.utoronto.ca:2135/toronto-lcg2
> Making backup of /opt/globus/etc/grid-info-resource-ldif.conf
> Creating file: /opt/globus/etc/grid-info-resource-ldif.conf
> Using provider info: /opt/globus/libexec/edg.info
> Using grid-mapfile: /etc/grid-security/grid-mapfile
> Using cert: /etc/grid-security/hostcert.pem
> Using key : /etc/grid-security/hostkey.pem
> Executing: /opt/globus/sbin/grid_info_daemon -
> /opt/globus/sbin/grid-info-soft-register -log
> /var/tmp/edginfo-globus-mds.log -f
> /opt/globus/etc/grid-info-resource-register.conf --
> /opt/globus/libexec/slapd -h ldap://bigmac-lcg-ce.physics.utoronto.ca:2135
> -f /opt/globus/etc/grid-info-slapd.conf -d 1 -u edginfo > /dev/null 2>&1 &
>
> % ps awxuu | grep bdii
> edguser 15790 21.8 0.8 22208 17608 pts/1 R 14:59 7:52
> /usr/bin/perl -w /opt/bdii//sbin/bdii-update /opt/bdii/etc/bdii.conf
> edguser 16672 0.1 0.2 8892 4364 pts/1 S 15:01 0:02 bdii-fwd
> [accepting proxy for localhost]
> edguser 3519 0.7 1.6 70336 33640 ? S 15:31 0:01
> /usr/sbin/slapd -f /opt/bdii//var/2173/bdii-slapd.conf -h ldap://localhost:2173 -u edguser
> edguser 4574 1.3 1.6 69584 33668 ? S 15:33 0:01
> /usr/sbin/slapd -f /opt/bdii//var/2171/bdii-slapd.conf -h ldap://localhost:2171 -u edguser
> edguser 5577 0.5 0.0 5288 996 pts/1 S 15:35 0:00 sh -c
> /usr/sbin/slapadd -c -d 4 -v -f /opt/bdii//var/2172/bdii-slapd.conf >/dev/null 2>/opt/bdii//var/tmp/stderr.log
> edguser 5578 87.5 0.6 41804 13996 pts/1 R 15:35 0:01
> /usr/sbin/slapadd -c -d 4 -v -f /opt/bdii//var/2172/bdii-slapd.conf
>
> % iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> % cat /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=xxxxxx
> BDII_SEARCH_FILTER='*'
> BDII_SEARCH_TIMEOUT=30
> BDII_BREATHE_TIME=60
> BDII_AUTO_UPDATE=yes
> BDII_AUTO_MODIFY=no
> BDII_DIR=/opt/bdii/
> BDII_UPDATE_URL=http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii/dteam/lcg2-all-sites.conf
> BDII_UPDATE_LDIF=http://
> SLAPD=/usr/sbin/slapd
> SLAPADD=/usr/sbin/slapadd
>
> Thanks
> Leslie
>
>
--
,-~~-.___. ________________________________________________
/ | ' \ [log in to unmask] Department of Physics
( ) 0 Tel: +1-416-978-2959 University of Toronto
\_/-, ,----' Fax: +1-416-978-8221 60 St. George Street
==== // Toronto, ON M5S 1A7
/ \-'~; /~~~(O) Canada
/ __/~| / | Office: McLennan Physics Lab Room 911
=( _____| (_________| http://home.fnal.gov/~groer
Leslie S. Groer
|