ra (or equivelent) in daemon mode?
Peter Van Epp
vanepp at sfu.ca
Sat Jun 21 16:13:02 EDT 2003
I think the ra change for no filter is probably worth making. I'm
thinking on the lines of three boxes:
Argus sensor (entirely in memory) writing out a socket
file storage box (with possibly more than one sensor feeding in to it)
(the filterless ra would run here and write the argus data to disk
on this machine isolating storage from post processing)
post processing machine which NFS mounts the disk from the middle machine.
(If post processing here runs out of memory or pegs the CPU, the
storage of data proceeds without interruption on the other machine.)
With a cut down version of ra, the number of sensors that the middle
machine can capture data for should increase cutting down costs.
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
On Fri, Jun 20, 2003 at 08:17:39PM -0400, Carter Bullard wrote:
> Hey Peter,
> You can run argus without writing to disk, but putting a listen
> down for a remote ra() to access the data, using the
> ARGUS_ACCESS_PORT configuration variable (or -P on the command
> line). The ra call would just be:
>
> ra -S remoteArgus:portnum -w ra.out
>
> you need the portnum if your using something other than
> the default 561. Putting that in a script so that it
> just spawns again if the ra goes away works pretty well.
> Using this strategy, you can run argus archive against
> the ra.out output file, and ra will just recreate the
> file on the next record, so that works well.
>
> I can offer to change ra so that it bypasses
> the record copies that it does in order to support
> filtering, if there isn't a filter and your writing the
> output to a file. That would make it really efficient,
> as it would be simply checking the record framing on
> each record. You will need that in order to jerk the
> file out from underneath ra().
>
> Carter
>
>
> > -----Original Message-----
> > From: owner-argus-info at lists.andrew.cmu.edu
> > [mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of
> > Peter Van Epp
> > Sent: Friday, June 20, 2003 5:58 PM
> > To: argus-info at lists.andrew.cmu.edu
> > Subject: ra (or equivelent) in daemon mode?
> >
> >
> > Before I look at possibly reinventing the wheel, was there any
> > resolution to the question of how to have argus on one box
> > writing only
> > to a socket and ra (or something else since ra seems
> > overkill) on another
> > box that listens on the socket and writes the data to disk?
> > Basically what
> > I'm after is argus_linux spread across two machines. One collecting /
> > processing (but doing no disk I/O) and the other one writing
> > the data to
> > disk and being rotated by argus archive (and possibly running
> > ra against
> > the data in the archive). Linux is up and listening to a fdx
> > link on a pair
> > of bonded 3c905Bs (and currently writing to disk on the same
> > machine) now I
> > need to move the disk I/O to another machine in preparation
> > for changing to
> > Gig.
> >
> > Peter Van Epp / Operations and Technical Support
> > Simon Fraser University, Burnaby, B.C. Canada
> >
>
More information about the argus
mailing list