[Dxspider-support] Two nodes on the same PC
Dirk Koopman
djk at tobit.co.uk
Wed Mar 23 12:00:10 GMT 2005
I forgot to add:-
You will need to use different ports for the various listeners you might
have running. So you will need to modify spider/local/DXVars.pm
$clusterport = 27754;
to some other port. For the absence of doubt - you *ONLY* need to change
this if you are running a second instance of spider on the same box (and
then *ONLY* in the second instance). I use port: 27755.
Also, when you set up spider/local/Listeners.pm, don't use the same port
as the "normal" instance of 7300. I use port: 7301.
On Wed, 2005-03-23 at 11:11 +0000, Dirk Koopman wrote:
> On Wed, 2005-03-23 at 11:33 +0100, Luigi - IK5ZUK wrote:
> > Hi all !!
> >
> > Is possible to run two spider nodes on the same machine (running Linux) ??
> >
>
> Yes.
>
> Untar or cvs checkout the source into a different directory. So if you
> have created a user called 'spider' with the source in /home/spider and
> ln -s /home/spider /spider. Then (maybe) create another user or just use
> another existing user and put the new spider tree there.
>
> So if you have a user 'foo' you will get the new tree
> in /home/foo/spider.
>
> Then, make sure that the /home/foo/.bashrc script has the line:-
>
> export DXSPIDER_ROOT=~/spider
> or
> export DXSPIDER_ROOT=/home/foo/spider
> (they are both the same thing)
>
> If you login as 'foo' you can then 'cd spider' and run that instance of
> the code completely independently of any other installation.
>
> Dirk
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://www.tobit.co.uk/mailman/listinfo/dxspider-support
>
More information about the Dxspider-support
mailing list