Using the local file system

Tutorial: Write Usage Governance data to the local file system

  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.

    graphics/usgov_global.png

  3. Select the Save button.

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

  5. Start the server.

  6. Issue a request to SOA Gateway e.g. a get request.

  7. Go to SOA Gateway configuration directory.

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

  8. A file should be present in the format soag_usage_governance_yyyy_mm_dd_hh_mm_ss_ms.txt. Note that it is not possible to view this file while SOA Gateway is running. Stopping the server will create an XML file with the same name.

  9. Open the file to check its contents.

  10. There should be 1 entry for the get request plus all the governance data collected as per the options selected in 2.