Oracle Intelligent Agent Users Guide Release 8.1.5 A67825-01 |
|
The Data Gatherer, which collects performance data used by the Oracle Capacity Planner and the new Java-based Oracle Performance Manager, is installed along with the Intelligent Agent.
Note: If you are not using either the Oracle Capacity Planner or the Oracle Performance Manager, you do not need to configure or start the Oracle Data Gatherer. |
This section contains the following topics:
The data gathering service (also known as Oracle Data Gatherer) is used to collect performance data.
The Oracle Data Gatherer is responsible for handling requests from client applications (for example, Oracle Capacity Planner and Oracle Performance Manager) that want to collect data. For each client application, you specify the performance data to collect (for example, file I/O or CPU usage data) and the time interval between data samples. The Oracle Data Gatherer then collects the requested data for the client at the specified interval.
The Oracle Data Gatherer is part of the Oracle Intelligent Agent, and it is automatically installed when the agent is installed on a managed host. Therefore, in the following sections, any reference to the Oracle Data Gatherer being installed on a host means that the Oracle Data Gatherer service was installed on the host when the agent was installed on the host.
The Oracle Data Gatherer can collect two kinds of performance data:
In general, the Oracle Data Gatherer should be configured on the host where the target (database or host) to be monitored is physically located. In other words, if you want the Oracle Data Gatherer to collect database data from the MEDICAL database on host BENEFITS, then the Oracle Data Gatherer should be installed and configured on host BENEFITS. Similarly, if you want the Oracle Data Gatherer to collect operating system data on host EMPLOYEES, then the Oracle Data Gatherer should be installed and configured on host EMPLOYEES.
In some cases, however, it may not be possible to install and configure the Oracle Data Gatherer on a particular host. The Oracle Data Gatherer can be installed on a host only when both the following requirements are met:
If a host does not meet these requirements, the Oracle Data Gatherer cannot be installed on the host, which means that the Oracle Data Gatherer will not be able to collect operating system statistics from the host. However, you can collect database data from a host on which the Oracle Data Gatherer cannot be installed and configured.
To collect database data from a host on which the Oracle Data Gatherer cannot be installed and configured, install and configure the Oracle Data Gatherer on a different host that meets both of the requirements. You can then use the Oracle Data Gatherer on this host to collect database data remotely on hosts that do not have the Oracle Data Gatherer installed. This is called using an intermediate host Oracle Data Gatherer.
For example, suppose you want to collect database data for the CONSULTANTS database on host EMPLOYEES, but the Oracle Data Gatherer cannot be installed and configured on host EMPLOYEES. If the Oracle Data Gatherer is installed and configured on host BENEFITS, you can use the Oracle Data Gatherer on BENEFITS as an intermediate host Oracle Data Gatherer. The Oracle Data Gatherer on BENEFITS is able to collect database statistics from the CONSULTANTS database on host EMPLOYEES.
You might also want to use an intermediate host Oracle Data Gatherer if an additional process footprint/overhead cannot be tolerated on the host where you want to collect database data. Of course, in this situation the collection activity will still take place against the database. This minimal collection activity overhead will be present regardless of the host where the Oracle Data Gatherer is located.
You must configure the Oracle Data Gatherer after it is installed on a host.
The Oracle Data Gatherer, by default, tries to use the username/password account set up as the preferred credentials for the database to locate the Data Gatherer. If the preferred credentials are incorrect or if the Data Gatherer is not located on that host the client will reprompt you for the location of the Data Gatherer.
You may want to set up the preferred credentials for the database before starting the client applications (Performance Manager and Capacity Planner).
The TNSNAMES.ORA file on the host where the Oracle Data Gatherer is installed must include entries for:
It is possible to install the new version of the Oracle Data Gatherer into a different Oracle Home than the previous version. If you plan to do this, follow these steps:
The Oracle Data Gatherer state and data files are located in the $ORACLE_HOME/odg/reco
directory. You need to copy the files into the new $ORACLE_HOME/odg/reco
directory before you use Oracle Capacity Planner to connect to the new version of the Oracle Data Gatherer and set up any new collections.
If you do not move these files, the following problems will occur:
Any binary data files created by Oracle Data Gatherer which have not yet been loaded into the Capacity Planner database will not be loaded.
You will need to redefine your Capacity Planner data collections.
If you have installed the new version of Oracle Data Gatherer into the same Oracle Home as the previous version or if you do not currently use the Oracle Capacity Planner, do not move the state and data files.
On UNIX and NT, Oracle Enterprise Manager uses the vppcntl command to manage the data gathering service. The vppcntl executable is located in ORACLE_HOME/bin.
Commands to control Oracle Data Gatherer are listed in the table below:
If you are running Oracle Enterprise Manager in a mixed environment, it is recommended that you upgrade to the latest client. Refer to the compatibility matrix below for more information.
This section contains information on controlling the Oracle Data Gatherer through Windows NT.
By default, you start the Oracle Data Gatherer manually on a host. To start Oracle Data Gatherer automatically through the Control Panel on Windows NT, perform the following steps:
If the host has one Oracle Home, then the name of the Oracle Data Gatherer service is OracleDataGatherer.
If the host has multiple Oracle Homes and the Oracle Data Gatherer has been installed into more than one Oracle Home, then multiple data gatherer services are displayed. When the Oracle Data Gatherer is installed into multiple Oracle Homes, the names of the data gathering services use the naming convention Oracle<Oracle_Home_name>DataGatherer. For example, suppose a host has two Oracle Homes, named 804 and 805, and the data gathering service has been installed both homes. The Oracle Data Gathering services for those Oracle Homes are named Oracle804DataGatherer and Oracle805DataGatherer, respectively.
The Startup Type is set to Manual, which allows the data gathering service to be started by a user. If you want Oracle Data Gatherer to start automatically whenever you start the system, set the Startup Type for Automatic.
To stop Oracle Data Gatherer through the Control Panel on Windows NT, perform the following steps:
On Windows NT, there are several ways to determine if the Oracle Data Gatherer is running by checking the:
vppcntl -ping
command.
Oracle recommends that you use the vppcntl -ping
command because it tells you if the Oracle Data Gatherer is running and also performs a test to determine whether it is responsive and running properly.
The data gathering service's alert/warning log is ORACLE_HOME\odg\bin\alert_dg.log.
On UNIX, use vppcntl -ping
to verify if Oracle Data Gatherer is running. The data gathering service's alert/warning log is $ORACLE_HOME/odg/bin/alert_dg.log.
This section describes possible configuration problems and how to solve them.
If the steps for fixing the configuration problems fail, verify that your TNSNAMES.ORA entries are configured correctly, as described in How to Configure the Data Gatherer on page 4-47.
You can also obtain trace information on the Oracle Data Gatherer. To obtain this information, you must run the Oracle Data Gatherer from the Oracle Enterprise Manager console.
To view the Oracle Data Gatherer trace information on the screen, type the following command at the DOS prompt or UNIX command line:
vppdc -console -debug
To send the Oracle Data Gatherer trace information to a file, type the following command at the DOS prompt or UNIX command line:
vppdc -console -debug > trace.txt
If the above command is used, the trace file is named trace.txt. If you prefer, you can specify a different name for the trace file.