Author Topic: possible to run multiple servers at once?  (Read 3217 times)

infestor1

  • Posts: 142
  • Turrets: +6/-28
    • 345356745i624567
possible to run multiple servers at once?
« on: July 31, 2009, 06:24:49 pm »
So for my clan that i am working on, i will be having 2 servers. A private (password protected) and public.

I am already hosting the public 24/7, but I would like to bring the private one up if we are having practice or something like that.

So how do i host 2 servers at once? Would i need to have a whole different base folder and everything? Or could i have a different server.cfg and different admin.dat and set g_admin to the diffferent admin.dat and "exec server2.cfg" in my startup command?

K thanks. :P

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: possible to run multiple servers at once?
« Reply #1 on: July 31, 2009, 07:02:06 pm »
You can use the same main install (where tremded is) but will need a different fs_homepath.
I run every server under it's own user, but you can also set fs_homepath to ~/.tremulous2 or whatever in the command line.

I don't think every file you would need to rename has a cvar to do it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Archangel

  • Guest
Re: possible to run multiple servers at once?
« Reply #2 on: July 31, 2009, 07:09:42 pm »
different usernames is the easiest method

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: possible to run multiple servers at once?
« Reply #3 on: July 31, 2009, 08:30:52 pm »
timtowtdi
You can probably get away with only having different g_admin, g_adminLog, and g_log/File between servers, assuming you care about them.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: possible to run multiple servers at once?
« Reply #4 on: August 01, 2009, 01:46:26 am »
timtowtdi
You can probably get away with only having different g_admin, g_adminLog, and g_log/File between servers, assuming you care about them.
there's still a small chance server_autogen.cfg will get trashed if you do that.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----