Jump to content

Multiple DCS servers on one machine?


Recommended Posts

How do i set up 2 servers on one machine? Anyone have a how to guide?

 

Basically you just need to create two different shortcuts of your DCS server binary, and add for each one a specific "working folder". Start the game/server one at a time, wait to finish loading, and close it. In this way DCS create for you the folders and all files needed, then you can(have to) edit the config file, remember to specify different port for each server.

 

On my server I have this two shortcuts:

 

DCS.exe --server --norender -w Krasnodar
DCS.exe --server --norender -w PersianConquest

 

So in my SavedGames folder I have:

abhLK2Cf0mi3RSz6RTvdqQAhAnMrr4

 

So....just add -w <yourservername> and you're ready to go


Edited by Maverick87Shaka

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

  • ED Team

If you want to run and control via web-gui two and more DCS servers, you have to:

 

1. Assign different home folders using -w key as described in post Maverick87Shaka

2. Assign different DCS port (default 10308, second, third etc. ones must be different ) - file serverSettings.lua in home Config folder

3. Assign different control ports in (home Config folder) autoexec.cfg (webgui_port parameter)

 

See this post (russian): https://forums.eagle.ru/showpost.php?p=3893624&postcount=18

 

attachment.php?attachmentid=209347&d=1556269832

 

attachment.php?attachmentid=209349&d=1556270468

Men may keep a sort of level of good, but no man has ever been able to keep on one level of evil. That road goes down and down.  
Можно держаться на одном уровне добра, но никому и никогда не удавалось удержаться на одном уровне зла. Эта дорога ведёт вниз и вниз.

G.K. Chesterton

DCS World 2.5: Часто задаваемые вопросы

Link to comment
Share on other sites

Excellent info, will keep it in mind for when I upgrade my server hardware, as it would allow me to have a training server together with a combat one :)

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

  • 2 weeks later...

You don't need separate program installs.

You need separate write folders.

Initialized by one or multiple batch files.

edit: .bat file example:

start dcs.exe --server --norender -w serverFolder1
start dcs.exe --server --norender -w serverFolder2

 

my second installs config\autoexec.cfg:

disable_write_track = true
webgui_port = 8089

 

and working with my web browser here after i manually update the port to 8089 (from default 8088 )

file:///C:/DCS_open_beta/WebGUI/index.html#/en/settings


Edited by discwalker

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Link to comment
Share on other sites

  • 3 months later...
ok i cant find my autoexec.cfg file for either server?

 

Create it from the scratch, don't worry if it doesn't exist at the moment. Put it inside saved game, config folder, and that's it.

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

  • 1 month later...

I tried according to supported instructions. I have two problems. First, DCS DLC Registration. On the first server I don't have this at startup. Secondly, the program freezes and not all files are created in the home directory.

 

 

I tried with logging in on the same account and on two different ones

 

Przechwytywanie.PNG.469a43489e3a2a11c6e7a54a8f2f13b4.PNG

 

Log:

 

Can't load render backend 'dx11backend.dll' Can't find mod...

Edited by ravczyPL
Link to comment
Share on other sites

Ok, --server --norender resolve my issue but i have another :)

 

2020-03-24 21:22:40.674 INFO Dispatcher: Terrain theatre

2020-03-24 21:22:40.674 INFO Dispatcher: Start

2020-03-24 21:22:40.688 INFO Dispatcher: Terrain theatre

2020-03-24 21:22:40.689 ERROR Dispatcher: Failed to load terrain

2020-03-24 21:22:40.689 INFO Dispatcher: Stop

2020-03-24 21:22:40.690 ERROR VFS: VFS_open_write: CreateFile(C:\Users\DCS\Saved Games\DCS.openbeta_server_2\Tracks/.trk): Unknown error

2020-03-24 21:22:40.690 ERROR Dispatcher: Cannot save track: Cannot open C:\Users\DCS\Saved Games\DCS.openbeta_server_2\Tracks/.trk

2020-03-24 21:22:41.146 INFO Config: netview stopped

2020-03-24 21:22:41.146 INFO TERRAIN: lSystem::CleanScenes()

2020-03-24 21:22:41.147 INFO EDCORE: (dDispatcher)enterToState_:3

Link to comment
Share on other sites

Ok, --server --norender resolve my issue but i have another :)

 

Your windows user that are actually running the dcs.exe seems doesn't have write permission on C:\Users\DCS\Saved Games\DCS.openbeta_server_2\ folder

 

It's a common error when you're trying to "impersonate" an application, "run as..."

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

  • 3 months later...

I've hit a roadblock while trying to set up 2 servers on one machine. The first server works fine, but when I try to run the second one, using the method described above, it logs in fine, but then nothing else happens and I'm left unable to click anywhere until I force dcs to close via task manager. Any ideas would be greatly appreciated.

 

 

*I can't have it run OK after adding the -w "server name" command. ("C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin\DCS.exe" -w server1) It's at that point that it always locks up and won't produce a white screen as it does when I run the default "DCS World OpenBeta Server" shortcut.

 

 

**[sOLVED] I've solved the issue by alt-tabbing into another window and running the webgui from there.


Edited by Invisibull
update

i9 9900k - GTX 2080 Ti - MSI Z87 GD65 Mobo - 64GB HyperX Predator RGB DDR4 3200MHz - Win10 64 bit - TM Warthog w FSSB R3 mod - TrackIr 5.

 

 

 

Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...

Since the hotfix we can get one server only running.  Anyone else having this issue?

 

VCAW-99_sig_ED_BD-3.png

 

Alienware New Aurora R15 | Windows® 11 Home Premium | 64bit, 13thGen Intel(R) Core(TM) i9 13900KF(24-Core, 68MB|  NVIDIA(R) GeForce RTX(TM) 4090, 24GB GDDR6X | 1 X 2TB SSD, 1X 1TB SSD | 64GB, 2x32GB, DDR5, 4800MHz | 1350W PSU, Alienware Cryo-tech (TM) Edition CPU Liquid Cooling  power supply | G2 Rverb VR

Link to comment
Share on other sites

It seems we can only run Syria and Caucasus theatre mission on our server; Nevada and Persian Gulf will not load.

 

VCAW-99_sig_ED_BD-3.png

 

Alienware New Aurora R15 | Windows® 11 Home Premium | 64bit, 13thGen Intel(R) Core(TM) i9 13900KF(24-Core, 68MB|  NVIDIA(R) GeForce RTX(TM) 4090, 24GB GDDR6X | 1 X 2TB SSD, 1X 1TB SSD | 64GB, 2x32GB, DDR5, 4800MHz | 1350W PSU, Alienware Cryo-tech (TM) Edition CPU Liquid Cooling  power supply | G2 Rverb VR

Link to comment
Share on other sites

On 1/5/2021 at 1:26 AM, BoneDust said:

It seems we can only run Syria and Caucasus theatre mission on our server; Nevada and Persian Gulf will not load.


Uhm, we can run all the instance at the same time without any issue, on all different map that we're usual to host, Caucasus,Syria and Persian Gulf.
I suspect it's your configuration or mission that requires something special and crash the server. what DCS.log says?


Edited by Maverick87Shaka

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

On 1/7/2021 at 1:14 PM, Maverick87Shaka said:


Uhm, we can run all the instance at the same time without any issue, on all different map that we're usual to host, Caucasus,Syria and Persian Gulf.
I suspect it's your configuration or mission that requires something special and crash the server. what DCS.log says?

 

Thanks.  We ended up cleaning our server install, reinstalling DCS and that fixed the issue.

 

VCAW-99_sig_ED_BD-3.png

 

Alienware New Aurora R15 | Windows® 11 Home Premium | 64bit, 13thGen Intel(R) Core(TM) i9 13900KF(24-Core, 68MB|  NVIDIA(R) GeForce RTX(TM) 4090, 24GB GDDR6X | 1 X 2TB SSD, 1X 1TB SSD | 64GB, 2x32GB, DDR5, 4800MHz | 1350W PSU, Alienware Cryo-tech (TM) Edition CPU Liquid Cooling  power supply | G2 Rverb VR

Link to comment
Share on other sites

  • 2 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...