[Dxspider-support] Running 2 Dxspider nodes on one Windowsmachine
Kelly Jones
kjones at virtualcohesion.com
Thu Feb 12 18:53:39 GMT 2009
Well, Dirk pretty much covered all of the steps. :-)
Just a note to the comment: "Unfortunately Windows does not have symbolic
links". There is something very similar on the NTFS file system (XP, NT,
not sure this works in Vista, never tried it) called a Junction. It acts
VERY similar to symlinks in the *nix world. You just need this little
program to create them and you're off and running.
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
GL
Kelly - N0VD
-----Original Message-----
From: dxspider-support-bounces at dxcluster.org
[mailto:dxspider-support-bounces at dxcluster.org] On Behalf Of Dirk Koopman
G1TLH
Sent: Thursday, February 12, 2009 6:27 AM
To: Dan Bookwalter; The DXSpider Support list
Subject: Re: [Dxspider-support] Running 2 Dxspider nodes on one
Windowsmachine
Dan Bookwalter wrote:
> Can I run two spider nodes on one windows box ? if so can someone point me
in the right direction ?
>
Yes you can. Or at least, I think you can, if you can set an environment
variable on the second instance.
If you copy the existing c:\spider tree to (say) c:\spider2, then you will
need to modify c:\spider2\local\DXVars.pm so that it has different $mycall
and $myalias and, very importantly, a different $clusterport (eg from 27754
to 27755). You will also need to alter c:\spider\local\Listeners.pm so that
it listening on a different port (eg from 7300 to 7301).
Then you will need to set the environment variable (in a .bat file?) "set
DXSPIDER_ROOT=\spider2", run "c:\spider2\perl\update_sysop.pl"
once, then start the node in the new place. It *should* just work.
Unfortunately Windows does not have symbolic links, so you have to maintain
each tree's code separately (There are tricks one can use to share the same
code tree across many node instances in unix like systems).
Please let me/us know how you get on.
Dirk
_______________________________________________
Dxspider-support mailing list
Dxspider-support at dxcluster.org
http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
More information about the Dxspider-support
mailing list