Foros de discusión

Help wrt to clustering of liferay.

Ramchand Gururajan, modificado hace 7 años.

Help wrt to clustering of liferay.

Junior Member Mensajes: 33 Fecha de incorporación: 5/04/16 Mensajes recientes
Hi,

We setup liferay in clusterd environment in our UAT server .
We have migrated the document & media library to NFS path & also setup these properties.

cluster.link.enabled=true
lucene.replicate.write=true

We are having issue now that cache is not replicated across nodes (For example content created in one node is not available in other node ) unless we clear cluster & VM cache under system administration.


Please confirm if we need to open any port in UAT etc .Any pointer to resolve this would be great.


regards,
Ramchand
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Yes there are UDP ports that need to be open between the nodes of the cluster.

Check the https://docs.jboss.org/jbossas/docs/Clustering_Guide/4/html/ch07s07s11.html jgroups testing page to see if your nodes can talk to each other.
Ramchand Gururajan, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Junior Member Mensajes: 33 Fecha de incorporación: 5/04/16 Mensajes recientes
David H Nebinger:
Yes there are UDP ports that need to be open between the nodes of the cluster.

Check the https://docs.jboss.org/jbossas/docs/Clustering_Guide/4/html/ch07s07s11.html jgroups testing page to see if your nodes can talk to each other.



Hi David,
sorry for the delayed response. We are using Liferay with tomcat.
Can you please let me know if we need to change any config of both the tomcat so that both the nodes talk to each other ?

regards,
Ramchand
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Usually it is not a tomcat issue, it's a firewall/networking issue.

For example, some VMs disable udp broadcast packets by default. In other cases out of a sense of security all incoming traffic is dropped except for those that have been previously identified and approved.

You'll know if you can use the default UDP messaging going through the jgroups testing.
Ramchand Gururajan, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Junior Member Mensajes: 33 Fecha de incorporación: 5/04/16 Mensajes recientes
David H Nebinger:
Usually it is not a tomcat issue, it's a firewall/networking issue.

For example, some VMs disable udp broadcast packets by default. In other cases out of a sense of security all incoming traffic is dropped except for those that have been previously identified and approved.

You'll know if you can use the default UDP messaging going through the jgroups testing.



Hi David,
We have tested .The messages are going through but clustering is not replicated.
Any pointers to resolve this?

regards,
Ramchand
thumbnail
Olaf Kock, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
by default Liferay uses Multicast to discover other nodes. If that's disabled in your network infrastructure, you might need to set up explicit unicast communication.

By the way, you're not mentioning which version of Liferay you're clustering - that might help figuring out the differences between the versions.
Ramchand Gururajan, modificado hace 7 años.

RE: Help wrt to clustering of liferay.

Junior Member Mensajes: 33 Fecha de incorporación: 5/04/16 Mensajes recientes
Hi,
We are using Liferay CE 6.2 GA6.

Multicast is enabled on our n/w .

regards,
Ramchand