How to publish the LFC and the DPM in the Information System
We assume here that you are using YAIM.
SOLUTION NUMBER 1
Using YAIM, a site
BDII will have /opt/bdii/etc/bdii-update.conf like this:
CE ldap://your_CE.your_domain:2135/mds-vo-name=local,o=grid
SE ldap://your_SE.your_domain:2135/mds-vo-name=local,o=grid
etc.
At the same time /opt/bdii/etc/bdii.conf will have this:
[...]
BDII_AUTO_UPDATE=no
[...]
In your site-info.def you would define these entries:
[...]
CE_HOST=my_CE.$MY_DOMAIN
SE_HOST=my_SE.$MY_DOMAIN
LFC_HOST=my_LFC.$MY_DOMAIN
[...]
BDII_REGIONS="CE SE LFC" # list of the services provided by the site
BDII_CE_URL="ldap://$CE_HOST:2135/mds-vo-name=local,o=grid"
BDII_SE_URL="ldap://$SE_HOST:2135/mds-vo-name=local,o=grid"
BDII_LFC_URL="ldap://$LFC_HOST:2135/mds-vo-name=local,o=grid"
[...]
Then rerun YAIM.
SOLUTION NUMBER 2
On the LFC / DPM
On the LFC and DPM machines, fill in all the values you know about in
/opt/lcg/etc/examples/site-info.def
.
And run :
/opt/lcg/yaim/scripts/install_node site-info.def <node_type>
/opt/lcg/yaim/scripts/configure_node site-info.def <node_type>
BDII Configuration File
In
/opt/lcg/yaim/examples/site-info.def
, BDII_HTTP_URL points to the
BDII configuration file. For instance :
BDII_HTTP_URL="http://grid-deployment.web.cern.ch/grid-deployment/mysite-bdii.conf"
In this
mysite-bdii.conf
file, define the LFC and/or the DPM :
##################################################################
#
# Locations of lcg-bdii-update configuration files.
#
##################################################################
http://grid-deployment.web.cern.ch/grid-deployment/mysite-bdii.conf
##################################################################
#
#Ldap URLs for use by bdii
#
##################################################################
DPM ldap://<mysite.mydomain>:2135/mds-vo-name=local,o=grid
LFC ldap://<mysite.mydomain>:2135/mds-vo-name=local,o=grid
Using YAIM, install and configure your
BDII :
/opt/lcg/yaim/scripts/install_node site-info.def BDII
/opt/lcg/yaim/scripts/configure_node site-info.def BDII
If you modify the
mysite-bdii.conf
file, restart the
bdii
service :
service bdii restart
--
SophieLemaitre - 10 Nov 2005