Alert delete em
Mon Dec 09 21:08:01 2013
XDB installed.
XDB initialized.
Mon Dec 09 21:08:02 2013
Stopping background process CJQ0
Mon Dec 09 21:08:02 2013
ALTER SYSTEM SET job_queue_processes=0SCOPE=BOTH SID='*';
Warning: drop_queue_table: No evaluationfor the queue table: SYSMAN.MGMT_TASK_QTABLE
Warning: drop_queue_table: No evaluationfor the queue table: SYSMAN.MGMT_NOTIFY_INPUT_QTABLE
Warning: drop_queue_table: No evaluationfor the queue table: SYSMAN.MGMT_PAF_MSG_QTABLE_1
Warning: drop_queue_table: No evaluationfor the queue table: SYSMAN.MGMT_PAF_MSG_QTABLE_2
Mon Dec 09 21:08:28 2013
Thread 1 advanced to log sequence 9 (LGWRswitch)
Current log# 3 seq# 9 mem# 0:+DATA/ngcdb/onlinelog/group_3.263.833729183
Current log# 3 seq# 9 mem# 1: +FRA/ngcdb/onlinelog/group_3.259.833729183
Mon Dec 09 21:08:29 2013
Archived Log entry 4 added for thread 1sequence 8 ID 0x9c38e516 dest 1:
Mon Dec 09 21:08:48 2013
Thread 1 advanced to log sequence 10 (LGWRswitch)
ALTER SYSTEM SET job_queue_processes=20 SCOPE=BOTHSID='*';
手动写+DATA
简单安装方法界面如下:
[root@OEL65 ~]# export LANG=zh_CN
[root@OEL65 ~]#/u01/app/Oracle/oms12cr3/oms/allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u01/app/oracle/oms12cr3/oms/root.sh......
Running Oracle 11g root.sh script...
The following environment variables are setas:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/oms12cr3/oms
Enter the full pathname of the local bindirectory: [/usr/local/bin]:
The file "dbhome" already existsin /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already existsin /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already existsin /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratabfile as needed by
Database Configuration Assistant when adatabase is created
Finished running generic part of root.shscript.
Now product-specific root actions will beperformed.
/etc exist
Creating /etc/oragchomelist file...
/u01/app/oracle/oms12cr3/oms
Finished execution of /u01/app/oracle/oms12cr3/oms/root.sh ......
Starting to execute /u01/app/oracle/agent12cr3/core/12.1.0.3.0/root.sh......
Finished product-specific root actions.
/etc exist
Finished execution of /u01/app/oracle/agent12cr3/core/12.1.0.3.0/root.sh ......
[root@OEL65 ~]#
Sysman
安装后续操作
CC相关命令
#!/bin/bash
exportORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db_1
exportOMS_HOME=/u01/app/oracle/oms12cr3/oms
exportAGENT_HOME=/u01/app/oracle/agent12cr3/core/12.1.0.3.0
# Start everything
$ORACLE_HOME/bin/dbstart$ORACLE_HOME
$OMS_HOME/bin/emctlstart oms
$AGENT_HOME/bin/emctlstart agent
#!/bin/bash
exportORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db_1
exportOMS_HOME=/u01/app/oracle/oms12cr3/oms
exportAGENT_HOME=/u01/app/oracle/agent12cr3/core/12.1.0.3.0
# Stop everything
$OMS_HOME/bin/emctlstop oms -all
$AGENT_HOME/bin/emctlstop agent
$ORACLE_HOME/bin/dbshut$ORACLE_HOME
添加ccdb目标数据库
点搜索列表
先点添加提示数据库
选折要添加数据库所在的主机
先点测试
点数据库用sysman登陆
[oracle@newcc bin]$ pwd
/u01/app/oracle/oms12cr3/oms/bin
[oracle@newcc bin]$./emctl status oms
Oracle Enterprise Manager Cloud Control 12cRelease 3
Copyright (c) 1996, 2013 OracleCorporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
[oracle@newcc bin]$ ./emctl status oms -details
Oracle Enterprise Manager Cloud Control 12cRelease 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN)Password :
Console Server Host : newcc
HTTP Console Port : 7788
HTTPS Console Port : 7802
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 virtualhostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://newcc:7802/em
Upload URL: https://newcc:4903/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host : newcc
Admin Server HTTPS Port: 7102
Admin Server is RUNNING
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: newcc
WebTier is Up
Oracle Management Server is Up
[oracle@newcc bin]$ pwd
/u01/app/oracle/oms12cr3/oms/bin
[oracle@newcc bin]$ pwd
/u01/app/oracle/agent12cr3/agent_inst/bin
[oracle@newcc bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 12cRelease 3
Copyright (c) 1996, 2013 OracleCorporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.3.0
OMS Version :12.1.0.3.0
Protocol Version : 12.1.0.1.0
Agent Home : /u01/app/oracle/agent12cr3/agent_inst
Agent Binaries :/u01/app/oracle/agent12cr3/core/12.1.0.3.0
Agent Process ID : 3676
Parent Process ID : 3607
Agent URL : https://newcc:3872/emd/main/
Repository URL : https://newcc:4903/empbs/upload
Started at : 2014-02-17 09:24:59
Started by user : oracle
Last Reload : (none)
Last successful upload : 2014-02-17 10:06:31
Last attempted upload : 2014-02-17 10:06:31
Total Megabytes of XML files uploaded sofar : 0.27
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on uploadfilesystem : 14.86%
Collection Status : Collectionsenabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2014-02-17 10:07:15
Last successful heartbeat to OMS : 2014-02-17 10:07:15
Next scheduled heartbeat to OMS : 2014-02-17 10:08:15
---------------------------------------------------------------
Agent is Running and Ready
[oracle@newcc bin]$