Oracle 8i | Oracle 9i | Oracle 10g | Oracle 11g | Oracle 12c | Miscellaneous | PL/SQL | SQL | Oracle RAC | Oracle Apps | Linux

Oracle 10g Release 5 Grid Control Agent Installation On Linux

Download Software

Download the Mass Agent Deployment from here.

Unpack Files

First unzip the grid control installation files.

cd /host/software/oracle/GridControl

mkdir 10205_agent
cd 10205_agent
unzip ../Linux_x86_64_Grid_Control_agent_download_10_2_0_5_0.zip

Prerequisites

The prerequisites for each platform vary, so it is not worth trying to specify them in this article. Instead, refer to the Prerequisites for your platform in the installation guide. For the most part, if you already have an Oracle product installed on the server, the chances are you have already met all the prerequisites.

Installation

Start the installer using the following command.

$ cd /host/software/oracle/GridControl/10205_agent/linux_x64/agent
$ ./runInstaller

Accept the "Additional Management Agent" option by clicking the "Next" button.

Specify Installation Type

Enter a suitable parent directory, then click the "Next" button.

Specify Installation Location

Enter the email and My Oracle Support details if desired, then click the "Next" button. If you choose not to enter the details, click the "Yes" button on the subsequent message.

Support

Wait while the prerequisite checks are performed. If any fail, correct the issue before proceeding by clicking the "Next" button.

Product Specific Prerequisite Checks

Pick the required language support, then click the "Next" button.

Language Selection

Enter the management server name and port, then click the "Next" button.

Specify Oracle Management Service Location

Enter the agent registration password defined during the grid control installation, then click the "Next" button.

Specify Agent Registration Password

If you are happy with the summary information, click the "Install" button.

Summary

Wait while the installation completes.

Install

When prompted, run the configuration script as the "root" user, then click the "OK" button.

Execute Configuration Scripts

Wait while the configuration assistants complete.

Configuration Assistants

If the Agent Configuration Assistant fails to start the agent with a timezone error, enter the correct value for the "agentTZRegion" parameter in the "$AGENT_HOME/sysman/config/emd.properties" file, delete the following files and retry the configuration step.

$ rm -r /u01/app/oracle/product/agent10g/sysman/emd/state/*
$ rm -r /u01/app/oracle/product/agent10g/sysman/emd/collection/*
$ rm -r /u01/app/oracle/product/agent10g/sysman/emd/upload/*
$ rm /u01/app/oracle/product/agent10g/sysman/emd/lastupld.xml
$ rm /u01/app/oracle/product/agent10g/sysman/emd/agntstmp.txt

Click the "exit" button.

End Of Installation

Check Agent Status

The following command checks the status of the agent.

$ cd /u01/app/oracle/product/agent10g/bin
$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.  
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.5.0
OMS Version       : 10.2.0.5.0
Protocol Version  : 10.2.0.5.0
Agent Home        : /u01/app/oracle/product/agent10g
Agent binaries    : /u01/app/oracle/product/agent10g
Agent Process ID  : 1556
Parent Process ID : 1540
Agent URL         : https://dg1.localdomain:3872/emd/main/
Repository URL    : https://grid.localdomain:1159/em/upload
Started at        : 2010-01-16 13:24:24
Started by user   : oracle
Last Reload       : 2010-01-16 13:24:24
Last successful upload                       : 2010-01-16 13:32:38
Total Megabytes of XML files uploaded so far :     9.25
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    38.09%
Last successful heartbeat to OMS             : 2010-01-16 13:32:32
---------------------------------------------------------------
Agent is Running and Ready
$

The server should now be visible as a target on the Grid Control.

Target

Starting and Stopping the Agent

The following script shows how the agent is started and stopped.

# Start agent
/u01/app/oracle/product/agent10g/bin/emctl start agent

# Stop agent
/u01/app/oracle/product/agent10g/bin/emctl stop agent

YaST

Yet another Setup Tool (YaST) is used by Grid Control to perform some Linux administration tasks. It is recommended that you install this tool on all Linux hosts monitored by Grid Control. The tool is available here.

For more information see:

Hope this helps. Regards Tim...

Back to the Top.