Wednesday, June 24, 2015

Oracle 12c : Deploy Management Agent using RPM File

Oracle 12c : Deploy Management Agent
using RPM File

Deploy Oracle Management Agent using RPM


  • OMS Host :


Create “/usr/lib/oracle” on OMS server (if there is no such a directory). 

Login as root user and run the following commands:

[root@oem250]# mkdir /usr/lib/oracle
[root@oem250]# chmod 777 /usr/lib/oracle

Install the rpm-build package on the OMS host:

[root@oem250 ~]# yum install -y rpm-build


Loaded plugins: refresh-packagekit, security
OL64                                                     | 3.7 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rpm-build.x86_64 0:4.8.0-37.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch            Version                 Repository     Size
================================================================================
Installing:
 rpm-build          x86_64          4.8.0-37.el6            OL64          127 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 127 k
Installed size: 315 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : rpm-build-4.8.0-37.el6.x86_64                                1/1
  Verifying  : rpm-build-4.8.0-37.el6.x86_64                                1/1

Installed:
  rpm-build.x86_64 0:4.8.0-37.el6

Complete!

Login to OEM using emcli as SYSMAN user on OMS Server:

[oracle@oem250]$ /u01/app/Middleware/oms/bin/emcli login -username=sysman
Enter password :

Login successful

Get the platforms for which the Management Agent software is available on the OMS host:

[oracle@oem250 ~]$ /u01/app/Middleware/oms/bin/emcli get_supported_platforms

-----------------------------------------------
Version = 12.1.0.4.0
 Platform = Linux x86-64
-----------------------------------------------
Platforms list displayed successfully.


Linux x86-64 agent available. Let’s create and download the RPM file for it:

[oracle@oem250 ~]$ emcli get_agentimage_rpm -destination=/SOFT/Agent12c_RPM -platform="Linux x86-64" -version=12.1.0.4.0
Platform:Linux x86-64
Destination:/SOFT/Agent12c_RPM
Exalogic:false
 Checking for disk space requirements...
 === Partition Detail ===
Space free : 17 GB
Space required : 1 GB
RPM Creation in progress ...
Check the logs at /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_rpm_2015-06-23_23-3                          8-33-PM.log
This operation may take few minutes, please wait ...
Agent image to rpm conversion completed successfully

Now we can copy the RPM to the target system to deploy the agent. Here I am using OS User oracle and Group oinstall for agent installation.

[oracle@rac128 ~]$ cd /SOFT/
[oracle@rac128 SOFT]$ ls -l
total 244116
drwxr-xr-x 3 oracle oinstall      4096 Jun 22 20:53 AGENT_12C_BINARY
drwxr-xr-x 7 oracle oinstall      4096 Aug 27  2013 database
-rwxr-x--x 1 oracle oinstall 249713434 Jun 23 23:42 oracle-agt-12.1.0.4.0-1.0.x86_64.rpm


Install the copied RPM from OMS host:

 [oracle@rac128 SOFT]$ sudo rpm -ivh oracle-agt-12.1.0.4.0-1.0.x86_64.rpm
[sudo] password for oracle:
Preparing...                ########################################### [100%]
Running the prereq
   1:oracle-agt             ########################################### [100%]
Agent RPM installation is completed successfully. Now to configure the agent follow the below steps:
1. Edit the properties file: /usr/lib/oracle/agent/agent.properties with the correct values
2. Execute the script /etc/init.d/oracle-agt RESPONSE_FILE=/usr/lib/oracle/agent/agent.properties


  • Target Host


Edit /usr/lib/oracle/agent/agent.properties file, enter the required values as per your OMS configuration:

[oracle@rac128 SOFT]$ vi /usr/lib/oracle/agent/agent.properties

#-------------------------------------------------------------------------------
#OMS_HOST:<String> OMS host info required to connect to OMS
#OMS_PORT:<String> OMS port info required to connect to OMS
#AGENT_REGISTRATION_PASSWORD:<String> Agent Registration Password needed to
#     establish a secure connection to the OMS.
#-------------------------------------------------------------------------------
#OMS_HOST=#OMS_HOST#
#OMS_PORT=#OMS_PORT#
#AGENT_REGISTRATION_PASSWORD=#AGENT_REGISTRATION_PASSWORD#
#-------------------------------------------------------------------------------
#AGENT_USERNAME:<String> User name with which the agent should be installed.
#AGENT_GROUP:<String> Group to which the agent user belogs.
#AGENT_PORT:<String> Port in which the agent process will come up.
#-------------------------------------------------------------------------------
#AGENT_USERNAME=#AGENT_USERNAME#
#AGENT_GROUP=#AGENT_GROUP#
#AGENT_PORT=#AGENT_PORT#
#-------------------------------------------------------------------------------
#ORACLE_HOSTNAME:<String> Virtual hostname where the agent is deployed.
#Example: ORACLE_HOSTNAME=hostname.domain
#-------------------------------------------------------------------------------
#ORACLE_HOSTNAME=#ORACLE_HOSTNAME#

