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.
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.
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.
Log in to the Monitor as an administrator.
Remove the demo12 (for SQL Anywhere), the MobiLinkServerSample (for MobiLink server) or the Relay Server Farm resource (for Relay Server).
Click Tools » Administration.
Click either the demo12, the MobiLinkServerSample or the Relay Server Farm resource, and click Stop.
Click Yes to confirm that you want to remove the 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 DBA authority, and then execute the following command:
DROP USER sa_monitor_user;
Log out of the Monitor.
Close the browser window where you are viewing the Monitor.
Exit the Monitor and stop monitoring.
On Windows, in the system tray, right-click the SQL Anywhere 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.
Do one of the following:
Shut down the SQL Anywhere database.
Double-click the network server icon in the system tray for the demo12 database server.
Click Shut Down in the database server messages window.
Shut down the MobiLink server.
Double-click the MobiLink Server icon in the system tray for the MobiLink Synchronization Server Sample.
Click Shut Down in the MobiLink server messages window.
Shut down the Relay Server Farm.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|