I had multiple Geoserver's (5) in different systems one is back up for another with same port and same layers are published . I know that every Geoserver is integrated with Geowebcache. Now I want to turn off individual GeoWebCache on every system and to install a new GeoWebCache for all geoserver's on any system.How to do?
Answer
Yes, you can use one GeoWebCache installation which caches map layers from several GeoServer instances. I assume you read the documentation at: http://geowebcache.org/docs/1.5.1/introduction/whichgwc.html ?
If you use the standalone version, you have to define all layers manually whereas an integrated version takes automatically all defined layers from GeoServer. To define your layers, locate the file geowebcache.xml
and add a new entry for each layer. Here an example from a custom layer in my GeoWebCache:
census2005:literacy_rate_pct
Nicer title for Image States
This is a description. Fascinating.
image/jpeg
image/png
image/png8
EPSG:900913
10018754.167
181.378
12801601.740
3482189.084
/charts/wms
census2005:literacy_rate_pct
true
0xFFFFFF
In this case my custom-made web map server runs at the same host, but this can be any standard compatible web map server as GeoServer. See also the documentation for an explanation of all options: http://geowebcache.org/docs/1.5.1/configuration/layers/index.html
No comments:
Post a Comment