Wednesday, September 21, 2011

Oracle Management Agent 10g Release 2 Installation on Red Hat Linux 5.3

In the name of God, Most Gracious, Most Merciful.

In this article i will describe the installation of Oracle Management Agent 10g Release 2 on Red Hat Linux 5.3 OS on a machine other then the Enterprise Manager Grid Control machine. The per-requisites of this installation is Oracle Enterprise Manager 10g Grid Control R2. You can find its installation here. Before any proceedings with installation make sure that C library RPMs are installed. 

Unzip the installer and run runInstaller script as shown in figure below.
Figure - 1

You will see following screen after the OS check is passed.

Figure - 2

Select "Additional Management Agent" option on the screen and press Next button.

Figure - 3

Provide parent directory path. Agent home directory will be created by installer i.e. agent10g. Press Next button.

Figure - 4

View progress.

Figure - 5

All checks should be passed if not then please check the log file and try to fix the issues. Press Next button.

Figure - 6

Provide the host name and port of the Management Service. If it is not already installed then you have to install it first. Please find the installation here. Press Next button.

Figure - 7

Provide the password of the Management Service and press Next button.

Figure - 8

Review the summary and press Install button.

Figure - 9

View progress.

Figure - 10

View progress.

Figure - 11

Make directory for agent files in /usr/local/bin directory and run the script with root user as shown in the figure below. Once script is executed press the OK button on above screen.

Figure - 12

Figure - 13

View agent Configuration.
Figure - 14
Click the exit button.

You can view the status of the agent by entering following commands.

$ $AGENT_HOME/bin/emctl status agent

You will find that "Agent is Running but not ready". Don't worry just wait some time and it will be ready. Get the "Agent URL" from the output of above command and run it in a browser. It will show that Agent is Running. Now get the "Repository URL" from the output of above command and run it in a browser. It will show that HTTP Receiver Servlet active. Now check "Last successful heartbeat to OMS" from the output of above command if it is valid time then configuration is successful. If your browser is unable to run "Repository URL" then make sure that /etc/hosts file contain the entry of "Repository URL" machine.

Now stop the agent and apply p4716787_10201_GENERIC.zip Patch as shown in figure below.

Figure - 15

Now start the agent again and your host will be visible on Enterprise Manager Grid Control.

Insha-Allah this will help and serve the purpose. For any corrections and improvements please suggest.

No comments:

Post a Comment