Introduction

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 LFC File Catalog based on gLite middleware.

Repository settings for x86_64

$ 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-lfc_mysql.repo

Update host and perform the installation of package(s)

$ yum clean all

$ yum install ig_LFC_mysql
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:01     
dag                                                                                                                                              10152/10152
glite-LFC_mysql_sl5_x86_64_externals                                                                                                  |  951 B     00:00     
glite-LFC_mysql_sl5_x86_64_externals/primary                                                                                          | 6.9 kB     00:00     
glite-LFC_mysql_sl5_x86_64_externals                                                                                                                     5/5
glite-LFC_mysql_sl5_x86_64_release                                                                                                    |  951 B     00:00     
glite-LFC_mysql_sl5_x86_64_release/primary                                                                                            | 7.6 kB     00:00     
glite-LFC_mysql_sl5_x86_64_release                                                                                                                     34/34
glite-LFC_mysql_sl5_x86_64_updates                                                                                                    |  951 B     00:00     
glite-LFC_mysql_sl5_x86_64_updates/primary                                                                                            |  16 kB     00:00     
glite-LFC_mysql_sl5_x86_64_updates                                                                                                                     74/74
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_LFC_mysql.x86_64 0:3.2.7-2_ig15_sl5 set to be updated
--> Processing Dependency: glue-schema >= 2.0.3-1 for package: ig_LFC_mysql
--> Processing Dependency: glite-info-generic >= 2.0.2-5 for package: ig_LFC_mysql
--> Processing Dependency: glite-version >= 3.2.2-1 for package: ig_LFC_mysql
--> Processing Dependency: glite-security-voms-api-cpp >= 1.9.17-1.sl5 for package: ig_LFC_mysql
--> Processing Dependency: glite-yaim-lfc >= 4.0.6-2 for package: ig_LFC_mysql
--> Processing Dependency: lcgdm-libs >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: glite-yaim-core >= 4.0.12-1 for package: ig_LFC_mysql
--> Processing Dependency: LFC-server-mysql >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: perl-lfc >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: python-lfc >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: glite-info-templates >= 1.0.0-11 for package: ig_LFC_mysql
--> Processing Dependency: glite-security-voms-api >= 1.9.17-1.sl5 for package: ig_LFC_mysql
--> Processing Dependency: gpt >= 3.2autotools2004_NMI_9.0_x86_64_rhap_5-1 for package: ig_LFC_mysql
--> Processing Dependency: lcgdm-devel >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: ig-yaim >= 4.0.12-5 for package: ig_LFC_mysql
--> Processing Dependency: fetch-crl >= 2.7.0-2 for package: ig_LFC_mysql
--> Processing Dependency: lfc >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: lfc-libs >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: edg-mkgridmap >= 3.0.0-1 for package: ig_LFC_mysql
--> Processing Dependency: glite-LFC_mysql >= 3.2.7-2.sl5 for package: ig_LFC_mysql
--> Processing Dependency: bdii >= 5.0.8-1 for package: ig_LFC_mysql
--> Processing Dependency: vdt_globus_essentials >= VDT1.10.1x86_64_rhap_5-4 for package: ig_LFC_mysql
--> Processing Dependency: lfc-devel >= 1.7.4-7sec.sl5 for package: ig_LFC_mysql
--> Processing Dependency: glite-info-provider-release >= 1.0.1-1 for package: ig_LFC_mysql
--> Running transaction check
---> Package LFC-server-mysql.x86_64 0:1.7.4-7sec.sl5 set to be updated
--> Processing Dependency: mysql >= 5.0.22 for package: LFC-server-mysql
---> Package bdii.noarch 0:5.0.8-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 edg-mkgridmap.noarch 0:3.0.0-1 set to be updated
--> Processing Dependency: perl(IO::Socket::SSL) >= 0.90 for package: edg-mkgridmap
--> Processing Dependency: perl(Net::SSLeay) >= 1.16 for package: edg-mkgridmap
--> Processing Dependency: perl(Net::LDAPS) for package: edg-mkgridmap
--> Processing Dependency: perl(URI::http) for package: edg-mkgridmap
--> Processing Dependency: perl(XML::Parser) for package: edg-mkgridmap
--> Processing Dependency: perl(URI) for package: edg-mkgridmap
--> Processing Dependency: perl(URI::ldap) for package: edg-mkgridmap
--> Processing Dependency: perl(Crypt::SSLeay) for package: edg-mkgridmap
--> Processing Dependency: perl(LWP) for package: edg-mkgridmap
--> Processing Dependency: perl(XML::DOM) for package: edg-mkgridmap
--> Processing Dependency: perl(Net::LDAP::Util) for package: edg-mkgridmap
--> Processing Dependency: perl(Net::LDAP) for package: edg-mkgridmap
--> Processing Dependency: perl(Date::Manip) for package: edg-mkgridmap
--> Processing Dependency: perl(Term::ReadKey) for package: edg-mkgridmap
--> Processing Dependency: perl(LWP::UserAgent) for package: edg-mkgridmap
---> Package fetch-crl.noarch 0:2.7.0-2 set to be updated
---> Package glite-LFC_mysql.x86_64 0:3.2.7-2.sl5 set to be updated
---> Package glite-info-generic.noarch 0:2.0.2-5 set to be updated
---> Package glite-info-provider-release.noarch 0:1.0.1-1 set to be updated
---> Package glite-info-templates.noarch 0:1.0.0-11 set to be updated
---> Package glite-security-voms-api.x86_64 0:1.9.17-1.sl5 set to be updated
---> Package glite-security-voms-api-cpp.x86_64 0:1.9.17-1.sl5 set to be updated
---> Package glite-version.noarch 0:3.2.2-1 set to be updated
---> Package glite-yaim-core.noarch 0:4.0.12-1 set to be updated
---> Package glite-yaim-lfc.noarch 0:4.0.6-2 set to be updated
---> Package glue-schema.noarch 0:2.0.3-1 set to be updated
---> Package gpt.x86_64 0:3.2autotools2004_NMI_9.0_x86_64_rhap_5-1 set to be updated
---> Package ig-yaim.noarch 0:4.0.13-2_7 set to be updated
---> Package lcgdm-devel.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package lcgdm-libs.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package lfc.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package lfc-devel.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package lfc-libs.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package perl-lfc.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package python-lfc.x86_64 0:1.7.4-7sec.sl5 set to be updated
---> Package vdt_globus_essentials.x86_64 0:VDT1.10.1x86_64_rhap_5-4 set to be updated
--> Running transaction check
---> Package expect.x86_64 0:5.43.0-5.1 set to be updated
---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> 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:00     
glite-LFC_mysql_sl5_x86_64_externals/filelists                                                                                        |  12 kB     00:00     
glite-LFC_mysql_sl5_x86_64_release/filelists                                                                                          | 7.2 kB     00:00     
glite-LFC_mysql_sl5_x86_64_updates/filelists                                                                                          |  12 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-Crypt-SSLeay.x86_64 0:0.51-11.el5 set to be updated
---> Package perl-Date-Manip.noarch 0:5.56-1.el5.rf set to be updated
---> Package perl-IO-Socket-SSL.noarch 0:1.01-1.fc6 set to be updated
---> 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
---> Package perl-Net-SSLeay.x86_64 0:1.30-4.fc6 set to be updated
---> Package perl-TermReadKey.x86_64 0:2.30-5.el5 set to be updated
---> Package perl-URI.noarch 0:1.35-3 set to be updated
---> Package perl-XML-DOM.noarch 0:1.44-2.el5.rf set to be updated
--> Processing Dependency: perl(XML::RegExp) for package: perl-XML-DOM
---> Package perl-XML-Parser.x86_64 0:2.34-6.1.2.2.1 set to be updated
---> 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(HTML::Entities) for package: perl-libwww-perl
--> Processing Dependency: perl(Compress::Zlib) 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-DBI.x86_64 0:1.52-2.el5 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-XML-RegExp.noarch 0:0.03-1.2.el5.rf 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-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_LFC_mysql                         x86_64          3.2.7-2_ig15_sl5                                   ig_sl5_x86_64                                 4.2 k
Installing for dependencies:
 LFC-server-mysql                     x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            687 k
 bdii                                 noarch          5.0.8-1                                            glite-LFC_mysql_sl5_x86_64_updates             16 k
 edg-mkgridmap                        noarch          3.0.0-1                                            glite-LFC_mysql_sl5_x86_64_release             37 k
 expect                               x86_64          5.43.0-5.1                                         sl-base                                       160 k
 fetch-crl                            noarch          2.7.0-2                                            glite-LFC_mysql_sl5_x86_64_externals           20 k
 glite-LFC_mysql                      x86_64          3.2.7-2.sl5                                        glite-LFC_mysql_sl5_x86_64_updates            4.0 k
 glite-info-generic                   noarch          2.0.2-5                                            glite-LFC_mysql_sl5_x86_64_updates            5.4 k
 glite-info-provider-release          noarch          1.0.1-1                                            glite-LFC_mysql_sl5_x86_64_updates            3.2 k
 glite-info-templates                 noarch          1.0.0-11                                           glite-LFC_mysql_sl5_x86_64_updates            8.4 k
 glite-security-voms-api              x86_64          1.9.17-1.sl5                                       glite-LFC_mysql_sl5_x86_64_updates             15 k
 glite-security-voms-api-cpp          x86_64          1.9.17-1.sl5                                       glite-LFC_mysql_sl5_x86_64_updates            4.4 M
 glite-version                        noarch          3.2.2-1                                            glite-LFC_mysql_sl5_x86_64_updates            5.0 k
 glite-yaim-core                      noarch          4.0.12-1                                           glite-LFC_mysql_sl5_x86_64_updates            123 k
 glite-yaim-lfc                       noarch          4.0.6-2                                            glite-LFC_mysql_sl5_x86_64_updates             13 k
 glue-schema                          noarch          2.0.3-1                                            glite-LFC_mysql_sl5_x86_64_updates             31 k
 gpt                                  x86_64          3.2autotools2004_NMI_9.0_x86_64_rhap_5-1           glite-LFC_mysql_sl5_x86_64_externals          883 k
 ig-yaim                              noarch          4.0.13-2_7                                         ig_sl5_x86_64                                 165 k
 lcgdm-devel                          x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            194 k
 lcgdm-libs                           x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            186 k
 lfc                                  x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            1.5 M
 lfc-devel                            x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            313 k
 lfc-libs                             x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates             97 k
 libtool-ltdl                         x86_64          1.5.22-7.el5_4                                     sl-base                                        38 k
 mysql                                x86_64          5.0.77-4.el5_5.4                                   sl-security                                   4.8 M
 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-Crypt-SSLeay                    x86_64          0.51-11.el5                                        sl-base                                        45 k
 perl-DBI                             x86_64          1.52-2.el5                                         sl-base                                       605 k
 perl-Date-Manip                      noarch          5.56-1.el5.rf                                      dag                                           211 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-TermReadKey                     x86_64          2.30-5.el5                                         sl-base                                        32 k
 perl-URI                             noarch          1.35-3                                             sl-base                                       116 k
 perl-XML-DOM                         noarch          1.44-2.el5.rf                                      dag                                           188 k
 perl-XML-NamespaceSupport            noarch          1.09-1.2.1                                         sl-base                                        15 k
 perl-XML-Parser                      x86_64          2.34-6.1.2.2.1                                     sl-base                                       209 k
 perl-XML-RegExp                      noarch          0.03-1.2.el5.rf                                    dag                                           8.0 k
 perl-XML-SAX                         noarch          0.14-8                                             sl-base                                        77 k
 perl-lfc                             x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            317 k
 perl-libwww-perl                     noarch          5.805-1.1.1                                        sl-base                                       375 k
 python-lfc                           x86_64          1.7.4-7sec.sl5                                     glite-LFC_mysql_sl5_x86_64_updates            1.0 M
 vdt_globus_essentials                x86_64          VDT1.10.1x86_64_rhap_5-4                           glite-LFC_mysql_sl5_x86_64_externals           13 M

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

