As an administrator, you can add multiple resources to the Monitor by creating a comma separated values (CSV) file, and then importing the file.
Create a CSV file.
Each line in the CSV file contains information about a single resource. Each comma-separated term within a line describes an attribute of the resource. The order of the terms is important. The following tables describe the terms and their order:
CSV file format for MobiLink resources
Position in the line | Term name | Description |
---|---|---|
1 | Resource type |
Type ml to indicate that the resource is a MobiLink server. This term is required. |
2 | Resource name | Specify the resource name as it will appear in the Monitor. This term is required. |
3 | Username | Specify the username used to connect to the resource. This term is required. |
4 | Password | Specify the password used to connect to the resource. This term is required. |
5 | Host (MobiLink server) | Specify the hostname or IP address of the computer on which the server is running. You can use the name localhost to represent the current computer. This term is required. |
6 | Port (MobiLink server) | Specify the port number on which the MobiLink server is running. The default port number for MobiLink is 2439. This term is optional. The default value is 0 |
7 | Connection type (MobiLink server) |
Specify the method to use to connect to the resource: Type one of the following:
This term is optional. |
8 | Encryption type (MobiLink server) |
Specify the method used to encrypt the connection. Type one of the following:
This term is optional. |
9 | Connection parameters (MobiLink server) | Specify additional connection parameters to use when connecting to the database. List the connection parameters as a semicolon delimited list of option=value pairs. This term is optional. |
The following is an example of an import file that contains two MobiLink server resources.
ml,demo2,DBA,sql,localhost ml,demo4,DBA,sql,localhost,0,tcpip,N |
CSV file format for MobiLink server farm resources
Position in the line | Term name | Description |
---|---|---|
1 | Resource type |
Type mf to indicate that the resource is a MobiLink server farm. This term is required. |
2 | Resource name | Specify the resource name as it will appear in the Monitor. This term is required. |
3 | MobiLink server name |
Specify the MobiLink server resources that are to be included in the MobiLink server farm. List the MobiLink server resources as a comma delimited list. This term is required. |
The following is an example of an import file that contains two MobiLink server resources and a MobiLink server farm resource.
ml,demo2,DBA,sql,localhost ml,demo4,DBA,sql,localhost,0,tcpip,N mf,collection_demo,demo2,demo4 |
Log in as an administrator to the Monitor.
Click Administration.
Click Resources.
Click Import.
Locate the import file and click Open.
The resources from the import file are added to the Monitor and monitoring starts.
Click Close.
Click Close.
The imported resource is added to the Resource List in the Overview dashboard.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |