In this lesson, you remove the resource you were monitoring, which deletes the collected metrics and stops data collection. In a production environment when you want to continue monitoring your resource, you leave the database, MobiLink server or Relay Server farm and the Monitor running.
This lesson assumes that you have completed all preceding lessons. See Lesson 1: Logging in to the Monitor.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Monitoring resources with the Monitor.
Context and remarks
You cannot delete the SQL Anywhere Monitor resource.
When you remove a database resource, the Monitor does not delete the monitoring objects installed in the database. To delete these objects, you must connect to the database as a user with MANAGE ANY USER system privilege, and execute the following statement:
DROP USER sa_monitor_user;
Remove the resources that you added as part of this tutorial.
Click Tools » Administration.
Select either the demo16, the MobiLinkServerSample, or the Relay Server farm resource and click Stop.
Click Yes to confirm that you want to remove the resource.
Click Logout to log out of the Monitor and close the browser window where you are viewing the Monitor.
Shut down the Monitor and stop monitoring.
On Windows, in the system tray, right-click the Monitor icon and click Exit SQL Anywhere Monitor.
On Linux, run the samonitor.sh script from the bin32 or bin64 directory in the Monitor installation directory:
The Monitor stops collecting metrics for all resources.
Shut down the resource that was being monitored. For example, to shut down the database double-click the network server icon in the system tray for the database server, click Shut Down in the database server messages window, and then click Yes to confirm the action.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|