Total download size: 33 M
Is this ok [y/N]: y
Downloading Packages:
(1/48): glite-info-provider-release-1.0.1-1.noarch.rpm                                                                                | 3.2 kB     00:00     
(2/48): glite-LFC_mysql-3.2.7-2.sl5.x86_64.rpm                                                                                        | 4.0 kB     00:00     
(3/48): ig_LFC_mysql-3.2.7-2_ig15_sl5.x86_64.rpm                                                                                      | 4.2 kB     00:00     
(4/48): glite-version-3.2.2-1.noarch.rpm                                                                                              | 5.0 kB     00:00     
(5/48): glite-info-generic-2.0.2-5.noarch.rpm                                                                                         | 5.4 kB     00:00     
(6/48): perl-XML-RegExp-0.03-1.2.el5.rf.noarch.rpm                                                                                    | 8.0 kB     00:00     
(7/48): glite-info-templates-1.0.0-11.noarch.rpm                                                                                      | 8.4 kB     00:00     
(8/48): glite-yaim-lfc-4.0.6-2.noarch.rpm                                                                                             |  13 kB     00:00     
(9/48): perl-HTML-Tagset-3.10-2.1.1.noarch.rpm                                                                                        |  14 kB     00:00     
(10/48): glite-security-voms-api-1.9.17-1.sl5.x86_64.rpm                                                                              |  15 kB     00:00     
(11/48): perl-XML-NamespaceSupport-1.09-1.2.1.noarch.rpm                                                                              |  15 kB     00:00     
(12/48): bdii-5.0.8-1.noarch.rpm                                                                                                      |  16 kB     00:00     
(13/48): fetch-crl-2.7.0-2.noarch.rpm                                                                                                 |  20 kB     00:00     
(14/48): glue-schema-2.0.3-1.noarch.rpm                                                                                               |  31 kB     00:00     
(15/48): perl-TermReadKey-2.30-5.el5.x86_64.rpm                                                                                       |  32 kB     00:00     
(16/48): edg-mkgridmap-3.0.0-1.noarch.rpm                                                                                             |  37 kB     00:00     
(17/48): libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm                                                                                       |  38 kB     00:00     
(18/48): perl-Convert-ASN1-0.20-1.1.noarch.rpm                                                                                        |  41 kB     00:00     
(19/48): perl-Crypt-SSLeay-0.51-11.el5.x86_64.rpm                                                                                     |  45 kB     00:00     
(20/48): perl-IO-Socket-SSL-1.01-1.fc6.noarch.rpm                                                                                     |  49 kB     00:00     
(21/48): perl-Compress-Zlib-1.42-1.fc6.x86_64.rpm                                                                                     |  52 kB     00:00     
(22/48): perl-XML-SAX-0.14-8.noarch.rpm                                                                                               |  77 kB     00:00     
(23/48): perl-HTML-Parser-3.55-1.fc6.x86_64.rpm                                                                                       |  91 kB     00:00     
(24/48): lfc-libs-1.7.4-7sec.sl5.x86_64.rpm                                                                                           |  97 kB     00:00     
(25/48): perl-URI-1.35-3.noarch.rpm                                                                                                   | 116 kB     00:00     
(26/48): glite-yaim-core-4.0.12-1.noarch.rpm                                                                                          | 123 kB     00:00     
(27/48): expect-5.43.0-5.1.x86_64.rpm                                                                                                 | 160 kB     00:00     
(28/48): ig-yaim-4.0.13-2_7.noarch.rpm                                                                                                | 165 kB     00:00     
(29/48): lcgdm-libs-1.7.4-7sec.sl5.x86_64.rpm                                                                                         | 186 kB     00:00     
(30/48): perl-XML-DOM-1.44-2.el5.rf.noarch.rpm                                                                                        | 188 kB     00:00     
(31/48): perl-Net-SSLeay-1.30-4.fc6.x86_64.rpm                                                                                        | 192 kB     00:00     
(32/48): lcgdm-devel-1.7.4-7sec.sl5.x86_64.rpm                                                                                        | 194 kB     00:00     
(33/48): perl-XML-Parser-2.34-6.1.2.2.1.x86_64.rpm                                                                                    | 209 kB     00:00     
(34/48): perl-Date-Manip-5.56-1.el5.rf.noarch.rpm                                                                                     | 211 kB     00:00     
(35/48): openldap-clients-2.3.43-12.el5_5.1.x86_64.rpm                                                                                | 222 kB     00:00     
(36/48): lfc-devel-1.7.4-7sec.sl5.x86_64.rpm                                                                                          | 313 kB     00:00     
(37/48): perl-LDAP-0.33-3.fc6.noarch.rpm                                                                                              | 316 kB     00:00     
(38/48): perl-lfc-1.7.4-7sec.sl5.x86_64.rpm                                                                                           | 317 kB     00:00     
(39/48): perl-libwww-perl-5.805-1.1.1.noarch.rpm                                                                                      | 375 kB     00:00     
(40/48): perl-DBI-1.52-2.el5.x86_64.rpm                                                                                               | 605 kB     00:00     
(41/48): LFC-server-mysql-1.7.4-7sec.sl5.x86_64.rpm                                                                                   | 687 kB     00:00     
(42/48): gpt-3.2autotools2004_NMI_9.0_x86_64_rhap_5-1.x86_64.rpm                                                                      | 883 kB     00:00     
(43/48): python-lfc-1.7.4-7sec.sl5.x86_64.rpm                                                                                         | 1.0 MB     00:00     
(44/48): lfc-1.7.4-7sec.sl5.x86_64.rpm                                                                                                | 1.5 MB     00:00     
(45/48): openldap-servers-2.3.43-12.el5_5.1.x86_64.rpm                                                                                | 2.2 MB     00:02     
(46/48): glite-security-voms-api-cpp-1.9.17-1.sl5.x86_64.rpm                                                                          | 4.4 MB     00:00     
(47/48): mysql-5.0.77-4.el5_5.4.x86_64.rpm                                                                                            | 4.8 MB     00:03     
(48/48): vdt_globus_essentials-VDT1.10.1x86_64_rhap_5-4.x86_64.rpm                                                                    |  13 MB     00:01     
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                        1.3 MB/s |  33 MB     00:25     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
dag/gpgkey                                                                                                                            | 1.6 kB     00:00     
Importing GPG key 0x6B8D79E6 "Dag Wieers (Dag Apt Repository v1.0) " from http://linuxsoft.cern.ch/cern/slc5X/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-dag
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : glite-security-voms-api-cpp                                                                                                          1/48 
  Installing     : perl-Net-SSLeay                                                                                                                      2/48 
  Installing     : expect                                                                                                                               3/48 
  Installing     : libtool-ltdl                                                                                                                         4/48 
  Installing     : openldap-servers                                                                                                                     5/48 
  Installing     : perl-Crypt-SSLeay                                                                                                                    6/48 
  Installing     : perl-TermReadKey                                                                                                                     7/48 
  Installing     : openldap-clients                                                                                                                     8/48 
  Installing     : perl-Compress-Zlib                                                                                                                   9/48 
  Installing     : perl-DBI                                                                                                                            10/48 
  Installing     : glite-version                                                                                                                       11/48 
  Installing     : glite-security-voms-api                                                                                                             12/48 
  Installing     : lcgdm-libs                                                                                                                          13/48 
  Installing     : lfc-libs                                                                                                                            14/48 
  Installing     : lcgdm-devel                                                                                                                         15/48 
  Installing     : glue-schema                                                                                                                         16/48 
  Installing     : perl-URI                                                                                                                            17/48 
  Installing     : glite-yaim-core                                                                                                                     18/48 
  Installing     : glite-yaim-lfc                                                                                                                      19/48 
  Installing     : bdii                                                                                                                                20/48 
  Installing     : lfc-devel                                                                                                                           21/48 
  Installing     : perl-lfc                                                                                                                            22/48 
  Installing     : python-lfc                                                                                                                          23/48 
  Installing     : lfc                                                                                                                                 24/48 
  Installing     : perl-IO-Socket-SSL                                                                                                                  25/48 
  Installing     : gpt                                                                                                                                 26/48 