OMS_HOST=oem250.ora.com
OMS_PORT=7802
AGENT_REGISTRATION_PASSWORD=amit1234
AGENT_USERNAME=oracle
AGENT_GROUP=oinstall
AGENT_PORT=3872
ORACLE_HOSTNAME=rac128.ora.com


Note : 
You can get the OMS Port details on Management Server by executing below command :

[oracle@oem250 Agent12c_RPM]$ emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host        : oem250.ora.com
HTTP Console Port          : 7788  <OMS PORT>
HTTPS Console Port         : 7802  <OMS PORT>
HTTP Upload Port           : 4889
HTTPS Upload Port          : 4903
EM Instance Home           : /u01/app/oracle/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oem250.ora.com:7802/em
Upload URL: https://oem250.ora.com:4903/empbs/upload

WLS Domain Information
Domain Name            : GCDomain
Admin Server Host      : oem250.ora.com
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: oem250.ora.com
WebTier is Up
Oracle Management Server is Up

BI Publisher is not configured to run on this host.


Save the file and run /etc/init.d/oracle-agt:

[oracle@rac128 SOFT]$ sudo /etc/init.d/oracle-agt RESPONSE_FILE=/usr/lib/oracle/agent/agent.properties
[sudo] password for oracle:
/usr/lib/oracle/agent/parameter.lst
Response File:/usr/lib/oracle/agent/agent.properties


Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7059 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-06-24_07-30-57AM. Please wait ...
LD_LIBRARY_PATH environment variable :
-------------------------------------------------------
Total args: 31
Command line argument array elements ...
Arg:0:/tmp/OraInstall2015-06-24_07-30-57AM/jre/bin/java:
Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-06-24_07-30-57AM/oui/lib/linux64:
Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-06-24_07-30-57AM/oui:
Arg:3:-Doracle.installer.bootstrap=TRUE:
Arg:4:-Doracle.installer.startup_location=/usr/lib/oracle/agent/core/12.1.0.4.0/oui/bin:
Arg:5:-Doracle.installer.jre_loc=../../jre:
Arg:6:-Doracle.installer.nlsEnabled="TRUE":
Arg:7:-Doracle.installer.prereqConfigLoc= :
Arg:8:-Doracle.installer.unixVersion=2.6.39-400.209.1.el5uek:
Arg:9:-mx160m:
Arg:10:-cp:
Arg:11:/tmp/OraInstall2015-06-24_07-30-57AM::/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/oneclick.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/share.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/emocmutl.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/emCfg.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/jsch.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/ssh.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/http_client.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/OraSuiteInstaller.jar:/tmp/OraInstall2015-06-24_07-30-57AM/OPatch/jlib/opatch.jar:/tmp/OraInstall2015-06-24_07-30-57AM/OPatch/jlib/opatchactions.jar:/tmp/OraInstall2015-06-24_07-30-57AM/OPatch/jlib/opatchprereq.jar:/tmp/OraInstall2015-06-24_07-30-57AM/OPatch/jlib/opatchutil.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstImages.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/help4.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/help4-nls.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/ewt3.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/swingaccess.jar::/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/jewt4.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/ojmisc.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/xml.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/srvm.jar:/tmp/OraInstall2015-06-24_07-30-57AM/oui/jlib/classes12.jar:
Arg:12:oracle.sysman.oii.oiic.OiicInstaller:
Arg:13:-scratchPath:
Arg:14:/tmp/OraInstall2015-06-24_07-30-57AM:
Arg:15:-sourceType:
Arg:16:network:
Arg:17:-timestamp:
Arg:18:2015-06-24_07-30-57AM:
Arg:19:-clone:
Arg:20:-forceClone:
Arg:21:-force:
Arg:22:-silent:
Arg:23:ORACLE_HOME=/usr/lib/oracle/agent/core/12.1.0.4.0:
Arg:24:ORACLE_HOME_NAME=agent12c0:
Arg:25:-waitForCompletion:
Arg:26:-debug:
Arg:27:OMS_HOST=oem250.ora.com:
Arg:28:EM_UPLOAD_PORT=7802:
Arg:29:AGENT_BASE_DIR=/usr/lib/oracle/agent:
Arg:30:EM_PROTOCOL=https:
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2015-06-24_07-30-57AM/jre/bin/java. Please wait...
Oracle Universal Installer, Version 11.1.0.12.0 Production
Copyright (C) 1999, 2014, Oracle. All rights reserved.

