[cod] Semi off topic: COD rentals
Nathan P.
natedog550 at hotmail.com
Fri Sep 24 17:53:56 EDT 2004
If you don't want to read up on the virtual interfaces here's a cut and dry
way to do it.
On Red Hat. In the folder: /etc/sysconfig/network-scripts/
Let's create a virtual interface.
Create a file and name it: ifcfg-eth0:0
Inside the file it contains:
DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=XXX.XXX.XXX.XXX
NETMASK=XXX.XXX.XXX.XXX
GATEWAY=XXX.XXX.XXX.XXX
Then you can issue a ifup eth0:0
To take it down: ifdown eth0:0
And now when the system reboots it will automatically launch that virtual
interface.
For more just name them accordingly - eth0:1 etc etc
--
NateDog
> -----Original Message-----
> From: Chris Adams [mailto:chris at fragzzhost.com]
> Sent: Friday, September 24, 2004 4:40 PM
> To: cod at icculus.org
> Subject: RE: [cod] Semi off topic: COD rentals
>
> Most GSPs use the fs_homepath and fs_basepath wherever possible afaik.
> For games like BF1942 and HL though, symlinking or another similar
> method is necessary. We have a central game cache with the files for all
> the games that we support on our master server which is then deployed
> out to slave boxes, and updates pushed across when necessary by the
> system. Servers for CoD for example then just run off the central game
> cache with fs_homepath, fs_basepath and fs_userpath.
>
> > Are people using some sort of "virtual linux" installs to run multiple
> servers on one box with seperate IP addresses?
>
> No just one linux installation with different ports for the different
> servers. Sometimes we chuck another few IPs on a box so that more people
> can get the default ports. This is easily done by adding a virtual
> interface in the network configuration (man ifconfig)
>
> Hope that cleared a few things up :)
>
> -----------------------------------------------
> Chris Adams
> Fragzzhost
>
> T (07005) 964 855
> F (07005) 964 857
> www.fragzzhost.com
>
>
> -----Original Message-----
> From: Nathan P. [mailto:natedog550 at hotmail.com]
> Sent: 24 September 2004 22:28
> To: cod at icculus.org
> Subject: RE: [cod] Semi off topic: COD rentals
>
> I saw peeps doing exactly what you do there also. But I found this site
> where a guy was talking about symlinks:
> http://gameadmins.com/modules.php?name=Sections&op=viewarticle&artid=27
>
> Thought I'd give it a try and it works nice.
>
> One thing I'm wondering is I keep seeing where peeps are limiting their
> clients disk space. Do you think they're using Disk Quotas for that?
>
> --
> NateDog
>
>
> > -----Original Message-----
> > From: Glanzer [mailto:glanzer at glanzer-net.com]
> > Sent: Friday, September 24, 2004 4:20 PM
> > To: cod at icculus.org
> > Subject: Re: [cod] Semi off topic: COD rentals
> >
> > Hmmm, never thought of using symlinks for the separate instances.
> >
> > I use multiple startup command scripts that specify the IP and port on
> the
> > command line along with a value for "fs_homepath" (+set fs_homepath
> > /mypath/codlinux) so that all the logs (server and pb logs) are kept
> > separate for each instance.
> >
> > --Glanzer
> > (Moderator of http://www.codboards.com)
> >
> >
> > ----- Original Message -----
> > From: "Nathan P." <natedog550 at hotmail.com>
> > To: <cod at icculus.org>
> > Sent: Friday, September 24, 2004 5:08 PM
> > Subject: RE: [cod] Semi off topic: COD rentals
> >
> >
> > > I just had that question recently also. I did some research on the
> > internet
> > > and a lot of peeps are doing symlinks. I tried it with MOH:AA and
> it
> > works
> > > beautifully, not sure if that's the "right" way to do it but it's
> pretty
> > > cool cause' you have one base install and symlinks in the other
> client
> > > folders.
> > >
> > > --
> > > NateDog
>
>
More information about the Cod
mailing list