Using system tar and gzip programs to unpack packages
GNU tar located at /bin/tar
GNU zip located at /bin/gzip
GNU unzip located at /bin/gunzip
GNU make located at /usr/bin/make
Perl located at /usr/bin/perl
rpm located at /bin/rpm
rpmbuild located at /bin/rpm
RPM Package License set to GNU
RPM Package Vendor set to NCSA
RPM Package FTP Site set to ftp.ncsa.uiuc.edu
RPM Package URL set to http://www.gridpackaging.org
RPM Packager set to NCSA
RPM Prefix set to /usr/grid
GNU target platform set to x86_64-unknown-linux-gnu
  Installing     : vdt_globus_essentials                                                                                                               27/48 
  Installing     : fetch-crl                                                                                                                           28/48 
  Installing     : mysql                                                                                                                               29/48 
  Installing     : LFC-server-mysql                                                                                                                    30/48 
  Installing     : perl-XML-NamespaceSupport                                                                                                           31/48 
  Installing     : perl-XML-SAX                                                                                                                        32/48 
  Installing     : perl-Date-Manip                                                                                                                     33/48 
  Installing     : perl-HTML-Tagset                                                                                                                    34/48 
  Installing     : perl-HTML-Parser                                                                                                                    35/48 
  Installing     : perl-libwww-perl                                                                                                                    36/48 
  Installing     : perl-XML-Parser                                                                                                                     37/48 
  Installing     : ig-yaim                                                                                                                             38/48 
  Installing     : perl-Convert-ASN1                                                                                                                   39/48 
  Installing     : perl-LDAP                                                                                                                           40/48 
  Installing     : glite-info-generic                                                                                                                  41/48 
  Installing     : glite-info-templates                                                                                                                42/48 
  Installing     : glite-info-provider-release                                                                                                         43/48 
  Installing     : perl-XML-RegExp                                                                                                                     44/48 
  Installing     : perl-XML-DOM                                                                                                                        45/48 
  Installing     : edg-mkgridmap                                                                                                                       46/48 
  Installing     : glite-LFC_mysql                                                                                                                     47/48 
  Installing     : ig_LFC_mysql                                                                                                                        48/48 

