Last change
on this file since 860 was
725,
checked in by djay, 9 years ago
|
Fix issue with rst files displayed from Trac. Fix strings to be translated. Always use the same string in all messages.
|
-
Property svn:keywords set to
Date Author
-
Property svn:mime-type set to
text/plain
|
File size:
1.6 KB
|
Rev | Line | |
---|
[659] | 1 | .. _services-status: |
---|
| 2 | |
---|
| 3 | ZOO Status Service |
---|
| 4 | =============================== |
---|
| 5 | |
---|
| 6 | The ZOO-Status Service is a `ZOO-Project <http://zoo-project.org>`__ |
---|
| 7 | utility allowing to get the status of a running WPS Service. |
---|
| 8 | |
---|
| 9 | Description |
---|
| 10 | ----------------------------- |
---|
| 11 | |
---|
| 12 | It returns the stage of completion of the ongoing Service in percentage |
---|
| 13 | (%). The ZOO-Status Service is usefull to monitor :ref:`services_index`. It can |
---|
| 14 | also be used to animate WPS progress bars from client-side applications. |
---|
| 15 | |
---|
| 16 | Installation |
---|
| 17 | ----------------------------- |
---|
| 18 | |
---|
| 19 | To install the ``ZOO Status Service`` you have to move in |
---|
| 20 | ``/path/to/zoo/source/zoo-services/utils/status/`` and compile the source |
---|
| 21 | running the ``make`` command. |
---|
| 22 | If no errors are returned during compilation you can copy the content of ``cgi-env`` |
---|
| 23 | to ``/usr/lib/cgi-bin/`` or where you have your ``zoo_loader.cgi`` working with this |
---|
| 24 | command (you need administration right): |
---|
| 25 | |
---|
| 26 | :: |
---|
| 27 | |
---|
| 28 | cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{zcfg,zo,py} /usr/lib/cgi-bin |
---|
| 29 | |
---|
| 30 | With this command you copy the code to permit to ``ZOO Status Service`` and some |
---|
| 31 | example processes about how it works. |
---|
| 32 | |
---|
| 33 | Now you have to add these two lines to ``main.cfg`` : |
---|
| 34 | |
---|
| 35 | :: |
---|
| 36 | |
---|
| 37 | rewriteUrl=call |
---|
| 38 | dataPath=/var/www/data |
---|
| 39 | |
---|
| 40 | Here you define the path where the service is able to find the xsl file, specified in the dataPath |
---|
| 41 | parameter. You also tell the ZOO Kernel that you want to use the `rewriteUrl <../kernel/install-debian.html#rewrite-rule-configuration>`_. |
---|
| 42 | |
---|
| 43 | The last operation is to copy the ``updateStatus.xsl`` to ``dataPath`` directory as follow: |
---|
| 44 | |
---|
| 45 | :: |
---|
| 46 | |
---|
| 47 | cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{xsl} /var/www/data |
---|
Note: See
TracBrowser
for help on using the repository browser.