View previous topic :: View next topic |
Author |
Message |
NWC Snake
Joined: 06 Jan 2005 Posts: 2
|
Posted: Thu Jan 06, 2005 2:06 Post subject: Multiple server instances |
|
|
Hail! I read somewhere, probably on NW Vault, that NWNX2 doesn't work for more than one instance of the NWN server on a single computer. Is that true? If so, might that be something that can be overcome by setting up the server instances to run from separate directories?
I currently run eight modules. These are split up onto four servers, with each server running one instance of NWServer from the default installation directory and another instance from a separate directory containing the dedicated server executable. I am currently using the NWN DB on one server, mapped as a network drive on the others, for persistence. Each machine has two NICs, one for Internet (WAN) traffic and another for LAN traffic. DB and server vault traffic runs through the LAN rather than through the Internet. I have had no problems with this arrangement, but it is self-limiting in terms of expansion. NWNX2 also has some features that the NWN DB doesn't offer. If I can in fact run all eight modules on four machines using NWNX2, there would be some advantages. Please advise. Thanks!
Your Humble Serpent,
Snake
Neverwinter Consortium |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Jan 06, 2005 2:10 Post subject: |
|
|
NWNX2 was designed with multiple servers on a single machine in mind, since that is how Avlis started.
You will have no troubles running two instances per machine with NWNX2. Just add the -port parameter to the command line options and you're set - pretty much the same command line options you have probably been using anyway.
Btw: The goal of running multiple servers on a single machine (even off a single directory) is the main reason why NWNX has no support for .ini files yet. But that is another feature that will probably be added soon. _________________ Papillon |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
NWC Snake
Joined: 06 Jan 2005 Posts: 2
|
Posted: Thu Jan 06, 2005 2:56 Post subject: Re: Multiple Server Instances |
|
|
Hail! That's good to hear, Papillon. Thanks for the quick reply!
Your Humble Serpent,
Snake
Neverwinter Consortium |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Senalaya
Joined: 29 Dec 2004 Posts: 82 Location: Germany
|
Posted: Thu Jan 06, 2005 3:26 Post subject: |
|
|
Papillon wrote: | ...is the main reason why NWNX has no support for .ini files yet. But that is another feature that will probably be added soon. |
You sneaky little bastard
And I was waiting/hoping on that answer here: NWNX .ini file? and '-restartdelay' parameter?
On Topic: The solution for multiple instances off the same directory AND utilizing .ini files would be a command line option like '-config "nwnx.ini"'. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Makzimia De Graf
Joined: 31 Dec 2004 Posts: 55 Location: San Diego CA.
|
Posted: Thu Jan 06, 2005 4:33 Post subject: |
|
|
Papillon, if you are busy doing new / updated documentation for NWNX2, can you remember to put that -port option on please? it's missing, and I always wondered if I could run more than one instance of NWNX2, never even thought to ask LOL. _________________ Makzimia De Graf
DM/Creator Island of Fredian
fredian.game-host.org:5123
Forums at http://castille.us/fredian/Forums |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Jan 06, 2005 12:08 Post subject: |
|
|
@Makzimia, if you check the docs again, you will find that I mentioned that NWNX understands all command line parameters that the dedicated server does - some of them are interpreted (like port), some are just passed on. Maybe I should make it more clear in the next release.
@Senalaya, yes you're right . I should have answered in your post, but I have not decided on the way ini files will be supported yet. Let's discuss that in the other thread. _________________ Papillon |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Makzimia De Graf
Joined: 31 Dec 2004 Posts: 55 Location: San Diego CA.
|
Posted: Thu Jan 06, 2005 15:13 Post subject: |
|
|
Thanks Papillon, one last thing, something that has always bothered me, and since in essence NWNX2 is working... should it's port be the same as the one in the ini for NWNServer? so if I am on say 5123 I should tell NWNX2 to also use that? thanks, it may explain an issue I get with Jeroens new ODBC replacement. _________________ Makzimia De Graf
DM/Creator Island of Fredian
fredian.game-host.org:5123
Forums at http://castille.us/fredian/Forums |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Jan 06, 2005 17:22 Post subject: |
|
|
As far as NWNX2 is concerned, you only need to specify the port if you want to use the gamespy watchdog. If you specify the port option, it will override the setting in the INI file. _________________ Papillon |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|