Foros de discusión

Cache Replication in Cluster - Multicast

Siby Mathew, modificado hace 7 años.

Cache Replication in Cluster - Multicast

Expert Mensajes: 268 Fecha de incorporación: 4/03/11 Mensajes recientes
Hello all,

I have some issues replicating cache across 2 nodes.
I am using the default Multicast mechanism for the cluster.
Currently the scheduler is working fine and running only in one node at a time as expected. However, the cache is not being replicated across the node even though these IP ranges are reachable from both the nodes.
My Liferay version : 6.2 CE GA4

Portal-ext.properties
## ACTIVATE FOR CLUSTER START ##
multicast.group.address["cluster-link-control"]=239.255.0.1
multicast.group.port["cluster-link-control"]=23311
multicast.group.address["cluster-link-udp"]=239.255.0.2
multicast.group.port["cluster-link-udp"]=23312
multicast.group.address["cluster-link-mping"]=239.255.0.3
multicast.group.port["cluster-link-mping"]=23313
multicast.group.address["hibernate"]=239.255.0.4
multicast.group.port["hibernate"]=23314
multicast.group.address["multi-vm"]=239.255.0.5
multicast.group.port["multi-vm"]=23315
cluster.link.enabled=true
cluster.link.autodetect.address=<reachableIP : port>
org.quartz.jobStore.isClustered=true
## ACTIVATE FOR CLUSTER END ##

From my understanding, as of this version these are the only properties required to make Liferay work in Multicast cluster.
Please let me know if I am missing something.

Thanks,
Siby Mathew
Siby Mathew, modificado hace 7 años.

RE: Cache Replication in Cluster - Multicast (Respuesta)

Expert Mensajes: 268 Fecha de incorporación: 4/03/11 Mensajes recientes
Hello all,
The issue is resolved.
It seems the issue was with the Docker Weave Network which was configured to communicate between these nodes.
The custom configuration of IPs was causing it to overlap affecting the communication.
The setting has been changed to use the default configuration where IPs are assigned automatically without overlapping.

The cache replication works seamlessly emoticon

Thanks,
Siby Mathew