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.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- linux下安裝oracle需要的配置LinuxOracle
- OCM考試-GC安裝GC
- STATSPACK 安裝(OCM複習)
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(2)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(1)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.5. Linux配置OracleLinux
- Oracle Stream的安裝、配置和使用Oracle
- Oracle學習筆記(一)---oracle安裝和配置Oracle筆記
- oracle安裝配置Oracle
- linux下安裝配置VCS,oracle雙機LinuxOracle
- Oracle安裝,ssh配置Oracle
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.3. Linux登入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.4. Linux命令(3)OracleLinux
- ORACLE安裝核心引數配置_linux平臺OracleLinux
- Linux環境Hive安裝配置及使用LinuxHive
- Linux環境Flume安裝配置及使用Linux
- Linux環境Spark安裝配置及使用LinuxSpark
- linux安裝配置postgres及使用dblinkLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.1. 簡介OracleLinux
- Linux平臺Oracle ODBC安裝使用LinuxOracle
- openfiler(for linux 32bit)安裝配置小記Linux
- Oracle OCMOracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.2. 資料庫建立OracleLinux資料庫
- linux安裝配置kickstartLinux
- Linux安裝配置vncLinuxVNC
- Linux Nginx 安裝配置LinuxNginx
- 【Linux】Linux軟體安裝管理2 使用安裝光碟配置本地yum倉庫Linux
- Oracle for Linux 安裝前環境配置指令碼(轉)OracleLinux指令碼
- Linux 安裝 Oracle資料庫11G 配置LinuxOracle資料庫
- Linux安裝oracleLinuxOracle
- linux 安裝ORACLELinuxOracle
- Linux環境Sqoop安裝配置及使用LinuxOOP
- Linux 使用Yum安裝Go和配置環境LinuxGo
- Oracle goldengate 安裝配置OracleGo