[cod] 2 servers on one machine -Help, Friday deadline!

Eduardo E. Silva esilva at silvex.com
Tue Jan 13 20:26:02 EST 2004


LOL James Bond who. The bonding driver allows the server to double the
bandwith using several cards. I take it the hub is 100Mbs, but don't
matter.

Ok, so your server based on the info you have posted is properly configured.

Have you tried to create two separate directories for each server?

/games/cod1
/games/cod2

and start using different start_scripts.

Perhaps use something like this.


#!/bin/bash
#
# Script for /games/cod1
#
cd /games/cod1
/games/coda/cod_lnxded +set developer 1 +set logfile 2 +set netp_ip
192.168.0.8 +set ip 192.168.0.8 +set dedicated 1 +set net_lanauthorize 0
+set net_port 28960 +set ttycon 0 +exec cod1.cfg

#!/bin/bash
#
# Script for /games/cod2
#
cd /games/cod2
/games/coda/cod_lnxded +set developer 1 +set logfile 2 +set netp_ip
192.168.0.9 +set ip 192.168.0.9 +set dedicated 1 +set net_lanauthorize 0
+set net_port 28961 +set ttycon 0 +exec cod2.cfg

Make sure the config files reflect a different name and IP adddress.


Theo Macris said:
> Lol, I can't believe that I know what you are talking about. They are
> both using e1000 drivers (intel NICs) they are plugged into a hub for
> now, they will be into a gig backbone soon :)
> Bond?? James Bond? This I am not familiar with. I have edited hosts,
> resolve- nsswitch shouldn't matter.
>
> hosts:
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1               localhost.localdomain localhost
> #169.254.0.1             supermicro-1 sm1
> #169.254.0.2             supermicro-2 sm2
> #10.1.1.91   sm1.2
> #10.1.1.92   sm2.2
> 192.168.0.8             supermicro-8
> 192.168.0.9             supermicro-9
>
> resolve
> nameserver 192.168.0.7
>
>
> passwd:     files nisplus
> shadow:     files nisplus
> group:      files nisplus
>
> #hosts:     db files nisplus nis dns
> hosts:      files nisplus dns
> bootparams: nisplus [NOTFOUND=return] files
>
> ethers:     files
> netmasks:   files
> networks:   files
> protocols:  files nisplus
> rpc:        files
> services:   files nisplus
> netgroup:   files nisplus
> publickey:  nisplus
> automount:  files nisplus
> aliases:    files nisplus
>
>
>


-- 
Thanks,

Ed Silva
Silvex Consulting Inc.
esilva at silvex.com
(714) 504-6870 Cell
(714) 897-3800 Fax




More information about the Cod mailing list