Tags:
, view all tags

HLR Server

Documentation

IGI Documentation

Prerequisites

Hardware Requirements

The HLR server host should be an real or virtual host having an optimal disk access.

The suggested requirements are:

  • processor with 4 or 8 cores
  • 8GB RAM or better 16GB
  • minimum 200 GB of space for a first level HLR. (check your database actual dimension)

If you will use a virtual host ensure you are not using virtio to access to the mysql storage DB. Please use a physic partition.

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/2/sl5/x86_64/base/emi-release-2.0.0-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
wget http://repo-pd.italiangrid.it/mrepo/repos/egi-trustanchors.repo -O /etc/yum.repos.d/egi-trustanchors.repo

If you obtain this error:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID df9e12ef

Public key for emi-release-2.0.0-1.sl5.noarch.rpm is not installed

You have to pu the variable gpgcheck=0 in /etc/yum.conf

[~]# cat /etc/yum.conf 

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1

metadata_expire=2h
installonly_limit=4

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

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:

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

Certification

Testing reports SL5

Testing Report SL6

-- SergioTraldi - 2012-04-23

Topic attachments
I Attachment Action Size Date Who Comment
PDFpdf 4.0_test_plan_V0.1.pdf manage 222.9 K 2012-04-23 - 12:01 SergioTraldi  
Edit | Attach | PDF | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | More topic actions...
Topic revision: r12 - 2013-02-07 - CristinaAiftimiei
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback