06-21-2005, 11:04 PM (This post was last modified: 06-21-2005, 11:18 PM by [eMOD]Bandit.)
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?
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.
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
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.
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.