ALICE RCU Configuration

0.2

Introduction

This package provides a C++ class library for configuring the RCU, BC, and ALTROs.

Setup

You should have a database server running. Either a MySQL or an Oracle database manager. You should create your RCU database in that server, and set up the needed user(s).

Then, you should configure the package according to your setup, for example

    ./configure --with-db-url=mysql://config:secret@fmddb.cern.ch/RCU
    

You should ofcourse substitute your database server host name, database user name and password, and database name.

If you'd like the RcuConf::CommandCoder to directly configure the hardware, instead of going via the InterCom Layer (but you still want the InterCom Layer to make the request), pass an option like

 
    --with-rcuxx-url=fee://dim.dns.node/fee_server 
    
(see also the Rcu++ documentation).

If you want to use the library for configuring the FMD FEE, you should pass the option

 
    --enable-fmd
    
(a similar option can be implemented for the PHOS, EMCAL, etc.).

Next, build and install the package

 
    make 
    make install 
    

In the source tree, in the sub-directory rcuconf you will find a number of programs called createsomething. This will set up tables, and fill them with example values. You can run all of them by doing

 
    (cd rcuconf && ./createAll.sh -c database_url)
    
where you should substitute database_url with the URL you've setup previously.

The installed program rcuconf allows you to directly configure the front-end from the command line, using any form of communication with the RCU supported by your Rcu++ installation. For example, to configure the RCU connected via a DDL on the local host you can do

 
    rcuconf -r ddl:0.0 -c mysql://config:secret@fmddb.cern.ch/RCU
    

  • design
  • schema
Top of page Last update Fri Apr 27 01:54:15 2007
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5