Oracle 12c 里面设置了全新的目录结构。

今天在处理12C OMS的一个问题时发现:

Oracle 12c 里面设置了全新的目录结构。也就是说和以前的版本相比,AGENT_HOME发生了一些变化。

OMS安装在node1 上。
bash-3.2$ hostname
mcsp-prod-oem-1
bash-3.2$ pwd
/app/oracle/Middleware
bash-3.2$ ls -lrth
total 184K
drwxr-xr-x 6 oracle oinstall 4.0K Nov 2 18:34 jdk16
drwxr-xr-x 7 oracle oinstall 36K Nov 2 18:37 modules
drwxr-xr-x 8 oracle oinstall 4.0K Nov 2 18:37 utils
-rw-r--r-- 1 oracle oinstall 1.8K Nov 2 18:37 registry.xml
-rw-r--r-- 1 oracle oinstall 85K Nov 2 18:37 registry.dat
-rw-r--r-- 1 oracle oinstall 623 Nov 2 18:37 ocm.rsp
drwxr-x--- 34 oracle oinstall 4.0K Nov 2 18:52 oracle_common
drwxr-xr-x 14 oracle oinstall 4.0K Nov 2 18:54 plugins
drwxr-x--- 3 oracle oinstall 4.0K Nov 2 20:59 user_projects
drwxr-xr-x 6 oracle oinstall 4.0K Nov 2 20:59 gc_inst
-rw-rw---- 1 oracle oinstall 476 Nov 2 21:06 domain-registry.xml
drwxr-xr-x 6 oracle oinstall 4.0K Nov 2 21:25 agent
drwxr-xr-x 2 oracle oinstall 4.0K Nov 8 19:38 logs
drwxr-x--- 51 oracle oinstall 4.0K Nov 8 21:44 Oracle_WT
drwxr-xr-x 50 oracle oinstall 4.0K Nov 8 21:46 oms
drwxr-xr-x 10 oracle oinstall 4.0K Nov 8 22:04 wlserver_10.3
bash-3.2$

Agent安装在node2上。

bash-3.2$ hostname
mcsp-prod-oem-2
bash-3.2$ pwd
/app/oracle/Middleware/agent
bash-3.2$ ls -lrth
total 28K
-rw-rw-r-- 1 oracle oinstall 91 Sep 23 07:52 agentimage.properties
-rwxr-xr-x 1 oracle oinstall 317 Nov 7 20:43 plugins.txt
drwxr-xr-x 9 oracle oinstall 4.0K Nov 7 20:43 plugins
drwxr-xr-x 3 oracle oinstall 4.0K Nov 7 20:50 core
-rw-r--r-- 1 oracle oinstall 422 Nov 7 20:57 plugins.txt.status
drwxr-xr-x 5 oracle oinstall 4.0K Nov 7 21:16 sbin
drwxr-xr-x 6 oracle oinstall 4.0K Nov 9 06:46 agent_inst


bash-3.2$ hostname
mcsp-prod-oem-1
bash-3.2$ ./emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
bash-3.2$ ./emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running
bash-3.2$ ./emctl start agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Starting agent ........ started.
bash-3.2$ ./emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.1.0
OMS Version : 12.1.0.1.0
Protocol Version : 12.1.0.1.0
Agent Home : /app/oracle/Middleware/agent/agent_inst
Agent Binaries : /app/oracle/Middleware/agent/core/12.1.0.1.0
Agent Process ID : 31190
Parent Process ID : 31123
Agent URL : https://mcsp-prod-oem-2.oracle.com:3872/emd/main/
Repository URL : https://mcsp-prod-oem-1.oracle.com:4900/empbs/upload
Started at : 2011-11-09 06:42:46
Started by user : oracle
Last Reload : (none)
Last successful upload : 2011-11-09 06:42:57
Last attempted upload : 2011-11-09 06:42:57
Total Megabytes of XML files uploaded so far : 0.15
Number of XML files pending upload : 188
Size of XML files pending upload(MB) : 1.04
Available disk space on upload filesystem : 80.05%
Collection Status : Collections enabled
Last attempted heartbeat to OMS : 2011-11-09 06:42:51
Last successful heartbeat to OMS : 2011-11-09 06:42:51

---------------------------------------------------------------
Agent is Running and Ready
bash-3.2$ hostname
mcsp-prod-oem-2

bash-3.2$ ./emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.1.0
OMS Version : 12.1.0.1.0
Protocol Version : 12.1.0.1.0
Agent Home : /app/oracle/Middleware/agent/agent_inst
Agent Binaries : /app/oracle/Middleware/agent/core/12.1.0.1.0
Agent Process ID : 8710
Parent Process ID : 8643
Agent URL : https://mcsp-prod-oem-1.oracle.com:3872/emd/main/
Repository URL : https://mcsp-prod-oem-1.oracle.com:4900/empbs/upload
Started at : 2011-11-02 21:37:50
Started by user : oracle
Last Reload : (none)
Last successful upload : 2011-11-09 06:55:11
Last attempted upload : 2011-11-09 06:55:11
Total Megabytes of XML files uploaded so far : 71.27
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 69.88%
Collection Status : Collections enabled
Last attempted heartbeat to OMS : 2011-11-09 06:55:17
Last successful heartbeat to OMS : 2011-11-09 06:55:17

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值