Hi Arnaud, 

> * create a cron wich make a diff between the first one and the second one

I guess your cron job is replicating only the data dir of the "master" 
GeoServer instance to the "slave" one.
Once you update the configuration of the slave instance, you have to tell 
GeoServer to reload the it. You may do it via the web interface, but since 
you are performing the update programmatically, you may want to use the REST 
command as explained here:
http://docs.geoserver.org/latest/en/user/restconfig/rest-config-api.html#configuration-reloading

Pls also refer to this page
http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples-curl.html
that suggests how to use the cUrl utility to issue REST operations.

   Cheers,
   Emanuele

> From: Arnaud Vandecasteele
>
> Hi,
>
>
> I need to duplicate for security reasons an existing geoserver instance.
> The wms/wfs services of the existing one can be only accessed by user
> and password.
> But I also need another geoserver instance, which is an exact copy of
> the first one, with no services restriction.
> This geoserver is an exact copy of the first one the only difference
> is that I will secure this geoserver by an ip proxy.
>
> My question is how can I have two geoserver instance in the same
> server. And, the most important, when I make a change in the first one
> the second one must be updated also.
>
> So my idea is :
> * copy the existing geoserver
> * change the port of the second geoserver and run it
> * create a cron wich make a diff between the first one and the second one
>
> I already tried to do that but the change are not executed  on the
> second server.
>
> Do you know what I'm doing wrong ?
>
> Thanks for your help
>
> Regards
>
> Arnaud
>
>
> ---------------------------------------------------------------------------
>--- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> XE: Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 

-------------------------------------------------------
Ing. Emanuele Tajariol
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:      +39 0584962313
mob:    +39 3477895230

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://twitter.com/geosolutions_it
http://it.linkedin.com/in/etajariol
-------------------------------------------------------

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to