PDA

View Full Version : Setting up Multiple Servers on the same hardware


NapoleonSolo
02-05-2004, 04:19 PM
Can anybody help with some info on how to setup multiple instance of COD on the same server? I seem to remember a post on it but I can't find it. Also, if anyknow of any issues I need to look out for that would be great!!

AADiC
02-05-2004, 09:37 PM
Just make multiple COD directories. c:/cod // c:/cod2, etc...

Make sure the shortcuts point to the diff directories.

The port number will auto increase

thejerk
02-06-2004, 12:17 AM
Another great solution which can be used with any game/application is to purchase a copy of Firedaemon which sets up the servers as services. You only need one install, and you can determine the specifics by way of the command line (options in the FD service setup). It's only $25 and well worth it. ;)

Kid_Antrim
02-24-2004, 04:36 PM
What operating system are you using? If it's Windows 2000 or Windows 2003, you can assign multiple IP addresses to your NIC, then just use config and batch files to fire up command line servers, one for each IP address. That's actually the easiest and free way to do it if you have the OS and hardware.

NapoleonSolo
02-24-2004, 07:05 PM
What do you put into the config file to indcate which IP address it should be listening to?

imported_Sac
02-26-2004, 04:13 PM
Using fs_basepath and fs_homepath is probably the most efficient way to run multiple servers from one COD install. The principle works for Windows as well as Linux, with the fs_basepath and fs_homepath switches having to be set in the command lines used to start the servers.

Here's a nice explanation of how to use these, taken from the cod@icculus.org mailing list:

Here's how I go about managing mutiple servers on one box, HTH:

Install cod (to an fs_basepath) /usr/games/cod

+set fs_basepath /usr/games/cod

Customized config and other server files are stored in home directories
+set fs_homepath /home/cod1/cod

Install cod/q3/wolfenstien (id based games work like this) and run mutiple servers based on one install of the original files and mods via fs_basepath specification. fs_homepath contains only .cfg files relavent to any given server.

fs_basepath:
Contains original install of cod and is also handy to place a public.cfg (common sets for all servers) exec it via each server's myconfig.cfg.

fs_homepath:
Custom configs (myconfig.cfg) placed in /home/cod1/cod/main/myconfig.cfg. Log files etc. will be located in the homepath.

The search order is like this if +set fs_game mod1:
/usr/home/cod1/cod/mod1
/usr/home/cod1/cod/main
/usr/games/cod/mod1
/usr/games/cod/main

with no mod, it's:
/usr/home/cod1/cod/main
/usr/games/cod/main

Anything in the fs_homepath overrides the same thing in fs_basepath, because the homepath is searched first, so if you need to customize something, place it in on servers homepath, of if it needs to be customized for all servers then place it in the basepath.

thejerk
02-26-2004, 04:22 PM
That didn't answer the last question he had. I believe the line is "set net_ip x.x.x.x", but I could be wrong (taken from MOH).

Cyberdoc
02-28-2004, 01:44 AM
//Settings needed if you want 2 servers from 1 IP

set net_ip xxx.xxx.xxx.xxx //IP to listen on for multihomed servers.
set net_port 28960 //port to listen on.

:!:

thejerk
02-28-2004, 04:25 AM
//Settings needed if you want 2 servers from 1 IP

set net_ip xxx.xxx.xxx.xxx //IP to listen on for multihomed servers.
set net_port 28960 //port to listen on.

:!:

Always looking to be one up on me, eh, Doc? :P :lol: