Fórum

Incongruence in users search in "balanced" instances.-

Gustavo Vázquez, modificado 6 Anos atrás.

Incongruence in users search in "balanced" instances.-

New Member Postagens: 7 Data de Entrada: 14/12/16 Postagens Recentes
Hi all. Thanks in advance for the responses to this post.

We have 2 liferay servers (version 6.1.1) behind a reverse proxy that makes load balance with sticky sesions between them (using AJP). Some users, when they do a search with a name (for example cristina) sees 3 users, but other userss with the same search gets 5. We configured two ways to access directly to the servers without load balancing and we see that one of the servers get only 3 users and the other 5 users in the search.

The problem is that, depending on the server to witch the sticky session sends you, the user gets one or the other result. We compared the configuration for the database, LDAP, etc. and it's the same in both servers, so it doesn't seems to be a problem with the datasource.

Any idea of the problem we have here and a solution?

Thanks in advance.
Gustavo.-
thumbnail
Samuel Kong, modificado 6 Anos atrás.

RE: Incongruence in users search in "balanced" instances.-

Liferay Legend Postagens: 1902 Data de Entrada: 10/03/08 Postagens Recentes
Try clearing your search indexes:
  • Control Panel > Server Administration
  • Reindex search indexes

If the problem persist, there might be a problem with the way you configured the cache replication in your cluster setup.
thumbnail
Jorge Díaz, modificado 6 Anos atrás.

RE: Incongruence in users search in "balanced" instances.-

Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
You can also use my portlet: Index Checker
Gustavo Vázquez, modificado 6 Anos atrás.

RE: Incongruence in users search in "balanced" instances.-

New Member Postagens: 7 Data de Entrada: 14/12/16 Postagens Recentes
Excelent! It worked smoothly!

Thank you very much!