Hello Team,
We have Windows Server 2019 and we want to setup two Dhis2 instance in a single window server. Single application is working fine. Could you please guide?
Thanks
Hello Team,
We have Windows Server 2019 and we want to setup two Dhis2 instance in a single window server. Single application is working fine. Could you please guide?
Thanks
Hi @MohinderS
It is possible to get Tomcat to run more than one dhis2 instance except that you’ll have to ensure that the dhis.conf for each instance is configured to direct to the correct DHIS2_HOME, and also deploying the WAR files correctly (naming the war files something other than root.war or adding Context to server.xml file).
However, I’m guessing you are thinking something more like Clustering which is described in the docs. And maybe you’re considering metadata synchronization?
Hello @Gassim ,
Thanks for your response. I have tried it in the Linux machine and we have setup multiple instances there. But in Window it would be different method.
Thanks
@MohinderS I favor Linux. So if worked well on Linux why are going for Windows or your client is the one need Dhis2 on windows
Hello @Shapr0019,
The client’s data center is providing only Windows Server. Anyway, I will talk to the client again and see if he can provide a Linux server.
Thanks
Hi @MohinderS
I think @Shapr0019 suggestion is great. However, it’s still possible for us investigate the issue around why the multiple instances aren’t working in your Windows Server. If you could share what are the differences between the instances that are working and those that aren’t in terms of configuration and logs?
Thanks!
Hello @Gassim ,
Sorry for the delay response.
We have a client that is used only window servers. We have suggested their Datacenter for the Linux server, but they deny. Don’t know the reason.
Anyway, We have used two window servers to host two application and both are working fine.
Thanks
Thanks