Difference: InstallationAndConfigurationOfASiteBDII (1 vs. 9)

Revision 82011-09-15 - GiuseppeLaRocca

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

Introduction

Changed:
<
<
This document is addressed to site administrators responsible for middleware installation and configuration.
Goal of this wiki page is to provide some hints and examples about how to install and configure a IG Site BDII based on gLite middleware.
>
>
This document is addressed to site administrators responsible for middleware installation and configuration.
Goal of this wiki page is to provide some hints and examples about how to install and configure a IG Site BDII based on gLite middleware.
 

Repository settings for x86_64

Changed:
<
<
$ cd /etc/yum/repos.d/
$ wget  http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo \
	http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo \
        http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo \
	http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_site.repo
>
>
$ cd /etc/yum/repos.d/
$ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo
$ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo
$ wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo     
$ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_site.repo
 

Update host and perform the installation of package(s)

Changed:
<
<
$ yum clean all

>
>
$ yum clean all

 $ yum install ig_BDII_site Loaded plugins: kernel-module CAs | 951 B 00:00
Line: 48 to 44
 Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package.
Changed:
<
<
--> Running transaction check
> Package ig_BDII_site.x86_64 0:3.2.10-1_ig20_sl5 set to be updated --> Processing Dependency: ig-yaim >= 4.0.13-2 for package: ig_BDII_site --> Processing Dependency: glite-info-static >= 0.2.0-1 for package: ig_BDII_site --> Processing Dependency: glite-info-site >= 0.4.0-1 for package: ig_BDII_site --> Processing Dependency: bdii >= 5.1.9-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-ldap >= 1.3.1-1 for package: ig_BDII_site --> Processing Dependency: glite-yaim-bdii >= 4.1.10-1 for package: ig_BDII_site --> Processing Dependency: glue-schema >= 2.0.3-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-service >= 1.4.3-0 for package: ig_BDII_site --> Processing Dependency: glite-version >= 3.2.3-1 for package: ig_BDII_site --> Processing Dependency: glite-yaim-core >= 4.0.13-2 for package: ig_BDII_site --> Processing Dependency: glite-BDII_site >= 3.2.10-1.sl5 for package: ig_BDII_site --> Processing Dependency: bdii-config-site >= 0.9.0-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-release >= 1.0.1-1 for package: ig_BDII_site --> Running transaction check
> Package bdii.noarch 0:5.1.9-1 set to be updated --> Processing Dependency: expect for package: bdii --> Processing Dependency: openldap-servers for package: bdii --> Processing Dependency: openldap-clients for package: bdii
> Package bdii-config-site.noarch 0:0.9.0-1 set to be updated
> Package glite-BDII_site.x86_64 0:3.2.10-1.sl5 set to be updated
> Package glite-info-provider-ldap.noarch 0:1.3.1-1 set to be updated --> Processing Dependency: perl(LWP::Simple) for package: glite-info-provider-ldap
> Package glite-info-provider-release.noarch 0:1.0.1-1 set to be updated --> Processing Dependency: perl(Net::LDAP) for package: glite-info-provider-release
> Package glite-info-provider-service.noarch 0:1.4.3-0 set to be updated
> Package glite-info-site.noarch 0:0.4.0-1 set to be updated
> Package glite-info-static.noarch 0:0.2.0-1 set to be updated
> Package glite-version.noarch 0:3.2.3-1 set to be updated
> Package glite-yaim-bdii.noarch 0:4.1.10-1 set to be updated
> Package glite-yaim-core.noarch 0:4.0.13-2 set to be updated
> Package glue-schema.noarch 0:2.0.3-1 set to be updated
> Package ig-yaim.noarch 0:4.0.13-2_7 set to be updated --> Running transaction check
> Package expect.x86_64 0:5.43.0-5.1 set to be updated
> Package openldap-clients.x86_64 0:2.3.43-12.el5_5.1 set to be updated
> Package openldap-servers.x86_64 0:2.3.43-12.el5_5.1 set to be updated
>
>
--> Running transaction check
> Package ig_BDII_site.x86_64 0:3.2.10-1_ig20_sl5 set to be updated --> Processing Dependency: ig-yaim >= 4.0.13-2 for package: ig_BDII_site --> Processing Dependency: glite-info-static >= 0.2.0-1 for package: ig_BDII_site --> Processing Dependency: glite-info-site >= 0.4.0-1 for package: ig_BDII_site --> Processing Dependency: bdii >= 5.1.9-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-ldap >= 1.3.1-1 for package: ig_BDII_site --> Processing Dependency: glite-yaim-bdii >= 4.1.10-1 for package: ig_BDII_site --> Processing Dependency: glue-schema >= 2.0.3-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-service >= 1.4.3-0 for package: ig_BDII_site --> Processing Dependency: glite-version >= 3.2.3-1 for package: ig_BDII_site --> Processing Dependency: glite-yaim-core >= 4.0.13-2 for package: ig_BDII_site --> Processing Dependency: glite-BDII_site >= 3.2.10-1.sl5 for package: ig_BDII_site --> Processing Dependency: bdii-config-site >= 0.9.0-1 for package: ig_BDII_site --> Processing Dependency: glite-info-provider-release >= 1.0.1-1 for package: ig_BDII_site --> Running transaction check
> Package bdii.noarch 0:5.1.9-1 set to be updated --> Processing Dependency: expect for package: bdii --> Processing Dependency: openldap-servers for package: bdii --> Processing Dependency: openldap-clients for package: bdii
> Package bdii-config-site.noarch 0:0.9.0-1 set to be updated
> Package glite-BDII_site.x86_64 0:3.2.10-1.sl5 set to be updated
> Package glite-info-provider-ldap.noarch 0:1.3.1-1 set to be updated --> Processing Dependency: perl(LWP::Simple) for package: glite-info-provider-ldap
> Package glite-info-provider-release.noarch 0:1.0.1-1 set to be updated --> Processing Dependency: perl(Net::LDAP) for package: glite-info-provider-release
> Package glite-info-provider-service.noarch 0:1.4.3-0 set to be updated
> Package glite-info-site.noarch 0:0.4.0-1 set to be updated
> Package glite-info-static.noarch 0:0.2.0-1 set to be updated
> Package glite-version.noarch 0:3.2.3-1 set to be updated
> Package glite-yaim-bdii.noarch 0:4.1.10-1 set to be updated
> Package glite-yaim-core.noarch 0:4.0.13-2 set to be updated
> Package glue-schema.noarch 0:2.0.3-1 set to be updated
> Package ig-yaim.noarch 0:4.0.13-2_7 set to be updated --> Running transaction check
> Package expect.x86_64 0:5.43.0-5.1 set to be updated
> Package openldap-clients.x86_64 0:2.3.43-12.el5_5.1 set to be updated
> Package openldap-servers.x86_64 0:2.3.43-12.el5_5.1 set to be updated
 CAs/filelists | 6.4 kB 00:00 dag/filelists | 3.0 MB 00:01 glite-BDII_site_sl5_x86_64_externals/filelists | 205 B 00:00
