Using another SOA Gateway

Tutorial: Writing Usage Governance data to another SOA Gateway

  1. In the Control Centre select the server for which usage governance data will be generated.

  2. Select the Governance tab in the Properties view.

    To turn data collection on the Information box must be selected. If required Input Data and Output Data may also be selected.

  3. The Governance Server section is where we enter the details for another SOA Gateway.

    • Host : the IP address for the server.

    • Port : the port number of the server.

  4. Enter these and save.

    graphics/usgov_global.png

  5. Stop the server. See here on how to do this.

  6. Prior to restarting the server the following must be observed:

    • The Governance Server is running i.e. that SOA Gateway with the host and port number entered has been started and is awaiting requests.

    • The governance web service, usagegovernance, has been created successfully and is loaded.

      If this has not yet been done, following the instructions here to do this.

  7. Start the server. See here on how to do this.

  8. On startup an initial connection is made to the governance server to verify its details. If this is unsuccessful an appropriate error will be written to the error log so this should be checked now.

    The default location of the Apache error_log is [SERVER_INST]/Apache22/logs/error_log replacing [SERVER_INST] with the location in which you have installed SOA Gateway.

  9. Issue a request to SOA Gateway e.g. a list request.

  10. There are a couple of ways to check that the data collection has reached its destination.

    • Query the database table directly..

    • Issue a list request on the usage governance web service e.g.

      graphics/usagegovernance_xsl.png