index.rst 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .. _data_wpsjdbc:
  2. WPS JDBC
  3. ========
  4. The WPS JDBC extension is a WPS status storage for asynchronous requests. Main advantages are:
  5. * Asynchronous request status sharing among multiple GeoServer nodes
  6. * Ability to retain the status of completed requests even after the GeoServer(s) have been restarted.
  7. .. _wpsjdbc_install:
  8. Installing the WPS JDBC extension
  9. ---------------------------------
  10. #. From the :website:`website download <download>` page, locate your release, and download: :download_extension:`wps-jdbc`
  11. Verify that the version number in the filename corresponds to the version of GeoServer you are running (for example |release| above).
  12. #. Extract the contents of the archive into the :file:`WEB-INF/lib` directory in GeoServer.
  13. Make sure you do not create any sub-directories during the extraction process.
  14. #. Restart GeoServer.
  15. Configuring the WPS JDBC properties
  16. -----------------------------------
  17. #. Create a file named `jdbcstatusstore.props` into the `GEOSERVER_DATA_DIR` root
  18. #. Update the sample content below accordingly to your connection parameters
  19. .. code-block::
  20. user=postgres
  21. port=5432
  22. password=******
  23. passwd=******
  24. host=localhost
  25. database=gsstore
  26. driver=org.postgresql.Driver
  27. dbtype=postgis
  28. #. Restart GeoServer
  29. Share the WPS Execution Directory among the cluster nodes
  30. ---------------------------------------------------------
  31. Typically the WPS JDBC plugin is useful when setting up a GeoServer cluster.
  32. The plugin allows sharing of the execution status among the nodes of the cluster.
  33. Nevertheless, this won't be sufficient. You will need to share the Execution folder too, in order to allow the different instances to correctly retrieve the executions results.
  34. #. Create a shared folder that all the nodes can reach somehow, e.g. by using `nfs`
  35. #. From the GeoServer Admin dashboard, go to the `WPS` menu and edit the Resource Storage Directory accordingly
  36. .. figure:: images/wps-resource-storage-directory.png
  37. :align: center
  38. *WPS JDBC shared Resource Storage Directory*