Line: 95 to 91
 ig_sl5_x86_64_externals/filelists | 1.2 kB 00:00 sl-base/filelists_db | 3.6 MB 00:03 sl-security/filelists_db | 2.3 MB 00:02
Changed:
<
<
--> Processing Dependency: libltdl.so.3()(64bit) for package: openldap-servers
> Package perl-LDAP.noarch 1:0.33-3.fc6 set to be updated --> Processing Dependency: perl(Convert::ASN1) for package: perl-LDAP --> Processing Dependency: perl(XML::SAX::Base) for package: perl-LDAP --> Processing Dependency: perl(IO::Socket::SSL) for package: perl-LDAP
> Package perl-libwww-perl.noarch 0:5.805-1.1.1 set to be updated --> Processing Dependency: perl-HTML-Parser >= 3.33 for package: perl-libwww-perl --> Processing Dependency: perl(URI::URL) for package: perl-libwww-perl --> Processing Dependency: perl(URI) for package: perl-libwww-perl --> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl --> Processing Dependency: perl(Compress::Zlib) for package: perl-libwww-perl --> Processing Dependency: perl(URI::Heuristic) for package: perl-libwww-perl --> Processing Dependency: perl(URI::Escape) for package: perl-libwww-perl --> Running transaction check
> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
> Package perl-Compress-Zlib.x86_64 0:1.42-1.fc6 set to be updated
> Package perl-Convert-ASN1.noarch 0:0.20-1.1 set to be updated
> Package perl-HTML-Parser.x86_64 0:3.55-1.fc6 set to be updated --> Processing Dependency: perl-HTML-Tagset >= 3.03 for package: perl-HTML-Parser --> Processing Dependency: perl(HTML::Tagset) for package: perl-HTML-Parser
> Package perl-IO-Socket-SSL.noarch 0:1.01-1.fc6 set to be updated --> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package: perl-IO-Socket-SSL
> Package perl-URI.noarch 0:1.35-3 set to be updated
> Package perl-XML-SAX.noarch 0:0.14-8 set to be updated --> Processing Dependency: perl(XML::NamespaceSupport) for package: perl-XML-SAX --> Running transaction check
> Package perl-HTML-Tagset.noarch 0:3.10-2.1.1 set to be updated
> Package perl-Net-SSLeay.x86_64 0:1.30-4.fc6 set to be updated
> Package perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1 set to be updated --> Finished Dependency Resolution
>
>
--> Processing Dependency: libltdl.so.3()(64bit) for package: openldap-servers
> Package perl-LDAP.noarch 1:0.33-3.fc6 set to be updated --> Processing Dependency: perl(Convert::ASN1) for package: perl-LDAP --> Processing Dependency: perl(XML::SAX::Base) for package: perl-LDAP --> Processing Dependency: perl(IO::Socket::SSL) for package: perl-LDAP
> Package perl-libwww-perl.noarch 0:5.805-1.1.1 set to be updated --> Processing Dependency: perl-HTML-Parser >= 3.33 for package: perl-libwww-perl --> Processing Dependency: perl(URI::URL) for package: perl-libwww-perl --> Processing Dependency: perl(URI) for package: perl-libwww-perl --> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl --> Processing Dependency: perl(Compress::Zlib) for package: perl-libwww-perl --> Processing Dependency: perl(URI::Heuristic) for package: perl-libwww-perl --> Processing Dependency: perl(URI::Escape) for package: perl-libwww-perl --> Running transaction check
> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
> Package perl-Compress-Zlib.x86_64 0:1.42-1.fc6 set to be updated
> Package perl-Convert-ASN1.noarch 0:0.20-1.1 set to be updated
> Package perl-HTML-Parser.x86_64 0:3.55-1.fc6 set to be updated --> Processing Dependency: perl-HTML-Tagset >= 3.03 for package: perl-HTML-Parser --> Processing Dependency: perl(HTML::Tagset) for package: perl-HTML-Parser
> Package perl-IO-Socket-SSL.noarch 0:1.01-1.fc6 set to be updated --> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package: perl-IO-Socket-SSL
> Package perl-URI.noarch 0:1.35-3 set to be updated
> Package perl-XML-SAX.noarch 0:0.14-8 set to be updated --> Processing Dependency: perl(XML::NamespaceSupport) for package: perl-XML-SAX --> Running transaction check
> Package perl-HTML-Tagset.noarch 0:3.10-2.1.1 set to be updated
> Package perl-Net-SSLeay.x86_64 0:1.30-4.fc6 set to be updated
> Package perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1 set to be updated --> Finished Dependency Resolution
 Beginning Kernel Module Plugin Finished Kernel Module Plugin
Changed:
<
<
>
>

 Dependencies Resolved
Changed:
<
<
=========================================================================================================================================================
>
>

=========================================================================================================================================================

  Package Arch Version Repository Size
Changed:
<
<
=========================================================================================================================================================
>
>
=========================================================================================================================================================
 Installing: ig_BDII_site x86_64 3.2.10-1_ig20_sl5 ig_sl5_x86_64 2.9 k Installing for dependencies:
Line: 164 to 161
  perl-XML-NamespaceSupport noarch 1.09-1.2.1 sl-base 15 k perl-XML-SAX noarch 0.14-8 sl-base 77 k perl-libwww-perl noarch 5.805-1.1.1 sl-base 375 k
Changed:
<
<
>
>

 Transaction Summary
Changed:
<
<
=========================================================================================================================================================
>
>
=========================================================================================================================================================
 Install 29 Package(s) Upgrade 0 Package(s)
Changed:
<
<
>
>

 Total download size: 4.3 M Is this ok [y/N]: y Downloading Packages:
Line: 202 to 201
 (27/29): perl-LDAP-0.33-3.fc6.noarch.rpm | 316 kB 00:00 (28/29): perl-libwww-perl-5.805-1.1.1.noarch.rpm | 375 kB 00:00 (29/29): openldap-servers-2.3.43-12.el5_5.1.x86_64.rpm | 2.2 MB 00:01
Changed:
<
<

>
>


 Total 479 kB/s | 4.3 MB 00:09 Running rpm_check_debug Running Transaction Test
Line: 238 to 237
  Installing : glite-info-provider-release 27/29 Installing : glite-BDII_site 28/29 Installing : ig_BDII_site 29/29
Changed:
<
<
>
>

 Installed: ig_BDII_site.x86_64 0:3.2.10-1_ig20_sl5
Changed:
<
<
>
>

 Dependency Installed: bdii.noarch 0:5.1.9-1 bdii-config-site.noarch 0:0.9.0-1 expect.x86_64 0:5.43.0-5.1 glite-BDII_site.x86_64 0:3.2.10-1.sl5 glite-info-provider-ldap.noarch 0:1.3.1-1 glite-info-provider-release.noarch 0:1.0.1-1
