Multi-Tenancy
Submitted by Guest on Tue, 19/02/2019 - 12:22
Hi
I am new to the forum. I would like to know if openVPMS can be used in a multi-tenant setup. Are there any special settings provided to enable multi tenancy.
I was also going thru the code base and realized that most of the changes were made made in long back in 2011. Is this project not under active development.
Thanks
Rafi
Re: Multi-Tenancy
Depends by what you mean by a multi-tenancy setup. What are you trying to achieve?
OpenVPMS is under active development. See the Bitbucket repository at https://bitbucket.org/OpenVPMS/openvpms .
Most development at present is taking place on the 2.1-dev branch.
Re: Multi-Tenancy
Clinic A Owned and operated by Mr A
Clinic B Owned and operated by Mr B
Clinic C Owner and operated by Mr C
All the Clinics can connect to the same instance of Tomcat Server hosted in the cloud . The URLs will off course be different for each one of the clinics like say :-
clinicA.xxxx.com
clinicB.xxxx.com
clinicC.xxxx.com
When Mr A logs into clinicA.xxxx.com he must only view and manage objects relevant to clinic A and likewise for Mr B and Mr C. Can this type of configuration setup be achieved without too much engineering effort.
Let me know if this is clear enough.
Thanks
Rafi
Re: Multi-Tenancy
Another Question:-
What is the install base of OpenVPMS in the USA . How many clinics are using this Software . Do you know.
Thanks
Rafi
Re: Multi-Tenancy
Rafi there are a number of ways of achieving that config...using a combination of changing paths / clinic plus a apache webserver proxy etc
Your looking at a cloud based button click rollout it is possible you just need a good sysadmin that is familiar with tomcat.
OpenVPMS is a tomcat application and thus could be treated as any other tomcat application.
I would argue that OpenVPMS's user security needs improvement beyond a clear text user/pass config but again even in the current state its manageable
Re: Multi-Tenancy
Thanks Ben.
Re: Multi-Tenancy
Some things to be aware of:
Re: Multi-Tenancy
Hi Rafi,
The simple answer is No. To support this you will need a separate tomcat instance and database for each customer as OpenVPMS only supports a single practice with shared customers and products etc. You can obviously give the impression of multi-tenancy by careful design of your front end application load balancers/proxies, banks of managed tomcat instances, a shared database server with individual databases per practice and a suitable dev-ops environment.
Cheers
Tony
Re: Multi-Tenancy
Thanks Tony,