Installed:
  ig_LFC_mysql.x86_64 0:3.2.7-2_ig15_sl5                                                                                                                     

Dependency Installed:
  LFC-server-mysql.x86_64 0:1.7.4-7sec.sl5               bdii.noarch 0:5.0.8-1                                    edg-mkgridmap.noarch 0:3.0.0-1           
  expect.x86_64 0:5.43.0-5.1                             fetch-crl.noarch 0:2.7.0-2                               glite-LFC_mysql.x86_64 0:3.2.7-2.sl5     
  glite-info-generic.noarch 0:2.0.2-5                    glite-info-provider-release.noarch 0:1.0.1-1             glite-info-templates.noarch 0:1.0.0-11   
  glite-security-voms-api.x86_64 0:1.9.17-1.sl5          glite-security-voms-api-cpp.x86_64 0:1.9.17-1.sl5        glite-version.noarch 0:3.2.2-1           
  glite-yaim-core.noarch 0:4.0.12-1                      glite-yaim-lfc.noarch 0:4.0.6-2                          glue-schema.noarch 0:2.0.3-1             
  gpt.x86_64 0:3.2autotools2004_NMI_9.0_x86_64_rhap_5-1  ig-yaim.noarch 0:4.0.13-2_7                              lcgdm-devel.x86_64 0:1.7.4-7sec.sl5      
  lcgdm-libs.x86_64 0:1.7.4-7sec.sl5                     lfc.x86_64 0:1.7.4-7sec.sl5                              lfc-devel.x86_64 0:1.7.4-7sec.sl5        
  lfc-libs.x86_64 0:1.7.4-7sec.sl5                       libtool-ltdl.x86_64 0:1.5.22-7.el5_4                     mysql.x86_64 0:5.0.77-4.el5_5.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-Crypt-SSLeay.x86_64 0:0.51-11.el5                   perl-DBI.x86_64 0:1.52-2.el5             
  perl-Date-Manip.noarch 0:5.56-1.el5.rf                 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-TermReadKey.x86_64 0:2.30-5.el5                   perl-URI.noarch 0:1.35-3                                 perl-XML-DOM.noarch 0:1.44-2.el5.rf      
  perl-XML-NamespaceSupport.noarch 0:1.09-1.2.1          perl-XML-Parser.x86_64 0:2.34-6.1.2.2.1                  perl-XML-RegExp.noarch 0:0.03-1.2.el5.rf 
  perl-XML-SAX.noarch 0:0.14-8                           perl-lfc.x86_64 0:1.7.4-7sec.sl5                         perl-libwww-perl.noarch 0:5.805-1.1.1    
  python-lfc.x86_64 0:1.7.4-7sec.sl5                     vdt_globus_essentials.x86_64 0:VDT1.10.1x86_64_rhap_5-4 

