Difference: NotesAboutInstallationAndConfigurationOfASiteBDII (1 vs. 4)

Revision 42012-05-22 - AlessandroPaolini

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

Notes about Installation and Configuration of a Site BDII - WORK IN PROGRESS

>
>

Notes about Installation and Configuration of a Site BDII

 

  • 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 Official IGI documentation.
Line: 380 to 380
 hideimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose.gif" }%
Changed:
<
<
check that all the services are publishd
>
>
check that all the services are published
 
$ ldapsearch -x -LLL -H ldap://bdii-01.cnaf.infn.it:2170 -b mds-vo-name=IGI-BOLOGNA,o=grid 'objectClass=GlueService' GlueServiceUniqueID

Revision 32012-04-17 - AlessandroPaolini

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Notes about Installation and Configuration of a Site BDII - WORK IN PROGRESS

Line: 12 to 12
 
  1. About IGI - Italian Grid infrastructure
  2. About IGI Release
  3. IGI Official Installation and Configuration guide
Added:
>
>
  1. Yaim Guide
  2. site-info.def yaim variables
  3. site-BDII yaim variables
  4. Site Certification GIIS Check
 
  1. Troubleshooting Guide for Operational Errors on EGI Sites
  2. Grid Administration FAQs page
Line: 139 to 143
  %TWISTY{ mode="div"
Changed:
<
<
showlink=" services/glite-creamce " hidelink=" services/glite-creamce "
>
>
showlink=" services/glite-bdii_site " hidelink=" services/glite-bdii_site "
 remember="off" firststart="hide" showimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleopen.gif" hideimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose.gif"
Line: 167 to 171
 # INFN-GRID: leave uncommented SITE_OTHER_GRID="WLCG|EGI" SITE_OTHER_EGI_NGI="NGI_IT"
Deleted:
<
<
#SITE_OTHER_EGEE_ROC="Italy"
  # INFN-GRID: Tier level of site in WLCG context. # Available values: [0|1|2|3|4]
Line: 214 to 217
  </>
<--/twistyPlugin-->
Added:
>
>
<--/twistyPlugin twikiMakeVisibleInline-->

yaim check

Verify to have set all the yaim variables by launching:
# /opt/glite/yaim/bin/yaim -v -s site-info_bdii-01.def -n BDII_site
   INFO: Using site configuration file: site-info_bdii-01.def
   INFO: Sourcing service specific configuration file: ./services/glite-bdii_site
   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: Apr 16 16:43 site-info_bdii-01.def
         yaim command: -v -s site-info_bdii-01.def -n BDII_site
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Mon Apr 16 16:48:48 CEST 2012 : /opt/glite/yaim/bin/yaim
         
         Installed YAIM versions:
         glite-yaim-bdii 4.3.9-1
         glite-yaim-core 5.0.2-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
   INFO: Executing function: config_gip_site_check 
   INFO: Executing function: config_gip_bdii_site_check 
   INFO: Executing function: config_info_service_bdii_site_check 
   INFO: Executing function: config_bdii_5.2_check 
   INFO: Checking is done.
   INFO: All the necessary variables to configure BDII_site are defined in your configuration files.
   INFO: Please, bear in mind that YAIM only guarantees the definition of variables
   INFO: controlled in the _check functions.
   INFO: YAIM terminated succesfully.

<--/twistyPlugin-->

<--/twistyPlugin twikiMakeVisibleInline-->

yaim config

# /opt/glite/yaim/bin/yaim -c -s site-info_bdii-01.def -n BDII_site
   INFO: Using site configuration file: site-info_bdii-01.def
   INFO: Sourcing service specific configuration file: ./services/glite-bdii_site
   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: Apr 16 16:43 site-info_bdii-01.def
         yaim command: -c -s site-info_bdii-01.def -n BDII_site
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Mon Apr 16 16:49:24 CEST 2012 : /opt/glite/yaim/bin/yaim
         
         Installed YAIM versions:
         glite-yaim-bdii 4.3.9-1
         glite-yaim-core 5.0.2-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
   INFO: Executing function: config_gip_site_check 
   INFO: Executing function: config_gip_bdii_site_check 
   INFO: Executing function: config_info_service_bdii_site_check 
   INFO: Executing function: config_bdii_5.2_check 
   INFO: Executing function: config_gip_site 
   INFO: Executing function: config_gip_bdii_site 
   INFO: Executing function: config_info_service_bdii_site_setenv 
   INFO: Executing function: config_info_service_bdii_site 
   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.

<--/twistyPlugin-->

Service Checks

BDII checks

check the information published by launching simple ldap queries

<--/twistyPlugin twikiMakeVisibleInline-->
$ ldapsearch -x -LLL -H ldap://bdii-01.cnaf.infn.it:2170 -b mds-vo-name=IGI-BOLOGNA,o=grid 'objectClass=GlueSite'
dn: GlueSiteUniqueID=IGI-BOLOGNA,Mds-Vo-name=IGI-BOLOGNA,o=grid
GlueSiteSecurityContact: mailto:grid-sec@cnaf.infn.it
GlueSiteSponsor: none
objectClass: GlueTop
objectClass: GlueSite
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSiteSysAdminContact: mailto:grid-operations@lists.cnaf.infn.it
GlueSiteDescription: predeployment site
GlueSiteUniqueID: IGI-BOLOGNA
GlueSiteName: IGI-BOLOGNA
GlueSchemaVersionMinor: 3
GlueSiteLongitude: 11.3417
GlueSiteLatitude: 44.4948
GlueSiteWeb: http://igi.cnaf.infn.it
GlueSiteOtherInfo: CONFIG=yaim
GlueSiteOtherInfo: EGEE_SERVICE=prod
GlueSiteOtherInfo: EGI_NGI=NGI_IT
GlueSiteOtherInfo: GRID=WLCG
GlueSiteOtherInfo: GRID=EGI
GlueSiteOtherInfo: WLCG_TIER=3
GlueSiteUserSupportContact: mailto:grid-operations@lists.cnaf.infn.it
GlueSchemaVersionMajor: 1
GlueSiteEmailContact: mailto:grid-operations@lists.cnaf.infn.it
GlueSiteLocation: Bologna, Italy
<--/twistyPlugin-->

<--/twistyPlugin twikiMakeVisibleInline-->

check that all the services are publishd

$ ldapsearch -x -LLL -H ldap://bdii-01.cnaf.infn.it:2170 -b mds-vo-name=IGI-BOLOGNA,o=grid 'objectClass=GlueService' GlueServiceUniqueID
<--/twistyPlugin-->

Revisions

Date Comment By
2012-04-17 installation notes completed Alessandro Paolini
2012-04-16 First draft Alessandro Paolini
 -- AlessandroPaolini - 2012-04-16

Revision 22012-04-17 - AlessandroPaolini

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Notes about Installation and Configuration of a Site BDII - WORK IN PROGRESS

  • 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 Official IGI documentation.
  • This document is addressed to site administrators responsible for middleware installation and configuration.
Changed:
<
<
  • 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.
>
>
  • The goal of this page is to provide some hints and examples on how to install and configure an IGI Site-BDII based on EMI/UMD middleware.
 
Deleted:
<
<
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
 

References

  1. About IGI - Italian Grid infrastructure
  2. About IGI Release
Line: 17 to 15
 
  1. Troubleshooting Guide for Operational Errors on EGI Sites
  2. Grid Administration FAQs page
Changed:
<
<
>
>

Service installation

<--/twistyPlugin twikiMakeVisibleInline-->

O.S. and Repos

  • Starts from a fresh installation of Scientific Linux 5.x (x86_64).
# cat /etc/redhat-release 
Scientific Linux SL release 5.7 (Boron) 

* Install the additional repositories: EPEL, Certification Authority, UMD

# yum install yum-priorities yum-protectbase
# cd /etc/yum.repos.d/
# rpm -ivh http://mirror.switch.ch/ftp/mirror/epel//5/x86_64/epel-release-5-4.noarch.rpm
# wget http://repo-pd.italiangrid.it/mrepo/repos/egi-trustanchors.repo
# rpm -ivh http://repo-pd.italiangrid.it/mrepo/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
# wget http://repo-pd.italiangrid.it/mrepo/repos/igi/sl5/x86_64/igi-emi.repo

  • Be sure that SELINUX is disabled (or permissive). Details on how to disable SELINUX are here:

# getenforce 
Disabled

  • Check the repos list (sl-*.repo are the repos of the O.S. and they should be present by default).

# ls /etc/yum.repos.d/
egi-trustanchors.repo  
emi1-third-party.repo emi1-base.repo emi1-updates.repo
igi-emi.repo
epel.repo epel-testing.repo  
sl-contrib.repo sl-fastbugs.repo sl-security.repo sl-testing.repo sl-debuginfo.repo sl.repo sl-srpms.repo
IMPORTANT: remove the dag repository if present
<--/twistyPlugin-->

<--/twistyPlugin twikiMakeVisibleInline-->

yum install

# yum clean all
Loaded plugins: downloadonly, kernel-module, priorities, protect-packages, protectbase, security, verify, versionlock
Cleaning up Everything

# yum install ca-policy-egi-core
# yum install emi-bdii-site

see here for details

<--/twistyPlugin-->

Service configuration

You have to copy the configuration files in another path, for example root, and set them properly (see later):
# cp -r /opt/glite/yaim/examples/siteinfo/* .

<--/twistyPlugin twikiMakeVisibleInline-->

site-info.def

################################
# BDII configuration variables #
################################

# Hostname of the site BDII
SITE_BDII_HOST=bdii-01.$MY_DOMAIN

################################
# Site configuration variables #
################################

# Human-readable name of your site
SITE_NAME=IGI-BOLOGNA

# The contact e-mail of your site.
# A coma separated list of email addresses. 
SITE_EMAIL="grid-operations@lists.cnaf.infn.it"

# It is the position of your site north or south of the equator 
# measured from -90. to 90. with positive values going north and 
# negative values going south. 
SITE_LAT=44.4948

# It is the position of the site east or west of Greenwich, England 
# measured from -180. to 180. with positive values going east and 
# negative values going west.  
SITE_LONG=11.3417
For your convenience there is an explanation of each yaim variable. For more details look at...

<--/twistyPlugin-->

<--/twistyPlugin twikiMakeVisibleInline-->

services/glite-creamce

################################
# Site-wide settings

SITE_DESC="predeployment site"
SITE_SUPPORT_EMAIL="grid-operations@lists.cnaf.infn.it"
SITE_SECURITY_EMAIL="grid-sec@cnaf.infn.it"
SITE_LOC="Bologna, Italy"
SITE_WEB="http://igi.cnaf.infn.it"

#############################################################################
#The SITE_OTHER_* variables are free form after the SITE_OTHER_ prefix.
# Please see 
# http://goc.grid.sinica.edu.tw/gocwiki/How_to_publish_my_site_information
# for more details.
# Note for multiple values a '|' is used as a delimiter
#
# For example:
# INFN-GRID: leave uncommented
SITE_OTHER_GRID="WLCG|EGI"
SITE_OTHER_EGI_NGI="NGI_IT"
#SITE_OTHER_EGEE_ROC="Italy"

# INFN-GRID: Tier level of site in WLCG context.
# Available values: [0|1|2|3|4]
# for Tier 1:
#SITE_OTHER_WLCG_TIER="1"
# for Tier 2's
#SITE_OTHER_WLCG_TIER="2"
SITE_OTHER_WLCG_TIER="3"

# INFN-GRID: Parent WLCG site
# for T1: 
#SITE_OTHER_WLCG_PARENT="CH-CERN"
# for T2s:
#SITE_OTHER_WLCG_PARENT="IT-INFN-CNAF"

# INFN-GRID: Which EGEE grid your site is part of, multiple attributes is okay.
# Available values: [prod|pps|cert]
SITE_OTHER_EGEE_SERVICE="prod"

# List of hosts where there are services that want to publish into the BDII
#BDII_REGIONS="host-id-1 [host-id-2 [...]]"    
BDII_REGIONS="MONIT TOPBDII SBDII CE CEBIS PILOT DSTORM LFC PX VOMS VOMS2 VOMSMANIA CESINI WMS1 WMS2 WMS3"

# The following example is valid for hosts using BDII. 
# If your host is using MDS instead (all 3.0 nodes)
# change the port to 2135 and mds-vo-name=local
#BDII_host-id-1_URL="ldap://host-id-1-hostname:2170/mds-vo-name=resource,o=grid"
BDII_MONIT_URL="ldap://mon-it.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_TOPBDII_URL="ldap://egee-bdii.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_SBDII_URL="ldap://$SITE_BDII_HOST:2170/mds-vo-name=resource,o=grid"
BDII_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=resource,o=grid"
BDII_CEBIS_URL="ldap://cremoso.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_PILOT_URL="ldap://devce.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_DSTORM_URL="ldap://darkstorm.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_PX_URL="ldap://$PX_HOST:2170/mds-vo-name=resource,o=grid"
BDII_VOMS_URL="ldap://voms.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_VOMS2_URL="ldap://voms2.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_VOMSMANIA_URL="ldap://vomsmania.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_CESINI_URL="ldap://cert-ce-01.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_LFC_URL="ldap://lfcserver.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_WMS1_URL="ldap://wms001.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_WMS2_URL="ldap://wms002.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
BDII_WMS3_URL="ldap://wms003.cnaf.infn.it:2170/mds-vo-name=resource,o=grid"
<--/twistyPlugin-->
  -- AlessandroPaolini - 2012-04-16 \ No newline at end of file

Revision 12012-04-16 - AlessandroPaolini

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Notes about Installation and Configuration of a Site BDII - WORK IN PROGRESS

  • 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 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

References

  1. About IGI - Italian Grid infrastructure
  2. About IGI Release
  3. IGI Official Installation and Configuration guide
  4. Troubleshooting Guide for Operational Errors on EGI Sites
  5. Grid Administration FAQs page

-- AlessandroPaolini - 2012-04-16

 
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