2nd level HLR for WeNMR
This 2nd level HLR, named grid-2lhlr-01.pd.infn.it, collects all data from 1st level HLR hlr-enmr.pd.infn.it (not-IGI sites) and from 2nd level HLR 2lw-hlr.to.infn.it (only enmr.eu records of IGI sites).
Management instructions
Add a new 1st level HLR:
/opt/glite/sbin/glite-dgas-hlr-addadmin -a "<1stLevelHLR DN>" -L
ex.: /opt/glite/sbin/glite-dgas-hlr-addadmin -a "/C=IT/O=INFN/OU=Host/L=Padova/CN=prod-hlr-01.pd.infn.it" -L
- in 1st level HLR:
- add entry "grid-2lhlr-01.pd.infn.it" in the file associated with variable serversFile defined in file /opt/glite/etc/dgas_hlr.conf
- ex. in file /opt/glite/etc/dgas_2lservers.conf
- 2lw-hlr.to.infn.it
- grid-2lhlr-01.pd.infn.it
- service glite-dgas-hlrd restart
Registered 1st level HLRs are present in mysql table hlr.roles
Installation instructions
Followed these guides:
These steps was executed:
cd /etc/yum.repos.d/
wget http://grid-it.cnaf.infn.it/mrepo/repos/dag.repo
wget http://grid-it.cnaf.infn.it/mrepo/repos/ig.repo
wget http://grid-it.cnaf.infn.it/mrepo/repos/lcg-ca.repo
wget http://grid-it.cnaf.infn.it/mrepo/repos/glite-generic.repo
cd
yum clean all
yum install lcg-CA
wget http://mirror.anl.gov/pub/scientific-linux/46/i386/SL/RPMS/mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm
wget http://mirror.anl.gov/pub/scientific-linux/46/i386/SL/RPMS/mysql-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm
yum install ig_HLR mysql-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm
/opt/glite/yaim/bin/ig_yaim -c -d 6 -s /usr/local/nfs/3_1/ig-site-info.def.current -n ig_HLR 2>&1 | tee /root/yaim01.log
Previuos steps are the same of a site-HLR installation; these further steps are done because it's a 2nd level HLR:
- define in file /opt/glite/etc/dgas_hlr.conf
- is2ndLevelHlr = "true"
- acceptRecordsStartDate = "2009-01-01"
- acceptRecordsEndDate = "2019-12-31"
- recordsPerConnection="6000"
- add 1st level HLRs to be considered:
- in grid-2lhlr-01:
- /opt/glite/sbin/glite-dgas-hlr-addadmin -a "/C=IT/O=INFN/OU=Host/L=Padova/CN=hlr-enmr.pd.infn.it" -L
- in 1st level HLR:
- add entry "grid-2lhlr-01.pd.infn.it" in the file associated with variable serversFile defined in file /opt/glite/etc/dgas_hlr.conf
- ex. in file /opt/glite/etc/dgas_2lservers.conf
- 2lw-hlr.to.infn.it
- grid-2lhlr-01.pd.infn.it
- service glite-dgas-hlrd restart
--
MarcoVerlato - 2012-03-08