SRCDS Steam group


Dedicated Server[s]
#1
Hi All,

First time caller long time listener.

I currently administer several dedicated servers running on two boxes. And my question relates to having 2 or more servers running on the one box at the same time.

At the moment I have a configuration similar to this: source files are stored in /home/cssource/cs01, /home/cssource/cs02, /home/cssource/cs03... each of these services are launched in their own PID/Screen. Problems with this is obviously maintenance, updating 3 css installations at the same time is a pain in the ass. We also run Mani Mod (praise the lord for that).

I realise that several 'instances' or source can be run from the 1 installation (using different configs, easy)... are you however able to have seperate Mani Mod or cfg directories for each server and call them when required?

Example:
/home/cssource/cstrike/cfg01/mani_admin
/home/cssource/cstrike/cfg02/mani_admin
/home/cssource/cstrike/cfg03/mani_admin

If anybody could shed some light on this for me it would be greatly appreciated. A tutorial (if available) would be awesome. Thanks in advance.
Reply
#2
Smile 
For your first server. create a server cfg called cs01, second cs02 third cs03 and so on (You can name them whatever you want, just remember them.) Then add +servercfgfile cs01.cfg to your first servers command line, and +servercfgfile cs02.cfg to the second one, and so on.

Hope I understood your question right Toungue
Reply
#3
There are ways of create special symlinks, it'll link to the main dir. for example:

cs02 is linked to cs01 where cs01 is the main dir, and cs02 is just the symlinked directory. Now if you edit cs02 you won't edit cs01, but if you edit cs01 changes get made in cs02 as well, this including when you update the game. I can't remember how to do this, but you can man ln
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#4
From my personal experience I found found less problems using a symbolic link. Running everything from the same dir with just different cfg files always messes things up for me after running for a few hours. I create different users for each server, css1 - css? create a cstrike folder for each server, containing the CFG folder that I want used for that one install. Then I symlink the rest of the dirs and files I need from one main install.
Personal Service for Clans & Communities - Fragon.net
Game Servers, Teamspeak, Web Hosting, Dedicated Servers
=== 7 day FREE Trial on ALL Teamspeak servers! ===
=== http://www.fragon.net OR IRC.fragon.net:6667 ===
*** Fragon now has IRC! Join our Network today! ***
Reply
#5
This also makes it MUCH easier to kill all processes from one server.

ps -U css1 | grep srcds | awk '{print $1}' | xargs kill -9

css1 being the username for the server I want killed.
Personal Service for Clans & Communities - Fragon.net
Game Servers, Teamspeak, Web Hosting, Dedicated Servers
=== 7 day FREE Trial on ALL Teamspeak servers! ===
=== http://www.fragon.net OR IRC.fragon.net:6667 ===
*** Fragon now has IRC! Join our Network today! ***
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)