Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Mohamed Salah Sayed
One Database and multible liferay installations
19 marzo 2010 6.11
Risposta

Mohamed Salah Sayed

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 6 febbraio 2009

Messaggi recenti

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
Abhishek Saxena
RE: One Database and multible liferay installations
19 marzo 2010 7.20
Risposta

Abhishek Saxena

Punteggio: Regular Member

Messaggi: 130

Data di Iscrizione: 17 giugno 2009

Messaggi recenti

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.
MICHAIL MOUDATSOS
RE: One Database and multible liferay installations
23 marzo 2012 7.04
Risposta

MICHAIL MOUDATSOS

Punteggio: Regular Member

Messaggi: 110

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

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?
Juan Gonzalez
RE: One Database and multible liferay installations
23 marzo 2012 12.07
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2794

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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.
Hitoshi Ozawa
RE: One Database and multible liferay installations
24 marzo 2012 2.34
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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