Dear Dimitris.
please, find some feedback inline below...

Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.


On Thu, Feb 9, 2017 at 9:29 AM, dimmihel
<dimitrios.michela...@improvementservice.org.uk> wrote:
> Hi Andrea,
>
> Apologies for not making crystal clear my purpose in my previous post. It is
> probably because I don't fully understand how the database pooling technique
> works.
>
> I was aiming using one database pool for the whole cluster (by the way I
> have multiple stores and not only one) but you are suggesting that this may
> not be as beneficial as I expected and also there is limited information on
> how to implement it.
>
> Your other suggestion is setting up a JNDI but having four instances of
> Geoserver in my setup If I use the  Setting up a JNDI connection pool with
> Tomcat
> <http://docs.geoserver.org/stable/en/user/tutorials/tomcat-jndi/tomcat-jndi.html>
> guidelines to setup the JNDI I will be doing that in the master tomcat
> container right? (e.g. tomcat-1)

Each Tomcat instance will have its own pool which you can then share
between multiple stores.

Some additional info:

http://docs.geoserver.org/stable/en/user/tutorials/tomcat-jndi/tomcat-jndi.html
http://geoserver.geo-solutions.it/edu/en/adv_gsconfig/db_pooling.html
https://docs.google.com/document/d/1O02PeDRYKt2xLWG21k6BmcaRPzVRvXb4SQcrcZf4bHQ/edit

>
> How about the tomcat containers (e.g. tomcat-2,tomcat-3,tomcat-4) serving
> the slave Geoservers? Will they be able to use the tomcat-1 pool  or do I
> have to setup separate JNDI for them as well?

No they won't, it's separate processes hey cannot share the pool.

>
> Thanks again,
> Dimitris
>
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Database-pooling-for-clustered-Geoserver-configuration-tp5306937p5307117.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to