Line: 253 to 254
  perl-IO-Socket-SSL.noarch 0:1.01-1.fc6 perl-LDAP.noarch 1:0.33-3.fc6 perl-Net-SSLeay.x86_64 0:1.30-4.fc6 perl-URI.noarch 0:1.35-3 perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1 perl-XML-SAX.noarch 0:0.14-8 perl-libwww-perl.noarch 0:5.805-1.1.1
Changed:
<
<
>
>

 Complete!
Changed:
<
<
>
>

 

Install CAs

Changed:
<
<
$ yum install -y lcg-CA

C E R T I F I C A T E S

Installing certificate
$ cd /etc/grid-security/

drwxr-xr-x  2 root root 20480 Jun 30 16:36 certificates
-rw-r--r--  1 root root  1062 Jun 30 16:42 hostcert.pem
-r--------  1 root root   887 Jun 30 16:42 hostkey.pem
drwxr-xr-x  2 root root  4096 Jun 30 16:40 vomsdir
>
>
$ yum install -y lcg-CA
 

C O N F I G U R I N G

Copy the ig-site-info.def from the CE to the Site BDII

Edit the /opt/glite/yaim/exampls/siteinfo/services/glite-bdii_site file
Changed:
<
<
# Site-wide settings

>
>
# Site-wide settings

 SITE_NAME="GRID-TEST-VM01" SITE_DESC="GRID TEST VM01" SITE_SUPPORT_EMAIL="giuseppe.larocca@ct.infn.it" SITE_SECURITY_EMAIL="giuseppe.larocca@ct.infn.it" SITE_LOC="Catania, Italy" SITE_WEB="https://"
Changed:
<
<
>
>

 # INFN-GRID: leave uncommented SITE_OTHER_GRID="WLCG|EGEE" SITE_OTHER_EGEE_ROC="Italy"
Changed:
<
<
>
>

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

 # List of hosts where there are services that want to publish into the BDII BDII_REGIONS="CE"
Changed:
<
<
>
>

 # 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_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=resource,o=grid"
Changed:
<
<
>
>

 

Start the configuration with ig_yaim

Changed:
<
<
$ /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site
   WARNING: 
   WARNING: *****************************************************************************
   WARNING: Your siteinfo directory is world readable. This is generally a bad idea      
   WARNING: as configuration files may contain passwords and other sensitive information.
   WARNING: *****************************************************************************
   WARNING: 
   INFO: Using site configuration file: /opt/glite/yaim/examples/siteinfo/ig-site-info.def
   INFO: Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/glite-bdii_site
   INFO: Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/ig-bdii_site
   INFO: 

>
>
$ /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site
WARNING WARNING *************************************************************************** WARNING Your siteinfo directory is world readable. This is generally a bad idea WARNING as configuration files may contain passwords and other sensitive information. WARNING *************************************************************************** WARNING INFO Using site configuration file: /opt/glite/yaim/examples/siteinfo/ig-site-info.def INFO Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/glite-bdii_site INFO Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/ig-bdii_site INFO
  ###################################################################
Changed:
<
<
>
>

  . /'.-. ') . yA,-"-,( ,m,:/ ) .oo. oo o ooo o. .oo . / .-Y a a Y-. 8. .8' 8'8. 8 8b d'8
