logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Multiple server instances

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
NWC Snake



Joined: 06 Jan 2005
Posts: 2

PostPosted: Thu Jan 06, 2005 2:06    Post subject: Multiple server instances Reply with quote

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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu Jan 06, 2005 2:10    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
NWC Snake



Joined: 06 Jan 2005
Posts: 2

PostPosted: Thu Jan 06, 2005 2:56    Post subject: Re: Multiple Server Instances Reply with quote

Hail! That's good to hear, Papillon. Thanks for the quick reply!

Your Humble Serpent,

Snake
Neverwinter Consortium
Back to top
View user's profile Send private message
Senalaya



Joined: 29 Dec 2004
Posts: 82
Location: Germany

PostPosted: Thu Jan 06, 2005 3:26    Post subject: Reply with quote

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 Razz
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
View user's profile Send private message
Makzimia De Graf



Joined: 31 Dec 2004
Posts: 55
Location: San Diego CA.

PostPosted: Thu Jan 06, 2005 4:33    Post subject: Reply with quote

Papillon, if you are busy doing new / updated documentation for NWNX2, can you remember to put that -port option on please? Very Happy 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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu Jan 06, 2005 12:08    Post subject: Reply with quote

@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 Rolling Eyes. 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
View user's profile Send private message Visit poster's website MSN Messenger
Makzimia De Graf



Joined: 31 Dec 2004
Posts: 55
Location: San Diego CA.

PostPosted: Thu Jan 06, 2005 15:13    Post subject: Reply with quote

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? Smile 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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu Jan 06, 2005 17:22    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group