Forums de discussion

Clustering

vijay apurva, modifié il y a 8 années.

Clustering

New Member Publications: 2 Date d'inscription: 01/06/15 Publications récentes
I have two instance of liferay and both are pointing on same database and same repository .
and i want achieve session replication clustering using tomcat .
i want to know how to achieve this step by step . what entry we have to make in portlet-ext.properites .
i am new in liferay please help me to learn .

thanks emoticon
thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Clustering

Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
Session replication is not a liferay issue. Check out the tomcat.apache.com site for tomcat clustering.
vijay apurva, modifié il y a 8 années.

RE: Clustering

New Member Publications: 2 Date d'inscription: 01/06/15 Publications récentes
so for achieving this i dont have to dp entry in portlet-ext.properties ?
i have read that i have to entry in portlet-ext.properties .

cluster.link.enabled=true

net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered.xml

ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered.xml

cluster.link.channel.system.properties=\
#
# Common
#
\
jgroups.bind_addr:localhost,\
#jgroups.bind_interface:eth0,\
\
#
# UDP
#
\
jgroups.udp.mcast_addr:<IP...server1>,\
jgroups.udp.mcast_port:server1port,\
jgroups.udp.ip_ttl:8,\
\
#
# Multicast
#
\
jgroups.mping.mcast_addr:<IP...server2>,\
jgroups.mping.mcast_port:server2port,\
jgroups.mping.ip_ttl:8,\
\
#
# TCP
#
\
jgroups.tcpping.initial_hosts:localhost[port1],localhost[port2]
thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Clustering

Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
None of that has to do with session clustering, the specific subject of your question. Session clustering is totally managed by the application container.
thumbnail
Jan Geißler, modifié il y a 8 années.

RE: Clustering

Liferay Master Publications: 735 Date d'inscription: 05/07/11 Publications récentes
Maybe you should start with researching and understanding the different technologies involved for clustering an Application?