====== How to add more Lime-crm Webservers without doing a full reinstall. ====== ==== Requirements ==== Lime-crm on-premise installation 2024.1.1930(2.761.14) or newer. If you have an older installation server upgrade is still required. We assume that you no more than one available web server before following this guide. if you have more simply use your highest increment number plus one as your value, we will assume it's "2" here. ==== NGINX (Lime-crm-webfront) ==== - Modify the nginx config at C:\ProgramData\Lundalogik\LIME Pro Server\nginx\config - Adjust the row for upstream webserver {} and add a webserver as below: upstream webserver { server 127.0.0.1:5442; server 127.0.0.1:5443; } ==== Lime-crm-webserver ==== - Go to: C:\Program Files (x86)\Lundalogik\LIME Pro Server\Lime Services and duplicate lime-crm-webserver yaml and application file. - Update the name of these files with a -2 (or the highest increment available) - Open the lime-crm-webserver-2.yaml file and add "-2" wherever lime-crm-webserver is mentioned, update the name and description similarly as well. - Change the port value from default 5442 to one higher (or highest available if you already have multiple web servers). Check nginx config to be sure or the yaml for the web server with highest number. ==== Register the new service ==== - Open regedit go to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ - locate the lime-crm-webserver folder and export it. (right click and export) - Open the exported file by right click and edit, add your web server increment like “-2” to all names and descriptions. - Save and close file, edit the name of the file with an increment as well. - Double click the .reg file you just edited and it will be added. Now we need to change the imagePath to the lime-crm-webserver-2.exe (application) file you added previously. Change it by right clicking and choose modify.