Dear Maarten, dear all,
thanks a lot for showing how we can add an 'unofficial' site-BDII to our
top-level BDII. With the script and the file below everyhing works
fine... except as you already suggested we need to enter
"mds-vo-name=resource" to /opt/glite/var/tmp/gip/switch/switch-urls
-----------------------------------------------------------------------
SWITCH ldap://diana.switch.ch:2170/mds-vo-name=resource,o=grid
-----------------------------------------------------------------------
The next thing we will try to figure out, is why the site-BDII is not
using the site-name as mds-vo-name, i.e. mds-vo-name=SWITCH.
Many thanks for your help. We will let you know how the results about
the site-BDII.
best regards,
Placi
> Placi Flury wrote:
>
>>> And /opt/bdii/etc/bdii-update.conf should contain only this:
>>>
>>> -----------------------------------------------------------------------------
>>>
>>> GIP file:///opt/glite/libexec/glite-info-wrapper
>>> -----------------------------------------------------------------------------
>>>
>>>
>>> The GIP is doing most of the work now.
>>>
>>
>> This works indeed, I got plenty of info about other sites, but now I
>> try to add a pointer to our site, by adding the following line to
>> the bdii-update.conf file:
>> ----------
>> GIP file:///opt/glite/libexec/glite-info-wrapper
>> SWITCH ldap://<site-BDII>:2170/mds-vo-name=resource,o=grid.
>> ----------
>
> Your site BDII must have your site name instead of "resource"!
>
> But even when that is fixed this will no longer work, because the
> relevant
> functionality now is implemented by the GIP.
>
> You need to imitate (more or less) what is done for the official sites.
>
> Look at /opt/glite/etc/gip/provider/glite-info-provider-egee:
>
> -----------------------------------------------------------------------
> #!/bin/sh
>
> /opt/glite/libexec/glite-info-update-endpoints
> /opt/glite/libexec/glite-info-provider-ldap \
> -c /opt/glite/var/tmp/gip/egee/egee-urls -m local
> -----------------------------------------------------------------------
>
> Add a script /opt/glite/etc/gip/provider/glite-info-provider-switch:
>
> -----------------------------------------------------------------------
> #!/bin/sh
>
> /opt/glite/libexec/glite-info-provider-ldap \
> -c /opt/glite/var/tmp/gip/switch/switch-urls -m local
> -----------------------------------------------------------------------
>
> Then: chmod 755 /opt/glite/etc/gip/provider/glite-info-provider-switch
>
> In /opt/glite/var/tmp/gip/switch/switch-urls you put this line:
>
> -----------------------------------------------------------------------
> SWITCH ldap://diana.switch.ch:2170/mds-vo-name=SWITCH,o=grid
> -----------------------------------------------------------------------
>
> Here it is assumed your site name is "SWITCH".
>
> Give it a try and let us know the result.
|