Hi,
In our site-info we use the following setting to configure bdii region for our
glite ce:
BDII_GLITECE_URL="ldap://$GLITECE_HOST:2170/mds-vo-name=resource,o=grid"
^^^^^^^^
In your case I found info using:
ldapsearch -x -LLL -h grid4.bccs.uib.no -p 2170 -b mds-vo-name=Uib,o=grid
(maybe you have to use "Uib" instead of "resource")
Hope this helps,
Simone
Jeremy Cook wrote:
> Carsten,
>
> I am told that this (2135) is not the case for a pure glite-CE - ie it
> only uses port 2170, and not 2135. globus-mds is not running (nor was
> it installed/configured as part of the glite-CE). If it should be then
> I need to look in to why this is. I have ldap services running on
> ports 2170 - 2173 with 2170 open to the outside world.
>
>
> Jeremy
>
> On 21/09/06, Preuss Carsten <[log in to unmask]> wrote:
>>
>>
>>
>> >In site-info.def I have
>> >BDII_REGIONS="CE SE" # list of the services provided by the site
>> >BDII_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=local,o=grid"
>> >BDII_SE_URL="ldap://$CLASSIC_HOST:2135/mds-vo-name=local,o=grid"
>>
>> Have you also defined the nodes? :
>> CE=xxx.xxx.xx
>>
>> Also your port for the CE is wrong, it must be 2135. This is for the
>> site
>> local ldap communication.
>>
>> You need an ldap daemon running on your CE/SE, without it can not
>> publish
>> anything.
>> I'm not sure if it still something like service globus-mds start
>> (this
>> is in LCG).
>> But you can start these processes also by hand :
>>
>> /usr/sbin/slapd -f /opt/bdii//var/2171/bdii-slapd.conf -h
>> ldap://localhost:2171 -u edguser
>> /usr/sbin/slapd -f /opt/bdii//var/2172/bdii-slapd.conf -h
>> ldap://localhost:2172 -u edguser
>> /usr/sbin/slapd -f /opt/bdii//var/2173/bdii-slapd.conf -h
>> ldap://localhost:2173 -u edguser
>>
>>
>> You also need to open the port 2170 on your BDII host.
>>
>> To test the node ldaps, try from a different host :
>>
>> ldapsearch -x -H ldap://xxx.xxx.xx:2135 -b mds-vo-name=local,o=grid
>>
>>
>> Cheers,
>> Carsten.
>>
>> -----------------------------------------
>> Carsten Preuss
>> Gesellschaft fuer Schwerionenforschung mbH
>> IT
>> Planckstr. 1, D-64291 Darmstadt, Germany
>> phone: +49-6159-71-1339
>>
>> -----------------------------------------
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: LHC Computer Grid - Rollout im Auftrag von Jeremy Cook
>> Gesendet: Do 21.09.2006 14:41
>> An: [log in to unmask]
>> Betreff: [LCG-ROLLOUT] Problems publishing to BDII top level
>>
>>
>> I'm having trouble making my site visible to the rest of the world.
>> I have installed and configured a pure glite-CE node (plus a SE
>> running on
>> a
>> different host) and done configuration using:
>>
>> ./configure_node /etc/grid/site-info.def gliteCE BDII_site
>>
>> This is a completely clean install on SL307.
>>
>> It seems that everything is working but for example:
>>
>> ldapsearch -x -h lcg-bdii.cern.ch -p 2170 -b o=grid | grep uib\.no
>>
>> returns a blank, and I am told it should not!
>>
>> In the log files for bdii I see:
>>
>> CE: No such object (32)
>> Matched DN: o=grid
>>
>> and on further investigation this command is being executed when the 'No
>> such object' message is logged:
>>
>> ldapsearch -x -LLL -h grid4.bccs.uib.no -p 2170 -b
>> mds-vo-name=local,o=grid
>> '(|(objectClass=GlueSchemaVersion)(objectClass=GlueTop))'
>> >
>> /opt/bdii//var/tmp/CE.ldif 2>&1
>>
>> and I suspect that this might be the reason that we are not 'published'?
>>
>> In site-info.def I have
>> BDII_REGIONS="CE SE" # list of the services provided by the site
>> BDII_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=local,o=grid"
>> BDII_SE_URL="ldap://$CLASSIC_HOST:2135/mds-vo-name=local,o=grid"
>>
>> Also, in /opt/bdii/var/tmp/stderr.log I see, (among others)
>>
>> added: "GlueSiteUniqueID=UiB,mds-vo-name=UiB,o=grid"
>> (00000022)
>>
>> though in the ldif file this entry is originally:
>>
>> GlueSiteUniqueID=UiB,mds-vo-name=local,o=grid
>>
>> I don't have anything running on port 2135 on my glite-CE host.
>>
>> Does anyone know what could be wrong? I have spent several days on
>> this and
>> have tried 'everything'.
>>
>> Jeremy
>>
>>
>>
>>
>
>
--
+----------------------------------------------------------
| Simone Dalla Fina - INFN (Ist. Naz. di Fisica Nucleare)
| sezione di Padova - EGEE SA1
| via F. Marzolo, 8 - 35131 Padova - ITALY
| [log in to unmask]
| +39 049 827 7005
+----------------------------------------------------------
|