Oracle RAC
文章平均质量分 85
Dave
The important thing in life is to have a great aim and the determination to attain it !
展开
-
Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and FireWire
Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and FireWireby Jeffrey Hunter - OTNOracle RAC O2CB Cluster ServiceBefore we can do anything with OCFS2 l转载 2009-11-13 10:36:00 · 6274 阅读 · 0 评论 -
RAC Ocfs2文件系统常见问题解决方法
现象一:mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /webdatamount.ocfs2: Transport endpoint is not connected while mounting /dev/sdb1 on /webdata. Check dmesg for more information on this error.可转载 2009-11-13 10:40:00 · 7854 阅读 · 1 评论 -
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) $ORAC转载 2010-02-22 15:26:00 · 11982 阅读 · 3 评论 -
远程客户端 访问 ASM 实例
<br /> <br />我们可以直接在服务器器上访问ASM 实例,只需要指定ASM 实例名,在用sqlplus连接就可以了。如果我们想从远程的客户端访问ASM 实例,可以参考如下的配置方法。<br /> <br /> <br />一.官网的配置说明<br /> <br />This solution cannot be accomplished using Network Manager (GUI)<br /><br />The solution is to <br /> * Edit the lis原创 2010-09-23 12:17:00 · 9086 阅读 · 0 评论 -
RAC 之 RMAN 备份
<br /> <br />这篇主要介绍的是RAC 环境下的RMAN 备份。关于Oracle 备份与恢复的一些理论知识参考我的Blog:<br /> <br /> Oracle 备份与恢复概述<br /> http://blog.csdn.net/tianlesoftware/archive/2010/04/16/5490733.aspx<br /> <br /> <br />一. RAC 归档的设置<br /> <br />1.1 相关理论知识<br />RAC 在运行的时候原创 2010-09-22 19:11:00 · 24630 阅读 · 1 评论 -
How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]
<br />How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status MODERATED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> References<br />This document is being deli原创 2010-11-17 00:54:00 · 4624 阅读 · 0 评论 -
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]
<br />How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status MODERATED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Deconfigure and Reconfigure原创 2010-11-17 00:56:00 · 10038 阅读 · 0 评论 -
How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]
<br />How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]<br /> <br />Modified 11-OCT-2010 Type HOWTO Status PUBLISHED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Start up sequence:<br /> Cluster status<原创 2010-11-17 00:59:00 · 25552 阅读 · 0 评论 -
How to Proceed from Failed Upgrade to 11gR2 Grid Infrastructure (CRS) [ID 969254.1]
<br />How to Proceed from Failed Upgrade to 11gR2 Grid Infrastructure (CRS) [ID 969254.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status PUBLISHED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Failure before rootupgrade.sh原创 2010-11-17 00:44:00 · 10318 阅读 · 0 评论 -
What to Do if 11gR2 Clusterware is Unhealthy [ID 1068835.1]
<br />What to Do if 11gR2 Clusterware is Unhealthy [ID 1068835.1]<br /> <br />Modified 08-JUL-2010 Type BULLETIN Status PUBLISHED<br /> <br />In this Document<br /> Purpose<br /> Scope and Application<br /> What to Do if 11gR2 Clusterware is Unh原创 2010-11-17 00:49:00 · 11712 阅读 · 0 评论 -
ORA-15077 PROC-26 CRSD Fails During CRS Startup on 11gR2 [ID 1152583.1]
<br />ORA-15077 PROC-26 CRSD Fails During CRS Startup on 11gR2 [ID 1152583.1]<br /> <br />Modified 04-AUG-2010 Type PROBLEM Status PUBLISHED<br /> <br />In this Document<br /> Symptoms<br /> Changes<br /> Cause<br /> Solution<br /> ReferencesA原创 2010-11-17 00:52:00 · 10406 阅读 · 0 评论 -
Oracle 11gR2 RAC 进程说明
<br /> <br />一. 先看Oracle 官方文档<br /> <br />参考:<br />http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/intro.htm#CWADD91998<br /> Oracle Clusterware Software Concepts and Requirements<br />Oracle Clusterware uses voting disk files to provide fencin原创 2010-11-15 13:53:00 · 19224 阅读 · 1 评论 -
RAC root.sh Configuration of ASM failed Command return code of 1 (256) from command 解决方法
<br /> <br /> <br />Oracle 11gR2 RAC 安装,在第二个节点执行root.sh 脚本的时候,报错。 log 日志如下:<br /> <br />2010-11-14 00:43:36: CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'<br />2010-11-14 00:43:36: CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'<br />2010-11-14 0原创 2010-11-14 02:01:00 · 11493 阅读 · 0 评论 -
Redhat 下ASM 11.2.0.1 oracleasm deletedisk - Clearing disk header failed 的解决方法
<br /> <br />在虚拟机上搭建Oracle 11gR2 的RAC。安装Clusterware的时候出了一点错误。所以强行把Clusterware 给删除了。清除了相关的目录和文件。因为11gr2 的OCR是存放在ASM上的,所以需要清除这部分信息。<br /> <br /> <br />[root@rac2 ~]# oracleasm listdisks<br />CRS<br />DATA<br />FRA<br />[root@rac2 ~]# oracleasm deletedisk CRS原创 2010-11-13 20:51:00 · 9428 阅读 · 0 评论 -
10g RAC: Steps To Increase CSS Misscoun,t Reboottime and Disktimeout
<br /> <br /> The purpose of this note is to document the steps needed to modify the CSS misscount, reboottime and disktimeout settings. Please review Note 294430.1 to understand the implications before editing these settings.<br /> <br />原创 2011-04-23 17:42:00 · 4396 阅读 · 0 评论 -
Linux DNS Server 配置 -- for Oracle 11gR2 RAC SCAN IP
<br /> <br /> <br /> 最近安装了一下Oracle 11gR2的RAC,但是11gR2版本的RAC 采用的是SCAN IP. <br /> <br /> 在Oracle 11gR2以前,如果数据库采用了RAC架构,在客户端的tnsnames中,需要配置多个节点的连接信息,从而实现诸如负载均衡,failover等等RAC的特性。因此,当数据库RAC集群需要添加或删除节点时,需要及时对客户端机器的tns进行更新,以免出现安全隐患。<br /> <br />原创 2010-11-13 02:19:00 · 17643 阅读 · 1 评论 -
CSS Timeout Computation in Oracle Clusterware
<br /> <br />The purpose of this Note is to document default CSS misscount timeout calculations in 10g Release 1, 10g Release 2 , 11g and higher versions. Scope and ApplicationDefine misscount parameter Define the default calculations for the misscount p原创 2011-04-23 17:38:00 · 5226 阅读 · 0 评论 -
oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018
<br /> <br /> Oracle 11gR2 RAC 安装Clusterware 结束,在第二个节点执行root.sh脚本的是报如下错误:<br /> <br />DiskGroup DATA1 creation failed with the following message:<br />ORA-15018: diskgroup cannot be created<br />ORA-15072: command requires at least 1 regular failure原创 2010-11-11 03:25:00 · 14318 阅读 · 0 评论 -
Oracle 11gR2 RAC 新特性说明
<br /> <br />最近接触了一下Oracle 11g R2 的RAC,发现变化很大。所以在自己动手做实验之前还是先研究下它的新特性比较好。<br /> <br />一. 官网介绍<br /> <br />先看一下Oracle 的官网文档里对RAC 新特性的一点说明。<br />Oracle Database 11g Release 2 (11.2.0.2) New Features in Oracle RAC<br />http://download.oracle.com/docs/cd/E1原创 2010-11-02 20:19:00 · 18418 阅读 · 2 评论 -
Oracle RAC 全局等待事件 gc current block busy 和 gc cr multi block request 说明
一.RAC 全局等待事件说明在RAC环境中,和全局调整缓存相关的最常见的等待事件是global cache cr request,global cache busy和equeue。 当一个进程访问需要一个或者多个块时,Oracle会首先检查自己的Cache是否存在该块,如果发现没有,就会先通过global cache赋予这些块共享访问的权限,然后再访问。假如,通过global cache发现这些块原创 2012-07-24 00:47:15 · 35804 阅读 · 1 评论 -
Linux 平台下Oracle 9i/10g/11gR1 IO-Fencing 的hangcheck-timer 模块说明
一.官网的说明参考MOS:Linux: Hangcheck-Timer Module Requirements for Oracle 9i, 10g, and11gR1 RAC [ID 726833.1] Hangcheck_timermodule is required to run a supported configuration in Oracle Real ApplicationClus原创 2012-07-23 00:16:22 · 8483 阅读 · 0 评论 -
Oracle 10g Rac root.sh Failure at final check of Oracle CRS stack 10 解决方法
一.问题说明 安装环境:Oracle linux 6.1 数据库: 10.2.0.1 安装Oracle 10g的RAC,在第一个节点执行root.sh 时报错,如下: [root@rac1 ~]# /u01/app/10.2.0/grid/root.shWARNING: directory '/u01/app/10.2.0' is notowned by rootWARNING: director原创 2012-07-21 14:44:02 · 12546 阅读 · 0 评论 -
Oracle 11gR2 RAC 实例 Admin-Managed 与 Policy-Managed 区别
在Oracle 11gR2 RAC 创建实例的时候,会让我们选择配置类型:Admin-Managed 和 Policy-Managed ,如下: 官网文档解释如下: 6.1 Understanding ServerPools Server pools arelogical divisions of a cluster into pools of servers, which are alloc原创 2012-07-17 00:41:06 · 12735 阅读 · 0 评论 -
Oracle 11gR2 RAC Service-Side TAF 配置示例
相关的理论说明,参考如下Blog:Oracle RACFailover 详解http://blog.csdn.net/tianlesoftware/article/details/5340788 How To Configure Server Side TransparentApplication Failover [ID 460982.1] 1.创建TAFService[oracle@db1原创 2012-07-15 13:41:44 · 11735 阅读 · 2 评论 -
Oracle 11g RAC ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443 解决方法
一.问题描述在Oracle Linux 6.1 上安装11.2.0.1 的RAC,在安装grid时执行root.sh 脚本,报错,如下: [root@rac1 bin]#/u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script... The following environment variables are setas: O原创 2012-06-27 20:07:01 · 46488 阅读 · 5 评论 -
Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解决方法
Oracle 11.2.0.1 的 RAC,运行root.sh时报错,如下: [root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh Running Oracle 11g root.sh script... The following environment variables are setas: ORACLE_OWNER= oracle ORAC原创 2012-06-27 20:01:33 · 9292 阅读 · 1 评论 -
Oracle RAC root.sh 报错 Timed out waiting for the CRS stack to start 解决方法
一.问题描述 在Oracle Linux 6.1 上安装11.2.0.1的RAC,在第二个节点执行root.sh时,报time out,如下:[root@rac2 ~]# /u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script... The following environment variables are setas:原创 2012-06-27 19:56:39 · 14369 阅读 · 0 评论 -
Oracle Linux 配置 UDEV SCSI Rules 说明
Oracle RAC中ASM 的配置可以有2种方式实现:raw和asmlib。 在实际的维护中,更推荐使用raw。 使用raw又有两种方法:使用multipath和UDEV。在Redhat 平台下参考:Redhat 5.4 +ASM + RAW+ Oracle 10g RAC 安装文档http://blog.csdn.net/tianlesoftware/article/detail原创 2012-04-06 18:18:13 · 17969 阅读 · 2 评论 -
RAC 修改 ASM实例名 的步骤
<br /> <br /> 在DBCA 创建ASM实例时,会生成几个ASM实例,如+ASM1和+ASM2。一般来说,安装好之后,是不需要修改ASM实例名的,但是一些特殊情况,还是需要修改的,就像我之前说的:<br /> RAC 中 ASM 实例名与节点的对应关系<br /> http://blog.csdn.net/tianlesoftware/archive/2011/03/23/6272244.aspx<br /> <br /> 这个名称看上去就不一致,不原创 2011-03-25 00:22:00 · 9772 阅读 · 0 评论 -
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.aspxRAW+ASM+ REDHAT 4.7 RAC 文档http://blog.csdn.net/tianlesoftware/archive/2010/02/27/5332909.aspx服原创 2010-09-09 09:57:00 · 45826 阅读 · 19 评论 -
redhat 5.4 下 Oracle RAC 报 raw 设备大小 错误
<br /> <br />在Redhat 5.4 上安装oracle 10g的RAC。在安装Clusterware 的时候,出现错误:<br /> <br /> <br /> <br /><br /> Raw 设备的大小肯定是没有问题,因为我分配的raw 是200M一个,但是它只识别了16M。 配置文件就那么几步,看了几遍都没有发现问题。google 百度也没有什么有价值的信息。<br /><br /> <br />磁盘分区大小:<br />[root@rac1 raw原创 2010-09-08 22:08:00 · 9348 阅读 · 0 评论 -
RAC 中 ASM 实例名 与 节点的对应关系
<br /> <br />这个问题之前也遇到过一次,这次安装RAC的时候,又遇到了,所以研究一下。 先描述下这个现象。<br /> <br />RAC 有两个节点: rac1 和 rac2.<br /> <br />正常情况下的操作步骤:<br />(1)在rac1 安装clusterware<br />(2)在rac1上创建ASM实例。+ASM1 在节点1上,+ASM2在节点2上。<br /> <br />我发现问题的步骤:<br />(1)在节点2: rac2 上安装clusterware。<br /原创 2011-03-23 20:26:00 · 8764 阅读 · 0 评论 -
RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
<br /> <br /> <br />运行srvctl 命令报错:<br />[oracle@rac1 u01]$ srvctl remove asm -n rac1 <br />/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or direct原创 2011-03-22 20:58:00 · 10293 阅读 · 2 评论 -
RAC 完整显示 crs_stat 命令中 name 列的脚本
RAC 常用的脚本说明,参考我的Blog: Oracle RAC 常用维护工具和命令 http://blog.csdn.net/tianlesoftware/archive/2010/03/09/5358573.aspx crs_stat 命令在显示上比srvctl 直观。 先查询一下: [oracle@rac1 u01]$ crs_stat -t Name原创 2011-03-22 20:19:00 · 7750 阅读 · 0 评论 -
RAC ONS 不能启动
<br /> <br />DBA 群里朋友的RAC 环境的ONS 进程无法启动。平台是Redhat 5.3 64bit的。<br /> <br />Ons log 如下:<br /> <br />2010-10-18 09:42:11.384: [RACG][3041022624] [16815][3041022624][ora.rac1.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/product/10.2.0/crs_1<br /> <br原创 2010-10-18 15:21:00 · 9286 阅读 · 0 评论 -
RAC 安装DB 软件runInstaller 看不到节点 解决方法
Clusterware 安装正常,但安装Oracle 软件的时候,runInstaller 看不到节点信息: [grid@rac1 bin]$ crs_stat -tName Type Target State Host --------------------------------------------------------原创 2014-12-02 12:05:07 · 6411 阅读 · 0 评论 -
Oracle RAC + Data Guard 环境搭建
<br /> <br />国庆之前就准备做这个实验了。后来时间不够,就没搞了。 6天的长假一放,都散漫的不成样子了。懒散了很多。今天7号。上班也没啥精神,但是该做的实验还得继续。<br /> <br />Oracle 高可用性的三个主要体现是: RAC, Data Guard 和 Stream. 所以熟练掌握这些技术就是评价DBA的标准一个。RAC + Data Guard 主要用在灾备或者报表服务器上。比如用RAC+ 逻辑standby 做报表,从而减轻RAC 系统的压力。 <br /> <br />原创 2010-10-09 23:10:00 · 20609 阅读 · 4 评论 -
RAC + DG ORA-01105 ORA-01677 standby file name convert parameters differ from other instance 错误
<br /> <br /> <br />做RAC + Data Guard 实验的时候报了个错。<br /> <br />SQL> startup<br />ORACLE instance started.<br /> <br />Total System Global Area 180355072 bytes<br />Fixed Size 1218388 bytes<br />Variable Size 83888300 bytes<br /原创 2010-10-09 18:48:00 · 10276 阅读 · 2 评论 -
RAC 实例 迁移到 单实例 -- 使用导出导入
<br /> <br /> <br />昨天整理做了用导出导入的方法,将Oracle 单实例迁移到 RAC 实例的实验。今天来做一个用导出导入的方法将RAC 实例迁移到 Oracle 单实例。方法都差不多。只不过顺序倒过来了。<br /> <br />Oracle 单实例迁移到 RAC 实例 -- 使用导出导入方法<br />http://blog.csdn.net/tianlesoftware/archive/2010/09/28/5912602.aspx<br /> <br /> <br />昨天用的是原创 2010-09-29 11:32:00 · 6599 阅读 · 0 评论 -
Oracle 单实例 迁移到 RAC 实例 -- 使用导出导入方法
<br /> <br />将Oracle 单实例迁移到 RAC 实例上有两种方法:<br />1. 使用RMAN 复制<br />2. 使用逻辑导出导入(exp/imp)或者数据泵(expdp/impdp)<br /> <br />这篇演示用数据泵(expdp/impdp)将单实例迁移到RAC 环境。导出导入schema方式来进行。逻辑导出导入相对数据泵而言,更简单一点。<br /> <br /> <br />这里假设RAC 环境已经搭建好了。如果没有搭建好,可以参考我的Blog:<br原创 2010-09-28 18:38:00 · 11531 阅读 · 1 评论