Complete!

$ yum install mysql-server
Loaded plugins: kernel-module
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 mysql-server.x86_64 0:5.0.77-4.el5_5.4 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=============================================================================================================================================================
 Package                                Arch                           Version                                     Repository                           Size
=============================================================================================================================================================
Installing:
 mysql-server                           x86_64                         5.0.77-4.el5_5.4                            sl-security                         9.8 M
Installing for dependencies:
 perl-DBD-MySQL                         x86_64                         3.0007-2.el5                                sl-base                             147 k

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

Total download size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm                                                                                         | 147 kB     00:00     
(2/2): mysql-server-5.0.77-4.el5_5.4.x86_64.rpm                                                                                       | 9.8 MB     00:05     
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                        1.4 MB/s |  10 MB     00:07     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl-DBD-MySQL                                                                                                                        1/2 
  Installing     : mysql-server                                                                                                                          2/2 

Installed:
  mysql-server.x86_64 0:5.0.77-4.el5_5.4                                                                                                                     

Dependency Installed:
  perl-DBD-MySQL.x86_64 0:3.0007-2.el5                                                                                                                       

Complete!

Install CAs

$ yum install -y lcg-CA

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

Install host certificates for the server.

$ 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

Edit the /opt/glite/yaim/examples/siteinfo/ig-site-info.def file
# Human-readable name of your site
SITE_NAME=GRID-TEST-VM01

