Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Deepjyoti Nath
Liferay multiple sites vs multiple instances
February 24, 2012 12:34 PM
Answer

Deepjyoti Nath

Rank: Junior Member

Posts: 81

Join Date: November 1, 2010

Recent Posts

Hi,

What is the functionality difference between liferay sites and liferay instances?
If I want to create multiple websites then which approach would be good? Create multiple sites within one instance OR create multiple instances for each website?
Scenario1:
I have website1 and website 2 which are from same company. Same user can access both the website1 and website2, but their look-and-feel, pages will be different. Some contents/document and media can be sharable.

Scenario2:
I have another two websites website3 and website4 from a different company. Website3 and website4 will share same user similar to scenario1. But users of scenario1 will be different to users of scenario2 as they belong to different companies.

All the users of website1, website2, website3 and website4 reside in the same ldap/database. And we want to have only one liferay tomcat server .

What will be the best approach to implement the above scenarioes. Note that I am using Liferay 6.1 with tomcat.

Thanks in advance.
Deepjyoti Nath
RE: Liferay multiple sites vs multiple instances
February 25, 2012 3:38 PM
Answer

Deepjyoti Nath

Rank: Junior Member

Posts: 81

Join Date: November 1, 2010

Recent Posts

Waiting for some solutions, if anybody has. Appreciate your help!!!
Hitoshi Ozawa
RE: Liferay multiple sites vs multiple instances
February 26, 2012 2:34 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

In scenario 1, you'll probably do better with multiple sites because the users are the same and you want to share contents.

In scenario 2, it depends on whether your companies don't mind users being mixed with users and contents from other users
then just use multiple sites.

It all depends on the security requirements you have.
Deepjyoti Nath
RE: Liferay multiple sites vs multiple instances
February 26, 2012 1:33 PM
Answer

Deepjyoti Nath

Rank: Junior Member

Posts: 81

Join Date: November 1, 2010

Recent Posts

Hi Hitoshi,

Thanks for your rply. Actually though all users(scenario1 and scenario2 sites) are in the same ldap/database, they are unique, i.e. user of scenario1 can access website1 and website2 using same credentials, but not website3and website4. We are also implementing CAS for single sign-on, and therefore, if a user is logged into website1, no need to log-in website2, if he accees the sites at the same time.
Same case is valid for website3 and website4.
What I am thinking is, for website1 and 2, I will have a portal instance(say portal1.com) with two sites. Similarly for website3 and website4, I will create another instance(portal2.com) with two sites.
One thing I just wonder is if I create different instances, can I use same ldap/CAS configurations? And while publishing contents of each sites of each instance to a production environment(using remote staging), do I have to create all instances in the production machine also?
Ravi Kumar Gupta
RE: Liferay multiple sites vs multiple instances
March 8, 2012 10:45 PM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

As you said, >>But users of scenario1 will be different to users of scenario2 as they belong to different companies.
If you are using same ldap/cas configurations then practically same users are given to both companies.. right?/
Deepjyoti Nath
RE: Liferay multiple sites vs multiple instances
March 18, 2012 9:10 PM
Answer

Deepjyoti Nath

Rank: Junior Member

Posts: 81

Join Date: November 1, 2010

Recent Posts

Hey, Sorry for replying so late. I was out of station and was not able to check. Users are in the same ldap, but the userids will be different for the different companies.So if same user is member of two different companies, then he will have two different userIDs in the ldap.