You can find the log of this install session at:
 /u01/app/oraInventory/logs/cloneActions2015-06-24_07-30-57AM.log
.................................................................................................... 100% Done.



Installation in progress (Wednesday, June 24, 2015 7:31:13 AM IST)
...................................................              51% Done.
Install successful

Linking in progress (Wednesday, June 24, 2015 7:31:17 AM IST)
Link successful

Setup in progress (Wednesday, June 24, 2015 7:31:17 AM IST)
...............................                                 100% Done.
Setup successful

End of install phases.(Wednesday, June 24, 2015 7:31:19 AM IST)
The cloning of agent12c0 was successful.
Please check '/u01/app/oraInventory/logs/cloneActions2015-06-24_07-30-57AM.log' for more details.
copying /u01/app/oraInventory/logs/cloneActions2015-06-24_07-30-57AM.log to /usr/lib/oracle/agent/core/12.1.0.4.0/cfgtoollogs/oui/cloneActions2015-06-24_07-30-57AM.log
copying /u01/app/oraInventory/logs/oraInstall2015-06-24_07-30-57AM.err to /usr/lib/oracle/agent/core/12.1.0.4.0/cfgtoollogs/oui/oraInstall2015-06-24_07-30-57AM.err
copying /u01/app/oraInventory/logs/oraInstall2015-06-24_07-30-57AM.out to /usr/lib/oracle/agent/core/12.1.0.4.0/cfgtoollogs/oui/oraInstall2015-06-24_07-30-57AM.out
copying /u01/app/oraInventory/logs/silentInstall2015-06-24_07-30-57AM.log to /usr/lib/oracle/agent/core/12.1.0.4.0/cfgtoollogs/oui/silentInstall2015-06-24_07-30-57AM.log
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7059 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-06-24_07-31-19AM. Please wait ...
LD_LIBRARY_PATH environment variable :
-------------------------------------------------------
Total args: 26
Command line argument array elements ...
Arg:0:/tmp/OraInstall2015-06-24_07-31-19AM/jre/bin/java:
Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-06-24_07-31-19AM/oui/lib/linux64:
Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-06-24_07-31-19AM/oui:
Arg:3:-Doracle.installer.bootstrap=TRUE:
Arg:4:-Doracle.installer.startup_location=/usr/lib/oracle/agent/core/12.1.0.4.0/oui/bin:
Arg:5:-Doracle.installer.jre_loc=../../jre:
Arg:6:-Doracle.installer.nlsEnabled="TRUE":
Arg:7:-Doracle.installer.prereqConfigLoc= :
Arg:8:-Doracle.installer.unixVersion=2.6.39-400.209.1.el5uek:
Arg:9:-mx160m:
Arg:10:-cp:
Arg:11:/tmp/OraInstall2015-06-24_07-31-19AM::/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/oneclick.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/share.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/emocmutl.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/emCfg.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/jsch.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/ssh.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/http_client.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/OraSuiteInstaller.jar:/tmp/OraInstall2015-06-24_07-31-19AM/OPatch/jlib/opatch.jar:/tmp/OraInstall2015-06-24_07-31-19AM/OPatch/jlib/opatchactions.jar:/tmp/OraInstall2015-06-24_07-31-19AM/OPatch/jlib/opatchprereq.jar:/tmp/OraInstall2015-06-24_07-31-19AM/OPatch/jlib/opatchutil.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstImages.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/help4.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/help4-nls.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/ewt3.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/swingaccess.jar::/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/jewt4.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/ojmisc.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/xml.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/srvm.jar:/tmp/OraInstall2015-06-24_07-31-19AM/oui/jlib/classes12.jar:
Arg:12:oracle.sysman.oii.oiic.OiicAttachHome:
Arg:13:-scratchPath:
Arg:14:/tmp/OraInstall2015-06-24_07-31-19AM:
Arg:15:-sourceType:
Arg:16:network:
Arg:17:-timestamp:
Arg:18:2015-06-24_07-31-19AM:
Arg:19:-attachHome:
Arg:20:ORACLE_HOME=/usr/lib/oracle/agent/sbin:
Arg:21:ORACLE_HOME_NAME=sbin12c0:
Arg:22:-waitForCompletion:
Arg:23:-debug:
Arg:24:-invPtrLoc:
Arg:25:/usr/lib/oracle/agent/core/12.1.0.4.0/oraInst.loc:
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2015-06-24_07-31-19AM/jre/bin/java. Please wait...
The inventory pointer is located at /usr/lib/oracle/agent/core/12.1.0.4.0/oraInst.loc
'AttachHome' was successful.
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7059 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-06-24_07-31-26AM. Please wait ...
LD_LIBRARY_PATH environment variable :
-------------------------------------------------------
Total args: 25
Command line argument array elements ...
Arg:0:/tmp/OraInstall2015-06-24_07-31-26AM/jre/bin/java:
Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-06-24_07-31-26AM/oui/lib/linux64:
Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-06-24_07-31-26AM/oui:
Arg:3:-Doracle.installer.bootstrap=TRUE:
Arg:4:-Doracle.installer.startup_location=/usr/lib/oracle/agent/core/12.1.0.4.0/oui/bin:
Arg:5:-Doracle.installer.jre_loc=../../jre:
Arg:6:-Doracle.installer.nlsEnabled="TRUE":
Arg:7:-Doracle.installer.prereqConfigLoc= :
Arg:8:-Doracle.installer.unixVersion=2.6.39-400.209.1.el5uek:
Arg:9:-mx160m:
Arg:10:-cp:
Arg:11:/tmp/OraInstall2015-06-24_07-31-26AM::/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/oneclick.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/share.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/emocmutl.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/emCfg.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/jsch.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/ssh.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/http_client.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/OraSuiteInstaller.jar:/tmp/OraInstall2015-06-24_07-31-26AM/OPatch/jlib/opatch.jar:/tmp/OraInstall2015-06-24_07-31-26AM/OPatch/jlib/opatchactions.jar:/tmp/OraInstall2015-06-24_07-31-26AM/OPatch/jlib/opatchprereq.jar:/tmp/OraInstall2015-06-24_07-31-26AM/OPatch/jlib/opatchutil.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstImages.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/help4.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/help4-nls.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/ewt3.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/swingaccess.jar::/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/jewt4.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/ojmisc.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/xml.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/srvm.jar:/tmp/OraInstall2015-06-24_07-31-26AM/oui/jlib/classes12.jar:
Arg:12:oracle.sysman.oii.oiic.OiicUpdateHomeDeps:
Arg:13:-scratchPath:
Arg:14:/tmp/OraInstall2015-06-24_07-31-26AM:
Arg:15:-sourceType:
Arg:16:network:
Arg:17:-timestamp:
Arg:18:2015-06-24_07-31-26AM:
Arg:19:-updateHomeDeps:
Arg:20:HOME_DEPENDENCY_LIST={/usr/lib/oracle/agent/sbin:/usr/lib/oracle/agent/core/12.1.0.4.0}:
Arg:21:-waitForCompletion:
Arg:22:-debug:
Arg:23:-invPtrLoc:
Arg:24:/usr/lib/oracle/agent/core/12.1.0.4.0/oraInst.loc:
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2015-06-24_07-31-26AM/jre/bin/java. Please wait...
The inventory pointer is located at /usr/lib/oracle/agent/core/12.1.0.4.0/oraInst.loc
'UpdateHomeDeps' was successful.
Finished product-specific root actions.
/etc exist