# Uncomment this variable if you are installing a mysql server
# It is the MySQL admin password.
MYSQL_PASSWORD=KualaLumpur

# INFN-GRID: Your site must support the following certification VOs:
#              dteam infngrid ops
VOS="dteam ops eumed infngrid"

#########
# eumed #
#########
VO_EUMED_SW_DIR=$VO_SW_DIR/eumed
VO_EUMED_DEFAULT_SE=$SE_HOST
VO_EUMED_STORAGE_DIR=$CLASSIC_STORAGE_DIR/eumed
VO_EUMED_VOMS_SERVERS="'vomss://voms2.cnaf.infn.it:8443/voms/eumed?/eumed' 'vomss://voms-02.pd.infn.it:8443/voms/eumed?/eumed'"
VO_EUMED_VOMSES="'eumed voms2.cnaf.infn.it 15016 /C=IT/O=INFN/OU=Host/L=CNAF/CN=voms2.cnaf.infn.it eumed' 'eumed voms-02.pd.infn.it 15016 /C=IT/O=INFN/OU=Host/L=Padova/CN=voms-02.pd.infn.it eumed'"
VO_EUMED_VOMS_CA_DN="'/C=IT/O=INFN/CN=INFN CA' '/C=IT/O=INFN/CN=INFN CA'"
VO_EUMED_WMS_HOSTS="wms-01.eumedgrid.eu"

############
# infngrid #
############
VO_INFNGRID_SW_DIR=$VO_SW_DIR/infngrid
VO_INFNGRID_DEFAULT_SE=$SE_HOST
VO_INFNGRID_STORAGE_DIR=$CLASSIC_STORAGE_DIR/infngrid
VO_INFNGRID_VOMS_SERVERS="'vomss://voms.cnaf.infn.it:8443/voms/infngrid?/infngrid' 'vomss://voms-01.pd.infn.it:8443/voms/infngrid?/infngrid'"
VO_INFNGRID_VOMSES="'infngrid voms.cnaf.infn.it 15000 /C=IT/O=INFN/OU=Host/L=CNAF/CN=voms.cnaf.infn.it infngrid' 'infngrid voms-01.pd.infn.it 15000 /C=IT/O=INFN/OU=Host/L=Padova/CN=voms-01.pd.infn.it infngrid'"
VO_INFNGRID_VOMS_CA_DN="'/C=IT/O=INFN/CN=INFN CA' '/C=IT/O=INFN/CN=INFN CA'"

