掲示板

One Database and multible liferay installations

14年前 に Mohamed Salah Sayed によって更新されました。

One Database and multible liferay installations

New Member 投稿: 6 参加年月日: 09/02/06 最新の投稿
Hello All,
I am new to liferay and I am wandering if the following deployment scenario is okay:
1- Two legs of application servers, which has a liferay running on them.
2- One instance of web server, that load balance between the two legs.
3- One shared Database between the two application servers.

My question is, is there problems in this configuration specilly in the DB, for example the couner ids, will it be okay that the two application servers will not be confused when increamenting the couter in the db ?

Thanks for support

M.Sayed
thumbnail
14年前 に Abhishek Saxena によって更新されました。

RE: One Database and multible liferay installations

Regular Member 投稿: 130 参加年月日: 09/06/17 最新の投稿
Hi ,

The architecture you have proposed is fine you will not face any issues.
Its common to have multiple nodes pointing to same DB.

Which version are you on.
12年前 に MICHAIL MOUDATSOS によって更新されました。

RE: One Database and multible liferay installations

Regular Member 投稿: 110 参加年月日: 11/10/04 最新の投稿
Abhishek Saxena:
The architecture you have proposed is fine you will not face any issues.

Don't you think he should consider disabling User indexing and entity caching?
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: One Database and multible liferay installations

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Nop. You can have multiple nodes and having cache and indexing properly replicated.

For that only have to enable cluster link and index replication.

Please search for "cluster" in user guide/wiki, there is a section for that.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: One Database and multible liferay installations

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Beside the indexes, there's also the prefetch counter problem. Setup distributed caching as Juan advised or set the counter.increment=1. If both are active, use the distributed cache. If one of them is a standby, set the counter.increment to 1.

#
# Set the number of increments between database updates to the Counter
# table. Set this value to a higher number for better performance.
#
counter.increment=100