Fórum

Users not sync between nodes

pierpaolo rai, modificado 6 Anos atrás.

Users not sync between nodes

New Member Postagens: 12 Data de Entrada: 09/11/12 Postagens Recentes
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 6 Anos atrás.

RE: Users not sync between nodes

Regular Member Postagens: 205 Data de Entrada: 01/12/09 Postagens Recentes
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 6 Anos atrás.

RE: Users not sync between nodes

Liferay Legend Postagens: 1554 Data de Entrada: 24/09/09 Postagens Recentes
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 6 Anos atrás.

RE: Users not sync between nodes

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
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 6 Anos atrás.

RE: Users not sync between nodes

Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
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