Tremulous Forum
Community => Servers => Topic started by: demonheadx on April 08, 2007, 06:53:28 pm
-
I want to know if it's possible if i can run multiple servers on 1 box.
I want each server to run a different mod.
Can this be done with linux and windows?
Thanks for your help!
-
Yes, it's possible, but it's probably not a good idea to divide your resources any more than necessary.
You can, in fact, run one tremded several times with different fs_games
-
Yes i do it. Just make sure if you want a Normal server dont put the Dom VM in the base folder and try to start a normal server. >_< It took me forever to figure out why my server didn't work. XD
-
Yes it is possible.
You need separate tremulous directories. Ask robug if you ever see him. He's running 3 servers on one box.
-
iirc you need to use different ports
-
It automacticaly switches to the next open port at server start up.
-
Yes it is possible.
You need separate tremulous directories. Ask robug if you ever see him. He's running 3 servers on one box.
No you don't. You can use the same binary more than once.
-
Run it under different users. Config info is stored in the individual users home directories, the rest they can share like map files, binaries, etc. Configure for different IPs or ports though.
-
yea, you do need different ports or DNS.
At a lan party i set up, we had access to an XSERV cluster, 50+ machines in a supercluster (acting as one comp), and we ran 15 trem games at once, plus one domination, one balance mod, and one tremx.
-
yea, if you're using linux i can give you a hand, if you're using windows..sucks for you.
-
Run it under different users. Config info is stored in the individual users home directories, the rest they can share like map files, binaries, etc. Configure for different IPs or ports though.
Yes thats what I do, I run about 6 servers off one box. But most of them are not different accounts, I only have 3 accounts and running 6 servers. I just got a new box and thinking of throwing more servers on it. But thats what I do.
-
ok i have figured out how to run both servers but need to figure out how to have seperate server.cfg's in order for my servers to be named differently
-
Rabbitt"]ok i have figured out how to run both servers but need to figure out how to have seperate server.cfg's in order for my servers to be named differently
Specify the IP, Port and Server config file on the startup command line:
./tremded.x86 +set net_ip 72.36.180.26 +set dedicated 2 +exec server.cfg +set net_port 27960
see bolded text.
-
Rabbitt"]ok i have figured out how to run both servers but need to figure out how to have seperate server.cfg's in order for my servers to be named differently
normally you start up with +exec server.cfg right?
just start your other servers with +exec server2.cfg or +exec balance.cfg or +exec ihaveadogwithnonose.cfg
As long as those files exist and are accessible by the binary (so they're somewhere sensible), it doesn't matter what they are called.
-
Ok im not understanding if i need to put the net poet part into my .bat file or not.
I changed the port number and all but i would think it would work witht the same ip right ?
-
Now im wondering about having different admin files so theres different admins on my servers.
Any suggestions of fixing this ?
-
Run it under different users. Config info is stored in the individual users home directories, the rest they can share like map files, binaries, etc. Configure for different IPs or ports though.
Er, no. Easier to just do tremded +exec server1.cfg tremded +exec server2.cfg and so on.
-
Rabbitt"]Now im wondering about having different admin files so theres different admins on my servers.
Any suggestions of fixing this ?
The g_admin cvar points to the admin file, so go into the serverX.cfg file for each server and insert the line set g_admin "admin2.dat" or "balance.dat" or "howdoeshesmell.dat".