Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nicolás Rey
Critical issues on a balanced setup
March 27, 2013 9:12 AM
Answer

Nicolás Rey

Rank: New Member

Posts: 7

Join Date: July 2, 2011

Recent Posts

Hi Liferay partners

We`ve installed liferay EE (licensed) in two servers with a load balancer, but we get many issues like this;

1. Changes applied in one node doesn´t appear in the other one.
2. Changes applied in one node doesn´t appear inmediatly in the other one, they have a kind of delay.
3. Changes applied and saved, eventually were deleted without any human intervention.
4. Manytimes the portal crahsed, and some contents were deleted, also some contents were mutilated.
5. Eventually LR destroy an entire page, even when any editor are logged into it.

What recommendations do you have to solve this problem o what idea do you have about setup issues related or anything else?

My boss even have the idea of abort the LR project in our company.

Thanks.
Juan Gonzalez
RE: Critical issues on a balanced setup
March 27, 2013 10:38 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2069

Join Date: October 28, 2008

Recent Posts

Hi Nicolas,

First of all, having an EE license probably you can contact Liferay support so they can help you.

Anyway, what version are you using?

What is your portal-ext.properties related to cluster/multicast?
Nicolás Rey
RE: Critical issues on a balanced setup
March 30, 2013 7:14 AM
Answer

Nicolás Rey

Rank: New Member

Posts: 7

Join Date: July 2, 2011

Recent Posts

Hi Juan, thanks for your interest

We have Liferay Portal Enterprise Edition 6.1.20 EE.

Actually we´re using the LR support channel, but I note that it takes a long time to answer us. For this reason I decided to use this community forum.

I dont have access to the portal-ext.properties files in this days, but I will answer you soon about it.

Thanks a lot.
Nicolás Rey
RE: Critical issues on a balanced setup
April 1, 2013 1:54 PM
Answer

Nicolás Rey

Rank: New Member

Posts: 7

Join Date: July 2, 2011

Recent Posts

Hi Juan, thanks for your interest

1. We have Liferay Portal Enterprise Edition 6.1.20 EE.

2. Actually we´re using the LR support channel, but I note that it takes a long time to answer us. For this reason I decided to use this community forum.

3. These are the settings related with multicast:

#ccluster
cluster.link.enabled=true

# setup for cluster
net.sf.ehcache.configurationResourceName=/sic-ehcache/sic-hibernate-clustered.xml
net.sf.ehcache.configurationResourceName.peerProviderProperties=peerDiscovery=automatic,multicastGroupAddress=${multicast.group.address["hibernate"]},multicastGroupPort=${multicast.group.port["hibernate"]},timeToLive=1

## EHCACHE: configuración clustered cache
ehcache.multi.vm.config.location=/sic-ehcache/sic-liferay-multi-vm-clustered.xml

# clustered
ehcache.multi.vm.config.location.peerProviderProperties=peerDiscovery=automatic,multicastGroupAddress=${multicast.group.address["multi-vm"]},multicastGroupPort=${multicast.group.port["multi-vm"]},timeToLive=20

redirect.url.security.mode=ip
redirect.url.ips.allowed=127.0.0.1,SERVER_IP,192.168.1.15

These setting are identical for both servers.

If you can give any idea or help me with any information resource or document to setup correctly this servers I appreciate it.

Thanks a lot, and have a nice day.

Nicolás
Mika Koivisto
RE: Critical issues on a balanced setup
April 1, 2013 5:08 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1503

Join Date: August 7, 2006

Recent Posts

Sounds a lot like your cluster isn't clustered really. Make sure your cluster nodes actually communicates with each other.
Nicolás Rey
RE: Critical issues on a balanced setup
April 1, 2013 7:30 PM
Answer

Nicolás Rey

Rank: New Member

Posts: 7

Join Date: July 2, 2011

Recent Posts

Thanks Mika for your response.

I would to ask you if you know a tutorial or complete documentation to do that.

I didn´t found a complete resource and I preffer to ask you.

Thanks a lot
Mika Koivisto
RE: Critical issues on a balanced setup
April 2, 2013 2:17 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1503

Join Date: August 7, 2006

Recent Posts

Check EhCache documentation for cache clustering and JGroups documentation for cluster link communication channel docs. All the cluster link properties are documented in portal.properties just look for properties starting with cluster.link. and we also have a section in official docs about it.