[GH-ISSUE #1592] [Feature Request] Multiple Servers with Multiple folders ( Using Symlink to save Space ) #1244

Open
opened 2026-02-27 02:56:05 +03:00 by kerem · 5 comments
Owner

Originally created by @ghost on GitHub (Aug 25, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1592

It would be nice if something like this was available on LinuxGSM
Some files like .cfg files, .ini files, etc, should be unique...

It makes multiple server managing very easier..

Sorry for bad English

Originally created by @ghost on GitHub (Aug 25, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1592 It would be nice if something like this was available on LinuxGSM Some files like .cfg files, .ini files, etc, should be unique... It makes multiple server managing very easier.. Sorry for bad English
Author
Owner

@naxIO commented on GitHub (Aug 26, 2017):

Would love to have that. I'm now running 10 different games with 10 different users but it would be much cooler if I could manage them all through. Also (optional) a neat webinterface for switching servers on/off would be awesome!

<!-- gh-comment-id:325115292 --> @naxIO commented on GitHub (Aug 26, 2017): Would love to have that. I'm now running 10 different games with 10 different users but it would be much cooler if I could manage them all through. Also (optional) a neat webinterface for switching servers on/off would be awesome!
Author
Owner

@UltimateByte commented on GitHub (Aug 27, 2017):

No need to symlink things when game servers allow you to use different config files.
https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Game-Servers

<!-- gh-comment-id:325201039 --> @UltimateByte commented on GitHub (Aug 27, 2017): No need to symlink things when game servers allow you to use different config files. https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Game-Servers
Author
Owner

@ghost commented on GitHub (Sep 7, 2017):

@UltimateByte That different config files is cool enough and I knew about them..
But in some point, Managing servers with different configs is hard, for example in CS:GO there is config files like "gamemode_casual.cfg", Sometimes a file like this affects the Main CFG, I set "mp_freezetime 0" for a server, and this file overwrites that, If I edit this file, then all the servers will be edited...

The same situation for server addons, We can have multiple Sourcemods and define them using "+sm_basepath addons/Server2" but the all of the forked sourcemods will use the same "csgo/cfg/sourcemod" directory

Sorry for bad English again, I hope u understand what I mean

<!-- gh-comment-id:327692772 --> @ghost commented on GitHub (Sep 7, 2017): @UltimateByte That different config files is cool enough and I knew about them.. But in some point, Managing servers with different configs is hard, for example in CS:GO there is config files like "gamemode_casual.cfg", Sometimes a file like this affects the Main CFG, I set "mp_freezetime 0" for a server, and this file overwrites that, If I edit this file, then all the servers will be edited... The same situation for server addons, We can have multiple Sourcemods and define them using "+sm_basepath addons/Server2" but the all of the forked sourcemods will use the same "csgo/cfg/sourcemod" directory Sorry for bad English again, I hope u understand what I mean
Author
Owner

@togenshi commented on GitHub (Oct 22, 2017):

I use layered overlayfs to get around this problem. Lowest Directory is a base LGSM install with minor tweaks then use an upper directory with the instance specific files.

The only issue is updating as all the instances need to be off at the same time. However you can get around this problem by using layered lower directories.

So when a new update comes in, the workflow is an follows:

  1. Create another overlayfs mount over the base install.
  2. Enter the new overlayfs mount and update the server and supporting mods.
  3. Unmount the new overlayfs.
  4. Stop the game instance when convenient, remount the overlayfs with the upperdir of the latest delta and base install.

I would go into more detail but got work soon. But this way allows easy backups (only need the upperdir files backed up) and conforms to best practices of many game servers. I was using ansible for this process.

<!-- gh-comment-id:338490698 --> @togenshi commented on GitHub (Oct 22, 2017): I use layered overlayfs to get around this problem. Lowest Directory is a base LGSM install with minor tweaks then use an upper directory with the instance specific files. The only issue is updating as all the instances need to be off at the same time. However you can get around this problem by using layered lower directories. So when a new update comes in, the workflow is an follows: 1. Create another overlayfs mount over the base install. 2. Enter the new overlayfs mount and update the server and supporting mods. 3. Unmount the new overlayfs. 4. Stop the game instance when convenient, remount the overlayfs with the upperdir of the latest delta and base install. I would go into more detail but got work soon. But this way allows easy backups (only need the upperdir files backed up) and conforms to best practices of many game servers. I was using ansible for this process.
Author
Owner

@dgibbs64 commented on GitHub (Jul 13, 2020):

overlayfs might be a good solution for managing and separating mods and configs

<!-- gh-comment-id:657564718 --> @dgibbs64 commented on GitHub (Jul 13, 2020): overlayfs might be a good solution for managing and separating mods and configs
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1244
No description provided.