Tricky11 Posted October 12, 2019 Posted October 12, 2019 How do i set up 2 servers on one machine? Anyone have a how to guide?
Maverick87Shaka Posted October 14, 2019 Posted October 14, 2019 (edited) 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: So....just add -w <yourservername> and you're ready to go Edited October 14, 2019 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!
ED Team USSR_Rik Posted October 14, 2019 ED Team Posted October 14, 2019 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 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: Часто задаваемые вопросы
Rudel_chw Posted October 14, 2019 Posted October 14, 2019 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 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Tricky11 Posted October 26, 2019 Author Posted October 26, 2019 ok let me get this straight.. i dont need to separate installs?
discwalker Posted October 26, 2019 Posted October 26, 2019 (edited) 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 October 26, 2019 by discwalker GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD
Tricky11 Posted February 20, 2020 Author Posted February 20, 2020 ok i cant find my autoexec.cfg file for either server?
Maverick87Shaka Posted February 20, 2020 Posted February 20, 2020 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!
Tricky11 Posted February 20, 2020 Author Posted February 20, 2020 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. Ahhh thanks ever so much
ravczyPL Posted March 24, 2020 Posted March 24, 2020 (edited) 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 Log: Can't load render backend 'dx11backend.dll' Can't find mod... Edited March 24, 2020 by ravczyPL
ravczyPL Posted March 24, 2020 Posted March 24, 2020 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
Maverick87Shaka Posted March 24, 2020 Posted March 24, 2020 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!
ravczyPL Posted March 25, 2020 Posted March 25, 2020 I resolved this issue in another way. I copy all files and change some parameters, and works fine.
Invisibull Posted July 11, 2020 Posted July 11, 2020 (edited) 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 July 11, 2020 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.
KaptinKaos Posted December 22, 2020 Posted December 22, 2020 (edited) Anyone have a fairly straight forward solution to restarting multiple servers on the same machine? I am failing at life and can't get more than one of my servers to restart using these. DCS Restart Script EN Instance 1.bat DCS Restart Script EN Instance 2.bat DCS Restart Script EN Instance 2.bat Edited December 22, 2020 by KaptinKaos
BoneDust Posted January 4, 2021 Posted January 4, 2021 Since the hotfix we can get one server only running. Anyone else having this issue? 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 | Pimax Crystal VR
BoneDust Posted January 5, 2021 Posted January 5, 2021 It seems we can only run Syria and Caucasus theatre mission on our server; Nevada and Persian Gulf will not load. 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 | Pimax Crystal VR
Maverick87Shaka Posted January 7, 2021 Posted January 7, 2021 (edited) 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 January 7, 2021 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!
BoneDust Posted January 9, 2021 Posted January 9, 2021 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. 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 | Pimax Crystal VR
Quicksplice Posted May 29, 2023 Posted May 29, 2023 Step by step: For those looking to Create multiple server instances on one machine, 7th Fleet created an instruction book to supplement the forum posts on how to do so: https://docs.google.com/document/d/1a9QKMhSPMF-gS4rAH-mWc45ziD1mooleQGQnwa9JoDs/edit?usp=sharing 1 2
Recommended Posts