[Orca-users] Orcallator: Running orca on each machine

Kalpesh Patel kpatel at familypatel.com
Sun Feb 22 13:49:52 PST 2004


All you need are the rrd files from the machines from which you want to
plot. In particular you need to look at the orcallator.cfg file on the
machine where you are creating html pages. In particular, interest are the
parameters named 'html_dir', which is where the index.html will be created,
and 'find_files' parameter in the 'group' configuration. 

The way I do is that under /var/orca/orcallator directory, I create a
sub-directory for each machine that I want the plots to be generated. Then
in each of those sub directory, I get rrd files from that node into the
sub-directory created in the previous step. Once all of them are copied
over, run orca with '-once' option. Here are the steps on Solaris machine
for my configuration:

Mkdir -p /var/orca/orcallator/mach1
Mkdir -p /var/orca/orcallator/mach2
Mkdir -p /var/orca/orcallator/mach3
Cd /var/orca/orcallator/node1
Rsync mach1: /var/orca/orcallator/mach1/* .
Cd ../node2
Rsync mach2: /var/orca/orcallator/mach2/* .
Cd ../node3
Rsync mach3: /var/orca/orcallator/mach3/* .
/usr/local/bin/orca -once /usr/local/lib/orcallator.cfg

My orca configuration file is of course called orcallator.cfg in
/usr/local/lib directory. The two variables are set as follows :

1	html_dir                /tmp
2	find_files
/var/orca/orcallator/(.*)/(?:(?:orcallator)|(?:percol))-
\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?
3	column_description      first_line

I also included third line knowing that rrd files contain first line as the
column description for all of the machines. This will generate an index page
with three machines plots.

Hope this helps.

-----Original Message-----
From: Yves Dorfsman [mailto:yves at zioup.com] 
Sent: Friday, February 20, 2004 7:25 PM
To: orca-users at orcaware.com
Subject: [Orca-users] Orcallator: Running orca on each machine


Hi,

Here is what I am trying to do:
I want each machine to run orca for its own data. Then I can remote copy
the html direcotry to a web server where I can look at the data.

But, for a specific subset of our machines, I want all of them to be
visible in the same way they are in the default orca setup (where orca
runs on only one machine). I have two questions here:

1) If I copy the raw data, the rrd files, and the html files, and then run
orca, assuming that the time on those three set of files is very close,
will orca try to do any processing, or will it be content that the rrd and
png files have already been created, and merely re-create the html pages ?

2) How can I force orca to re-create the index.html. I did a kill -HUP,
changed the find_times etc... but I don't understand the logic on when and
why orca decides to re-create the index.html


Thanks.


Yves.
----
                                         http://www.cuug.ab.ca/~dorfsmay
                                         http://www.SollerS.ca







More information about the Orca-users mailing list