SRCDS Steam group


Multiple CSS and one machine
#1
I run 5 Counter Strike Source Dedicated Servers on one machine.

Wich is better.

Run independents installations of HLDS or run 1 installation with diferents cfgs (server, mapcycle, etc.)
Reply
#2
I don't think there is really a better option, running off one installation will leave you with more HD space.

I prefer to run mine separately just because it makes it easier and less confusing when changing configs and plugins etc.
Clan of Doom: www.clanofdoom.co.uk






Reply
#3
Pretty sure you won't really see a performence increase (I'm not really sure, someone would have to test that) but you save like 12 GB of HD space if that matters to you Smile
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#4
First, thank you for replying
Space isnt a problem, im looking for best performance.

One more question.

I run 5 independents installations of hlds in one machine, when 1 user is banned on one server, how can i do to copy that to the others servers ?
by ip, steam_id, or else.

PS: Sorry for my english.
Reply
#5
Well if the share one installtion, it does it automatically. You could setup a batch script possible but you can just do it by hand. In the cstrike/cfg/ folder there should be two files called banned_id (or something like that) and banned_ip. Just copy those over from the server you banned the people in, into the other server's cfg folder and overwrite that server's files.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#6
Spartanfrog Wrote:Well if the share one installtion, it does it automatically. You could setup a batch script possible but you can just do it by hand. In the cstrike/cfg/ folder there should be two files called banned_id (or something like that) and banned_ip. Just copy those over from the server you banned the people in, into the other server's cfg folder and overwrite that server's files.

One installation doesn't do it automatically. One server will overwrite the other.

Manually copying the files is also out of the question. Did you think what kind of hassle it will be with five servers?!

I think there are ban scripts all over the 'net for this kind of systems. You aren't the first one having multiple servers, wanting to have common ban file. I've seen script which combined two ban file every 10 minutes or so. It's something like:

cat .../server1/banned_user.cfg .../server2/banned_user.cfg |sort -u >/tmp/banned_user.cfg; /bin/cp -f /tmp/banned_user.cfg .../server1/banned_user.cfg ; /bin/cp -f /tmp/banned_user.cfg .../server2/banned_user.cfg

It's got to be done that way so the ban files don't overwrite bans in other files.

One option is also to use some kind of server plugin which stores the bans to database. Then all the servers use the common database for bans. My guess is that there are plugins for that too.


About running the servers from one install with separate cfgs or with all separate installs. I've written partial instructions how to set up shared memory content for multi-server systems. Some feedback is already here.

Then you can also take a look at what Nephyrin Zey has made. He's one true srcds wizard.

http://list.valvesoftware.com/mailman/private/hlds_linux/2008-June/056691.html (requires registration)
http://www.nephyrin.net/tools/nemrun/0.7/

Nephyrin Zey Wrote:Hey guys,

I've written a srcds_run replacement script called 'nemrun' along with
a helper python script 'srcupdatecheck'. This script is meant to be a
no-nonsense srcds_run replacement with some advanced features:
- Able to handle -autoupdate, including on orangebox games and setups
with ./steam in an unusual place

- Able to update servers that share a install directory:
- First server to detect an update on restart (from
map-change-restart provided by -autoupdate, or due to a manual 'quit'
or other exit/crash) will 'lock' the directory with an update.lock
file
- Lots of other features [read the rest from the mailinglist]

If I were to run several srcds installations, I would definitely use nemrun.
Reply
#7
One installation does share a banned_ip and banned_id list. All you do with using one installation is specify a different map list, server.cfg file, map cycle, motd, etc. You STILL share the banned_ip and banned_id list, it doesn't "overwrite" it. And yes I did think of the hassle?!? I'm sorry if you don't want to spend all of five minutes copying over the server files when you ban someone...unless you are a ban freak that is. It is really up to the original poster than you to decide if that person wants to copy and paste the ban files. Especially since he said how do you copy the ban files over.

However really I would recommend making a batch file to copy the files over and a certain time of day. It's pretty easy to do. I also would be highly suprised if there wasnt a global ban system *cough* http://addons.eventscripts.com/addons/view/GlobalBan *cough* Smile.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#8
I just noticed I posted some Linux stuff on this Windows forum, so ignore my previous post.

Spartanfrog Wrote:One installation does share a banned_ip and banned_id list. All you do with using one installation is specify a different map list, server.cfg file, map cycle, motd, etc. You STILL share the banned_ip and banned_id list, it doesn't "overwrite" it.
Are you absolutely sure? At least on Linux I've read that servers started from the same directory keep overwriting the ban files, so the banfile is representing only one of the servers' ban list at any certain point in time.

Spartanfrog Wrote:And yes I did think of the hassle?!? I'm sorry if you don't want to spend all of five minutes copying over the server files when you ban someone.
I've got only one server, but we've got many admins. It'd be extremely silly to start copying ban file to five places if some admin bans someone. With five servers it'd be five times more complicated. What would happen when two admins ban different player on two servers? Then neither of the ban files would be "fresh".

I recommend the global ban plugin.
Reply
#9
I have run two servers from the same install on Windows and the ban files worked perfect. You can just add the steam ID to each file, you dont have to copy and paste the entire file. As I said in a previous post, I was just answering his question on how to COPY the files. Of course it would be better to have a global ban system...which I also said.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#10
Do somebody know a good global ban system ?
Reply
#11
I believe hlstatsx will do global banning. Other than that theres a few sourcemod plugins. Haven't used any of them offhand.
Reply
#12
http://addons.eventscripts.com/addons/view/GlobalBan
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#13
thank you
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)