Creating /etc/oragchomelist file...
/usr/lib/oracle/agent/core/12.1.0.4.0
Setting the invPtrLoc to /usr/lib/oracle/agent/core/12.1.0.4.0/oraInst.loc

perform - mode is starting for action: configure

** Agent Port Check completed successfully.**

perform - mode finished for action: configure

You can see the log file: /usr/lib/oracle/agent/core/12.1.0.4.0/cfgtoollogs/oui/configActions2015-06-24_07-31-29-AM.log
Agent Configuration completed successfully

Agent Installation has completed.  Now it's time to verify :

[oracle@rac128 SOFT]$ /usr/lib/oracle/agent/core/12.1.0.4.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 12.1.0.4.0
OMS Version            : 12.1.0.4.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /usr/lib/oracle/agent/agent_inst
Agent Log Directory    : /usr/lib/oracle/agent/agent_inst/sysman/log
Agent Binaries         : /usr/lib/oracle/agent/core/12.1.0.4.0
Agent Process ID       : 20639
Parent Process ID      : 20597
Agent URL              : https://rac128.ora.com:3872/emd/main/
Local Agent URL in NAT : https://rac128.ora.com:3872/emd/main/
Repository URL         : https://oem250.ora.com:4903/empbs/upload
Started at             : 2015-06-24 07:32:23
Started by user        : oracle
Operating System       : Linux version 2.6.39-400.209.1.el5uek (amd64)
Last Reload            : (none)
Last successful upload                       : 2015-06-24 07:32:46
Last attempted upload                        : 2015-06-24 07:32:46
Total Megabytes of XML files uploaded so far : 0.21
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 57.24%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2015-06-24 07:32:26
Last successful heartbeat to OMS             : 2015-06-24 07:32:26
Next scheduled heartbeat to OMS              : 2015-06-24 07:33:27

---------------------------------------------------------------
Agent is Running and Ready



Enjoy..............

No comments:

Post a Comment