Foros de discusión

Users not sync between nodes

pierpaolo rai, modificado hace 6 años.

Users not sync between nodes

New Member Mensajes: 12 Fecha de incorporación: 9/11/12 Mensajes recientes
Hi everyone,
I installed a two nodes portal on Liferay 6.2. The two nodes shares the data folder and the liferay database.
When I search for users in the control panel I've got different result in the two nodes.
In order to obtain the same results I've to syncronize manually the nodes running " Rebuild all search indexes".
Is there a way for syncronize the nodes automatically?
Thanks
thumbnail
Nilesh Gundecha, modificado hace 6 años.

RE: Users not sync between nodes

Regular Member Mensajes: 205 Fecha de incorporación: 1/12/09 Mensajes recientes
pierpaolo rai:
Hi everyone,
I installed a two nodes portal on Liferay 6.2. The two nodes shares the data folder and the liferay database.
When I search for users in the control panel I've got different result in the two nodes.
In order to obtain the same results I've to syncronize manually the nodes running " Rebuild all search indexes".
Is there a way for syncronize the nodes automatically?
Thanks


To the best of my knowledge, trying to sync the search indexes on 2 nodes might corrupt the indexes. Instead the better design would be to separate out the Search engine in different server and let both the nodes to access this common server.

Regards,
Nilesh Gundecha
thumbnail
Christoph Rabel, modificado hace 6 años.

RE: Users not sync between nodes

Liferay Legend Mensajes: 1554 Fecha de incorporación: 24/09/09 Mensajes recientes
You need to cluster them. Note: I think clearing all caches should work too, I don't think a reindex is necessary, but I might be wrong here. Anyway, clustering is the way to go:
https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/liferay-clustering
thumbnail
Olaf Kock, modificado hace 6 años.

RE: Users not sync between nodes

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Christoph Rabel:
You need to cluster them. Note: I think clearing all caches should work too, I don't think a reindex is necessary, but I might be wrong here. Anyway, clustering is the way to go:
https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/liferay-clustering


The link is good: Now that the indexes are out of sync (if OP continues to go with two different indexes, one per node), reindexing is necessary. In fact, when going with a central index (e.g. SOLR), reindexing is necessary as well emoticon
thumbnail
Jorge Díaz, modificado hace 6 años.

RE: Users not sync between nodes

Liferay Master Mensajes: 753 Fecha de incorporación: 9/01/14 Mensajes recientes
If you want to check the status of your indexes without executing a full reindex, you can always use my portlet «Index Checker».
More info see: https://web.liferay.com/marketplace/-/mp/application/70121999