Oracle Enterprise Manager Configuration Guide Release 1.4.0 A53700_01 |
|
The Oracle Intelligent Agents are processes running on remote nodes in the network. Oracle Enterprise Manager uses Intelligent Agents to run jobs and monitor events on remote sites. The Intelligent Agent can also be used to discover services on the node where it resides.
This Agent Configuration chapter discusses the following topics:
Topics | Page |
---|---|
Intelligent Agents are shipped with the database and installed on remote, managed machines. The Intelligent Agent must be installed in the ORACLE_HOME directory.
For information on installing the Intelligent Agent, please refer to the Oracle Enterprise Manager Installation (CD-ROM insert).
This section contains the following topics:
Topic | See Page |
---|---|
At startup, the agent discovers new services on the machine where it is installed and creates its configuration files:
The agent discovery algorithm is described below:
If a database or any other new service is installed on the node where the agent resides, the agent must be restarted to add the new service to the agent configuration files.
In order for the agent to execute jobs on a managed node
To create a new local Windows NT user account, perform the following steps
To assign the privilege to an existing account, perform the following steps.
If you have both a local and a domain user with the same name, the local user takes precedence.
Remember that the preferred credentials in the Console need to be set for this user. Refer to Setting Preferences for NT on page 2-9.
This section contains information on controlling the agent through Windows NT and the DOS prompt.
To start or stop the agent on Windows NT, perform the following steps:
When the agent is installed, the start-up is set to Manual.
To start or stop the Agent from the DOS command prompt, enter the appropriate command.
If you want to... | Enter the following command |
---|---|
Start the agent from the DOS prompt |
|
Stop the agent from the DOS prompt |
|
To verify that the agent is running, look for its status in the control panel services.
Install the Oracle Intelligent Agent from the Oracle8 CD. The Intelligent Agent is a separate component to select.
After you have successfully installed the agent, the Oracle Installer prompts you to run root.sh
.
To verify that root.sh
was run:
cd $ORACLE_HOME/bin
ls -al dbsnmp
The output of the ls -al
command should be in the form
-rwsr-xr-x 1 root g651 1497980 Jun 12 21:04 dbsnmp
If root.sh
was not run, perform the following steps:
On UNIX systems, the agent is normally installed by the root.sh
script as a setuid
program.
The agent must be installed as setuid
root
so that the agent can run jobs as the users whose name and password are given in the Preferred Credentials for that host. If the agent does not have root
permission, all Enterprise Manager jobs are run with the permissions of the user who started the agent.
Note that the agent being set to setuid
root does not have the same effect as having the root
user start the agent. Having the root
user start the agent may cause security problems. Consult your platform documentation for exact details on setuid
programs.
This section contains the following topics:
Topic | See Page |
---|---|
At startup, the agent discovers new services on the machine where it is installed and creates its configuration files:
The agent discovery algorithm is described below:
If a database or any other new service is installed on the node where the agent resides, the agent must be restarted to add the new service to the agent configuration file.
root.sh
had been run, it would have updated/created an oratab file. For each database created, the entry is of the form: <SID>:<$ORACLE_HOME>:[Y/N].
$ORACLE_HOME/network/agent
directory.
This section contains information on controlling the UNIX agent.
For additional information or restrictions for your platform, see the Intelligent Agent README.
The Intelligent Agent 8.03 does not use Oracle Names to discover services it manages.
If you are running Oracle Names on a machine managed by an Oracle Intelligent Agent, it is assumed that the databases have already been registered with a Names Server and their aliases are defined by the GLOBAL_DBNAME parameters in the listener.ora files.
When running jobs or monitoring events in this environment, the Intelligent Agent does not resolve database aliases via Oracle Names.
For more information on how the Enterprise Manager Console works with Oracle Names, see Chapter 2, Console Configuration.
When an Oracle database is installed, the catsnmp.sql
script is automatically run by catalog.sql
to create the necessary dbsnmp
user account and the SNMPAGENT
role for the Intelligent Agent (for 7.3.3 and later).
To determine whether the SNMPAGENT
role exists in a database, enter the following SQL command:
SELECT * FROM dba_roles;
If the SNMPAGENT
role does not appear, run the catsnmp.sql
script on the database. To run the script, you must log in as SYS.
The location of catsnmp.sql
varies based on the database version you are running and the platform. For example, on NT for an Oracle 8.0.3 database, the script is located at ORACLE_HOME\rdbms80\admin.