Line: 326 to 320
  . (_/ '====' 8 .8' 8. 8 8 Y 8 . Y,-''-,Yy,-.,/ o8o o8o o88o o8o o8o o8o . I_))_) I_))_)
Changed:
<
<

>
>

  current working directory: /opt/glite/yaim/examples/siteinfo/services site-info.def date: Dec 28 15:40 /opt/glite/yaim/examples/siteinfo/ig-site-info.def yaim command: -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site log file: /opt/glite/yaim/bin/../log/yaimlog Tue Dec 28 17:26:15 CET 2010 : /opt/glite/yaim/bin/ig_yaim
Changed:
<
<
>
>

  Installed YAIM versions: glite-yaim-bdii 4.1.10-1 glite-yaim-core 4.0.13-2 ig-yaim 4.0.13-2_7
Changed:
<
<
>
>

  ####################################################################
Changed:
<
<
INFO
The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d
INFO
Sourcing the utilities in /opt/glite/yaim/functions/utils
INFO
Detecting environment
INFO
Executing function: config_ntp_check
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_ntp
INFO
Executing function: config_gip_site_check
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
INFO
Executing function: config_gip_bdii_site_check
INFO
Executing function: config_info_service_bdii_site_check
INFO
Executing function: config_bdii_5.1_check
INFO
Executing function: config_ntp_setenv
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_ntp
INFO
Executing function: config_ntp
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_ntp
INFO
Executing function: config_ntp_setenv
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_ntp
INFO
Executing function: config_ntp
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_ntp
INFO
Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616
INFO
Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616
INFO
Executing function: config_nfs_sw_dir_server
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_nfs_sw_dir_server
INFO
$HOST_SW_DIR is not this host. Skip!
INFO
Executing function: config_gip_site
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
SITE_COUNTRY = Italy
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.1
>
>

INFO The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d INFO Sourcing the utilities in /opt/glite/yaim/functions/utils INFO Detecting environment INFO Executing function: config_ntp_check INFO Using locally defined function /opt/glite/yaim/functions/local/config_ntp INFO Executing function: config_gip_site_check INFO Using locally defined function /opt/glite/yaim/functions/local/config_gip_site INFO Executing function: config_gip_bdii_site_check INFO Executing function: config_info_service_bdii_site_check INFO Executing function: config_bdii_5.1_check INFO Executing function: config_ntp_setenv INFO Using locally defined function /opt/glite/yaim/functions/local/config_ntp INFO Executing function: config_ntp INFO Using locally defined function /opt/glite/yaim/functions/local/config_ntp INFO Executing function: config_ntp_setenv INFO Using locally defined function /opt/glite/yaim/functions/local/config_ntp INFO Executing function: config_ntp INFO Using locally defined function /opt/glite/yaim/functions/local/config_ntp INFO Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616 INFO Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616 INFO Executing function: config_nfs_sw_dir_server INFO Using locally defined function /opt/glite/yaim/functions/local/config_nfs_sw_dir_server INFO $HOST_SW_DIR is not this host. Skip! INFO Executing function: config_gip_site INFO Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
 Stopping BDII update process: [ OK ] Stopping BDII slapd: INFO: Executing function: config_nfs_sw_dir_server
Changed:
<
<
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_nfs_sw_dir_server
INFO
$HOST_SW_DIR is not this host. Skip!
INFO
Executing function: config_gip_site
INFO
Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
SITE_COUNTRY = Italy
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.1
>
>
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.1
 Stopping BDII update process: [ OK ] Stopping BDII slapd: [ OK ]
Changed:
<
<
[ OK ] Starting BDII slapd: [ OK ]
>
>
 Starting BDII slapd: [ OK ] Starting BDII update process: [ OK ]
Changed:
<
<
INFO
Configuration Complete. [ OK ]
Starting BDII update process: [ OK ]
INFO
Configuration Complete. [ OK ]
INFO
YAIM terminated succesfully.
>
>
INFO Configuration Complete. [ OK ]
INFO YAIM terminated succesfully.
 

Disable YUM update

Changed:
<
<
$ /etc/init.d/yum stop 

>
>
$ /etc/init.d/yum stop 

 Disabling nightly yum update: [ OK ]
Changed:
<
<
>
>
 

Firewall

Added:
>
>
 The following ports have to be opened:
Changed:
<
<
- Local Site-BDII: port 2170/tcp

>
>
- Local Site-BDII: port 2170/tcp

 - ntpd: port 123/udp
Changed:
<
<
>
>
 

T E S T I N G

Query the local information system of the CE
Changed:
<
<
$ ldapsearch -x -h vm03.ct.infn.it -p 2170 -b mds-vo-name=resource,o=grid

>
>
$ ldapsearch -x -h vm03.ct.infn.it -p 2170 -b mds-vo-name=resource,o=grid

 # extended LDIF # # LDAPv3
Changed:
<
<
# base <mds-vo-name=resource,o=grid> with scope subtree
>
>
# base with scope subtree
 # filter: (objectclass=*) # requesting: ALL #
Changed:
<
<
>
>

 # resource, grid dn: Mds-Vo-name=resource,o=grid Mds-Vo-name: resource objectClass: Mds
Changed:
<
<
>
>

 # GRID-TEST-VM01, resource, grid dn: GlueSiteUniqueID=GRID-TEST-VM01,Mds-Vo-name=resource,o=grid GlueSiteDescription: GRID TEST VM01
Line: 451 to 443
 GlueSiteWeb: https:// GlueSiteEmailContact: mailto:giuseppe.larocca@ct.infn.it GlueSiteLocation: Catania, Italy
Changed:
<
<
>
>

 # vm03.ct.infn.it_bdii_site_3877936872, resource, grid dn: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872,Mds-Vo-name=resou rce,o=grid
Line: 472 to 465
 GlueServiceSemantics: https://twiki.cern.ch/twiki/bin/view/EGEE/BDII GlueForeignKey: GlueSiteUniqueID=GRID-TEST-VM01 GlueSchemaVersionMajor: 1
Changed:
<
<
>
>

 # glite-info-service_version, vm03.ct.infn.it_bdii_site_3877936872, resource, grid dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=vm03.ct.
Line: 486 to 480
 GlueServiceDataKey: glite-info-service_version GlueChunkKey: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872 GlueServiceDataValue: 1.6
Changed:
<
<
>
>

 # glite-info-service_hostname, vm03.ct.infn.it_bdii_site_3877936872, resource , grid dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=vm03.ct
Line: 500 to 495
 GlueServiceDataKey: glite-info-service_hostname GlueChunkKey: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872 GlueServiceDataValue: vm03.ct.infn.it
Changed:
<
<
>
>

 # search result search: 2 result: 0 Success
Changed:
<
<
>
>

 # numResponses: 6 # numEntries: 5
Changed:
<
<
>
>

 

External links

Added:
>
>
 https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#site_BDII

https://twiki.cern.ch/twiki/bin/view/LCG/LCGPortTable

Revision 72011-03-07 - GiuseppeLaRocca

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

Introduction

Line: 509 to 509
 # numEntries: 5
Changed:
<
<

External link

>
>

External links

 https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#site_BDII
Added:
>
>
https://twiki.cern.ch/twiki/bin/view/LCG/LCGPortTable
 -- GiuseppeLaRocca - 2011-01-17

Revision 62011-02-24 - GiuseppeLaRocca

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

Introduction

Line: 12 to 12
 $ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
Changed:
<
<
http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_site.repo http://grid018.ct.infn.it/mrepo/repos/gilda.repo
>
>
http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_site.repo
 

Update host and perform the installation of package(s)

Line: 27 to 26
 dag | 1.1 kB 00:00 dag/primary | 2.1 MB 00:00 dag 10152/10152
Deleted:
<
<
gilda_sl4 | 951 B 00:00 gilda_sl4/primary | 31 kB 00:00 gilda_sl4 70/70
 glite-BDII_site_sl5_x86_64_externals | 951 B 00:00 glite-BDII_site_sl5_x86_64_externals/primary | 212 B 00:00 glite-BDII_site_sl5_x86_64_release | 951 B 00:00
Line: 92 to 88
 
> Package openldap-servers.x86_64 0:2.3.43-12.el5_5.1 set to be updated CAs/filelists | 6.4 kB 00:00 dag/filelists | 3.0 MB 00:01
Deleted:
<
<
gilda_sl4/filelists | 426 kB 00:00
 glite-BDII_site_sl5_x86_64_externals/filelists | 205 B 00:00 glite-BDII_site_sl5_x86_64_release/filelists | 646 B 00:00 glite-BDII_site_sl5_x86_64_updates/filelists | 2.9 kB 00:00
Line: 262 to 257
 Complete!
Changed:
<
<

Install CAs and GILDA utils (if needed)

>
>

Install CAs

 

Changed:
<
<
$ yum install -y lcg-CA gilda_utils ntp
>
>
$ yum install -y lcg-CA
 

C E R T I F I C A T E S

Line: 291 to 285
 SITE_SUPPORT_EMAIL="giuseppe.larocca@ct.infn.it" SITE_SECURITY_EMAIL="giuseppe.larocca@ct.infn.it" SITE_LOC="Catania, Italy"
Changed:
<
<
SITE_WEB="https://gilda.ct.infn.it"
>
>
SITE_WEB="https://"
  # INFN-GRID: leave uncommented SITE_OTHER_GRID="WLCG|EGEE"
Line: 308 to 302
 # If your host is using MDS instead (all 3.0 nodes) # change the port to 2135 and mds-vo-name=local BDII_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=resource,o=grid"
Added:
>
>
 
Added:
>
>

Start the configuration with ig_yaim


 $ /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site
WARNING
WARNING
***************************************************************************
Line: 451 to 448
 GlueSiteOtherInfo: GRID=WLCG GlueSiteOtherInfo: GRID=EGEE GlueSiteUserSupportContact: mailto:giuseppe.larocca@ct.infn.it
Changed:
<
<
GlueSiteWeb: https://gilda.ct.infn.it
>
>
GlueSiteWeb: https://
 GlueSiteEmailContact: mailto:giuseppe.larocca@ct.infn.it GlueSiteLocation: Catania, Italy

Revision 42011-02-01 - GiuseppeLaRocca

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

Introduction

This document is addressed to site administrators responsible for middleware installation and configuration.
Changed:
<
<
Goal of this wiki page is to provide some hints and examples about how to install and configure a gLite 3.2 Site BDII.
>
>
Goal of this wiki page is to provide some hints and examples about how to install and configure a IG Site BDII based on gLite middleware.
 

Repository settings for x86_64


Revision 32011-01-28 - GiuseppeLaRocca

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

Introduction

Changed:
<
<
This document is addressed to site administrators responsible for middleware installation and configuration.

It is a generic guide to manual installation and configuration for some supported gLite v.3.2 node types.

>
>
This document is addressed to site administrators responsible for middleware installation and configuration.
 Goal of this wiki page is to provide some hints and examples about how to install and configure a gLite 3.2 Site BDII.

Repository settings for x86_64

Revision 22011-01-17 - GiuseppeLaRocca

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

Introduction

Line: 272 to 272
 $ yum install -y lcg-CA gilda_utils ntp
Added:
>
>

C E R T I F I C A T E S

Installing certificate
$ cd /etc/grid-security/

drwxr-xr-x  2 root root 20480 Jun 30 16:36 certificates
-rw-r--r--  1 root root  1062 Jun 30 16:42 hostcert.pem
-r--------  1 root root   887 Jun 30 16:42 hostkey.pem
drwxr-xr-x  2 root root  4096 Jun 30 16:40 vomsdir
 

C O N F I G U R I N G

Copy the ig-site-info.def from the CE to the Site BDII

Revision 12011-01-17 - GiuseppeLaRocca

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

Introduction

This document is addressed to site administrators responsible for middleware installation and configuration.

It is a generic guide to manual installation and configuration for some supported gLite v.3.2 node types.

Goal of this wiki page is to provide some hints and examples about how to install and configure a gLite 3.2 Site BDII.

Repository settings for x86_64

$ cd /etc/yum/repos.d/
$ wget  http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo \
	http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo \
	http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/lcg-ca.repo \
	http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-bdii_site.repo \
	http://grid018.ct.infn.it/mrepo/repos/gilda.repo

Update host and perform the installation of package(s)

$ yum clean all
$ yum install ig_BDII_site
Loaded plugins: kernel-module
CAs                                                                                                                                   |  951 B     00:00     
CAs/primary                                                                                                                           |  15 kB     00:00     
CAs                                                                                                                                                    95/95
dag                                                                                                                                   | 1.1 kB     00:00     
dag/primary                                                                                                                           | 2.1 MB     00:00     
dag                                                                                                                                              10152/10152
gilda_sl4                                                                                                                             |  951 B     00:00     
gilda_sl4/primary                                                                                                                     |  31 kB     00:00     
gilda_sl4                                                                                                                                              70/70
glite-BDII_site_sl5_x86_64_externals                                                                                                  |  951 B     00:00     
glite-BDII_site_sl5_x86_64_externals/primary                                                                                          |  212 B     00:00     
glite-BDII_site_sl5_x86_64_release                                                                                                    |  951 B     00:00     
glite-BDII_site_sl5_x86_64_release/primary                                                                                            | 1.4 kB     00:00     
glite-BDII_site_sl5_x86_64_release                                                                                                                       4/4
glite-BDII_site_sl5_x86_64_updates                                                                                                    |  951 B     00:00     
glite-BDII_site_sl5_x86_64_updates/primary                                                                                            | 3.7 kB     00:00     
glite-BDII_site_sl5_x86_64_updates                                                                                                                     17/17
ig_sl5_x86_64                                                                                                                         | 1.1 kB     00:00     
ig_sl5_x86_64/primary                                                                                                                 |  83 kB     00:00     
ig_sl5_x86_64                                                                                                                                        268/268
ig_sl5_x86_64_externals                                                                                                               |  951 B     00:00     
ig_sl5_x86_64_externals/primary                                                                                                       | 3.4 kB     00:00     
ig_sl5_x86_64_externals                                                                                                                                  4/4
sl-base                                                                                                                               | 2.1 kB     00:00     
sl-base/primary_db                                                                                                                    | 2.0 MB     00:02     
sl-security                                                                                                                           | 1.9 kB     00:00     
sl-security/primary_db                                                                                                                | 629 kB     00:00     
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package ig_BDII_site.x86_64 0:3.2.10-1_ig20_sl5 set to be updated
--> Processing Dependency: ig-yaim >= 4.0.13-2 for package: ig_BDII_site
--> Processing Dependency: glite-info-static >= 0.2.0-1 for package: ig_BDII_site
--> Processing Dependency: glite-info-site >= 0.4.0-1 for package: ig_BDII_site
--> Processing Dependency: bdii >= 5.1.9-1 for package: ig_BDII_site
--> Processing Dependency: glite-info-provider-ldap >= 1.3.1-1 for package: ig_BDII_site
--> Processing Dependency: glite-yaim-bdii >= 4.1.10-1 for package: ig_BDII_site
--> Processing Dependency: glue-schema >= 2.0.3-1 for package: ig_BDII_site
--> Processing Dependency: glite-info-provider-service >= 1.4.3-0 for package: ig_BDII_site
--> Processing Dependency: glite-version >= 3.2.3-1 for package: ig_BDII_site
--> Processing Dependency: glite-yaim-core >= 4.0.13-2 for package: ig_BDII_site
--> Processing Dependency: glite-BDII_site >= 3.2.10-1.sl5 for package: ig_BDII_site
--> Processing Dependency: bdii-config-site >= 0.9.0-1 for package: ig_BDII_site
--> Processing Dependency: glite-info-provider-release >= 1.0.1-1 for package: ig_BDII_site
--> Running transaction check
---> Package bdii.noarch 0:5.1.9-1 set to be updated
--> Processing Dependency: expect for package: bdii
--> Processing Dependency: openldap-servers for package: bdii
--> Processing Dependency: openldap-clients for package: bdii
---> Package bdii-config-site.noarch 0:0.9.0-1 set to be updated
---> Package glite-BDII_site.x86_64 0:3.2.10-1.sl5 set to be updated
---> Package glite-info-provider-ldap.noarch 0:1.3.1-1 set to be updated
--> Processing Dependency: perl(LWP::Simple) for package: glite-info-provider-ldap
---> Package glite-info-provider-release.noarch 0:1.0.1-1 set to be updated
--> Processing Dependency: perl(Net::LDAP) for package: glite-info-provider-release
---> Package glite-info-provider-service.noarch 0:1.4.3-0 set to be updated
---> Package glite-info-site.noarch 0:0.4.0-1 set to be updated
---> Package glite-info-static.noarch 0:0.2.0-1 set to be updated
---> Package glite-version.noarch 0:3.2.3-1 set to be updated
---> Package glite-yaim-bdii.noarch 0:4.1.10-1 set to be updated
---> Package glite-yaim-core.noarch 0:4.0.13-2 set to be updated
---> Package glue-schema.noarch 0:2.0.3-1 set to be updated
---> Package ig-yaim.noarch 0:4.0.13-2_7 set to be updated
--> Running transaction check
---> Package expect.x86_64 0:5.43.0-5.1 set to be updated
---> Package openldap-clients.x86_64 0:2.3.43-12.el5_5.1 set to be updated
---> Package openldap-servers.x86_64 0:2.3.43-12.el5_5.1 set to be updated
CAs/filelists                                                                                                                         | 6.4 kB     00:00     
dag/filelists                                                                                                                         | 3.0 MB     00:01  
gilda_sl4/filelists                                                                                                                   | 426 kB     00:00     
glite-BDII_site_sl5_x86_64_externals/filelists                                                                                        |  205 B     00:00     
glite-BDII_site_sl5_x86_64_release/filelists                                                                                          |  646 B     00:00     
glite-BDII_site_sl5_x86_64_updates/filelists                                                                                          | 2.9 kB     00:00     
ig_sl5_x86_64/filelists                                                                                                               |  38 kB     00:00     
ig_sl5_x86_64_externals/filelists                                                                                                     | 1.2 kB     00:00     
sl-base/filelists_db                                                                                                                  | 3.6 MB     00:03     
sl-security/filelists_db                                                                                                              | 2.3 MB     00:02     
--> Processing Dependency: libltdl.so.3()(64bit) for package: openldap-servers
---> Package perl-LDAP.noarch 1:0.33-3.fc6 set to be updated
--> Processing Dependency: perl(Convert::ASN1) for package: perl-LDAP
--> Processing Dependency: perl(XML::SAX::Base) for package: perl-LDAP
--> Processing Dependency: perl(IO::Socket::SSL) for package: perl-LDAP
---> Package perl-libwww-perl.noarch 0:5.805-1.1.1 set to be updated
--> Processing Dependency: perl-HTML-Parser >= 3.33 for package: perl-libwww-perl
--> Processing Dependency: perl(URI::URL) for package: perl-libwww-perl
--> Processing Dependency: perl(URI) for package: perl-libwww-perl
--> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl
--> Processing Dependency: perl(Compress::Zlib) for package: perl-libwww-perl
--> Processing Dependency: perl(URI::Heuristic) for package: perl-libwww-perl
--> Processing Dependency: perl(URI::Escape) for package: perl-libwww-perl
--> Running transaction check
---> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package perl-Compress-Zlib.x86_64 0:1.42-1.fc6 set to be updated
---> Package perl-Convert-ASN1.noarch 0:0.20-1.1 set to be updated
---> Package perl-HTML-Parser.x86_64 0:3.55-1.fc6 set to be updated
--> Processing Dependency: perl-HTML-Tagset >= 3.03 for package: perl-HTML-Parser
--> Processing Dependency: perl(HTML::Tagset) for package: perl-HTML-Parser
---> Package perl-IO-Socket-SSL.noarch 0:1.01-1.fc6 set to be updated
--> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package: perl-IO-Socket-SSL
---> Package perl-URI.noarch 0:1.35-3 set to be updated
---> Package perl-XML-SAX.noarch 0:0.14-8 set to be updated
--> Processing Dependency: perl(XML::NamespaceSupport) for package: perl-XML-SAX
--> Running transaction check
---> Package perl-HTML-Tagset.noarch 0:3.10-2.1.1 set to be updated
---> Package perl-Net-SSLeay.x86_64 0:1.30-4.fc6 set to be updated
---> Package perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=============================================================================================================================================================
 Package                                    Arch                  Version                            Repository                                         Size
=============================================================================================================================================================
Installing:
 ig_BDII_site                               x86_64                3.2.10-1_ig20_sl5                  ig_sl5_x86_64                                     2.9 k
Installing for dependencies:
 bdii                                       noarch                5.1.9-1                            glite-BDII_site_sl5_x86_64_updates                 19 k
 bdii-config-site                           noarch                0.9.0-1                            glite-BDII_site_sl5_x86_64_updates                4.5 k
 expect                                     x86_64                5.43.0-5.1                         sl-base                                           160 k
 glite-BDII_site                            x86_64                3.2.10-1.sl5                       glite-BDII_site_sl5_x86_64_updates                2.9 k
 glite-info-provider-ldap                   noarch                1.3.1-1                            glite-BDII_site_sl5_x86_64_updates                6.7 k
 glite-info-provider-release                noarch                1.0.1-1                            glite-BDII_site_sl5_x86_64_updates                3.2 k
 glite-info-provider-service                noarch                1.4.3-0                            glite-BDII_site_sl5_x86_64_updates                 48 k
 glite-info-site                            noarch                0.4.0-1                            glite-BDII_site_sl5_x86_64_updates                4.0 k
 glite-info-static                          noarch                0.2.0-1                            glite-BDII_site_sl5_x86_64_release                5.9 k
 glite-version                              noarch                3.2.3-1                            glite-BDII_site_sl5_x86_64_updates                4.9 k
 glite-yaim-bdii                            noarch                4.1.10-1                           glite-BDII_site_sl5_x86_64_updates                9.9 k
 glite-yaim-core                            noarch                4.0.13-2                           glite-BDII_site_sl5_x86_64_updates                124 k
 glue-schema                                noarch                2.0.3-1                            glite-BDII_site_sl5_x86_64_updates                 31 k
 ig-yaim                                    noarch                4.0.13-2_7                         ig_sl5_x86_64                                     165 k
 libtool-ltdl                               x86_64                1.5.22-7.el5_4                     sl-base                                            38 k
 openldap-clients                           x86_64                2.3.43-12.el5_5.1                  sl-security                                       222 k
 openldap-servers                           x86_64                2.3.43-12.el5_5.1                  sl-security                                       2.2 M
 perl-Compress-Zlib                         x86_64                1.42-1.fc6                         sl-base                                            52 k
 perl-Convert-ASN1                          noarch                0.20-1.1                           sl-base                                            41 k
 perl-HTML-Parser                           x86_64                3.55-1.fc6                         sl-base                                            91 k
 perl-HTML-Tagset                           noarch                3.10-2.1.1                         sl-base                                            14 k
 perl-IO-Socket-SSL                         noarch                1.01-1.fc6                         sl-base                                            49 k
 perl-LDAP                                  noarch                1:0.33-3.fc6                       sl-base                                           316 k
 perl-Net-SSLeay                            x86_64                1.30-4.fc6                         sl-base                                           192 k
 perl-URI                                   noarch                1.35-3                             sl-base                                           116 k
 perl-XML-NamespaceSupport                  noarch                1.09-1.2.1                         sl-base                                            15 k
 perl-XML-SAX                               noarch                0.14-8                             sl-base                                            77 k
 perl-libwww-perl                           noarch                5.805-1.1.1                        sl-base                                           375 k

Transaction Summary
=============================================================================================================================================================
Install      29 Package(s)
Upgrade       0 Package(s)

Total download size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/29): ig_BDII_site-3.2.10-1_ig20_sl5.x86_64.rpm                                                                                     | 2.9 kB     00:00     
(2/29): glite-BDII_site-3.2.10-1.sl5.x86_64.rpm                                                                                       | 2.9 kB     00:00     
(3/29): glite-info-provider-release-1.0.1-1.noarch.rpm                                                                                | 3.2 kB     00:00     
(4/29): glite-info-site-0.4.0-1.noarch.rpm                                                                                            | 4.0 kB     00:00     
(5/29): bdii-config-site-0.9.0-1.noarch.rpm                                                                                           | 4.5 kB     00:00     
(6/29): glite-version-3.2.3-1.noarch.rpm                                                                                              | 4.9 kB     00:00     
(7/29): glite-info-static-0.2.0-1.noarch.rpm                                                                                          | 5.9 kB     00:00     
(8/29): glite-info-provider-ldap-1.3.1-1.noarch.rpm                                                                                   | 6.7 kB     00:00     
(9/29): glite-yaim-bdii-4.1.10-1.noarch.rpm                                                                                           | 9.9 kB     00:00     
(10/29): perl-HTML-Tagset-3.10-2.1.1.noarch.rpm                                                                                       |  14 kB     00:00     
(11/29): perl-XML-NamespaceSupport-1.09-1.2.1.noarch.rpm                                                                              |  15 kB     00:00     
(12/29): bdii-5.1.9-1.noarch.rpm                                                                                                      |  19 kB     00:00     
(13/29): glue-schema-2.0.3-1.noarch.rpm                                                                                               |  31 kB     00:00     
(14/29): libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm                                                                                       |  38 kB     00:00     
(15/29): perl-Convert-ASN1-0.20-1.1.noarch.rpm                                                                                        |  41 kB     00:00     
(16/29): glite-info-provider-service-1.4.3-0.noarch.rpm                                                                               |  48 kB     00:00     
(17/29): perl-IO-Socket-SSL-1.01-1.fc6.noarch.rpm                                                                                     |  49 kB     00:00     
(18/29): perl-Compress-Zlib-1.42-1.fc6.x86_64.rpm                                                                                     |  52 kB     00:00     
(19/29): perl-XML-SAX-0.14-8.noarch.rpm                                                                                               |  77 kB     00:00     
(20/29): perl-HTML-Parser-3.55-1.fc6.x86_64.rpm                                                                                       |  91 kB     00:00     
(21/29): perl-URI-1.35-3.noarch.rpm                                                                                                   | 116 kB     00:00     
(22/29): glite-yaim-core-4.0.13-2.noarch.rpm                                                                                          | 124 kB     00:00     
(23/29): expect-5.43.0-5.1.x86_64.rpm                                                                                                 | 160 kB     00:00     
(24/29): ig-yaim-4.0.13-2_7.noarch.rpm                                                                                                | 165 kB     00:00     
(25/29): perl-Net-SSLeay-1.30-4.fc6.x86_64.rpm                                                                                        | 192 kB     00:00     
(26/29): openldap-clients-2.3.43-12.el5_5.1.x86_64.rpm                                                                                | 222 kB     00:00     
(27/29): perl-LDAP-0.33-3.fc6.noarch.rpm                                                                                              | 316 kB     00:00     
(28/29): perl-libwww-perl-5.805-1.1.1.noarch.rpm                                                                                      | 375 kB     00:00     
(29/29): openldap-servers-2.3.43-12.el5_5.1.x86_64.rpm                                                                                | 2.2 MB     00:01     
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                        479 kB/s | 4.3 MB     00:09     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : glue-schema                                                                                                                          1/29 
  Installing     : glite-info-site                                                                                                                      2/29 
  Installing     : glite-info-provider-service                                                                                                          3/29 
  Installing     : glite-version                                                                                                                        4/29 
  Installing     : glite-yaim-core                                                                                                                      5/29 
  Installing     : glite-info-static                                                                                                                    6/29 
  Installing     : expect                                                                                                                               7/29 
  Installing     : libtool-ltdl                                                                                                                         8/29 
  Installing     : openldap-servers                                                                                                                     9/29 
  Installing     : perl-Net-SSLeay                                                                                                                     10/29 
  Installing     : openldap-clients                                                                                                                    11/29 
  Installing     : perl-Compress-Zlib                                                                                                                  12/29 
  Installing     : bdii                                                                                                                                13/29 
  Installing     : glite-yaim-bdii                                                                                                                     14/29 
  Installing     : perl-IO-Socket-SSL                                                                                                                  15/29 
  Installing     : perl-HTML-Tagset                                                                                                                    16/29 
  Installing     : perl-HTML-Parser                                                                                                                    17/29 
  Installing     : perl-URI                                                                                                                            18/29 
  Installing     : perl-libwww-perl                                                                                                                    19/29 
  Installing     : glite-info-provider-ldap                                                                                                            20/29 
  Installing     : bdii-config-site                                                                                                                    21/29 
  Installing     : ig-yaim                                                                                                                             22/29 
  Installing     : perl-Convert-ASN1                                                                                                                   23/29 
  Installing     : perl-XML-NamespaceSupport                                                                                                           24/29 
  Installing     : perl-XML-SAX                                                                                                                        25/29 
  Installing     : perl-LDAP                                                                                                                           26/29 
  Installing     : glite-info-provider-release                                                                                                         27/29 
  Installing     : glite-BDII_site                                                                                                                     28/29 
  Installing     : ig_BDII_site                                                                                                                        29/29 

