Tuesday, November 26, 2013

Enterprise Manager Agent Installation Pre Checks Utility for a sucessful Installation


We have built a new RAC Server for which agent installation needs to be done. So to confirm whether the installation of Agent will be successful.

I have performed the below steps which tells that installation of Agent will be successful.

########################
     Command to Run Pre Checks
########################

cd /u01/app/oracle/exp/Software/agent/linux_x64/agent/install/

./runInstaller -prereqchecker PREREQ_CONFIG_LOCATION=/u01/app/oracle/exp/Software/agent/linux_x64/agent/stage/prereq -entrypoint "oracle.sysman.top.agent_Complete" -prereqLogLoc /tmp/agent_prereq_check -silent -waitForCompletion

Where,

Software Location - /u01/app/oracle/exp/Software/agent/

A Folder will be created in "/tmp/agent_prereq_check" which stores the logs and pre-requisties logs.

+ASM1 @ hostp16:/tmp/agent_prereq_check
> ls -ltr
total 16
drwxr-xr-x 2 oracle oinstall 4096 Nov 26 01:13 logs
-rw------- 1 oracle oinstall    0 Nov 26 01:13 prereq2013-11-26_01-13-39AM.err
drwxr-xr-x 2 oracle oinstall 4096 Nov 26 01:13 results
-rw------- 1 oracle oinstall 2516 Nov 26 01:13 prereq2013-11-26_01-13-39AM.out
-rw------- 1 oracle oinstall 3528 Nov 26 01:13 prereq2013-11-26_01-13-39AM.log
+ASM1 @ hostp16:/tmp/agent_prereq_check

########################
     Pre Checks Log
########################

+ASM1 @ hostp16:/u01/home/oracle
> tage/prereq -entrypoint "oracle.sysman.top.agent_Complete" -prereqLogLoc /tmp/agent_prereq_chck.txt -silent -waitForCompletion                             <
Starting Oracle Prerequisite Checker...

Checking Temp space: must be greater than 150 MB.   Actual 1404 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 32301 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-11-26_01-13-39AM. Please wait ...
Oracle Prerequisite Checker version Version 11.1.0.8.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.


Starting execution of Prerequisites...
Total No of checks: 6

Performing check for CertifiedVersions_agent
Checking if Oracle software certified on the current O/S...
Expected result: One of redhat-5.4,redhat-5.3,redhat-5.2,redhat-5.1,redhat-5,redhat-4,SuSE-11,SuSE-10,SuSE-9,SuSE-8,enterprise-5.4,enterprise-5.3,enterprise-5.2,enterprise-5.1,enterprise-5,enterprise-4,UnitedLinux-1.0,asianux-3,asianux-2,asianux-1
Actual Result: redhat-5
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
Performing check for Packages_agent
Checking for required packages installed on the system ....
Checking for make-3.81; found make-1:3.81-3.el5-x86_64. Passed
Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-20.el5_8.3-x86_64.        Passed
Checking for gcc-4.1.1; found gcc-4.1.2-54.el5-x86_64.  Passed
Checking for libstdc++-4.1.1; found libstdc++-4.1.2-54.el5-x86_64.      Passed
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
Performing check for CompatibilityCheck
Checking whether the software compatibile for current o/s...
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
Performing check for AvailableTempSpace
Checking for sufficient diskspace in TEMP location...
Expected result: 400.0MB
Actual Result: 1224704MB
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
Performing check for AvailableInventorySpace
Checking for sufficient diskspace in Inventory location...
Expected result: 100.0MB
Actual Result: 38866944MB
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
Performing check for CheckHostName
Checking for the Hostname...
Check complete. The overall result of this check is: Passed


Check complete: Passed
========================================================
PrereqChecks complete

No comments: