Fórum

User login issue with two servers accessing same schema

thumbnail
Anil T, modificado 7 Anos atrás.

User login issue with two servers accessing same schema

Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
Hi Team,

We are doing the setup for the two liferay CE servers with one mysql database schema. Here when we start the first server we are able to login with test user account. When we start the second server we are unable to login with the test user account. we have pointed these two servers with the same schema.

There is no log generating on the both servers. We are not getting what exactly is happening. Could you anyone has any information about this scenario please share your inputs.

Thanks,
Anil T
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: User login issue with two servers accessing same schema

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
You have a malformed cluster.

Any time multiple instances are pointing at the same database, you have a cluster. So you have to go through the proper configuration steps to form a complete and working cluster.
thumbnail
Anil T, modificado 7 Anos atrás.

RE: User login issue with two servers accessing same schema

Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
Thanks David. We will check for the cluster configurations.

Can I know some information that what are the issues we face when we don't have the cluster for this scenario? This is just for knowledge.
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: User login issue with two servers accessing same schema

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
Indexes get out of sync, no messaging to notify caches when they have dirty objects so portal will use dirty cache data, instances will not have access to docs and images uploaded to the other nodes so you get broken image/doc links, ...
thumbnail
Anil T, modificado 7 Anos atrás.

RE: User login issue with two servers accessing same schema

Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
Thanks for the information David.