Foren
Implement Multi-Tenancy in Liferay
JITENDRA PANIGRAHY, geändert vor 12 Jahren.
Implement Multi-Tenancy in Liferay
New Member Beiträge: 17 Beitrittsdatum: 22.04.12 Neueste Beiträge
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
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
Alexander Chow, geändert vor 12 Jahren.
RE: Implement Multi-Tenancy in Liferay
Liferay Master Beiträge: 518 Beitrittsdatum: 20.07.05 Neueste Beiträge
Sharding was designed for multi-tenancy in Liferay. So yes, they play well together. Take a look at the (slightly dated) wiki.
JITENDRA PANIGRAHY, geändert vor 12 Jahren.
RE: Implement Multi-Tenancy in Liferay
New Member Beiträge: 17 Beitrittsdatum: 22.04.12 Neueste Beiträge
Thanks. FYI, we have already sharding implemntation with us. I was little misunderstood.
Hitoshi Ozawa, geändert vor 12 Jahren.
RE: Implement Multi-Tenancy in Liferay
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste BeiträgeWe 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.
JITENDRA PANIGRAHY, geändert vor 11 Jahren.
RE: Implement Multi-Tenancy in Liferay
New Member Beiträge: 17 Beitrittsdatum: 22.04.12 Neueste Beiträge
Yes, that provides the required information. Thanks
Hitoshi Ozawa, geändert vor 12 Jahren.
RE: Implement Multi-Tenancy in Liferay
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Control Panel -> Portal Instance
Create new virtual host for each tenant.
http://www.liferay.com/community/wiki/-/wiki/Main/Virtual+Hosting+%28ASP%29
Create new virtual host for each tenant.
http://www.liferay.com/community/wiki/-/wiki/Main/Virtual+Hosting+%28ASP%29
Ionut Negoita, geändert vor 10 Jahren.
RE: Implement Multi-Tenancy in Liferay
New Member Beiträge: 10 Beitrittsdatum: 27.08.12 Neueste Beiträge
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
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
Bhuwan Gautam, geändert vor 9 Jahren.