Lesson 6: Cleanup

In this lesson, you remove the Relay Server resource, which deletes the collected metrics and stops data collection. In a production environment when you want to continue monitoring your Relay Server farm, you leave both the Relay Server farm and the Monitor running.

Note

You must be logged in to the Monitor as an administrator to perform the following tasks. Only administrators can remove resources. You cannot delete the SQL Anywhere Monitor resource. See Monitor users.

 To stop monitoring a resource
  1. Log in to the Monitor as an administrator.

  2. Remove the Relay Server Farm resource.

    1. Choose Tools » Administration.

    2. Select Resources.

    3. Select the Relay Server Farm resource, and click Stop.

    4. Click Remove.

    5. Click Yes to confirm that you want to remove the resource.

    6. Click Close.

  3. Log out of the Monitor.

    Click Logout.

  4. Close the browser window where you are viewing the Monitor.

  5. Exit the Monitor and stop monitoring.

    • On Windows, in the system tray, right-click the SQL Anywhere Monitor icon and choose Exit SQL Anywhere Monitor.

    • On Linux, run the samonitor.sh script from the bin32 or bin64 directory in the Monitor installation directory:

      samonitor.sh stop

    The Monitor stops collecting metrics for all resources.

  6. Shut down the Relay Server Farm.