#########
# dteam #
#########
VO_DTEAM_SW_DIR=$VO_SW_DIR/dteam
VO_DTEAM_DEFAULT_SE=$SE_HOST
VO_DTEAM_STORAGE_DIR=$CLASSIC_STORAGE_DIR/dteam
VO_DTEAM_VOMS_SERVERS='vomss://voms.hellasgrid.gr:8443/voms/dteam?/dteam/'
VO_DTEAM_VOMSES="'dteam lcg-voms.cern.ch 15004 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch dteam 24' 'dteam voms.cern.ch 15004 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch dteam 24' 'dteam voms.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr dteam 24' 'dteam voms2.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr dteam 24'"
VO_DTEAM_VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006' '/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006'"

#######
# ops #
#######
VO_OPS_SW_DIR=$VO_SW_DIR/ops
VO_OPS_DEFAULT_SE=$SE_HOST
VO_OPS_STORAGE_DIR=$CLASSIC_STORAGE_DIR/ops
VO_OPS_VOMS_SERVERS="vomss://voms.cern.ch:8443/voms/ops?/ops/"
VO_OPS_VOMSES="'ops lcg-voms.cern.ch 15009 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch ops 24' 'ops voms.cern.ch 15009 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch ops 24'"
VO_OPS_VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'"

Add the unix users in the /opt/glite/yaim/examples/ig-users.conf file
70001:eumed001:48000:eumed:eumed::
70002:eumed002:48000:eumed:eumed::
70003:eumed003:48000:eumed:eumed::
70004:eumed004:48000:eumed:eumed::
70005:eumed005:48000:eumed:eumed::
70006:eumed006:48000:eumed:eumed::
70007:eumed007:48000:eumed:eumed::
70008:eumed008:48000:eumed:eumed::
70009:eumed009:48000:eumed:eumed::
70010:eumed010:48000:eumed:eumed::
70011:eumed011:48000:eumed:eumed::
[..]
70090:eumed090:48000:eumed:eumed::
70091:eumed091:48000:eumed:eumed::
70092:eumed092:48000:eumed:eumed::
70093:eumed093:48000:eumed:eumed::
70094:eumed094:48000:eumed:eumed::
70095:eumed095:48000:eumed:eumed::
70096:eumed096:48000:eumed:eumed::
70097:eumed097:48000:eumed:eumed::
70098:eumed098:48000:eumed:eumed::
70099:eumed099:48000:eumed:eumed::
70100:eumed100:48000:eumed:eumed::
70101:sgmeumed01:47001,48000:eumedsgm,eumed:eumed:sgm
70102:sgmeumed02:47001,48000:eumedsgm,eumed:eumed:sgm
70103:sgmeumed03:47001,48000:eumedsgm,eumed:eumed:sgm

Add the unix groups in the /opt/glite/yaim/examples/ig-groups.conf file
"/eumed/ROLE=SoftwareManager":::sgm
"/eumed"::::

Configure the /opt/glite/yaim/examples/siteinfo/services/ig-lfc_mysql file
# LFC hostname
LFC_HOST=vm02.ct.infn.it

LFC_DB_HOST=$LFC_HOST

# INFN-GRID: LFC_DB_PASSWORD should not have a default value
#            so the right place is in services/ not in defaults/
# The db user password. Cannot contain @ sign
# You have to set it. Example:
LFC_DB_PASSWORD=KualaLumpur

# INFN-GRID: set this var to "yes" if your LFC server is a replica of a
#            "central" one, and has to be read_only for users.
#            Default value: no
LFC_READONLY=no

Configure the /opt/glite/yaim/defaults/ig-lfc_mysql.pre file
# Default database name
LFC_DB=cns_db

# If you use a DNS alias in front of your LFC, specify it here
LFC_HOST_ALIAS=""

# All catalogues are local unless you add a VO to
# LFC_CENTRAL, in which case that will be central
LFC_CENTRAL="eumed infigrid"

# If you want to limit the VOs your LFC serves, add the locals here
LFC_LOCAL=""

# INFN-GRID: set this var to "yes" if your LFC server is a replica of a
#            "central" one, and has to be read_only for users.
#            Default value: no
LFC_READONLY=no

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_LFC_mysql
   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-lfc_mysql
   INFO: Sourcing service specific configuration file: /opt/glite/yaim/examples/siteinfo/services/ig-lfc_mysql
   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: /etc/grid-security
         site-info.def date: Jan 3 10:37 /opt/glite/yaim/examples/siteinfo/ig-site-info.def
         yaim command: -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_LFC_mysql
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Mon Jan  3 10:45:57 CET 2011 : /opt/glite/yaim/bin/ig_yaim
         
         Installed YAIM versions:
         glite-yaim-core 4.0.12-1
         glite-yaim-lfc 4.0.6-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_sysconfig_lcg_check 
   INFO: Executing function: config_host_certs_check 
   INFO: Executing function: config_vomsdir_check 
   INFO: Executing function: config_edgusers_check 
   INFO: Executing function: config_mkgridmap_check 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_mkgridmap
   INFO: Executing function: config_gip_lfc_check 
   INFO: Executing function: config_lfc_user_check 
   INFO: Executing function: config_lfc_upgrade_check 
   INFO: Executing function: config_lfc_mysql_check 
   INFO: Executing function: config_lfc_server_check 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_lfc_server
   INFO: Executing function: config_lfc_dli_check 
   INFO: Executing function: config_bdii_only_check 
   INFO: Executing function: config_root_email 
   INFO: Executing function: config_ldconf 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_ldconf
   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.20110103_104558
   INFO: Executing function: config_sysconfig_edg 
   INFO: Executing function: config_sysconfig_globus 
   INFO: Executing function: config_sysconfig_lcg 
   INFO: Executing function: config_crl 
   INFO: Now updating the CRLs - this may take a few minutes...
   INFO: Executing function: config_host_certs 
   INFO: Executing function: config_vomsdir_setenv 
   INFO: Executing function: config_vomsdir 
   INFO: Executing function: config_edgusers 
   INFO: Executing function: config_mkgridmap_setenv 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_mkgridmap
   INFO: Executing function: config_mkgridmap 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_mkgridmap
   INFO: The grid-map file will also contain special users for VO DTEAM since UNPRIVILEGED_MKGRIDMAP=no for the VO.
   INFO: Adding ordinary users in the gridmap file since the VO is defined in groups.conf
   INFO: The grid-map file will also contain special users for VO OPS since UNPRIVILEGED_MKGRIDMAP=no for the VO.
   INFO: Adding ordinary users in the gridmap file since the VO is defined in groups.conf
   INFO: The grid-map file will also contain special users for VO EUMED since UNPRIVILEGED_MKGRIDMAP=no for the VO.
   INFO: Adding ordinary users in the gridmap file since the VO is defined in groups.conf
   INFO: The grid-map file will also contain special users for VO INFNGRID since UNPRIVILEGED_MKGRIDMAP=no for the VO.
   INFO: Adding ordinary users in the gridmap file since the VO is defined in groups.conf
   INFO: Now creating the lcgdm-mapfile - this may take a few minutes...
   INFO: Executing function: config_gip_only 
   INFO: Executing function: config_gip_lfc 
   INFO: Executing function: config_gip_service_release 
   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_lfc_user 
   INFO: Executing function: config_lfc_upgrade 
Initializing MySQL database:  Installing MySQL system tables...OK
Filling help tables...OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h vm02.ct.infn.it password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com

                                                           [  OK  ]
Starting MySQL:                                            [  OK  ]
   INFO: Executing function: config_lfc_mysql 

Starting MySQL:                                            [  OK  ]
   INFO: Executing function: config_lfc_server 
   INFO: Using locally defined function /opt/glite/yaim/functions/local/config_lfc_server
lfcdaemon already stopped:                                 [  OK  ]
   INFO: Waiting for complete wake-up of the name server...
Starting lfcdaemon:                                        [  OK  ]
   INFO: Executing function: config_lfc_dli 
lfc-dli already stopped:                                   [  OK  ]
Starting lfc-dli:                                          [  OK  ]
   INFO: Executing function: config_bdii_only 
Stopping BDII: BDII Already stopped
Starting SLAPD:                                            [  OK  ]

Starting update process:                                   [  OK  ]

   INFO: Configuration Complete.                           [  OK  ]
   INFO: YAIM terminated succesfully.

Disable YUM update

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

Daemons

lfcmgr   30559  0.0  0.6 320376  5320 ?        Ssl  10:48   0:00 /opt/lcg/bin/lfcdaemon -t 20 -c /opt/lcg/etc/NSCONFIG -l /var/log/lfc/log
lfcmgr   30753  0.0  0.1 213248   900 ?        Ssl  10:48   0:00 /opt/lcg/bin/lfc-dli -l /var/log/dli/log
edguser  30989  0.0  9.9 397600 78544 ?        Ssl  10:48   0:00 /usr/sbin/slapd -f /opt/bdii/etc/bdii-slapd.conf -h ldap://vm02.ct.infn.it:2170 -u edguser
edguser  31016  0.0  0.5 115916  4328 ?        S    10:48   0:00 /usr/bin/python /opt/bdii/bin/bdii-update -c /opt/bdii/etc/bdii.conf -d

Log Files

/var/log/messages
/var/log/lfc/log

T E S T I N G

Connect to the UI and generate a VOMS proxy

$ export LFC_HOST=vm02.ct.infn.it

Browsing the LFC File Catalog

        $ lfc-ls /grid
	eumed
	infigrid
        dteam
        ops

External links

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

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

-- GiuseppeLaRocca - 2011-01-17

Edit | Attach | PDF | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | More topic actions
Topic revision: r9 - 2011-11-28 - GiuseppeLaRocca
 
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