Installed:
  ig_BDII_site.x86_64 0:3.2.10-1_ig20_sl5                                                                                                                    

Dependency Installed:
  bdii.noarch 0:5.1.9-1                              bdii-config-site.noarch 0:0.9.0-1                   expect.x86_64 0:5.43.0-5.1                        
  glite-BDII_site.x86_64 0:3.2.10-1.sl5              glite-info-provider-ldap.noarch 0:1.3.1-1           glite-info-provider-release.noarch 0:1.0.1-1      
  glite-info-provider-service.noarch 0:1.4.3-0       glite-info-site.noarch 0:0.4.0-1                    glite-info-static.noarch 0:0.2.0-1                
  glite-version.noarch 0:3.2.3-1                     glite-yaim-bdii.noarch 0:4.1.10-1                   glite-yaim-core.noarch 0:4.0.13-2                 
  glue-schema.noarch 0:2.0.3-1                       ig-yaim.noarch 0:4.0.13-2_7                         libtool-ltdl.x86_64 0:1.5.22-7.el5_4              
  openldap-clients.x86_64 0:2.3.43-12.el5_5.1        openldap-servers.x86_64 0:2.3.43-12.el5_5.1         perl-Compress-Zlib.x86_64 0:1.42-1.fc6            
  perl-Convert-ASN1.noarch 0:0.20-1.1                perl-HTML-Parser.x86_64 0:3.55-1.fc6                perl-HTML-Tagset.noarch 0:3.10-2.1.1              
  perl-IO-Socket-SSL.noarch 0:1.01-1.fc6             perl-LDAP.noarch 1:0.33-3.fc6                       perl-Net-SSLeay.x86_64 0:1.30-4.fc6               
  perl-URI.noarch 0:1.35-3                           perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1       perl-XML-SAX.noarch 0:0.14-8                      
  perl-libwww-perl.noarch 0:5.805-1.1.1             

Complete!

Install CAs and GILDA utils (if needed)

$ yum install -y lcg-CA gilda_utils ntp

C O N F I G U R I N G

Copy the ig-site-info.def from the CE to the Site BDII

Edit the /opt/glite/yaim/exampls/siteinfo/services/glite-bdii_site file

# Site-wide settings
SITE_NAME="GRID-TEST-VM01"
SITE_DESC="GRID TEST VM01"
SITE_SUPPORT_EMAIL="giuseppe.larocca@ct.infn.it"
SITE_SECURITY_EMAIL="giuseppe.larocca@ct.infn.it"
SITE_LOC="Catania, Italy"
SITE_WEB="https://gilda.ct.infn.it"

# INFN-GRID: leave uncommented
SITE_OTHER_GRID="WLCG|EGEE"
SITE_OTHER_EGEE_ROC="Italy"

# 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="CE"

# 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_CE_URL="ldap://$CE_HOST:2170/mds-vo-name=resource,o=grid"

$ /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site
   WARNING: 
   WARNING: *****************************************************************************
   WARNING: Your siteinfo directory is world readable. This is generally a bad idea      
   WARNING: as configuration files may contain passwords and other sensitive information.
   WARNING: *****************************************************************************
   WARNING: 
   INFO: Using site configuration file: /opt/glite/yaim/examples/siteinfo/ig-site-info.def
   INFO: Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/glite-bdii_site
   INFO: Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/ig-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: /opt/glite/yaim/examples/siteinfo/services
         site-info.def date: Dec 28 15:40 /opt/glite/yaim/examples/siteinfo/ig-site-info.def
         yaim command: -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_BDII_site
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Tue Dec 28 17:26:15 CET 2010 : /opt/glite/yaim/bin/ig_yaim
         
         Installed YAIM versions:
         glite-yaim-bdii 4.1.10-1
         glite-yaim-core 4.0.13-2
         ig-yaim 4.0.13-2_7
         
         ####################################################################
   INFO: The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d
   INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
   INFO: Detecting environment
   INFO: Executing function: config_ntp_check 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ntp
   INFO: Executing function: config_gip_site_check 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
   INFO: Executing function: config_gip_bdii_site_check 
   INFO: Executing function: config_info_service_bdii_site_check 
   INFO: Executing function: config_bdii_5.1_check 
   INFO: Executing function: config_ntp_setenv 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ntp
   INFO: Executing function: config_ntp 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ntp
   INFO: Executing function: config_ntp_setenv 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ntp
   INFO: Executing function: config_ntp 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ntp
   INFO: Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616
   INFO: Storing old ntp settings in /etc/ntp.conf.yaimold.20101228_172616
   INFO: Executing function: config_nfs_sw_dir_server 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_nfs_sw_dir_server
   INFO: $HOST_SW_DIR is not this host. Skip!
   INFO: Executing function: config_gip_site 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
SITE_COUNTRY =  Italy
   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.1 
Stopping BDII update process:                              [  OK  ]
Stopping BDII slapd:    INFO: Executing function: config_nfs_sw_dir_server 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_nfs_sw_dir_server
   INFO: $HOST_SW_DIR is not this host. Skip!
   INFO: Executing function: config_gip_site 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_gip_site
SITE_COUNTRY =  Italy
   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.1 
Stopping BDII update process:                              [  OK  ]
Stopping BDII slapd:                                       [  OK  ]
                                                           [  OK  ]
Starting BDII slapd:                                       [  OK  ]
Starting BDII slapd:                                       [  OK  ]
Starting BDII update process:                              [  OK  ]
   INFO: Configuration Complete.                           [  OK  ]
Starting BDII update process:                              [  OK  ]
   INFO: Configuration Complete.                           [  OK  ]
   INFO: YAIM terminated succesfully.

Disable YUM update

$ /etc/init.d/yum stop 
Disabling nightly yum update: [ OK ]

Firewall

The following ports have to be opened:
- Local Site-BDII: port 2170/tcp
- ntpd: port 123/udp

T E S T I N G

Query the local information system of the CE

$ ldapsearch -x -h vm03.ct.infn.it -p 2170 -b mds-vo-name=resource,o=grid
# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# resource, grid
dn: Mds-Vo-name=resource,o=grid
Mds-Vo-name: resource
objectClass: Mds

