[Dxspider-support] Two Spider nodes on the same linux box

Luigi Carlotto ik5zuk at tiscali.it
Mon Jan 14 14:22:06 GMT 2008


> * copy the line:
>
> sp:2345:respawn:su -c "perl /spider/perl/cluster.pl > /dev/null 2>&1" 
> sysop
>
> and change that second (new) line to
>
> sq:2345:respawn:su -c "DXSPIDER_ROOT=/home/sysop2/spider perl
> $DXSPIDER_ROOT/perl/cluster.pl > /dev/null 2>&1" sysop2
>
> so that you now have *two* lines where there was one.

Dirk,
I've not understanded well... I've done all the procedure you've described, 
but I'm not sure about what to add into the inittab file.

I have the following in my inittab file:
##Start DXSpider on bootup and respawn it should it crash
DX:35:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop 
 >/dev/tty9
SP:35:respawn:/bin/su -c "DXSPIDER_ROOT=/home/sysop2/spider /usr/bin/perl 
$DXSPIDER_ROOT/perl/cluster.pl" sysop2 >/dev/tty8

The DX line is referred to the first (and the original) spider node, the 
last is referred to the new second spider node.
I would like to redirect the output onto the tty8 (instead of /dev/null), so 
I can see the flow...
But after "telinit q", it is not working... Please, can you tell me 
something ?!?

TIA, 73's de Luigi, ik5zuk 




More information about the Dxspider-support mailing list