Message Boards

Multitenancy In Liferay

thumbnail
Umesh Kumar, modified 9 Years ago.

Multitenancy In Liferay

New Member Posts: 8 Join Date: 9/2/13 Recent Posts
Hi All,
I want to design my liferay portal using multitenancy , My requirement is that,
I have one company A web portal (Parent Company), under this company so many applications (child applications of A,Each application points one client of Company A) running.
all applications having common users setup(May be LDAP) .
Each application having its own separate data based on region or other criteria (Private data). its confidential, we cant share it with other client (application).
All application Client want monthly data backup and some encryption/ decryption on data.
we can launch each application inside our web portal company A.
Can Anyone Help me...........???
thumbnail
David H Nebinger, modified 9 Years ago.

RE: Multitenancy In Liferay

Liferay Legend Posts: 14914 Join Date: 9/2/06 Recent Posts
Liferay already does this for it's internal entities. If you use ServiceBuilder, you can too by adding the company ID and group ID columns.

For your custom portlets they just need to be aware of the current user's company and group IDs in order to pull data relevant only to them.

This is quite a common scenario for Liferay usage.
thumbnail
Umesh Kumar, modified 9 Years ago.

RE: Multitenancy In Liferay

New Member Posts: 8 Join Date: 9/2/13 Recent Posts
Thanks David for your quick response. I knew what you are saying, and in fact implemented the same (by using company id & group id columns) in my custom portlet.

But my question was regarding multi-tenancy. Even though the data can be easily retrieved based on the company id and group id, there are some clients who insists on having their data stored in a separate database which can easily be archived and backed up when needed. This also increases the security for their sensitive data. I have learnt that we can achieve this by using data shrading and creating multiple portal instances for each such client. But in this case, the users, sites, organization and portlets in each instance are different. I request you to confirm if this is the right way, or is there any better method to accomplish multi-tenancy in a true sense.
thumbnail
David H Nebinger, modified 9 Years ago.

RE: Multitenancy In Liferay

Liferay Legend Posts: 14914 Join Date: 9/2/06 Recent Posts
Sharding affects segregation and scaling for the data, but it won't do anything about the indexes (which pull everything together again).

If you must segregate data, I would use SB w/ external database(s).

The problem is that the ones saying "my data must be separate" are like the kids in the back seat of the car screaming "He's touching me! Make him stop!". It's just an impression they need to have to think that their data is safe from everyone else, but in reality it is just fine for them to be sharing the back seat with all of their siblings, no one is taking each other's data and it's all good.

Convincing them of that, of course, is a challenge ;-)
thumbnail
Umesh Kumar, modified 8 Years ago.

Re: [Liferay Forums][General] Multitenancy In Liferay

New Member Posts: 8 Join Date: 9/2/13 Recent Posts
umesh.kumar@spanservices.com


On Thu, Aug 7, 2014 at 12:50 PM, Umesh Kumar from liferay.com <
forums@liferay.com> wrote:

> Hi All,
> I want to design my liferay portal using multitenancy , My requirement is
> that,
> I have one company A web portal (Parent Company), under this company so
> many applications (child applications of A,Each application points one
> client of Company A) running.
> all applications having common users setup(May be LDAP) .
> Each application having its own separate data based on region or other
> criteria (Private data). its confidential, we cant share it with other
> client (application).
> All application Client want monthly data backup and some encryption/
> decryption on data.
> we can launch each application inside our web portal company A.
> Can Anyone Help me...........???
>
>
> To view the thread, follow the link below:
>
> https://www.liferay.com/community/forums/-/message_boards/view_message/41105972
> --
> Liferay.com <https://www.liferay.com>




--

Thanks & Regards

*UMESH KUMAR*

Trainee Software Engineer

[image: Description: Description: Description: Description: spanedbergologo]

SPAN Infotech (India) Pvt. Ltd.

ISO 9001, ISO 27001 and CMMI 5 Certified Company

Work: +91-80- 6738-8000 Extension: 8185

Cell: +91- 7795186295

www.spansystems.com

A part of the Nordic IT group *EVRY*
thumbnail
Umesh Kumar, modified 8 Years ago.

Re: [Liferay Forums][General] Multitenancy In Liferay

New Member Posts: 8 Join Date: 9/2/13 Recent Posts
umesh.kumar@spanservices.com


On Thu, Aug 7, 2014 at 12:50 PM, Umesh Kumar from liferay.com <
forums@liferay.com> wrote:

> Hi All,
> I want to design my liferay portal using multitenancy , My requirement is
> that,
> I have one company A web portal (Parent Company), under this company so
> many applications (child applications of A,Each application points one
> client of Company A) running.
> all applications having common users setup(May be LDAP) .
> Each application having its own separate data based on region or other
> criteria (Private data). its confidential, we cant share it with other
> client (application).
> All application Client want monthly data backup and some encryption/
> decryption on data.
> we can launch each application inside our web portal company A.
> Can Anyone Help me...........???
>
>
> To view the thread, follow the link below:
>
> https://www.liferay.com/community/forums/-/message_boards/view_message/41105972
> --
> Liferay.com <https://www.liferay.com>




--

Thanks & Regards

*UMESH KUMAR*

Trainee Software Engineer

[image: Description: Description: Description: Description: spanedbergologo]

SPAN Infotech (India) Pvt. Ltd.

ISO 9001, ISO 27001 and CMMI 5 Certified Company

Work: +91-80- 6738-8000 Extension: 8185

Cell: +91- 7795186295

www.spansystems.com

A part of the Nordic IT group *EVRY*
thumbnail
Umesh Kumar, modified 8 Years ago.

Re: [Liferay Forums][General] Multitenancy In Liferay

New Member Posts: 8 Join Date: 9/2/13 Recent Posts
umesh.kumar@spanservices.com


On Thu, Aug 7, 2014 at 12:50 PM, Umesh Kumar from liferay.com <
forums@liferay.com> wrote:

> Hi All,
> I want to design my liferay portal using multitenancy , My requirement is
> that,
> I have one company A web portal (Parent Company), under this company so
> many applications (child applications of A,Each application points one
> client of Company A) running.
> all applications having common users setup(May be LDAP) .
> Each application having its own separate data based on region or other
> criteria (Private data). its confidential, we cant share it with other
> client (application).
> All application Client want monthly data backup and some encryption/
> decryption on data.
> we can launch each application inside our web portal company A.
> Can Anyone Help me...........???
>
>
> To view the thread, follow the link below:
>
> https://www.liferay.com/community/forums/-/message_boards/view_message/41105972
> --
> Liferay.com <https://www.liferay.com>




--

Thanks & Regards

*UMESH KUMAR*

Trainee Software Engineer

[image: Description: Description: Description: Description: spanedbergologo]

SPAN Infotech (India) Pvt. Ltd.

ISO 9001, ISO 27001 and CMMI 5 Certified Company

Work: +91-80- 6738-8000 Extension: 8185

Cell: +91- 7795186295

www.spansystems.com

A part of the Nordic IT group *EVRY*