| Oracle Rdb® Extension to Oracle Enterprise Manager 10g Installation Guide
Release 7.2.1.0 |
|
Previous |
Next |
This chapter describes how to install the Oracle Rdb Extension for the Enterprise Manager 10g EMAgent.
The following topics are discussed in this chapter:
Section 2.1, "Installing the Oracle Enterprise Manager 10g"
Section 2.2, "Preparing to Install the Rdb EMAgent Extension Kit"
Section 2.3, "Running the Rdb EMAgent Extension Installation"
The Oracle Enterprise Manager 10g Agent ("EMAgent") must already be installed on the OpenVMS system. Although the Oracle Rdb Extension will work with either the 10.1 EMAgent or the 10.2 EMAgent, it is recommended that the 10.2 EMAgent be used.
You can find additional information for the Grid Control release and for the Agent release at the Oracle Enterprise Manager 10g home page . The EMAgent 10.2 release notes can be found in ORA_ROOT:[000000] after it is installed
The account from which the EMAgent is started must be granted the appropriate privileges to access the Oracle Rdb entity targets that it will be requested to access. The startup process required to run the EMAgent is also required to install and access the Oracle Rdb Extension. See the EMAgent release notes mentioned above for additional information on the startup requirements.
The following patches are required in order for the 10.1 EMAgent to run correctly with Oracle Rdb Entities. All the patches are available from the Oracle Metalink website.
| Patch | Description | Product | Release | Platform |
| 4665974 | Response to target down action does not fire | Intelligent Agent | 10.1.0.3 | HP OpenVMS Alpha |
No specific patches are required in order for the 10.2 EMAgent to run correctly with Oracle Rdb entities. However, it is highly recommended that the latest 10.2 EMAgent patches be installed for optimimum performance and behavior. All the patches are available from the Oracle Metalink website.
Once you have obtained the Rdb EMAgent installation kit, copy it to a temporary directory, unzip it, and extract its contents using the OpenVMS Backup utility:
$ create/directory <
disk>:[temp]
$ copy rdbemagent721_<
p>.zip <
disk>:[temp]
$ set default <
disk>:[temp]
$ unzip rdbemagent721_<
p>.zip
$ backup rdbemagent721_<
p>.bck/save/select=[KITS.<
platform>.721...]*.* <
disk>:[temp...]
where:
<
disk>
is the name of a disk on your system.
<
p>
is s either A or I for Alpha or Integrity.
<
platform>
is either ALPHA or IA64.
The Rdb EMAgent Extension installation script is located in the top level directory into which the backup saveset was extracted. This script checks to ensure that Oracle Enterprise Manager 10g is installed on the system, creates additional required directories under the ORA_ROOT:[SYSMAN] directory tree, and copies the scripts used to gather information from Oracle Rdb entity targets to their appropriate directories. The logical ORA_ROOT must be defined in order for the installation to complete successfully.
The installation script should run to completion in less than one minute.
Issue these commands to run the script:
$ set default <disk>:[temp]
$ @install.com
where
<disk> is the disk name you used in the extract procedure.
The EMAgent runs scripts against each known target on a periodic basis to collect statistical information. This information is then sent to the Management Server component of the Oracle Enterprise Manager where it is stored in the Management Repository.
For Oracle Rdb Databases entity targets, the EMAgent can upload over 80 sets of metrics comprising over 1000 individual statistics. The 80-plus sets have been divided into 10 metric groups each of which can be enabled or disabled for collection. By default, only two groups are enabled for collection, but this may be altered during or after the installation process.
The following is a list of these metric groups, their default ON or OFF status, and their frequency of collection if ON.
The installation procedure displays the above list of metric groups and allows you to toggle the ON / OFF status of any of the groups. If you choose to enable a metric group, you are also prompted for how often the metric group statistics should be collected. The collection frequency can be between one and 120 minutes inclusive.
During the enabling / disabling phase of the installation procedure, a List option is available that lists all the metric sets in each group. Each of these metric sets corresponds closely, but not exactly, to the metric sets available via the
RMU/SHOW STATISTICS command.
The metric groups you select and the collection frequency you enter will apply to ALL Oracle Rdb database targets on your system. They cannot be adjusted on a per-database basis.
The metric groups selected during installation can be modified later as needed. See Oracle Rdb Extension to Oracle Enterprise Manager 10g User Guide for further information.
After the Rdb EMAgent Extension installation has run to completion, you must restart the EMAgent. This is accomplished by stopping and then starting the EMAgent using the
emctl command from the Oracle system manager account as follows:
$ emctl stop agent
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
$
$ emctl start agent
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
EMAgent status running as PID 2B8B4407...
Response From Agent: running
Agent Version : 10.1.0.3.0
OMS Version : 10.2.0.2.0
Protocol Version : 10.1.0.3.0
Agent Home : /ora10g/oracle/mynode_ora10g
Agent binaries : /ORA10G/ORACLE
Agent Process ID : 730547207
Parent Process ID : 0
Agent URL : http://mynode.mycompany.com:1830/emd/main
Started at : 2005-07-25 15:36:22
Started by user : ORA10G
Last Reload : 2005-07-25 15:36:22
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 3
Size of XML files pending upload(MB) : 0.60
Available disk space on upload filesystem : 59.34%
$
Occasionally the agent startup output may appear abbreviated or different than the above sample. The status of the agent can be observed at any time via this command:
$ emctl status agent
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.1.0.3.0
OMS Version : 10.2.0.2.0
Protocol Version : 10.1.0.3.0
Agent Home : /ora10g/oracle/mynode_ora10g
Agent binaries : /ORA10G/ORACLE
Agent Process ID : 543481717
Parent Process ID : 0
Agent URL : http://mynode.mycompany.com:1830/emd/main
Started at : 2007-04-23 14:48:41
Started by user : ORA10G
Last Reload : 2007-04-23 14:48:41
Last successful upload : 2007-04-23 14:58:51
Total Megabytes of XML files uploaded so far : 1.45
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 31.47%
---------------------------------------------------------------
Agent is Running and Ready
$ set default disk:[temp]
$ @install
Oracle Rdb Extension for Oracle Enterprise Manager Agent 10g, Release 7.2.1.0 Installation
Copyright (c) 1999,2008, Oracle Corporation. All Rights Reserved.
Verifying Oracle Enterprise Manager Agent 10g installation...
Completed verification.
Prompting for Rdb statistics to collect...
+--------------------
| Oracle Rdb Extension for Enterprise Manager 10g
| SELECT METRICS for the Oracle Rdb Database Entity Type
|
The Oracle Enterprise Manager 10g Agent runs scripts against each known
target on a periodic basis to collect statistical information. This
information is then sent to the Management Server component of the
Oracle Enterprise Manager where it is then stored into the Management
Repository.
By default, only two of the available metric groups are enabled. Using the
following menu, you may enable or disable any of the metric groups and
set a desired interval frequency.
The menu lists all the available metric groups and whether or not they
have been enabled. Entering the menu option number associated with the
metric group will toggle it to ON or OFF. If the metric group
is toggled to ON, you will be prompted for how often (in minutes) the
metric group statistics should be collected.
Upon exiting this command procedure, the XML definition files used by
the EMAgent for gathering statistics from Oracle Rdb Database
targets will automatically be generated based on the metric groups you
have chosen.
Press RETURN to continue:
+--------------------
| Oracle Rdb Extension for Enterprise Manager 10g
| SELECT METRICS for the Oracle Rdb Database Entity Type
|
1. Summary Metrics [ON : 5 Minutes]
2. AIJ General Statistic Information, Journals, Space Utilization Metrics [ON : 5 Minutes]
3. Other Journaling Metrics [OFF]
4. I/O Metrics [OFF]
5. Locking by Type Metrics [OFF]
6. Locking by Field Metrics [OFF]
7. Index Metrics [OFF]
8. Object by Type Metrics [OFF]
9. Object by Field Metrics [OFF]
10. Process Metrics [OFF
L. List Metrics per Group
H. Help
E. Exit and Generate XML Definitions
Enter metric number to toggle or other menu option:
10
Enter Collection Frequency in Minutes (1 to 120) for Process Metrics [10]:
15
+--------------------
| Oracle Rdb Extension for Enterprise Manager 10g
| SELECT METRICS for the Oracle Rdb Database Entity Type
|
1. Summary Metrics [ON : 5 Minutes]
2. AIJ General Statistic Information, Journals, Space Utilization Metrics [ON : 5 Minutes]
3. Other Journaling Metrics [OFF]
4. I/O Metrics [OFF]
5. Locking by Type Metrics [OFF]
6. Locking by Field Metrics [OFF]
7. Index Metrics [OFF]
8. Object by Type Metrics [OFF]
9. Object by Field Metrics [OFF]
10. Process Metrics [ON :
15 Minutes]
L. List Metrics per Group
H. Help
E. Exit and Generate XML Definitions
Enter metric number to toggle or other menu option:
E
Generating XML files...
Completed XML file generation.
Completed statistics selection.
Creating directories...
Completed directory creation.
Copying XML definition files...
Copying Rdb statistic collection scripts...
Copying User Guide documentation files...
Copying Install Guide documentation files...
Completed copying.
Automatic discovery of extension target types (such as Oracle Rdb Databases,
Oracle Rdb Monitors, etc.) is not possible with the current release of Enterprise
Manager Grid Control. To add an Oracle Rdb Database, Oracle Rdb Monitor, etc.
entity target to your Oracle Enterprise Manager Grid Control System, you will
have to manually add them using the Oracle Enterprise Manager Grid Control
web-based interface. While viewing the home page for the EMAgent for this host, use
the "Add Monitored Target" link to perform a target discovery task.
User Guide: ora_root:[sysman.admin.scripts.emx.rdb.documentation.userguide]toc.htm
Install Guide: ora_root:[sysman.admin.scripts.emx.rdb.documentation.installguide]toc.htm
Completed installation.
$
