掲示板

Implement Multi-Tenancy in Liferay

11年前 に JITENDRA PANIGRAHY によって更新されました。

Implement Multi-Tenancy in Liferay

New Member 投稿: 17 参加年月日: 12/04/22 最新の投稿
Hi,

We are building a multi tenant SaaS product using Liferay.
We have implemented database Sharding with us.
--Need steps to implement Multi-tenancy in liferay. Would appreciate for any pointers
--Is it possible to mix sharding with multi-tenanncy ?

Many Thanks,
Jitendra
thumbnail
11年前 に Alexander Chow によって更新されました。

RE: Implement Multi-Tenancy in Liferay

Liferay Master 投稿: 518 参加年月日: 05/07/20 最新の投稿
Sharding was designed for multi-tenancy in Liferay. So yes, they play well together. Take a look at the (slightly dated) wiki.
11年前 に JITENDRA PANIGRAHY によって更新されました。

RE: Implement Multi-Tenancy in Liferay

New Member 投稿: 17 参加年月日: 12/04/22 最新の投稿
Thanks. FYI, we have already sharding implemntation with us. I was little misunderstood.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Implement Multi-Tenancy in Liferay

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
We have implemented database Sharding with us.
--Need steps to implement Multi-tenancy in liferay. Would appreciate for any pointers


Isn't problem with your question. You've explicitly stated that you already have implemented sharding and wants steps to implement multi-tenancy. Hope the link I gave you provided you with the necessary information.
11年前 に JITENDRA PANIGRAHY によって更新されました。

RE: Implement Multi-Tenancy in Liferay

New Member 投稿: 17 参加年月日: 12/04/22 最新の投稿
Yes, that provides the required information. Thanks
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Implement Multi-Tenancy in Liferay

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Control Panel -> Portal Instance

Create new virtual host for each tenant.

http://www.liferay.com/community/wiki/-/wiki/Main/Virtual+Hosting+%28ASP%29
10年前 に Ionut Negoita によって更新されました。

RE: Implement Multi-Tenancy in Liferay

New Member 投稿: 10 参加年月日: 12/08/27 最新の投稿
Hi,

I also tried to setup Liferay with sharding for multi-tenancy and had some challenges (Liferay 6.0 in my case), the main one being that for multiple shards (let's say thousands), on startup the server tries to create a connection to each and every shard - takes hours.

If you are interested how to solve this problem I've written 2 articles with the changes made such that the portal with 15000 shards starts in about 1 min. This is done by avoiding creating connections on startup, and only creating them when a shard is actually accessed.


Liferay multi-tenancy generic description

Liferay multi-tenancy configuration

I'm curios about any feedback and please let me know if anybody else has tried this or is willing to try.

kindest regards,
John
thumbnail
9年前 に Bhuwan Gautam によって更新されました。

RE: Implement Multi-Tenancy in Liferay

New Member 投稿: 22 参加年月日: 13/01/16 最新の投稿
Please see my post: JTA with Lifeay+JBoss