HLR Server
Documentation
IGI Documentation
Prerequisites
Check the FQDN hostname
Ensure that the hostnames of your machines are correctly set. Run the command:
hostname -f
Disabling SELinux
Please remember to fully disabling SELinux. Disabling will completely disable all SELinux functions including file and process labelling.
In
RedHat Enterprise, edit /etc/selinux/config and change the SELINUX line to SELINUX=disabled:
# disabled - No SELinux policy is loaded.
SELINUX=disabled
Repository Settings
IMPORTANT NOTE:
- If present remember to disable the dag.repo if it is enabled.
cd /etc/yum.repos.d/
mv dag.repo dag.repo.disabled
Get the repos file:
You have to download the correct repository file for HLR Server. EPEL, and EMI repos has default and IGI-EMI repo.
cd /root
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
yum localinstall *.rpm
wget http://repo-pd.italiangrid.it/mrepo/repos/igi/sl5/x86_64/igi-cert-emi.repo -O /etc/yum.repos.d/igi-cert-emi.repo
Installation:
CAs installation:
- Install CAs on ALL profiles:
yum install ca-policy-egi-core
Service installation
- Install the HLR Server metapackage, containing all packages needed by this service:
yum install igi-hlr
Configure the service:
YAIM Variables:
Hi the Mandatory Variables for the HLR Server are:
Name |
Possible Value |
Description |
NTP_HOSTS_IP |
131.154.1.53 131.154.1.103 pool.ntp.org |
This variable is useful to configure the NTP in the HLR host |
MYSQL_PASSWORD |
D1ffiCulPassW0rd |
This variable is used to configure the Mysql root Password |
DGAS_HLR_DB_PASSWORD |
Hlr-1PassW0rd |
This variable is used to configure the dgas Password |
Other useful variables can be found in /opt/glite/yaim/examples/siteinfo/services/hlr file.
Configuring HLR
/opt/glite/yaim/bin/yaim -c -d 6 -s <site-info.def> -n hlr 2>&1 | tee /root/conf_HLR.`hostname -s`.`date +%Y%m%d-%H%M%S`.log
Testing reports
--
SergioTraldi - 2012-04-23