Lemon Installation for GT Virtual Testbed


A virtual machine (SL4-64-DH image) has been created using vNode: vtb-generic-19.cern.ch. The documentation for installing Lemon is here. The instructions for a flat file based server installation have been followed. A client installation has been done on the same host in order to do some preliminary tests

The following repo file have been created:

[root@vtb-generic-19 yum.repos.d]# cat lemon.repo 

[root@vtb-generic-19 yum.repos.d]# cat lemon-server.repo 
name=Lemon Servers
In order to solve some dependencies issues, some additional rpms have been downloaded directly from:
# wget http://linuxsoft.cern.ch/lemon/linux/RPMS/x86_64/sl4/stable/apr-1.2.9-1.x86_64.rpm
# wget http://linuxsoft.cern.ch/lemon/linux/RPMS/x86_64/sl4/stable/apr-util-1.2.8-1.x86_64.rpm
# wget ftp://ftp.uni-bayreuth.de/pub/packages/databases/PostgreSQL/binary/v7.4.26/linux/rpms/fedora/rhel-4-x86_64/postgresql-libs-7.4.26-1PGDG.rhel4.x86_64.rpm

After that the yum installation works fine:
yum install lemon-server lemon-admin lemon-agent

Pysqlite2 needs to be installed as well if you plan to use an sqlite db:

#  wget http://pysqlite.googlecode.com/files/pysqlite-2.6.0.tar.gz
# tar -xvzf pysqlite-2.6.0.tar.gz
# cd pysqlite-2.6.0
# python setup.py build_static install

PHP version 5 needs to be installed as well in order to install lemon-web. The repository can be take from here:

 Package                 Arch       Version          Repository        Size 
 php                     x86_64     5.2.11-jason.1   utterramblings    3.9 M
Installing for dependencies:
 apr-util-ldap           x86_64     1.3.9-1.jason.1  utterramblings     19 k
 php-cli                 x86_64     5.2.11-jason.1   utterramblings    2.6 M
 php-common              x86_64     5.2.11-jason.1   utterramblings    515 k
Updating for dependencies:
 apr-util                x86_64     1.3.9-1.jason.1  utterramblings    206 k
 httpd                   x86_64     2.2.14-jason.1   utterramblings    3.1 M
 subversion              x86_64     1.4.6-jason.1    utterramblings    4.4 M

After this the lemon-web installation should work:

# yum install lemon-web
 Package                 Arch       Version          Repository        Size 
 lemon-web               noarch     1.0.1-2          lemon             2.7 M
Installing for dependencies:
 lemon-web-libs          noarch     1.0.2-1          lemon              22 k

Server Configuration

# ls -l /etc/lemon-server-metadata.conf
-rw-r--r--  1 root root 174730 Aug 12  2008 /etc/lemon-server-metadata.conf
# usermod -a -G root lemon
# id lemon
uid=100(lemon) gid=103(lemon) groups=103(lemon),0(root)
# lemon-admin --backend=sqlite --create-schema
        Creating metadata structure.
                Processing file: flat/metric_tables.sql
                DDL successfull

# lemon-admin --backend=flat --create-schema > lemon-admin --backend=flat --all --file=/etc/lemon-server-metadata.conf
# lemon-admin --backend=sqlite --create-schema > lemon-admin --backend=sqlite --all --file=/etc/lemon-server-metadata.conf
# /etc/init.d/lemon-server start 
Starting lemon-server:                                     [  OK  ]

# /etc/init.d/lemonmrd start 
Starting lemonmrd:                                         [  OK  ]

-- GianniPucciani - 05-May-2010

Edit | Attach | Watch | Print version | History: r8 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2010-05-06 - GianniPucciani
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback