Quattor over Red-Hat derivatives Howto

(Quelle: http://tomas.andago.com/cgi-bin/trac.cgi/wiki/QuattorHowTo)

Installing and configuring Quattor is easy following the rules provided by the document Quattor Installation Guide and User Guide, hosted at http://isscvs.cern.ch:8180/cgi-bin/cvsweb.cgi/~checkout~/elfms/quattor/documentation/installation-guide/index.html?content-type=text/html&cvsroot=elfms&only_with_tag=HEAD

These are just notes to solve possible problems that might arise when using a Red Hat derivative distribution.

Installing apt-get

Scientific Linux comes with apt-get and yum installed, so you don’t have to install apt-get by hand. For Fedora and Red Hat, there’s a special version of apt-get for rpm located at [http://apt.freshrpms.net/] that lets you install Quattor in an easy way adding the following line to the sources.list file:

rpm http://quattorsw.web.cern.ch/quattorsw/software/quattor apt/1.1.X/i386 quattor_sl3
 

For Red Hat 9:
At the time of writing, there’s a problem with the default repository that won’t let you install any Red Hat package from apt-get (for example, if you want to use synaptic). I haven’t found another unnoficial apt-get repository for Red Hat 9 but using a Fedora Core 1 repository seems to work. Anyway, the only repository needed to install Quattor is the one provided by the CERN.

Configuring CDB

These are the problems found when installing in Fedora Core 3:

  • Some problems may arise before updating Fedora.
    • There is a problem with SELinux, because it might restrict the httpd privileges. As a consequence, it fails to write the /var/log/cdb.log file and returns an Error 500. To workaround this, you can disable SELinux.
  • There might be a problem with the IO::Socket Perl package provided by Fedora. This can be solved installing it with CPAN:
# perl -MCPAN -e shell
.....
cpan>install IO::Socket

Configuring SWRep

Take care: In swrep-client.conf file, the owner of the repository must be swrep.

Make sure that, in the swrep-client.conf file, there is the following line:

repository = swrep@<host>

where <host> is the name of the host that has the repository.

Also, the /var/swrep/.ssh directory and it’s content, must belong to the swrep user and group and only the swrep user can read or write it:

# pwd
/var/swrep/.ssh

# ls -la
total 20
drwx------  2 swrep swrep 4096 ene 12 16:34 .
drwxr-xr-x  3 swrep swrep 4096 ene 10 19:38 ..
-rw-------  1 swrep swrep  538 ene 12 16:34 authorized_keys

Installing SPMA

SPMA depends on rpmt that depends on rpm 4.2. As Fedora Core 3 comes with RPM 4.3, it can’t be directly installed.

 
management/quattor/quattor_over_redhat_derivates_howto.txt · Zuletzt geändert: 06.09.2010 04:12
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed