Tags:
create new tag
view all tags
-- HuangQiulan - 2010-01-27

To install and deploy the PROOF cluster

As we all know, PROOF is part of ROOT, so Proof is installed by ROOT.

TIP Now we will give the steps for deploying a small PROOF cluster.

Downloading the ROOT

ROOT is available in binary and source form. The binaries are available for most supported platforms. And the source can be compiled on any platforms.

You can get binaries or source from the following link:

http://root.cern.ch/drupal/content/downloading-root

    $ gunzip     root_v5.26.00.Linux-slc5_amd64-gcc4.3.tar.gz
    $ tar xvf    root_v5.26.00.Linux-slc5_amd64-gcc4.3.tar.gz

Define the cluster structure.

Nodes:  prfserver01   prfserver02

Master node:prfserver01
  Quad cores 2.66GHZ
  16GB RAM
  OS:SL53 64bit

Slave node:prfserver02
  Quad cores 2.66GHZ
  16GB RAM
  OS:SL53 64bit

Please change the version and package as you need.

ALERT! Note:Before downloading a binary verson make sure you contains the right run-time environment.

Configure the cluster

After you setup ROOT, The important steps is to configure the cluster

HELP To create a user without the root privilege;

We should use the user not root to start PROOF service.

$  useradd proof
You can change the username as you want.

HELP To write the right configure files:

  /scratch/root/xrootd.cfg
  /etc/proof.conf

you can get the files from my afs:

  /afs/ihep.ac.cn/users/h/huangql/xrootd.cfs
  /afs/ihep.ac.cn/users/h/huangql/proof.conf

Start the PROOF cluster

You can start the PROOF with the command:

 $/scratch/root/bin/xrootd -b -l /var/log/xrootd/xrootd.log -R proof -c /scratch/root/xrootd.cfg

Or you can start PROOF with scripts. Firstly you should write the scripts. I have prepared the start scripts, you can get from my afs:

  /afs/ihep.ac.cn/users/h/huangql/xrootd
  /afs/ihep.ac.cn/users/h/huangql/olbd

You should copy the start scripts to /etc/init.d/ and chkconfig:

 cp  /afs/ihep.ac.cn/users/h/huangql/xrootd  /etc/init.d/
 cp  /afs/ihep.ac.cn/users/h/huangql/olbd  /etc/init.d/
 chkconfig xrootd on
 chkconfig olbd on

Last, you can start the like this:

  service xrootd start
  service olbd start

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-02-22 - HuangQiulan
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback