Top BDII for WeNMR
This Top BDII (bdii-wenmr.pd.infn.it) collects information from site BDIIs defined in
http://wiki.italiangrid.it/twiki/pub/WeNMR/WebHome/enmr-all-sites.conf
.
Since the 9
th of May 2012 it is an alias to a server hosted at INFN-CNAF (topbdii-wenmr.pd.infn.it) and supported by IGI.
Management instructions
The list of site BDIIs is retrieved by the script /etc/cron.hourly/bdii-siteBDII_list_update, which downloads a configuration file from the web.
After modifying that list, execute this steps to apply quickly the changes (without waiting for cron script execution and cache to be cleaned):
/etc/cron.hourly/glite-info-update-endpoints
mv -f /opt/glite/var/cache/gip/top-urls.conf/* /opt/glite/var/cache/gip/top-urls.conf.bak
service bdii restart
Installation and configuration instructions
This documentation was followed:
Steps executed on bdii-wenmr.pd.infn.it (SL5 x86_64):
cd /etc/yum.repos.d/
wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo
wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_top.repo
yum install lcg-CA
yum install ig_BDII_top
Used these variables in yaim configuration file:
[root@bdii-wenmr ~]# cat /usr/local/nfs/3_2/nodes/bdii-wenmr.pd.infn.it
BDII_HOST=bdii-wenmr.$MY_DOMAIN
VOS="enmr.eu"
/opt/glite/yaim/bin/ig_yaim -c -d 6 -s /usr/local/nfs/3_2/ig-site-info.def.current -n ig_BDII_top 2>&1 | tee /root/conf_ig_BDII_top.`hostname -s`.`date +%Y%m%d-%H%M%S`.log
edited file /etc/glite/glite-info-update-endpoints.conf to have the list - manually managed - of wanted site-BDII:
[root@bdii-wenmr ~]# cat /etc/glite/glite-info-update-endpoints.conf
[configuration]
EGI = False
OSG = False
manual = True
# manual_file is manually downloaded from https://wiki.italiangrid.it/twiki/pub/WeNMR/WebHome/enmr-all-sites.conf
manual_file = /root/enmr-all-sites.conf
output_file = /opt/glite/etc/gip/top-urls.conf
cache_dir = /var/cache/glite/glite-info-update-endpoints
get the list of wanted site-BDII from web:
wget https://wiki.italiangrid.it/twiki/pub/WeNMR/WebHome/enmr-all-sites.conf -O /root/enmr-all-sites.conf
service bdii restart
executed this steps to obtain immediatly the changes:
/etc/cron.hourly/glite-info-update-endpoints
mv -f /opt/glite/var/cache/gip/top-urls.conf/* /opt/glite/var/cache/gip/top-urls.conf.bak
service bdii restart
--
MarcoVerlato - 2012-03-08