[GeoNetwork-users] multiple instances of geonetwork + one database

Hi All,

Recently we just upgraded our systems and built a multiple node
infrastructure to support our web services. I just wondering whether
multiple geonetworkapps can access the same databases (and file systems).

Googling online and searching the mail list. From the legacy WIKI, I found
this:

https://trac.osgeo.org/geonetwork/wiki/MultipleInstancesOfGN

Just wondering whether the 3.0 new version including the support of
multiple instance? If not, any future plans working on this?

Regards,
Daniel

--
Yunwei Dong
PhD candidate, Geomatics
Geography, Faculty of Environment
University of Waterloo
200 University Ave W, Waterloo
Ontario, Canada N2L 3P3

Tel:( 519) 729 6626

Hi Yunwei,

I think it should be fine. All you need to do is to make sure your database
allow concurrent connection, which should be the default setting in most db.

Hope it helps,
Yongyao

-----
Geospatial discovery and cyberinfrastructure
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/multiple-instances-of-geonetwork-one-database-tp5209780p5209820.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Yongyao,

Thank you for the quick reply,
However, I checked the appas and it seems like the problems identified in
here (https://trac.osgeo.org/geonetwork/wiki/MultipleInstancesOfGN
) is not solved yet.

For example, the harvest setting, and the way db ID is created and the Lucene
indexing creation. Would you mind to point me to the right document for me
to figure out how these road barriers are solved?

Thank you,
Regards,
Yunwei

On Mon, Jun 8, 2015 at 2:37 PM, Cody <yjiang8@anonymised.com> wrote:

Hi Yunwei,

I think it should be fine. All you need to do is to make sure your database
allow concurrent connection, which should be the default setting in most
db.

Hope it helps,
Yongyao

-----
Geospatial discovery and cyberinfrastructure
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/multiple-instances-of-geonetwork-one-database-tp5209780p5209820.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Yunwei Dong
PhD candidate, Geomatics
Geography, Faculty of Environment
University of Waterloo
200 University Ave W, Waterloo
Ontario, Canada N2L 3P3

Tel:( 519) 729 6626

Oh, I thought you were only talking about concurrent searching. For multiple
inserting or deleting, I am not sure it is supported by GNK at this point.
However, I think it is supported at least at the thread level, since it
allows user to set the number of threads in its setting. So, if you really
wanna do this, you may need to look into the code and extend it (Yes,
concurrent indexing is a big problem).

-----
Geospatial discovery and cyberinfrastructure
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/multiple-instances-of-geonetwork-one-database-tp5209780p5209856.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi, you have 2 options:
1) deploy multiple webapps pointing to different dbs (or db schemas)
2) use the multinode mode (
https://github.com/geonetwork/doc/blob/develop/en/maintainer-guide/installing/using-multinode-mode.rst)
which share some resources.

HTH.

Francois

2015-06-08 23:48 GMT+02:00 Cody <yjiang8@anonymised.com>:

Oh, I thought you were only talking about concurrent searching. For
multiple
inserting or deleting, I am not sure it is supported by GNK at this point.
However, I think it is supported at least at the thread level, since it
allows user to set the number of threads in its setting. So, if you really
wanna do this, you may need to look into the code and extend it (Yes,
concurrent indexing is a big problem).

-----
Geospatial discovery and cyberinfrastructure
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/multiple-instances-of-geonetwork-one-database-tp5209780p5209856.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Francois,

Thank you for the information.
I think I will go for the option one, since there is no significant
benefits of using multinode mode in my case.

Regards,
Daniel

On Tue, Jun 9, 2015 at 2:46 AM, Francois Prunayre <fx.prunayre@anonymised.com>
wrote:

Hi, you have 2 options:
1) deploy multiple webapps pointing to different dbs (or db schemas)
2) use the multinode mode (

https://github.com/geonetwork/doc/blob/develop/en/maintainer-guide/installing/using-multinode-mode.rst
)
which share some resources.

HTH.

Francois

2015-06-08 23:48 GMT+02:00 Cody <yjiang8@anonymised.com>:

> Oh, I thought you were only talking about concurrent searching. For
> multiple
> inserting or deleting, I am not sure it is supported by GNK at this
point.
> However, I think it is supported at least at the thread level, since it
> allows user to set the number of threads in its setting. So, if you
really
> wanna do this, you may need to look into the code and extend it (Yes,
> concurrent indexing is a big problem).
>
>
>
> -----
> Geospatial discovery and cyberinfrastructure
> --
> View this message in context:
>
http://osgeo-org.1560.x6.nabble.com/multiple-instances-of-geonetwork-one-database-tp5209780p5209856.html
> Sent from the GeoNetwork users mailing list archive at Nabble.com.
>
>
>
------------------------------------------------------------------------------
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Yunwei Dong
PhD candidate, Geomatics
Geography, Faculty of Environment
University of Waterloo
200 University Ave W, Waterloo
Ontario, Canada N2L 3P3

Tel:( 519) 729 6626