Oracle Study 之--Oracle 11g Grid control安装(Agent)
系统环境:
操作系统: Oracle Linux 5.6(64)
Oracle: Oracle 11.2.0.3
Weblogic: Wls 10.3.2(32)
Grid Control: Grid Control 11.1.0.1 (64)
一、GC系统架构 包括OracleManagement Service(OMS),OracleManagement Agent,OracleManagement Repository,GridControl Console四个组成部分. 系统架构如下:
二、Agent 安装
对于Agent安装包,可以从OTN下载,或者直接从OMS主机获取,本机采用从OMS主机获取。
1)、系统架构:
OMS Server:
主机名: ocm1.enmoedu.com
IP Add: 192.168.8.200
DB SID: emrp
Agent:
主机名: ocm2.enmoedu.com
IP Add: 192.168.8.201
DB SID: enmoedu
[root@ocm2 soft]# cat /etc/hosts
127.0.0.1 localhost
192.168.8.200 ocm1.enmoedu.com ocm1
192.168.8.201 ocm2.enmoedu.com ocm2
2)、Install Agent
2.1、在OMS Server将agent pack上传到agent host
首先保证OMS host端OMS server和agent运行正常
[oracle@ocm1 ~]$ cd /u01/app/Oracle/Middleware/oms11g/bin [oracle@ocm1 bin]$ ./emctl status oms Oracle Enterprise Manager 11g Release 1 Grid Control Copyright (c) 1996,2010 Oracle Corporation. All rights reserved. WebTier is Up Oracle Management Server is Up [oracle@ocm1 bin]$ pwd /u01/app/Oracle/Middleware/agent11g/bin [oracle@ocm1 bin]$ ./emctl status agent Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996,2010 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 11.1.0.1.0 OMS Version : 11.1.0.1.0 Protocol Version : 11.1.0.0.0 Agent Home : /u01/app/Oracle/Middleware/agent11g Agent binaries : /u01/app/Oracle/Middleware/agent11g Agent Process ID : 3249 Parent Process ID : 3227 Agent URL : https://ocm1.enmoedu.com:3872/emd/main/ Repository URL : https://ocm1.enmoedu.com:4900/em/upload Started at : 2016-09-22 06:06:09 Started by user : oracle Last Reload : 2016-09-22 06:13:05 Last successful upload : 2016-09-22 07:04:49 Total Megabytes of XML files uploaded so far : 13.50 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0.00 Available disk space on upload filesystem : 28.12% Last successful heartbeat to OMS : 2016-09-22 07:13:40 --------------------------------------------------------------- Agent is Running and Ready [oracle@ocm1 bin]$ netstat -an |grep :7799 tcp 0 0 0.0.0.0:7799 0.0.0.0:* LISTEN [oracle@ocm1 bin]$ netstat -an |grep :7202 tcp 0 0 192.168.8.200:7202 0.0.0.0:* LISTEN tcp 1 0 192.168.8.200:52672 192.168.8.200:7202 CLOSE_WAIT tcp 1 0 192.168.8.200:38070 192.168.8.200:7202 CLOSE_WAIT [oracle@ocm1 bin]$ ./opmnctl status Processes in Instance: instance1 ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- ohs1 | OHS | 2632 | Alive
上传Agent Pack到Agent Host: [oracle@ocm1 linux_x64]$ pwd
/u01/app/Oracle/Middleware/oms11g/sysman/agent_download/11.1.0.1.0/linux_x64 [oracle@ocm1 linux_x64]$ ls addons agentdeploy agent_scripts.jar prereqs agent agentDownload.linux_x64 oui response [oracle@ocm1 linux_x64]$ scp agentDownload.linux_x64 ocm2:/home/oracle The authenticity of host 'ocm2 (192.168.8.201)' can't be established. RSA key fingerprint is f4:28:02:82:53:6f:8d:dc:03:8e:3c:1c:21:37:bc:c9. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ocm2,192.168.8.201' (RSA) to the list of known hosts. oracle@ocm2's password: agentDownload.linux_x64 100% 38KB 37.6KB/s 00:00 2.2、 在Agent Host主机安装Agent Pack: [oracle@ocm2 ~]$ mkdir /u01/app/Oracle //创建agent安装目录,尽量和server保持一致 [oracle@ocm2 ~]$ ls -l total 48 -rw-r--r-- 1 oracle oinstall 38519 Sep 22 07:04 agentDownload.linux_x64 drwxr-xr-x 2 oracle oinstall 4096 Sep 8 08:39 cdrom drwxr-xr-x 2 oracle oinstall 4096 Sep 8 08:50 Desktop [oracle@ocm2 ~]$ chmod 755 agentDownload.linux_x64 [oracle@ocm2 ~]$ ls -l total 48 -rwxr-xr-x 1 oracle oinstall 38519 Sep 22 07:04 agentDownload.linux_x64 drwxr-xr-x 2 oracle oinstall 4096 Sep 8 08:39 cdrom drwxr-xr-x 2 oracle oinstall 4096 Sep 8 08:50 Desktop [oracle@ocm2 ~]$ ./agentDownload.linux_x64 -yb /u01/app/Oracle agentDownload.linux_x64 invoked on Thu Sep 22 07:06:36 CST 2016 with Arguments "-yb /u01/app/Oracle" Platform=Linux.x86_64,OS=linux_x64 GetPlatform:returned=0,and os is set to: linux_x64,platform=Linux.x86_64 Creating /home/oracle/agentDownload11.1.0.1.0Oui ... LogFile for this Download can be found at: "/home/oracle/agentDownload11.1.0.1.0Oui/agentDownload.linux_x64092216070636.log" Running on Selected Platform: Linux.x86_64 Installer location: /home/oracle/agentDownload11.1.0.1.0Oui Downloading Agent install response file ... Downloading Agent install response file ... Executing wget_get_file http://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/agent_download.rsp using the url http://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/ to access OMS --2016-09-22 07:06:36-- http://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/agent_download.rsp Resolving ocm1.enmoedu.com... 192.168.8.200 Connecting to ocm1.enmoedu.com|192.168.8.200|:4900... connected. HTTP request sent,awaiting response... 200 No headers,assuming HTTP/0.9 Length: unspecified Saving to: `agent_download.rsp' [ <=> ] 7 --.-K/s in 0s 2016-09-22 07:06:36 (615 KB/s) - `agent_download.rsp' saved [7] Finished Downloading agent_download.rsp with Status=0 Response file check complete - Failed Could not download through url . Trying secure download.. Executing wget_get_file https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/agent_download.rsp using the url https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/ to access OMS --2016-09-22 07:06:36-- https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/agent_download.rsp Resolving ocm1.enmoedu.com... 192.168.8.200 Connecting to ocm1.enmoedu.com|192.168.8.200|:4900... connected. WARNING: cannot verify ocm1.enmoedu.com's certificate,issued by `/O=EnterpriseManager on ocm1.enmoedu.com/OU=EnterpriseManager on ocm1.enmoedu.com/L=EnterpriseManager on ocm1.enmoedu.com/ST=CA/C=US/CN=ocm1.enmoedu.com': Self-signed certificate encountered. HTTP request sent,awaiting response... 200 OK Length: 10008 (9.8K) [text/plain] Saving to: `agent_download.rsp' 100%[======================================>] 10,008 --.-K/s in 0.004s 2016-09-22 07:06:36 (2.58 MB/s) - `agent_download.rsp' saved [10008/10008] Finished Downloading agent_download.rsp with Status=0 Response file check Complete - Success Checking the writable permission for baseDir - passed Provide the Agent Registration password so that the Management Agent can communicate with Secure Management Service. Note: You may proceed with the installation without supplying the password; however,Management Agent can be secured manually after the installation. If Oracle Management Service is not secured,agent will not be secured,so continue by pressing Enter Key. Enter Agent Registration Password: //注意:输入在安装OMS时的agent register 口令 Downloading Oracle Installer ... Executing wget_get_file https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/linux_x64/oui/oui_linux_x64.jar using the url https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/ to access OMS --2016-09-22 07:08:29-- https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/linux_x64/oui/oui_linux_x64.jar Resolving ocm1.enmoedu.com... 192.168.8.200 Connecting to ocm1.enmoedu.com|192.168.8.200|:4900... connected. WARNING: cannot verify ocm1.enmoedu.com's certificate,awaiting response... 200 OK Length: 98361064 (94M) [text/plain] Saving to: `oui_linux_x64.jar' 100%[======================================>] 101,448 --.-K/s in 0.1s 2016-09-22 07:08:46 (780 KB/s) - `unzip' saved [101448/101448] Finished Downloading unzip with Status=0 Adding execute permissions to unzip ... Downloaded UnzipUtility with status=0 //从Server端下载pack完成 Verifying Installer jar ... Verified InstallerJar with status=0 Unjarring Oracle Installer ... Archive: /home/oracle/agentDownload11.1.0.1.0Oui/oui_linux_x64.jar creating: Disk1/stage/ inflating: Disk1/stage/OuiConfigVariables.xml creating: Disk1/stage/Response/ inflating: Disk1/stage/Response/oracle.swd.Custom.rsp inflating: Disk1/stage/Response/oracle.swd.Complete.rsp inflating: Disk1/stage/Response/oracle.swd.Custom.rsp.bak inflating: Disk1/stage/Response/oracle.swd.Typical.rsp.bak inflating: Disk1/stage/Response/oracle.swd.Typical.rsp inflating: Disk1/stage/Response/oracle.swd.Complete.rsp.bak creating: Disk1/stage/Queries/ creating: Disk1/stage/Queries/rgsQueries/ creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/ creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/ inflating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/rgsQueries.jar creating: Disk1/stage/Queries/textFileQueries/ creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/ creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/ inflating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/textFileQueries.jar creating: Disk1/stage/Queries/w32RegQueries/ creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/ creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/ inflating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/w32RegQueryLib.jar creating: Disk1/stage/Queries/generalQueries/ creating: Disk1/stage/Queries/generalQueries/10.2.0.2.0/ creating: Disk1/stage/Queries/generalQueries/10.2.0.2.0/1/ inflating: Disk1/stage/Queries/generalQueries/10.2.0.2.0/1/generalQueries.jar creating: Disk1/stage/Queries/globalVarQueries/ creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/ creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/ inflating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/globalVarQueries.jar creating: Disk1/stage/Queries/MemorySizeQuery/ creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/ creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/ inflating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/MemorySizeQuery.jar creating: Disk1/stage/Queries/dbQueries/ creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/ creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/ inflating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/dbQueries.jar creating: Disk1/stage/Queries/fileQueries/ creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/ creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/ inflating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/fileQueries.jar creating: Disk1/stage/Queries/generalPortQueries/ creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/ creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/ inflating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/generalPortQueries.jar creating: Disk1/stage/Queries/ClusterQueries/ creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/ creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/ inflating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/clusterQueries.jar creating: Disk1/stage/Queries/SIDQueries/ creating: Disk1/stage/Queries/SIDQueries/1.2.7/ creating: Disk1/stage/Queries/SIDQueries/1.2.7/1/ inflating: Disk1/stage/Queries/SIDQueries/1.2.7/1/SidQueries.jar creating: Disk1/stage/Queries/NtServicesQueries/ creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/ creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/ inflating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/NtServiceQueries.jar creating: Disk1/stage/Queries/RepositoryQueries/ creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/ creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/ inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/Queries.jar creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/ creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/2/ inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/2/Queries.jar creating: Disk1/stage/Queries/LangQueries/ creating: Disk1/stage/Queries/LangQueries/1.3.6.4/ creating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/ inflating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/LangQueries.jar creating: Disk1/stage/Queries/clusterQueriesEx/ creating: Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/ creating: Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/1/ inflating: Disk1/stage/Queries/clusterQueriesEx/10.2.0.1.0/1/clusterQuery.jar creating: Disk1/stage/Queries/unixQueries/ creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/ creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/ inflating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/unixQueries.jar creating: Disk1/stage/Queries/EmQueries/ creating: Disk1/stage/Queries/EmQueries/4.2.4/ creating: Disk1/stage/Queries/EmQueries/4.2.4/1/ inflating: Disk1/stage/Queries/EmQueries/4.2.4/1/EmQueries.jar creating: Disk1/stage/Queries/areasQueries/ creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/ creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/ inflating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/areasQueries.jar creating: Disk1/stage/Queries/ccrQueries/ creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/ creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/ inflating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/ccrQueries.jar creating: Disk1/stage/Queries/WindowsGeneralQueries/ creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/ creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/ inflating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/WindowsGeneralQueries.jar creating: Disk1/stage/Queries/netQueries/ creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/ creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/ inflating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/netQueries.jar creating: Disk1/stage/Queries/RunningProcessQuery/ creating: Disk1/stage/Queries/RunningProcessQuery/1.5.2/ creating: Disk1/stage/Queries/RunningProcessQuery/1.5.2/1/ inflating: Disk1/stage/Queries/RunningProcessQuery/1.5.2/1/RunningProcessesQuery.jar creating: Disk1/stage/Components/ creating: Disk1/stage/Components/oracle.swd.oui.core/ creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/ creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/ creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/ inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/filegroup1.jar inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/filegroup2.jar inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/filegroup3.jar inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/filegroup4.jar inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/filegroup5.jar creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/Expanded/ creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/Expanded/oui/ creating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/Expanded/oui/jlib/ inflating: Disk1/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles/Expanded/oui/jlib/emocmutl.jar creating: Disk1/stage/Components/oracle.swd.oil/ creating: Disk1/stage/Components/oracle.swd.oil/11.1.0.8.0/ creating: Disk1/stage/Components/oracle.swd.oil/11.1.0.8.0/1/ creating: Disk1/stage/Components/oracle.swd.oil/11.1.0.8.0/1/DataFiles/ inflating: Disk1/stage/Components/oracle.swd.oil/11.1.0.8.0/1/DataFiles/filegroup1.1.1.jar creating: Disk1/stage/Components/oracle.swd.opatch/ creating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/ creating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/ creating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/ inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup10.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup1.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup2.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup8.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup11.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup3.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup7.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup4.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup6.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup5.jar inflating: Disk1/stage/Components/oracle.swd.opatch/11.1.0.8.0/1/DataFiles/filegroup9.jar creating: Disk1/stage/Components/oracle.jdk/ creating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/ creating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/ creating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/ inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup1.jar inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup2.jar inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup3.jar inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup4.jar inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup6.jar inflating: Disk1/stage/Components/oracle.jdk/1.6.0.14.0/1/DataFiles/filegroup5.jar creating: Disk1/stage/Components/oracle.swd/ creating: Disk1/stage/Components/oracle.swd/11.1.0.8.0/ creating: Disk1/stage/Components/oracle.swd/11.1.0.8.0/1/ creating: Disk1/stage/Components/oracle.swd/11.1.0.8.0/1/DataFiles/ creating: Disk1/stage/Components/oracle.swd.oui/ creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/ creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/ creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/ inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/filegroup1.jar inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/filegroup2.jar inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/filegroup3.jar inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/filegroup4.jar inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/filegroup5.jar creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/ creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/ creating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/ inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/images.properties inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/oneclickbg.gif inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/10gOneClickbusybar.gif inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/splashScr.gif inflating: Disk1/stage/Components/oracle.swd.oui/11.1.0.8.0/1/DataFiles/Expanded/oui/instImages/bg.jpg creating: Disk1/stage/sizes/ inflating: Disk1/stage/sizes/oracle.swd11.1.0.8.0Custom.sizes.properties inflating: Disk1/stage/sizes/oracle.swd11.1.0.8.0Complete.sizes.properties inflating: Disk1/stage/sizes/oracle.swd11.1.0.8.0Typical.sizes.properties creating: Disk1/stage/ext/ creating: Disk1/stage/ext/jlib/ inflating: Disk1/stage/ext/jlib/generalPortQueries.jar inflating: Disk1/stage/ext/jlib/installcommon-flow_1.0.0b.jar inflating: Disk1/stage/ext/jlib/installcommon-swing_1.0.0b.jar inflating: Disk1/stage/ext/jlib/emInstaller.jar inflating: Disk1/stage/ext/jlib/em_prereq.jar inflating: Disk1/stage/ext/jlib/OraPrereqChecks.jar inflating: Disk1/stage/oracle.swd.11_1_0_8_0.xml creating: Disk1/stage/globalvariables/ inflating: Disk1/stage/globalvariables/variable.properties inflating: Disk1/stage/globalvariables/globalvar.xml inflating: Disk1/stage/oracle.swd.11_1_0_8_0_dep_default.properties inflating: Disk1/stage/disk.label inflating: Disk1/stage/oracle.swd.11_1_0_8_0_1273043859446.bak creating: Disk1/stage/Dialogs/ creating: Disk1/stage/Dialogs/customDialogs/ creating: Disk1/stage/Dialogs/customDialogs/1.0.0/ creating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/ inflating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/newCustomDialogs.jar creating: Disk1/stage/Dialogs/customDialogs/3.3.0/ creating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/ inflating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/CustomDialogs.jar creating: Disk1/stage/Dialogs/standardDialogs/ creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/ creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/ inflating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/standardDialogs.jar inflating: Disk1/stage/install1.jar inflating: Disk1/stage/invDetails.properties creating: Disk1/stage/Actions/ creating: Disk1/stage/Actions/ntServicesActions/ creating: Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/ creating: Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/1/ inflating: Disk1/stage/Actions/ntServicesActions/10.2.0.6.0/1/ntServicesActions.jar creating: Disk1/stage/Actions/generalActions/ creating: Disk1/stage/Actions/generalActions/10.2.0.9.0/ creating: Disk1/stage/Actions/generalActions/10.2.0.9.0/1/ inflating: Disk1/stage/Actions/generalActions/10.2.0.9.0/1/generalActions.jar creating: Disk1/stage/Actions/clusterActions/ creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/ creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/ inflating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/clusterActionLib.jar creating: Disk1/stage/Actions/w32OcxRegActions/ creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/ creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/ inflating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/w32OcxLib.jar creating: Disk1/stage/Actions/ntw32FoldersActions/ creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/ creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/ inflating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/WindowsFolders.jar creating: Disk1/stage/Actions/oradim/ creating: Disk1/stage/Actions/oradim/10.1.0.3.0/ creating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/ inflating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/oradim.jar creating: Disk1/stage/Actions/fileActions/ creating: Disk1/stage/Actions/fileActions/10.2.0.6.0/ creating: Disk1/stage/Actions/fileActions/10.2.0.6.0/1/ inflating: Disk1/stage/Actions/fileActions/10.2.0.6.0/1/fileActionLib.jar creating: Disk1/stage/Actions/launchPadActions/ creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/ creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/ inflating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/launchpadaction.jar creating: Disk1/stage/Actions/dbActions/ creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/ creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/ inflating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/dbActions.jar creating: Disk1/stage/Actions/unixActions/ creating: Disk1/stage/Actions/unixActions/10.2.0.2.0/ creating: Disk1/stage/Actions/unixActions/10.2.0.2.0/1/ inflating: Disk1/stage/Actions/unixActions/10.2.0.2.0/1/unixActions.jar creating: Disk1/stage/Actions/w32RegActions/ creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/ creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/ inflating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/w32RegActionLib.jar creating: Disk1/stage/Actions/rgsActions/ creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/ creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/ inflating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/rgsActions.jar creating: Disk1/stage/Actions/SpawnActions/ creating: Disk1/stage/Actions/SpawnActions/10.1.0.3.3/ creating: Disk1/stage/Actions/SpawnActions/10.1.0.3.3/1/ inflating: Disk1/stage/Actions/SpawnActions/10.1.0.3.3/1/spawnActions.jar creating: Disk1/stage/Actions/jarActions/ creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/ creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/ inflating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/jarActionLib.jar creating: Disk1/stage/Actions/customFileActions/ creating: Disk1/stage/Actions/customFileActions/1.2/ creating: Disk1/stage/Actions/customFileActions/1.2/1/ inflating: Disk1/stage/Actions/customFileActions/1.2/1/customFileActions.jar creating: Disk1/stage/Actions/wingeneralActions/ creating: Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/ creating: Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/1/ inflating: Disk1/stage/Actions/wingeneralActions/10.2.0.1.0/1/wingeneralActionLib.jar creating: Disk1/stage/ComponentList/ inflating: Disk1/stage/ComponentList/oracle.swd_Custom.xml inflating: Disk1/stage/ComponentList/oracle.swd_Complete.xml inflating: Disk1/stage/ComponentList/oracle.swd_Typical.xml inflating: Disk1/stage/products.xml creating: Disk1/stage/prereq/ inflating: Disk1/stage/prereq/agent_completeRefhost.xml inflating: Disk1/stage/prereq/em_prereqs.xml inflating: Disk1/stage/prereq/prerequisite.properties inflating: Disk1/stage/prereq/em_rulemap.xml inflating: Disk1/stage/prereq/LinuxVendors.xml inflating: Disk1/stage/prereq/rulemap.xml inflating: Disk1/stage/prereq/commonRefhost.xml inflating: Disk1/stage/prereq/knowledgesrc.xml inflating: Disk1/stage/prereq/em_seedRefhost.xml inflating: Disk1/stage/prereq/em_prereq.jar inflating: Disk1/stage/prereq/oms_coreRefhost.xml inflating: Disk1/stage/prereq/em_noseedRefhost.xml inflating: Disk1/stage/prereq/OraPrereqChecks.jar inflating: Disk1/stage/libs.xml creating: Disk1/install/ inflating: Disk1/install/addonInputFile inflating: Disk1/install/oraparam.ini creating: Disk1/install/images/ inflating: Disk1/install/images/ias_background.png inflating: Disk1/install/images/tip.jpg inflating: Disk1/install/images/em_2.gif inflating: Disk1/install/images/em_10.gif inflating: Disk1/install/images/em_7.gif inflating: Disk1/install/images/wizardIcon.png inflating: Disk1/install/images/prog_none.gif inflating: Disk1/install/images/billboard_rec3.png inflating: Disk1/install/images/config_success.gif inflating: Disk1/install/images/em_9.gif inflating: Disk1/install/images/tick.png inflating: Disk1/install/images/tool3.gif inflating: Disk1/install/images/tool1.gif inflating: Disk1/install/images/inprogress.png inflating: Disk1/install/images/status_check.png inflating: Disk1/install/images/em_6.gif inflating: Disk1/install/images/config_failure.gif inflating: Disk1/install/images/em_4.gif inflating: Disk1/install/images/em_3.gif inflating: Disk1/install/images/em_1.gif inflating: Disk1/install/images/em_8.gif inflating: Disk1/install/images/em_5.gif inflating: Disk1/install/images/header_new.png inflating: Disk1/install/clusterparam.ini inflating: Disk1/install/addLangs.sh inflating: Disk1/install/portrange.ini inflating: Disk1/install/detachHome.sh inflating: Disk1/install/runInstaller inflating: Disk1/install/unzip inflating: Disk1/install/portrange_upgrade.ini inflating: Disk1/install/lsnodes inflating: Disk1/install/runInstaller.sh inflating: Disk1/install/runSSHSetup.sh creating: Disk1/install/validateXmls/ inflating: Disk1/install/validateXmls/emseed_validate.xml inflating: Disk1/install/validateXmls/oms_validate.xml inflating: Disk1/install/validateXmls/noseed_validate.xml inflating: Disk1/install/validateXmls/validate.xsd inflating: Disk1/install/validateXmls/agent_validate.xml inflating: Disk1/install/validateXmls/upgrade_validate.xml inflating: Disk1/install/addNode.sh creating: Disk1/install/resource/ inflating: Disk1/install/resource/cons_ko.nls inflating: Disk1/install/resource/cons_pt_BR.nls inflating: Disk1/install/resource/cons.nls inflating: Disk1/install/resource/cons_es.nls inflating: Disk1/install/resource/cons_zh_TW.nls inflating: Disk1/install/resource/cons_ja.nls inflating: Disk1/install/resource/cons_zh_CN.nls inflating: Disk1/install/resource/cons_it.nls inflating: Disk1/install/resource/cons_fr.nls inflating: Disk1/install/resource/cons_de.nls inflating: Disk1/install/attachHome.sh creating: Disk1/install/response/ inflating: Disk1/install/response/agent.rsp inflating: Disk1/install/oneclick.properties inflating: Disk1/install/oraparamsilent.ini inflating: Disk1/runInstaller Adding execute permissions to runInstaller ... Adding execute permissions to unzip ... Launching Oracle Installer ... Executing /home/oracle/agentDownload11.1.0.1.0Oui/Disk1/runInstaller -waitforcompletion -force -responseFile /home/oracle/agentDownload11.1.0.1.0Oui/agent_download.rsp -silent b_doDiscovery=TRUE b_startAgent=TRUE -sourceLoc /home/oracle/agentDownload11.1.0.1.0Oui/Disk1/stage/products.xml FROM_LOCATION=https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/linux_x64/agent/stage/products.xml ORACLE_AGENT_HOME_LOCATION=/u01/app/Oracle
OMS_HOST="ocm1.enmoedu.com" OMS_PORT="4900" -acceptUntrustedCertificates DECLINE_SECURITY_UPDATES=true Starting Oracle Universal Installer... Checking Temp space: must be greater than 150 MB. Actual 38148 MB Passed Checking swap space: must be greater than 150 MB. Actual 3999 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-09-22_07-08-48AM. Please wait ...*** Check for updates *** *** Select Installation Type *** *** Check Prerequisites *** /home/oracle/agentDownload11.1.0.1.0Oui/Disk1/stage/shiphomeproperties.xml (No such file or directory) *** Specify Oracle Management Service Location *** *** Customize Ports *** *** Review *** ----------------------------------------------------------------------------- Summary Global Settings Source: https://ocm1.enmoedu.com:4900/agent_download/11.1.0.1.0/linux_x64/agent/stage/products.xml Oracle Home: /u01/app/Oracle/agent11g (agent11g1) Installation Type: Complete Product Languages English Space Requirements / Required 1.06GB (includes 32MB temporary) : Available 37.05GB New Installations (58 products) Oracle Management Agent 11.1.0.1.0 Agent Virtualization 11.1.0.1.0 Enterprise Manager Agent 11.1.0.1.0 Enterprise Manager Agent Core Files 11.1.0.1.0 Secure Socket Layer 11.1.0.7.0 Oracle Recovery Manager 11.1.0.7.0 Enterprise Manager Common Files 11.1.0.1.0 Enterprise Manager Common Core Files 11.1.0.1.0 Required Support Files 11.1.0.7.0 Oracle RAC Required Support Files-HAS 11.1.0.7.0 Oracle JDBC/THIN Interfaces 11.1.0.7.0 Oracle JDBC/OCI Instant Client 11.1.0.7.0 Oracle Globalization Support 11.1.0.7.0 Oracle Net Required Support Files 11.1.0.7.0 SSL Required Support Files for InstantClient 11.1.0.7.0 LDAP Required Support Files 11.1.0.7.0 Oracle Globalization Support 11.1.0.7.0 Perl Interpreter 5.10.0.0.1 Perl Modules 5.10.0.0.1 Expat libraries 2.0.1.0.1 XML Parser for Java 11.1.0.7.0 Precompiler Required Support Files 11.1.0.7.0 RDBMS Required Support Files 11.1.0.7.0 RDBMS Required Support Files for Instant Client 11.1.0.7.0 Parser Generator Required Support Files 11.1.0.7.0 Platform Required Support Files 11.1.0.7.0a Patch for Oracle Process Management Notification 10.1.3.4.0 Oracle Process Management Notification 10.1.3.0.0 Agent Required Support Files 10.2.0.4.1 XDK Required Support Files 11.1.0.7.0 SQL*Plus Required Support Files 11.1.0.7.0 Secure Socket Layer 11.1.0.7.0 Oracle Core Required Support Files 11.1.0.7.0 Enterprise Manager Agent for Grid Control 11.1.0.1.0 Installation Common Files 11.1.0.7.0 Oracle Configuration Manager 10.3.2.1.0 Oracle Bali Share 11.1.1.2.0 Enterprise Manager Application Server Integrator Plugin -- Agent Support 11.1.0.2.0 Oracle Dynamic Monitoring Service Patch 10.1.2.3.0 Oracle Dynamic Monitoring Service 10.1.2.1.0 Enterprise Manager Application Server Plugin -- Agent Support 11.1.0.1.0 Enterprise Manager Application Server Plugin -- Common Support 11.1.0.1.0 Enterprise Manager Database Plugin -- Agent Support 11.1.0.1.0 Enterprise Manager Siebel Plugin -- Agent Support 11.1.0.1.0 Provisioning Advisor Framework Common Files For Agent and OMS 11.1.0.1.0 Common component for Virtualization 11.1.0.1.0 Oracle Notification Service (eONS) 11.2.0.1.0 Enterprise Manager Collaboration Suite Plugin -- Agent Support 11.1.0.1.0 Oracle Notification Service 10.1.3.0.0 Oracle Required Support Files 32 bit 11.1.0.7.0 OracleAS HTTP Client 11.1.1.2.0 OracleAS J2EE BULKOPS 11.0.0.0.0 Oracle Wallet Manager 11.1.0.7.0 Oracle Security Developer Tools 11.1.0.7.0 Oracle Universal Installer 11.1.0.8.0 Oracle One-Off Patch Installer 11.1.0.8.0 Installer SDK Component 11.1.0.8.0 Sun JDK 1.6.0.14.0 ----------------------------------------------------------------------------- Installation in progress .................................................................................. Install successful Linking in progress Link successful Setup in progress ....... Setup successful Warning: The following configuration scripts needs to be executed as the "root" user /u01/app/Oracle/agent11g/root.sh To execute the configuration scripts: 1. Open a new terminal window 2. Login in as "root" 3. Run the scripts Running Configuration assistant "Agent Oneoff Patch Application" The ORACLE HOME is /u01/app/Oracle/agent11gThe install isLocal is trueThe command is opatch apply -invPtrLoc /u01/app/Oracle/agent11g/oraInst.loc -silent -local Unjarring the oneoff 5336126.zip ... /u01/app/Oracle/agent11g/jdk/bin/jar xvf /u01/app/Oracle/agent11g/install/oneoffs/111010/5336126.zip created: 5336126/ created: 5336126/files/ created: 5336126/files/lib/ created: 5336126/files/lib/dms.jar/ created: 5336126/files/lib/dms.jar/oracle/ created: 5336126/files/lib/dms.jar/oracle/core/ created: 5336126/files/lib/dms.jar/oracle/core/ojdl/ inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage$InstanceId.class inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage$MessageArgument.class inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage.class inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/MessageType.class created: 5336126/files/diagnostics/ created: 5336126/files/diagnostics/lib/ created: 5336126/files/diagnostics/lib/ojdl.jar/ created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/ created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/ inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$InstanceId.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$MessageArgument.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/MessageType.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/ODL11Formatter.class created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/AccessLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BaseTextLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BufferedLogFileReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BusStopLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/EOFParseException.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSet.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSetLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogContentHandler.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogFileReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogParser.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogReaderConstants.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogRecordImpl.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/MessageFormatFileSet.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReaderFactory.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SAXParserDriver.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SimpleTextLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/TextLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/UnformattedTextLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/WebCacheLogReader.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser$CharBuf.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser.class inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/oraclelog.dtd created: 5336126/etc/ created: 5336126/etc/config/ inflated: 5336126/etc/config/inventory inflated: 5336126/etc/config/actions created: 5336126/etc/xml/ inflated: 5336126/etc/xml/GenericActions.xml inflated: 5336126/etc/xml/ShiphomeDirectoryStructure.xml inflated: 5336126/README.txt Applying opatch for the oneoff 5336126 ... /u01/app/Oracle/agent11g/OPatch/opatch apply -invPtrLoc /u01/app/Oracle/agent11g/oraInst.loc -silent -local -oh /u01/app/Oracle/agent11g /u01/app/Oracle/agent11g/install/oneoffs/111010/5336126 Invoking OPatch 11.1.0.8.0 Oracle Interim Patch Installer version 11.1.0.8.0 Copyright (c) 2009,Oracle Corporation. All rights reserved. Oracle Home : /u01/app/Oracle/agent11g Central Inventory : /u01/app/oraInventory from : /u01/app/Oracle/agent11g/oraInst.loc OPatch version : 11.1.0.8.0 OUI version : 11.1.0.8.0 OUI location : /u01/app/Oracle/agent11g/oui Log file location : /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch2016-09-22_07-14-04AM.log Patch history file: /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch_history.txt ApplySession applying interim patch '5336126' to OH '/u01/app/Oracle/agent11g' Running prerequisite checks... You selected -local option,hence OPatch will patch the local system only. Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '5336126' for restore. This might take a while.. Backing up files affected by the patch '5336126' for rollback. This might take a while... Patching component oracle.dms,10.1.2.3.0... Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage$InstanceId.class" Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage$MessageArgument.class" Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage.class" Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/MessageType.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$InstanceId.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$MessageArgument.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/MessageType.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/ODL11Formatter.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/AccessLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BaseTextLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BufferedLogFileReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BusStopLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/EOFParseException.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSet.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSetLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogContentHandler.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogFileReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogParser.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogReaderConstants.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogRecordImpl.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/MessageFormatFileSet.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReaderFactory.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SAXParserDriver.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SimpleTextLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/TextLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/UnformattedTextLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/WebCacheLogReader.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser$CharBuf.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser.class" Updating jar file "/u01/app/Oracle/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/oraclelog.dtd" ApplySession adding interim patch '5336126' to inventory Verifying the update... Inventory check OK: Patch ID 5336126 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 5336126 are present in Oracle Home. OPatch succeeded. Unjarring the oneoff 7568506.zip ... /u01/app/Oracle/agent11g/jdk/bin/jar xvf /u01/app/Oracle/agent11g/install/oneoffs/111010/7568506.zip created: 7568506/ created: 7568506/files/ created: 7568506/files/lib/ created: 7568506/files/lib/dms.jar/ created: 7568506/files/lib/dms.jar/oracle/ created: 7568506/files/lib/dms.jar/oracle/dms/ created: 7568506/files/lib/dms.jar/oracle/dms/address/ inflated: 7568506/files/lib/dms.jar/oracle/dms/address/Optic.class created: 7568506/files/lib/dms.jar/oracle/dms/collector/ inflated: 7568506/files/lib/dms.jar/oracle/dms/collector/Ajp13Connector.class created: 7568506/etc/ created: 7568506/etc/config/ inflated: 7568506/etc/config/inventory inflated: 7568506/etc/config/actions created: 7568506/etc/xml/ inflated: 7568506/etc/xml/GenericActions.xml inflated: 7568506/etc/xml/ShiphomeDirectoryStructure.xml inflated: 7568506/README.txt Applying opatch for the oneoff 7568506 ... /u01/app/Oracle/agent11g/OPatch/opatch apply -invPtrLoc /u01/app/Oracle/agent11g/oraInst.loc -silent -local -oh /u01/app/Oracle/agent11g /u01/app/Oracle/agent11g/install/oneoffs/111010/7568506 Invoking OPatch 11.1.0.8.0 Oracle Interim Patch Installer version 11.1.0.8.0 Copyright (c) 2009,Oracle Corporation. All rights reserved. Oracle Home : /u01/app/Oracle/agent11g Central Inventory : /u01/app/oraInventory from : /u01/app/Oracle/agent11g/oraInst.loc OPatch version : 11.1.0.8.0 OUI version : 11.1.0.8.0 OUI location : /u01/app/Oracle/agent11g/oui Log file location : /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch2016-09-22_07-14-14AM.log Patch history file: /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch_history.txt ApplySession applying interim patch '7568506' to OH '/u01/app/Oracle/agent11g' Running prerequisite checks... You selected -local option,hence OPatch will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/app/Oracle/agent11g') Is the local system ready for patching? [y|n] Y (auto-answered by -silent) User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '7568506' for restore. This might take a while... Backing up files affected by the patch '7568506' for rollback. This might take a while... Patching component oracle.dms,10.1.2.3.0... Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/dms/address/Optic.class" Updating jar file "/u01/app/Oracle/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/dms/collector/Ajp13Connector.class" ApplySession adding interim patch '7568506' to inventory Verifying the update... Inventory check OK: Patch ID 7568506 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 7568506 are present in Oracle Home. The local system has been patched and can be restarted. OPatch succeeded. Unjarring the oneoff 8685010.zip ... /u01/app/Oracle/agent11g/jdk/bin/jar xvf /u01/app/Oracle/agent11g/install/oneoffs/111010/8685010.zip created: 8685010/ created: 8685010/files/ created: 8685010/files/opmn/ created: 8685010/files/opmn/lib/ created: 8685010/files/opmn/lib/optic.jar/ created: 8685010/files/opmn/lib/optic.jar/oracle/ created: 8685010/files/opmn/lib/optic.jar/oracle/ias/ created: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/ created: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/optic/ inflated: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/optic/OpmnPhone.class created: 8685010/etc/ created: 8685010/etc/config/ inflated: 8685010/etc/config/inventory inflated: 8685010/etc/config/actions created: 8685010/etc/xml/ inflated: 8685010/etc/xml/GenericActions.xml inflated: 8685010/etc/xml/ShiphomeDirectoryStructure.xml inflated: 8685010/README.txt Applying opatch for the oneoff 8685010 ... /u01/app/Oracle/agent11g/OPatch/opatch apply -invPtrLoc /u01/app/Oracle/agent11g/oraInst.loc -silent -local -oh /u01/app/Oracle/agent11g /u01/app/Oracle/agent11g/install/oneoffs/111010/8685010 Invoking OPatch 11.1.0.8.0 Oracle Interim Patch Installer version 11.1.0.8.0 Copyright (c) 2009,Oracle Corporation. All rights reserved. Oracle Home : /u01/app/Oracle/agent11g Central Inventory : /u01/app/oraInventory from : /u01/app/Oracle/agent11g/oraInst.loc OPatch version : 11.1.0.8.0 OUI version : 11.1.0.8.0 OUI location : /u01/app/Oracle/agent11g/oui Log file location : /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch2016-09-22_07-14-22AM.log Patch history file: /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch_history.txt ApplySession applying interim patch '8685010' to OH '/u01/app/Oracle/agent11g' Running prerequisite checks.. You selected -local option,hence OPatch will patch the local system only. Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '8685010' for restore. This might take a while... Backing up files affected by the patch '8685010' for rollback. This might take a while... Patching component oracle.opmn,10.1.3.4.0... Updating jar file "/u01/app/Oracle/agent11g/opmn/lib/optic.jar" with "/opmn/lib/optic.jar/oracle/ias/opmn/optic/OpmnPhone.class" ApplySession adding interim patch '8685010' to inventory Verifying the update... Inventory check OK: Patch ID 8685010 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 8685010 are present in Oracle Home OPatch succeeded. Unjarring the oneoff 8240469.zip ... /u01/app/Oracle/agent11g/jdk/bin/jar xvf /u01/app/Oracle/agent11g/install/oneoffs/111010/8240469.zip created: 8240469/ created: 8240469/files/ created: 8240469/files/lib/ created: 8240469/files/lib/libclient11.a/ inflated: 8240469/files/lib/libclient11.a/kpuds.o inflated: 8240469/files/lib/libclient11.a/kpudst.o created: 8240469/files/lib32/ created: 8240469/files/lib32/libclient11.a/ inflated: 8240469/files/lib32/libclient11.a/kpuds.o inflated: 8240469/files/lib32/libclient11.a/kpudst.o created: 8240469/etc/ created: 8240469/etc/config/ inflated: 8240469/etc/config/inventory.xml inflated: 8240469/etc/config/actions.xml created: 8240469/etc/xml/ inflated: 8240469/etc/xml/GenericActions.xml inflated: 8240469/etc/xml/ShiphomeDirectoryStructure.xml inflated: 8240469/README.txt Applying opatch for the oneoff 8240469 ... /u01/app/Oracle/agent11g/OPatch/opatch apply -invPtrLoc /u01/app/Oracle/agent11g/oraInst.loc -silent -local -oh /u01/app/Oracle/agent11g /u01/app/Oracle/agent11g/install/oneoffs/111010/8240469 Invoking OPatch 11.1.0.8.0 Oracle Interim Patch Installer version 11.1.0.8.0 Copyright (c) 2009,Oracle Corporation. All rights reserved. Oracle Home : /u01/app/Oracle/agent11g Central Inventory : /u01/app/oraInventory from : /u01/app/Oracle/agent11g/oraInst.loc OPatch version : 11.1.0.8.0 OUI version : 11.1.0.8.0 OUI location : /u01/app/Oracle/agent11g/oui Log file location : /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch2016-09-22_07-14-27AM.log Patch history file: /u01/app/Oracle/agent11g/cfgtoollogs/opatch/opatch_history.txt ApplySession applying interim patch '8240469' to OH '/u01/app/Oracle/agent11g' Running prerequisite checks.. Patch 8240469: Optional component(s) missing : [ oracle.rdbms,11.1.0.7.0 ],[ oracle.rdbms.util,11.1.0.7.0 ] You selected -local option,hence OPatch will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/app/Oracle/agent11g') Is the local system ready for patching? [y|n] Y (auto-answered by -silent) User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '8240469' for restore. This might take a while... Backing up files affected by the patch '8240469' for rollback. This might take a while... Patching component oracle.rdbms.rman,11.1.0.7.0... Patching component oracle.rdbms.rsf,11.1.0.7.0... Updating archive file "/u01/app/Oracle/agent11g/lib/libclient11.a" with "lib/libclient11.a/kpuds.o" Updating archive file "/u01/app/Oracle/agent11g/lib/libclient11.a" with "lib/libclient11.a/kpudst.o" Patching component oracle.rsf.hybrid,11.1.0.7.0... Updating archive file "/u01/app/Oracle/agent11g/lib32/libclient11.a" with "lib32/libclient11.a/kpuds.o" Updating archive file "/u01/app/Oracle/agent11g/lib32/libclient11.a" with "lib32/libclient11.a/kpudst.o" Running make for target irman Running make for target client_sharedlib ApplySession adding interim patch '8240469' to inventory Verifying the update... Inventory check OK: Patch ID 8240469 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 8240469 are present in Oracle Home. The local system has been patched and can be restarted. Configuration assistant "Agent Oneoff Patch Application" Succeeded OPatch succeeded. Finished one-offs apply... Deleting the files... Finished deleting the above files... Running Configuration assistant "Agent Configuration Assistant" Performing free port detection on host=ocm2.enmoedu.com Securing the agent Performing targets discovery and agent configuration Starting the agent Configuration assistant "Agent Configuration Assistant" Succeeded AgentPlugIn:agent configuration finished with status = true Running Configuration assistant "Agent Add-on Plug-in" Configuration assistant "Agent Add-on Plug-in" Succeeded Querying Agent status: Agent is running Removing the copied stuff..... Removed: /home/oracle/agentDownload11.1.0.1.0Oui/oui_linux_x64.jar Removed: /home/oracle/agentDownload11.1.0.1.0Oui/agent_download.rsp Removed:/home/oracle/agentDownload11.1.0.1.0Oui/Disk1 Log name of installation can be found at: "/u01/app/Oracle/agentDownload.linux_x64092216070636.log" /u01/app/Oracle/agent11g/root.sh needs to be executed by root to complete this installation.
2.3、 运行root.sh脚本 [root@ocm2 ~]# /u01/app/Oracle/agent11g/root.sh
三、安装后验证 1)、查看agent service
[oracle@ocm2 bin]$ pwd /u01/app/Oracle/agent11g/bin [oracle@ocm2 bin]$ ./emctl status agent Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996,2010 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 11.1.0.1.0 OMS Version : 11.1.0.1.0 Protocol Version : 11.1.0.0.0 Agent Home : /u01/app/Oracle/agent11g Agent binaries : /u01/app/Oracle/agent11g Agent Process ID : 6271 Parent Process ID : 6238 Agent URL : https://ocm2.enmoedu.com:3872/emd/main/ Repository URL : https://ocm1.enmoedu.com:4900/em/upload Started at : 2016-09-22 07:15:39 Started by user : oracle Last Reload : 2016-09-22 07:15:39 Last successful upload : 2016-09-22 07:16:26 Total Megabytes of XML files uploaded so far : 17.57 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0.00 Available disk space on upload filesystem : 73.03% Last successful heartbeat to OMS : 2016-09-22 07:17:44 --------------------------------------------------------------- Agent is Running and Ready
2)、解锁dbsnmp用户 07:53:58 SYS@ emrp> alter user dbsnmp identified by oracle account unlock; User altered. 07:29:12 SYS@ enmoedu>alter user dbsnmp identified by oracle account unlock; User altered.
3)、通过浏览器访问console
在OMS console上发现两个node
在OMS console可以发现两个node上的Instance,都可以通过OMS 监控了
---------- 至此,Agent安装完成,从而可以通过OMS监控、管理各个node上的Database等资源。
总结:
本次Agent安装文档详细记录了整个安装过程,对大家了解agent的安装原理,有一定的帮助! (编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|