In this lesson, you set up the Monitor to monitor a resource. Choose one of the following:
You start the SQL Anywhere sample database, demo.db, and then add this database as a resource to be monitored.
Start the SQL Anywhere sample database. Click Start » Programs » SQL Anywhere 12 » SQL Anywhere » Network Server Sample.
Log in to the Monitor as an administrator. See Lesson 1: Logging in to the Monitor as the default administrator.
Click Tools » Administration, which is located on the left sidebar.
Click Resources, and then click Add.
Click SQL Anywhere Server, and then click Next.
In the Name field, type demo12, and then click Next.
In the Host field, type localhost, and in the Server field, type demo12.
Click Create.
When you are prompted for the required authorization, in the DBA User ID field, type DBA, and in the Password field, type sql. Click OK.
When you add a database as a resource to be monitored, you must supply the DBA user ID and password for the database. These credentials are used to:
Connect to the database.
Create a new user named sa_monitor_user. The Monitor uses the sa_monitor_user to connect to the database and monitor it.
Install the database objects needed by the sa_monitor_user to monitor the database. For a list of the objects that are installed, see List of database objects installed by the Monitor.
Discard the DBA credentials from the Monitor. Because the sa_monitor_user is added to the database being monitored, it is not necessary to store the DBA credentials anywhere outside the database that is being monitored. See List of database objects installed by the Monitor.
The resource is added and monitoring the resource starts automatically.
Click Close.
Click Close.
Click Dashboards » Overview.
The demo12 resource appears in the Resource List.
Click demo12 to open the demo12 dashboard and view the collected metrics.
Proceed to Lesson 3: Testing an alert.
For information about monitoring a MobiLink server or MobiLink server farm resource, see Lesson 13: Monitoring MobiLink resources with the SQL Anywhere Monitor.
In this lesson, you start a Relay Server Farm, and then add it as a resource to be monitored.
Start the Relay Server Farm.
Log in to the Monitor as an administrator. See Lesson 1: Logging in to the Monitor as the default administrator.
Click Tools » Administration.
Click Resources, and then click Add.
Click Relay Server Farm, and then click Next.
In the Name field, type a name for the Relay Server Farm resource, and then click Next.
In the Host field, type the hostname or IP address of the computer on which the Relay Server is running, and then, click Next.
This term is required. See Host connection parameter.
Click Create.
The new resource is created and monitoring starts.
Click Close.
Click Close.
Click Overview » Resource List. Click the resource to create and open a dashboard for the resource.
Proceed to Lesson 3: Testing an alert.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |