rac安装oem

[[email protected] ~]$ emca -config dbcontrol db -repos recreate -cluster

STARTED EMCA at May 31, 2016 3:17:02 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database unique name: RACDB
Service name: RACDB
Listener port number: 1521
Listener ORACLE_HOME [ /u01/11.2.0/grid ]:
Password for SYS user: --不知道密码,登录数据库改密码
Password for DBSNMP user:
Password for SYSMAN user:
Cluster name: node-cluster --集群的名字
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /u01/11.2.0/grid ]:
ASM port [ 1521 ]:
ASM username [ ASMSNMP ]: 
ASM user password:
Invalid username/password or database/scan listener not up or database service is not registered with scan listener.

--处理开始--

(

SQL> show parameter listen

NAME                                 TYPE                          VALUE
------------------------------------ ----------- ------------------------------
listener_networks               string
local_listener                      string                     (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))))
remote_listener                  string                       rac-scan:1521

SQL> alter system set remote_listener=‘(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.100)(PORT=1521))))‘ scope=both SID=‘+ASM2‘;

System altered.

SQL> alter system set remote_listener=‘(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.100)(PORT=1521))))‘ scope=both SID=‘+ASM1‘;

System altered.

[[email protected] ~]$ lsnrctl status listener_scan1

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 31-MAY-2016 15:44:14

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias listener_scan1
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 31-MAY-2016 15:34:01
Uptime 0 days 0 hr. 10 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/node1/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.100)(PORT=1521)))
Services Summary...
Service "+ASM" has 2 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "RACDB" has 2 instance(s).
Instance "RACDB1", status READY, has 2 handler(s) for this service...
Instance "RACDB2", status READY, has 1 handler(s) for this service...
Service "RACDBXDB" has 2 instance(s).
Instance "RACDB1", status READY, has 1 handler(s) for this service...
Instance "RACDB2", status READY, has 1 handler(s) for this service...
The command completed successfully

asm两个实例在listener_scan1中注册了

)

--处理结束--
ASM user password:
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1

Database instance hostname ................ node1
Listener ORACLE_HOME ................ /u01/11.2.0/grid
Listener port number ................ 1521
Cluster name ................ node-cluster
Database unique name ................ RACDB
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
ASM ORACLE_HOME ................ /u01/11.2.0/grid
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
May 31, 2016 3:45:22 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/RACDB/emca_2016_05_31_15_17_01.log.
May 31, 2016 3:47:17 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
May 31, 2016 3:48:16 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
May 31, 2016 3:48:45 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
May 31, 2016 4:16:01 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
May 31, 2016 4:17:46 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
May 31, 2016 4:21:05 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
May 31, 2016 4:21:08 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_node1_RACDB to remote nodes ...
May 31, 2016 4:21:14 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_node2_RACDB to remote nodes ...
May 31, 2016 4:21:22 PM oracle.sysman.emcp.EMAgentConfig deployStateDirs
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/node1_RACDB to remote nodes ...
May 31, 2016 4:21:24 PM oracle.sysman.emcp.EMAgentConfig deployStateDirs
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/node2_RACDB to remote nodes ...
May 31, 2016 4:21:28 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Location /u01/app/oracle/product/11.2.0/db_1/EMStagePatches_RACDB is not shared. Software library could not be configured. Provisioning archives will not be deployed. Please configure it manually.
May 31, 2016 4:21:28 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
May 31, 2016 4:23:44 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
May 31, 2016 4:33:46 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://node1:1158/em <<<<<<<<<<<
May 31, 2016 4:48:49 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/app/oracle/product/11.2.0/db_1/bin/emctl config emkey -remove_from_repos
May 31, 2016 4:48:49 PM oracle.sysman.emcp.util.DBControlUtil secureEmkey
INFO: Failed to remove Em Key from Management Repository.
May 31, 2016 4:48:49 PM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage
INFO:
**************** Current Configuration ****************
INSTANCE NODE DBCONTROL_UPLOAD_HOST
---------- ---------- ---------------------

RACDB node1 node1
RACDB node2 node1

May 31, 2016 4:48:49 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING: Error starting Database Control on nodes node2. Please execute the following command(s) on nodes: node2.

1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole

Error starting Database Control on nodes node2. Please execute the following command(s) on nodes: node2.

1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole
[[email protected] ~]$

时间: 2024-10-13 12:44:54

rac安装oem的相关文章

RAC安装时需要执行4个脚本及意义

RAC安装时需要执行4个脚本 1) $ORACLE_BASE/oraInventory/orainstRoot.sh (clusterware 结束时执行) 2) $CRS_HOME/root.sh (clusterware 结束时执行) 3) $CRS_HOME/bin/vipca.sh(该脚本是在第二个节点执行$CRS_HOME/root.sh时被自动调用) 4) $ORACLE_HOME/root.sh (安装完数据库以后执行) 1. orainstRoot.sh 脚本 1.1 orain

RAW+ASM 的RAC 安装文档

实验平台:Oracle 10gR2 RAC + RHEL 4.0 +VMWare GSX 3.2.0 安装步骤: 1.安装前准备及OS安装配置 2.安装Oracle 10gR2 clusterware 3.安装Oracle 10gR2 database 4.配置netca 5.创建ASM 实例 6.配置dbca创建数据库 7.检查RAC状态 8.RAC 卸载 一. 安装前准备及OS安装配置 Host OS 准备 1. 从Oracle OTN下载 oracle 10gR2 for x86 linu

Oracle12C R2+RAC安装测试

Oracle12C R2已经出来有一段时间了,一直想搞搞RAC可是由于安装Oracle12C R2 RAC对系统资源的高要求,使得每次在自己的虚拟机上安装都失败(失败的原因主要是由于内存太小所致),前几天在工作不忙的时候打开计算机啥也不做,就开几个虚拟机做RAC实验,最后也算成功了:---我自己的笔记本内存16G I7的内核 1.环境准备: 操作系统:Linux7.2-64 软件:linuxx64_12201_database  linuxx64_12201_grid_home  ASM磁盘组:

Redhat 5.4 + ASM + RAW+ Oracle 10g RAC 安装文档

基于Redhat 5 和redhat 4 的RAC 区别在对raw的处理上. 之前做的是redhat 4.7 的 RAC 实验. 准备做一个Redhat 5.4 的环境. RAC 的一些理论东西: http://blog.csdn.net/tianlesoftware/archive/2010/02/27/5331067.aspx RAW+ASM+ REDHAT 4.7 RAC 文档 http://blog.csdn.net/tianlesoftware/archive/2010/02/27/5

Oracle 10g 10.2.0.1 在Oracle Linux 5.4 32Bit RAC安装手冊(一抹曦阳)

Oracle 10g 10.2.0.1 在Oracle Linux 5.4 32Bit RAC安装手冊(一抹曦阳).pdf下载地址 ,step by step http://download.csdn.net/detail/rlhua/7699223

Oracle 12cR2 RAC安装配置及一些坑

Oracle 12cR2版本已经发布有一段时间,一直想测试安装RAC,从上周末到今天用了两个周末和今天一天的时间终于把RAC安装成功了.这里记录了安装时对操作系统的配置,以及安装过程中遇到的一些坑. 1.首先是操作系统的选择问题,Oracle现在认证的操作系统及内核版本如下: Oracle Linux 7: Oracle Linux 7 with the Unbreakable Enterprise kernel 3:3.8.13-35.3.1.el7uek.x86_64 or later Or

Oracle RAC --安装图解

规划:所用linux系统以虚拟化方式安装在esx上,配置有内网的yum源,各分配有16G存储,下面为简单拓扑图 一,下载软件1,地址:http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html10201_database_linux_x86_64.cpio.gz10201_clusterware_linux_x86_64.cpio.gz 2,地址:http:

Oracle 11gR2 RAC 安装Grid Infrastructure错误

Oracle 11gR2 RAC 安装Grid Infrastructure错误 系统环境: 操作系统:RedHat EL5 Cluster: Oracle GI(Grid Infrastructure) Oracle:  Oracle 11.2.0.1.0 如图所示:RAC 系统架构   对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构 错误现象: 报:node2 检测用户信任关系错误,node2安装目录不可访问! 手工检测,node2与nod

11G RAC安装运行ASMCA遇到的小问题:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure

问题描述: 11G RAC安装时,GI已经安装完成,各服务状态正常,运行ASMCA时出错(ASM实例状态都是正常的). 提示是:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure on this node;具体信息看下图. 解决办法是:重新注册资源,,我是重启了OS,或者也可能重启CRS了,重启后查看各服务状态正常,重新运行ASMCA时正常,问题解决