Linux Oracle OCM安裝、配置、使用一小記
Linux Oracle OCM安裝、配置、使用
將Linux 版本OCM p5567658_1037_LINUX.zip解壓至$ORACLE_HOME/
將Linux 版本OCM p5567658_1037_LINUX.zip解壓至$ORACLE_HOME/
:~> cd /opt/oracle/product/10.2.0/db_1/ccr
> cd bin
> ls -l
total 168
-rw-r--r-- 1 oracle dba 3539 Mar 7 2012 OCMJarUtil.class
-rwxr----- 1 oracle dba 19169 Mar 7 2012 common
-rw-r--r-- 1 oracle dba 47285 Mar 7 2012 deployPackages
-rw-r--r-- 1 oracle dba 5881 Mar 7 2012 emSnapshotEnv
-rwxr----- 1 oracle dba 9063 Nov 26 2009 emocmrsp
-rw-r--r-- 1 oracle dba 6116 Mar 7 2012 lockfile
-rwxr----- 1 oracle dba 1630 Mar 7 2012 ocmJarUtil
-rwxr----- 1 oracle dba 58374 Mar 7 2012 setupCCR
-rw-r--r-- 1 oracle dba 903 Mar 7 2012 strip_path.awk
> cd bin
> ls -l
total 168
-rw-r--r-- 1 oracle dba 3539 Mar 7 2012 OCMJarUtil.class
-rwxr----- 1 oracle dba 19169 Mar 7 2012 common
-rw-r--r-- 1 oracle dba 47285 Mar 7 2012 deployPackages
-rw-r--r-- 1 oracle dba 5881 Mar 7 2012 emSnapshotEnv
-rwxr----- 1 oracle dba 9063 Nov 26 2009 emocmrsp
-rw-r--r-- 1 oracle dba 6116 Mar 7 2012 lockfile
-rwxr----- 1 oracle dba 1630 Mar 7 2012 ocmJarUtil
-rwxr----- 1 oracle dba 58374 Mar 7 2012 setupCCR
-rw-r--r-- 1 oracle dba 903 Mar 7 2012 strip_path.awk
#安裝OCM setupCCR
> ./setupCCR -s -d
> ./setupCCR -s -d
** Installing base package **
Deploying core - Version 10.3.7.0.0
Deploying engines - Version 10.3.7.0.0
Deploying metricdata - Version 10.3.7.0.0
Deploying rda - Version 4.26.12.1.6
Deploying rdacelin - Version 4.26.12.1.6
Deploying scripts - Version 10.3.7.0.0
Deploying core - Version 10.3.7.0.0
Deploying engines - Version 10.3.7.0.0
Deploying metricdata - Version 10.3.7.0.0
Deploying rda - Version 4.26.12.1.6
Deploying rdacelin - Version 4.26.12.1.6
Deploying scripts - Version 10.3.7.0.0
Oracle Configuration Manager has been configured in disconnected mode. If the
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.
View configuration data reports and access valuable configuration best
practices by going to My Oracle Support.
> ./configCCR
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name: xxxxxx
Provide your My Oracle Support password to receive security updates via your My Oracle Support account.
Password (optional):
practices by going to My Oracle Support.
> ./configCCR
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name: xxxxxx
Provide your My Oracle Support password to receive security updates via your My Oracle Support account.
Password (optional):
** Validating configuration changes with Oracle Configuration Manager server(s) **
** Starting the Oracle Configuration Manager Scheduler **
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Starting Oracle Configuration Manager...
Waiting for status from Oracle Configuration Manager....
Start Date 21-Oct-2012 21:07:40
Last Collection Time -
Next Collection Time 22-Oct-2012 21:06:00
Collection Frequency Daily at 21:06
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:07:36
Automatic Update On
Collector Mode Connected
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Starting Oracle Configuration Manager...
Waiting for status from Oracle Configuration Manager....
Start Date 21-Oct-2012 21:07:40
Last Collection Time -
Next Collection Time 22-Oct-2012 21:06:00
Collection Frequency Daily at 21:06
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:07:36
Automatic Update On
Collector Mode Connected
Oracle Configuration Manager successfully started.
#測試OCM
> ./emCCR test
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Verifying Proxy settings...
No Proxy host set.
Oracle Configuration Manager Server is: ccr.oracle.com
Resolving Oracle Configuration Manager Server address...
Connecting to Oracle Configuration Manager server...
> ./emCCR test
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Verifying Proxy settings...
No Proxy host set.
Oracle Configuration Manager Server is: ccr.oracle.com
Resolving Oracle Configuration Manager Server address...
Connecting to Oracle Configuration Manager server...
Command successfully completed.
#狀態
> ./emCCR status
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Start Date 21-Oct-2012 21:07:40
Last Collection Time -
Next Collection Time 22-Oct-2012 21:06:00
Collection Frequency Daily at 21:06
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:07:36
Automatic Update On
Collector Mode Connected
> ./emCCR status
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Start Date 21-Oct-2012 21:07:40
Last Collection Time -
Next Collection Time 22-Oct-2012 21:06:00
Collection Frequency Daily at 21:06
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:07:36
Automatic Update On
Collector Mode Connected
#installCCRSQL.sh
> ../admin/scripts/installCCRSQL.sh collectconfig -s CMCCWAP -r sys
Provide password for the SYSDBA user "sys":
Successfully installed collectconfig in the database with SID=CMCCWAP.
> ../admin/scripts/installCCRSQL.sh collectconfig -s CMCCWAP -r sys
Provide password for the SYSDBA user "sys":
Successfully installed collectconfig in the database with SID=CMCCWAP.
# OCM collect
> ./emCCR collect
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Collection is currently in progress, please try after some time.
> ./emCCR collect
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Collection is currently in progress, please try after some time.
> ./emCCR set collection_interval="FREQ=MONTHLY; BYMONTHDAY=1; BYHOUR=0; BYMINUTE=0"
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Collection interval set successfully.
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Collection interval set successfully.
# disable_target
> ./emCCR disable_target
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
No. Category Target Name
0 Host linux-u72z
1 Database Instance CMCCWAP
2 Oracle Home OraDb10g_home1
3 Listener LISTENER_linux-u72z
4 Oracle Configuration Manager Oracle Configuration Manager
> ./emCCR disable_target
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
No. Category Target Name
0 Host linux-u72z
1 Database Instance CMCCWAP
2 Oracle Home OraDb10g_home1
3 Listener LISTENER_linux-u72z
4 Oracle Configuration Manager Oracle Configuration Manager
Press Enter to exit the command.
Use Comma to separate multiple target numbers.
Enter the number(s) corresponding to the target(s) you wish to disable:
Use Comma to separate multiple target numbers.
Enter the number(s) corresponding to the target(s) you wish to disable:
# OCM register
> ./emCCR register
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
REGISTER command completed successfully.
> ./emCCR register
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
REGISTER command completed successfully.
# OCM stop
> ./emCCR stop
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Cannot perform. this operation, stop pending.
> ./emCCR stop
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Cannot perform. this operation, stop pending.
# OCM getupdates
> ./emCCR getupdates
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Cannot perform. this operation, stop pending.
> ./emCCR getupdates
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Cannot perform. this operation, stop pending.
# OCM start
> ./emCCR start
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Deploying rdacelin.jar at 10-21-2012_18:48:52
Starting Oracle Configuration Manager...
Waiting for status from Oracle Configuration Manager....
Start Date 21-Oct-2012 18:48:53
Last Collection Time -
Next Collection Time 01-Nov-2012 00:00:00
Collection Frequency Monthly, on the 1 at 00:00
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:29:44
Automatic Update On
Collector Mode Connected
> ./emCCR start
Oracle Configuration Manager - Release: 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Deploying rdacelin.jar at 10-21-2012_18:48:52
Starting Oracle Configuration Manager...
Waiting for status from Oracle Configuration Manager....
Start Date 21-Oct-2012 18:48:53
Last Collection Time -
Next Collection Time 01-Nov-2012 00:00:00
Collection Frequency Monthly, on the 1 at 00:00
Collection Status scheduled collection running
Log Directory /opt/oracle/product/10.2.0/db_1/ccr/hosts/linux-u72z/log
Registered At 21-Oct-2012 21:29:44
Automatic Update On
Collector Mode Connected
Oracle Configuration Manager successfully started.
# OCM getupdates
> ./emCCR getupdates
Oracle Configuration Manager - Release: 10.3.7.0.2 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Another operation is in progress. Please wait...
> ./emCCR getupdates
Oracle Configuration Manager - Release: 10.3.7.0.2 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
------------------------------------------------------------------
Another operation is in progress. Please wait...
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29674916/viewspace-2109408/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.5. Linux配置OracleLinux
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(1)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(2)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(1)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(2)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.3. Linux登入OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(3)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.1. 簡介OracleLinux
- oracle安裝配置Oracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.2. 資料庫建立OracleLinux資料庫
- Linux安裝oracleLinuxOracle
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- Linux環境Spark安裝配置及使用LinuxSpark
- Linux環境Flume安裝配置及使用Linux
- Linux環境Sqoop安裝配置及使用LinuxOOP
- Linux環境Hive安裝配置及使用LinuxHive
- oracle linux使用安裝盤製作本地yumOracleLinux
- 11. Oracle for Linux安裝和配置——11.1. Vm安裝和虛機建立OracleLinux
- Oracle GoldenGate Veridata 12.2.1.4安裝配置使用全手冊OracleGo
- Linux 使用Yum安裝Go和配置環境LinuxGo
- 第六記·Linux中安裝eclipse、配置maven並使用maven搭建小工程LinuxEclipseMaven
- Linux環境安裝Oracle11g(一)——配置檢查及依賴項安裝LinuxOracle
- Oracle Linux 7.1中安裝MariadbOracleLinux
- Tiny Core Linux 安裝配置Linux
- linux-ELK安裝配置Linux
- Linux安裝Apollo配置中心Linux
- Linux Ubuntu安裝配置教程LinuxUbuntu
- Linux下ODBC安裝配置Linux
- linux maven安裝與配置LinuxMaven
- Mysql for Linux安裝配置之—— rpm(bundle)安裝MySqlLinux
- Mysql for Linux安裝配置之—— 原始碼安裝MySqlLinux原始碼
- Linux下安裝java及配置(yum安裝)LinuxJava
- 如何在 Linux 中安裝、配置和使用 Fish Shell?Linux
- Oracle Linux 6.5 安裝Oracle 10gR2LinuxOracle 10g
- 5:安裝配置 Oracle18COracle
- Oracle Linux 7.5下載和安裝OracleLinux
- 在Oracle Linux 7.1上安裝DockerOracleLinuxDocker