Foros de discusión
Implement Multi-Tenancy in Liferay
JITENDRA PANIGRAHY, modificado hace 12 años.
Implement Multi-Tenancy in Liferay
New Member Mensajes: 17 Fecha de incorporación: 22/04/12 Mensajes recientes
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, modificado hace 12 años.
RE: Implement Multi-Tenancy in Liferay
Liferay Master Mensajes: 518 Fecha de incorporación: 20/07/05 Mensajes recientes
Sharding was designed for multi-tenancy in Liferay. So yes, they play well together. Take a look at the (slightly dated) wiki.
JITENDRA PANIGRAHY, modificado hace 12 años.
RE: Implement Multi-Tenancy in Liferay
New Member Mensajes: 17 Fecha de incorporación: 22/04/12 Mensajes recientes
Thanks. FYI, we have already sharding implemntation with us. I was little misunderstood.
Hitoshi Ozawa, modificado hace 12 años.
RE: Implement Multi-Tenancy in Liferay
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientesWe 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, modificado hace 11 años.
RE: Implement Multi-Tenancy in Liferay
New Member Mensajes: 17 Fecha de incorporación: 22/04/12 Mensajes recientes
Yes, that provides the required information. Thanks
Hitoshi Ozawa, modificado hace 12 años.
RE: Implement Multi-Tenancy in Liferay
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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, modificado hace 10 años.
RE: Implement Multi-Tenancy in Liferay
New Member Mensajes: 10 Fecha de incorporación: 27/08/12 Mensajes recientes
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, modificado hace 9 años.