Tags:
create new tag
,
view all tags
---+!! Notes about Installation and Configuration of a top-bdii - EMI-2 - SL6 x86_64 * *These notes are provided by site admins on a best effort base as a contribution to the IGI communities and MUST not be considered as a subsitute of the [[http://wiki.italiangrid.it/twiki/bin/view/IGIRelease/IgiEmi][Official IGI documentation]].* * This document is addressed to site administrators responsible for middleware installation and configuration. * The goal of this page is to provide some hints and examples on how to install and configure an IGI Top BDII based on EMI/UMD middleware. *NB:* The TOP-BDII service is a *CORE* service, it should not be installed at Resource Center level. The official endpoint provided by IGI is =egee-bdii.cnaf.infn.it= and *MUST* be used by all Resource Centers and Services part of the IGI infrastructure. If you want to provide an official instances which will be added to the IGI endpoint, please contact igi-noc@lists.italiangrid.it %TOC% ---++ References 1. [[http://www.italiangrid.it/][About IGI - Italian Grid infrastructure]] 1. [[http://wiki.italiangrid.it/twiki/bin/view/IGIRelease/WebHome][About IGI Release]] 1. [[http://www.eu-emi.eu/emi-1-kebnekaise-updates/-/asset_publisher/Ir6q/content/update-17-19-07-2012#BDII_top_v_1_0_2_task_30161][EMI 2 Matterhorn Products - BDII top v. 1.0.2]] 1. [[http://www.eu-emi.eu/emi-2-matterhorn][EMI-2 Release]] 1. [[https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400][ Yaim Guide]] 1. [[https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#site_info_def][site-info.def yaim variables]] ---++ Recommendations * The service needs at least two cores, 4 GB RAM, 10 GB disk space. A full virtualized machine based on KVM has been used in the following notes. ---++ Service Installation ---+++ O.S. and Repos * Starts from a fresh installation of Scientific Linux 6.x (x86_64). <verbatim> # cat /etc/redhat-release Scientific Linux release 6.3 (Carbon) </verbatim> * Install the additional repositories: EPEL, Certification Authority, EMI <verbatim> # cd /etc/yum.repos.d/ # rpm -ivh http://mirror.switch.ch/ftp/mirror/epel/6/x86_64/epel-release-6-5.noarch.rpm # wget http://repo-pd.italiangrid.it/mrepo/repos/egi-trustanchors.repo # rpm -ivh http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm # yum install yum-priorities yum-protectbase </verbatim> * Be sure that SELINUX is disabled (or permissive). Details on how to disable SELINUX are [[http://fedoraproject.org/wiki/SELinux/setenforce][here]]: <verbatim> # getenforce Disabled </verbatim> ---+++ Update host and perform the installation of package(s) <verbatim> # yum clean all Loaded plugins: downloadonly, kernel-module, priorities, protect-packages, protectbase, security, verify, versionlock Cleaning up Everything # yum install ca-policy-egi-core emi-bdii-top Loaded plugins: downloadonly, kernel-module, priorities, protect-packages, protectbase, security, verify, versionlock [...] Complete! </verbatim> ---+++ Service configuration ---++++ site-info.def The configuration file for this service is really basic: <verbatim> # cat /root/igi-siteinfo/site-info.def ################################ # Site configuration variables # ################################ SITE_NAME=IGI-BOLOGNA SITE_EMAIL="grid-operations@lists.cnaf.infn.it" SITE_LAT=44.4948 SITE_LONG=11.3417 ################################ # BDII configuration variables # ################################ # Hostname of the top level BDII BDII_HOST=top-bdii01.cnaf.infn.it ############################### # DEFAULT VALUE # ############################### #Time in seconds between updates of the bdii. BDII_BREATHE_TIME=120 #Amount of time in seconds to wait until an information is assumed BDII_READ_TIMEOUT=300 #Number of dumps of the database to keep for debugging purposes. BDII_ARCHIVE_SIZE=0 # Variable that enables IPv6 support. If set to "yes" it works with both IPv4 and IPv6. BDII_IPV6_SUPPORT=no #It defines whether a RAM disk is used to improve performance BDII_RAM_DISK=yes #Stand-alone LDAP daemon location. SLAPD=/usr/sbin/slapd #Configuration file location for slapd. SLAPD_CONF=/etc/bdii/bdii-top-slapd.conf #Time to wait in seconds before deleting removed entries. Default is 12 hours. This variable activates the caching mode. BDII_DELETE_DELAY=43200 </verbatim> ---++++ yaim check <verbatim> # chmod -R 600 /root/igi-siteinfo # /opt/glite/yaim/bin/yaim -v -s /root/igi-siteinfo/site-info.def -n BDII_top INFO: Configuring HOST: top-bdii01.cnaf.infn.it INFO: Using site configuration file: /root/igi-siteinfo/site-info.def INFO: ################################################################### . /'.-. ') . yA,-"-,( ,m,:/ ) .oo. oo o ooo o. .oo . / .-Y a a Y-. 8. .8' 8'8. 8 8b d'8 . / ~ ~ / 8' .8oo88. 8 8 8' 8 . (_/ '====' 8 .8' 8. 8 8 Y 8 . Y,-''-,Yy,-.,/ o8o o8o o88o o8o o8o o8o . I_))_) I_))_) current working directory: /root site-info.def date: Aug 9 14:31 /root/igi-siteinfo/site-info.def yaim command: -v -s /root/igi-siteinfo/site-info.def -n BDII_top log file: /opt/glite/yaim/bin/../log/yaimlog Thu Aug 9 14:33:23 CEST 2012 : /opt/glite/yaim/bin/yaim Installed YAIM versions: glite-yaim-bdii 4.3.11-1 glite-yaim-core 5.1.0-1 [...] INFO: YAIM terminated succesfully. </verbatim> ---++++ yaim config Please use the debug flag ( ="-d 6"=) to configure the services in order to have detailed information. For your convenience yo can save all the configuration information in a log file you can look at any time, separated from the =yaimlog= defulat one. <verbatim> # /opt/glite/yaim/bin/yaim -c -d 6 -s /root/igi-siteinfo/site-info.def -n BDII_top DEBUG: Checking siteinfo dir is not world readable DEBUG: Checking site-info.def is syntactically correct INFO: Configuring HOST: top-bdii01.cnaf.infn.it DEBUG: Sourcing /opt/glite/yaim/bin/../defaults/site-info.pre DEBUG: Sourcing /opt/glite/yaim/bin/../defaults/emi-bdii_top.pre INFO: Using site configuration file: /root/igi-siteinfo/site-info.def DEBUG: Sourcing site-info.def file: /root/igi-siteinfo/site-info.def DEBUG: Sourcing /opt/glite/yaim/bin/../defaults/site-info.post DEBUG: Sourcing /opt/glite/yaim/bin/../defaults/mapping INFO: ################################################################### . /'.-. ') . yA,-"-,( ,m,:/ ) .oo. oo o ooo o. .oo . / .-Y a a Y-. 8. .8' 8'8. 8 8b d'8 . / ~ ~ / 8' .8oo88. 8 8 8' 8 . (_/ '====' 8 .8' 8. 8 8 Y 8 . Y,-''-,Yy,-.,/ o8o o8o o88o o8o o8o o8o . I_))_) I_))_) current working directory: /root site-info.def date: Aug 9 14:31 /root/igi-siteinfo/site-info.def yaim command: -c -d 6 -s /root/igi-siteinfo/site-info.def -n BDII_top log file: /opt/glite/yaim/bin/../log/yaimlog Thu Aug 9 14:36:44 CEST 2012 : /opt/glite/yaim/bin/yaim Installed YAIM versions: glite-yaim-bdii 4.3.11-1 glite-yaim-core 5.1.0-1 #################################################################### INFO: The default location of the grid-env.(c)sh files will be: /usr/libexec INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils INFO: Detecting environment DEBUG: Detect platform: OS flavour detected is: "Scientific Linux release 6.3 (Carbon)" DEBUG: Detected architecture is 64BIT DEBUG: Detect platform: OS type detected: sl6 DEBUG: Resulted NODE_TYPE_LIST is : BDII_top DEBUG: Setting environment variable GRID_ENV_LOCATION, to value "/usr/libexec". DEBUG: Unset environment variable GRID_ENV_LOCATION. DEBUG: Setting environment variable LCG_LOCATION, to value "/usr". DEBUG: Unset environment variable LCG_LOCATION. DEBUG: Setting environment variable GLITE_LOCATION, to value "/usr". DEBUG: Unset environment variable GLITE_LOCATION. DEBUG: Setting environment variable GLITE_LOCATION_VAR, to value "/var". DEBUG: Unset environment variable GLITE_LOCATION_VAR. DEBUG: Appending value "/bin" to environment variable PATH. DEBUG: Deleting value "/bin" from environment variable PATH. DEBUG: Appending value "/opt/glite/share/man" to environment variable MANPATH. DEBUG: Deleting value "/opt/glite/share/man" from environment variable MANPATH. DEBUG: Sourcing node definition file: /opt/glite/yaim/bin/../node-info.d/emi-bdii_top INFO: Executing function: config_info_service_bdii_top_check INFO: Executing function: config_bdii_5.2_check INFO: Executing function: config_info_service_bdii_top_setenv DEBUG: This function currently doesn't set any environment variables. INFO: Executing function: config_info_service_bdii_top DEBUG: Skipping function: config_bdii_5.2_setenv because it is not defined INFO: Executing function: config_bdii_5.2 Stopping BDII: BDII already stopped Starting BDII slapd: [ OK ] Starting BDII update process: [ OK ] INFO: Configuration Complete. [ OK ] INFO: YAIM terminated succesfully. </verbatim> ---+++ Service checks The service could takes ~10 minutes to publish all the informations. From a User Interfaces, try the following commands (replace top-bdii01.cnaf.infn.it with your top-bdii hostname): * =telnet top-bdii01.cnaf.infn.it 2170=. The port 2170 must be opened. * =lcg-infosites --is top-bdii01.cnaf.infn.it --vo ops ce| wc -l= should return a number at least grater than 500 * check freshness: the information published must be updated. Downolad [[https://wiki.italiangrid.it/twiki/pub/SiteAdminCorner/NotesAboutInstallationAndConfigurationOfATopBDII/check_bdii_entries][check_bdii_entries]] and execute it like in the example: <verbatim> ./check_bdii_entries -H top-bdii01.cnaf.infn.it -t 60 -b Mds-Vo-Name=local,O=Grid -p 2170 -w 1200:1 -c 3600:1 -f stats OK: freshness=276s, entries=1 |freshness=276s;entries=1 </verbatim> ---+++ Revision | *Date* | *Comment* | | 2012-08-09 | top-bdii fresh installation - [[http://www.eu-emi.eu/emi-1-kebnekaise-updates/-/asset_publisher/Ir6q/content/update-17-19-07-2012#BDII_top_v_1_0_2_task_30161][EMI 2 Matterhorn Products - BDII top v. 1.0.2]]| -- Main.PaoloVeronesi - 2012-08-09
E
dit
|
A
ttach
|
PDF
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r1 - 2012-08-09
-
PaoloVeronesi
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
SiteAdminCorner Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback