$ cd /etc/yum/repos.d/ $ wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/dag.repo $ wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/ig.repo $ wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo $ wget http://repo-pd.italiangrid.it/mrepo/repos/glite/sl5/x86_64/glite-bdii_site.repo
$ 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 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 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 PluginDependencies 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!
$ yum install -y lcg-CA
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://"
# 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
. /'.-. ') . 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
####################################################################
$ /etc/init.d/yum stop Disabling nightly yum update: [ OK ]
- Local Site-BDII: port 2170/tcp - ntpd: port 123/udp
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:// 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
|