02-16-2010 07:31 AM
02-16-2010 07:44 AM
07-30-2010 07:28 AM
Hi there,
I have installed alfresco in cluster and session replication does not work.
I am using alfresco enterprise 3.1.1. (downloaded the tomcat bundle Alfresco-Enterprise-3.1.1-Linux-x86-Install)
And I have 2 linux machines plus a shared disk and shared Mysql DB and a load balancer in another machine.
Application works fine and content is shared and nodes see each other with jgroups but the problem is:
If I log in in the application and stop one of the nodes, the other node takes over but I am asked to log in again.
I should not need to login again as session should be replicated and remembered by the other node.
Any help please?
See below information about all configuration changes I made:
1. Run the installer in 2 different machines, IPs are 158.167.39.210 and 158.167.39.211
2. In repository.properties configure dir.root, dir.contentstore and dir.contentstore.deleted to point to a path in a shared disk (indexes are local for eah node)
3. In repository.properties configure db.properties to point to the same DB
4. In repository.properties set property index.recovery.mode=AUTO
5. In repository.properties set cluster configuration below:
alfresco.cluster.name=foweb
alfresco.jgroups.configLocation=classpath:alfresco/jgroups-foweb-cluster.xml
alfresco.jgroups.defaultProtocol=TCP
alfresco.tcp.initial_hosts=158.67.39.210[7800],158.67.39.211[7800]
6. In tomcat/webapps/alfresco/WEB-INF/classes/alfresco/jgroups-foweb-cluster.xml:
<protocol_stacks>
<stack name="TCP"
description="Using TCP as transport">
<config>
<TCP
start_port="7800"
suspect_on_send_failure="true"
send_buf_size="100000"
recv_buf_size="200000"/>
<TCPPING
timeout="3000"
initial_hosts="158.167.39.210[7800],158.167.39.211[7800]"
port_range="3"
num_initial_members="2"/>
7. PLace the file ehcache-custom.xml (without any modifications inside) In tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension
8. In tomcat/webapps/alfresco/WEB-INF/web.xml add the tag <distributable/>
What am I missing or did wrong?
thanks
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.