# GRID-TEST-VM01, resource, grid
dn: GlueSiteUniqueID=GRID-TEST-VM01,Mds-Vo-name=resource,o=grid
GlueSiteDescription: GRID TEST VM01
GlueSiteSecurityContact: mailto:giuseppe.larocca@ct.infn.it
GlueSiteSponsor: none
objectClass: GlueTop
objectClass: GlueSite
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSiteSysAdminContact: mailto:giuseppe.larocca@ct.infn.it
GlueSiteName: GRID-TEST-VM01
GlueSiteUniqueID: GRID-TEST-VM01
GlueSchemaVersionMinor: 3
GlueSiteLongitude: 15.152
GlueSiteLatitude: 37.5
GlueSchemaVersionMajor: 1
GlueSiteOtherInfo: CONFIG=yaim
GlueSiteOtherInfo: EGEE_ROC=Italy
GlueSiteOtherInfo: EGEE_SERVICE=prod
GlueSiteOtherInfo: GRID=WLCG
GlueSiteOtherInfo: GRID=EGEE
GlueSiteUserSupportContact: mailto:giuseppe.larocca@ct.infn.it
GlueSiteWeb: https://gilda.ct.infn.it
GlueSiteEmailContact: mailto:giuseppe.larocca@ct.infn.it
GlueSiteLocation: Catania, Italy

# vm03.ct.infn.it_bdii_site_3877936872, resource, grid
dn: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872,Mds-Vo-name=resou
 rce,o=grid
GlueServiceStatus: OK
GlueServiceStatusInfo: BDII Runnning [  OK  ]
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: vm03.ct.infn.it_bdii_site_3877936872
GlueServiceStartTime: 2010-12-28T17:26:26+01:00
GlueServiceEndpoint: ldap://my-bdii.ct.infn.it:2170/mds-vo-name=GRID-TEST-VM01
 ,o=grid
GlueServiceVersion: 3.0.0
GlueSchemaVersionMinor: 3
GlueServiceName: GRID-TEST-VM01-bdii_site
GlueServiceType: bdii_site
GlueServiceSemantics: https://twiki.cern.ch/twiki/bin/view/EGEE/BDII
GlueForeignKey: GlueSiteUniqueID=GRID-TEST-VM01
GlueSchemaVersionMajor: 1

# glite-info-service_version, vm03.ct.infn.it_bdii_site_3877936872, resource,
  grid
dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=vm03.ct.
 infn.it_bdii_site_3877936872,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_version
GlueChunkKey: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872
GlueServiceDataValue: 1.6

# glite-info-service_hostname, vm03.ct.infn.it_bdii_site_3877936872, resource
 , grid
dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=vm03.ct
 .infn.it_bdii_site_3877936872,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_hostname
GlueChunkKey: GlueServiceUniqueID=vm03.ct.infn.it_bdii_site_3877936872
GlueServiceDataValue: vm03.ct.infn.it

# search result
search: 2
result: 0 Success

# numResponses: 6
# numEntries: 5

External link

https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#site_BDII

-- GiuseppeLaRocca - 2011-01-17

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback