I am afraid REST /reload won't do the job. I try connecting my second geoserver
like this:
http://localhost:8180/geoserver/rest/reload
then geoserver asks my username and password. After that I connect to that
server normal way, just to notice, that nothng has happened. Still unaltered
data.
I am sure that someone has managed to do this, but how?
Oiva
________________________________
Lähettäjä: Juan Marín Otero [[email protected]]
Lähetetty: 8. heinäkuuta 2013 21:37
Vastaanottaja: Hakala Oiva (MTT)
Kopio: [email protected]
Aihe: Re: [Geoserver-users] Managing data in a clustered environment
Oiva,
There are a few strategies here, most likely the one you should take in a
production system is a script that uses the REST [1] API to refresh the second
GeoServer. It should pick up the changes then.
This sounds scarier than it really is, the call that you have to make is quite
simple, see [2]
Hope that helps
[1] http://docs.geoserver.org/stable/en/user/rest/api/index.html
[2] http://docs.geoserver.org/stable/en/user/rest/api/reload.html
On Mon, Jul 8, 2013 at 2:25 PM, Hakala Oiva (MTT)
<[email protected]<mailto:[email protected]>> wrote:
I have a test environment using Apache2 + 2 Tomcats and 2 Geoservers using the
SAME Geoserver data & config directory. Everything seems to work fine BUT:
How can I manage data using Geoserver??? Two (2) instances are running, and if
I change a layer name using the first Geoserver, it remains the same when I log
on the second Geoserver. Using outside port via Apache2 I see the unaltered
layer name using layer preview. So, what would the right way to manage data to
keep it in sync?
I followed the instructions in "Iacovella-Yougblood: Geoserver Beginners
Guide", chapter 11, execpt both Tomcats are configured to start via startup.sh,
not via service.
Thanks in advance, Oiva
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Juan Marín Otero
GIS Consultant
-------Visita mi blog en---------------------
http://guachintoneando.blogspot.com
---------------------------------------------------
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users