dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45946
Re: [Dhis2-users] Multiple DHIS2 instances on a Single Server
Hi Gerald
What Seth describes is pretty much what dhis2-tools does. It just
partially automates some of the setup and takes care of some fiddly
things like serving static files through cache, rotating backups etc.
And you have dhis2-tools running on sl.dhis2.org.
Simon Jespersen has been working on the latest version packaged as a
ppa. You can get it from
https://launchpad.net/~simjes91/+archive/ubuntu/dhis2-tools.
One small detail, the instance create script is still making a
hibernate.properties file. You can easily copy the detail of that
into a dhis.conf file.
And yes you need to configure nginx to route requests to the different
instances.
Bob
On 14 July 2016 at 04:04, gerald thomas <gerald17006@xxxxxxxxx> wrote:
> Seth,
> Thanks very much for your help. So it is on the ngnix that we define the
> path of each instances?
>
> Regards,
> Gerald
>
> On Jul 14, 2016 2:59 AM, "Seth Okeyo" <sokeyo@xxxxxxxx> wrote:
>>
>> Hello Gerald.
>> I have done that before, you only need to set up different databases on
>> postgresql (Naming them differently) then creating dhis2 instances with the
>> same names you used in the database., this is done by renaming the war file
>> before exploding in tomcat. Set the database connection in the .conf Files
>> then environmental variables. You should be good to go.
>> Regards
>> Seth Okeyo
>> Dndi Africa
>>
>>
>> Envoyé à partir de mon Samsung.
>>
>>
>> -------- Original message --------
>> From: gerald thomas
>> Date:13/07/2016 12:31 PM (GMT+03:00)
>> To: dhis2-users , dhis2-devs
>> Subject: [Dhis2-users] Multiple DHIS2 instances on a Single Server
>>
>> Dear All,
>> We will be creating multiple instances on a single server with a single
>> public IP. I am inquiring how can this be done because i haven't done this
>> before.
>>
>> Regards,
>> Gerald
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
References