摘要:
之前打算装Oracle 11gR2的RAC的。 后来因为资源不够,就改装oracle 10g了。 raw 是用openfiler 配置 加 Multipath多路径配置的。 raw的配置参考我的Blog: Linux 5.4 LVM RAW 设备 配置的深入研究 http://blog.csdn.net/tianlesoftware/archive/2010/11/26/6036263.aspx这种情况下配置有些注意事项。 否则会在执行root.sh命令的时候,报错:[root@rac1 init.d]# /u01/app/oracle/product/crs/root.shWARNI...
阅读全文
posted @ 2010-11-27 13:41
davedba
阅读(142)
推荐(0)
摘要:
之前打算装Oracle 11gR2的RAC的。 后来因为资源不够,就改装oracle 10g了。 raw 是用openfiler 配置 加 Multipath多路径配置的。 raw的配置参考我的Blog: Linux 5.4 LVM RAW 设备 配置的深入研究 http://blog.csdn.net/tianlesoftware/archive/2010/11/26/6036263.aspx这种情况下配置有些注意事项。 否则会在执行root.sh命令的时候,报错:[root@rac1 init.d]# /u01/app/oracle/product/crs/root.shWARNI...
阅读全文
posted @ 2010-11-27 13:41
davedba
阅读(129)
推荐(0)
摘要:
PROT-1: root.sh Failed to Initialize ocrconfig [ID 983792.1]Modified 03-MAR-2010Type PROBLEMStatus MODERATEDIn this DocumentSymptomsCauseSolutionReferencesThis document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independ
阅读全文
posted @ 2010-11-26 16:26
davedba
阅读(304)
推荐(0)
摘要:
PROT-1: root.sh Failed to Initialize ocrconfig [ID 983792.1]Modified 03-MAR-2010Type PROBLEMStatus MODERATEDIn this DocumentSymptomsCauseSolutionReferencesThis document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independ
阅读全文
posted @ 2010-11-26 16:26
davedba
阅读(460)
推荐(0)
摘要:
Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]Modified 07-JUN-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsChangesCauseSolutionReferencesApplies to: Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later[Release: 1
阅读全文
posted @ 2010-11-26 13:18
davedba
阅读(134)
推荐(0)
摘要:
Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]Modified 07-JUN-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsChangesCauseSolutionReferencesApplies to: Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later[Release: 1
阅读全文
posted @ 2010-11-26 13:18
davedba
阅读(149)
推荐(0)
摘要:
Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]Modified 27-OCT-2010Type BULLETINStatus PUBLISHEDIn this DocumentPurposeScope and ApplicationPlacement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1Linux–AIX –HP–Solaris–Tru64 –ReferencesApplies to: Oracle Ser
阅读全文
posted @ 2010-11-26 12:58
davedba
阅读(227)
推荐(0)
摘要:
Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]Modified 27-OCT-2010Type BULLETINStatus PUBLISHEDIn this DocumentPurposeScope and ApplicationPlacement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1Linux–AIX –HP–Solaris–Tru64 –ReferencesApplies to: Oracle Ser
阅读全文
posted @ 2010-11-26 12:58
davedba
阅读(198)
推荐(0)
摘要:
Redhat 平台对raw设备的配置在redhat 5之后有了变化。在redhat 5之前,直接配置/etc/sysconfig/rawdevices件,通过/etc/init.d/rawdevices来管理raw设备的启动和关闭。在Redhat 5之后,原来的raw设备接口已经取消了,redhat 5中通过udev规则进行配置。 要配置,需要编辑/etc/udev/rules.d/60-raw.rules 这个文件。 先说明一下配置环境。 用openfiler 模拟了存储, 并将这些设备用iscsi挂到了服务器上。 在openfiler存储上设置了三个3个target, 用iscsi 连接.
阅读全文
posted @ 2010-11-26 00:30
davedba
阅读(225)
推荐(0)
摘要:
Redhat 平台对raw设备的配置在redhat 5之后有了变化。在redhat 5之前,直接配置/etc/sysconfig/rawdevices件,通过/etc/init.d/rawdevices来管理raw设备的启动和关闭。在Redhat 5之后,原来的raw设备接口已经取消了,redhat 5中通过udev规则进行配置。 要配置,需要编辑/etc/udev/rules.d/60-raw.rules 这个文件。 先说明一下配置环境。 用openfiler 模拟了存储, 并将这些设备用iscsi挂到了服务器上。 在openfiler存储上设置了三个3个target, 用iscsi 连接.
阅读全文
posted @ 2010-11-26 00:30
davedba
阅读(157)
推荐(0)
摘要:
Oracle 11gR2 RAC 的安装。 这个实验采用的架构:虚拟机VMServer 2.0 + REDHAT 5.4 +Oracle 11gR2+openfiler存储 + DNS server (scan),openfiler通过iscsi 连接到虚拟机上,作为共享设备。 参考Oracle 官方文档: 在 Oracle Enterprise Linux 和 iSCSI 上构建您自己的 Oracle RAC 11g 集群 http://www.oracle.com/technology/global/cn/pub/articles/hunter-rac11gr2-iscsi.html一.
阅读全文
posted @ 2010-11-25 14:29
davedba
阅读(159)
推荐(0)
摘要:
Oracle 11gR2 RAC 的安装。 这个实验采用的架构:虚拟机VMServer 2.0 + REDHAT 5.4 +Oracle 11gR2+openfiler存储 + DNS server (scan),openfiler通过iscsi 连接到虚拟机上,作为共享设备。 参考Oracle 官方文档: 在 Oracle Enterprise Linux 和 iSCSI 上构建您自己的 Oracle RAC 11g 集群 http://www.oracle.com/technology/global/cn/pub/articles/hunter-rac11gr2-iscsi.html一.
阅读全文
posted @ 2010-11-25 14:29
davedba
阅读(195)
推荐(0)
摘要:
RAC Connection Redirected To Wrong Host/IP ORA-12545 [ID 364855.1]Modified 16-APR-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsCauseSolutionReferencesApplies to: Oracle Net Services - Version: 9.2.0.8.0 to 11.1.0.7.0 - Release: 9.2 to 11.1Information in this document applies to any platfo
阅读全文
posted @ 2010-11-22 17:13
davedba
阅读(184)
推荐(0)
摘要:
RAC Connection Redirected To Wrong Host/IP ORA-12545 [ID 364855.1]Modified 16-APR-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsCauseSolutionReferencesApplies to: Oracle Net Services - Version: 9.2.0.8.0 to 11.1.0.7.0 - Release: 9.2 to 11.1Information in this document applies to any platfo
阅读全文
posted @ 2010-11-22 17:13
davedba
阅读(121)
推荐(0)
摘要:
一. Linux 目录结构 通常情况下,根文件系统所占空间一般应该比较小,因为其中的绝大部分文件都不需要经常改动,而且包括严格的文件和一个小的不经常改变的文件系统不容易损坏。 除了可能的一个叫/ vmlinuz标准的系统引导映像之外,根目录一般不含任何文件。所有其他文件在根文件系统的子目录中。Linux 的根目录下,有如下目录:[root@racnode1 /]# lldrwxr-xr-x 2 root root 4096 10-28 21:22 bindrwxr-xr-x 4 root root 1024 11-10 23:17 bootdrwxr-xr-x 15 root root 512
阅读全文
posted @ 2010-11-19 16:39
davedba
阅读(149)
推荐(0)
摘要:
一. Linux 目录结构 通常情况下,根文件系统所占空间一般应该比较小,因为其中的绝大部分文件都不需要经常改动,而且包括严格的文件和一个小的不经常改变的文件系统不容易损坏。 除了可能的一个叫/ vmlinuz标准的系统引导映像之外,根目录一般不含任何文件。所有其他文件在根文件系统的子目录中。Linux 的根目录下,有如下目录:[root@racnode1 /]# lldrwxr-xr-x 2 root root 4096 10-28 21:22 bindrwxr-xr-x 4 root root 1024 11-10 23:17 bootdrwxr-xr-x 15 root root 512
阅读全文
posted @ 2010-11-19 16:39
davedba
阅读(357)
推荐(0)
摘要:
ORA-16032 Can not Start Instance via srvctl but via sqlplus is fine [ID 1062071.1]Modified 07-OCT-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsChangesCauseSolutionApplies to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.1 - Release: 10.1 to 11.2Information in this docu
阅读全文
posted @ 2010-11-19 00:15
davedba
阅读(216)
推荐(0)
摘要:
ORA-16032 Can not Start Instance via srvctl but via sqlplus is fine [ID 1062071.1]Modified 07-OCT-2010Type PROBLEMStatus PUBLISHEDIn this DocumentSymptomsChangesCauseSolutionApplies to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.1 - Release: 10.1 to 11.2Information in this docu
阅读全文
posted @ 2010-11-19 00:15
davedba
阅读(203)
推荐(0)
摘要:
Oracle 11gR2 下RAC 安装后,启动CRS. 错误如下:[root@rac1 bin]# ./crsctl check crsCRS-4638: Oracle High Availability Services is onlineCRS-4535: Cannot communicate with Cluster Ready ServicesCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online从这个错误提示,可以看到是CRS启动失败了。 CRS是关键进程。 它不能启
阅读全文
posted @ 2010-11-18 17:10
davedba
阅读(200)
推荐(0)
摘要:
Oracle 11gR2 下RAC 安装后,启动CRS. 错误如下:[root@rac1 bin]# ./crsctl check crsCRS-4638: Oracle High Availability Services is onlineCRS-4535: Cannot communicate with Cluster Ready ServicesCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online从这个错误提示,可以看到是CRS启动失败了。 CRS是关键进程。 它不能启
阅读全文
posted @ 2010-11-18 17:10
davedba
阅读(277)
推荐(0)
摘要:
前几天一个朋友问了我一个问题。 说她在alert log里面看到了如下信息: Thread 1 cannot allocate new log, sequence 415 Private strand flush not complete Current log# 4 seq# 414 mem# 0: /dev/rora_redotb04 Thread 1 advanced to log sequence 415 Current log# 5 seq# 415 mem# 0: /dev/rora_redotb05 Thu Nov 11 16:01:51 2010我遇到的是:Checkpoi..
阅读全文
posted @ 2010-11-17 17:39
davedba
阅读(178)
推荐(0)
摘要:
前几天一个朋友问了我一个问题。 说她在alert log里面看到了如下信息: Thread 1 cannot allocate new log, sequence 415 Private strand flush not complete Current log# 4 seq# 414 mem# 0: /dev/rora_redotb04 Thread 1 advanced to log sequence 415 Current log# 5 seq# 415 mem# 0: /dev/rora_redotb05 Thu Nov 11 16:01:51 2010我遇到的是:Checkpoi..
阅读全文
posted @ 2010-11-17 17:39
davedba
阅读(196)
推荐(0)
摘要:
Redo log 是用于恢复和一个高级特性的重要数据,一个redo条目包含了相应操作导致的数据库变化的所有信息,所有redo条目最终都要被写入redo文件中去。Redo log buffer是为了避免Redo文件IO导致性能瓶颈而在sga中分配出的一块内存。一个redo条目首先在用户内存(PGA)中产生,然后由oracle服务进程拷贝到log buffer中,当满足一定条件时,再由LGWR进程写入redo文件。 由于log buffer是一块“共享”内存,为了避免冲突,它是受到redo allocation latch保护的,每个服务进程需要先获取到该latch才能分配redo buffe..
阅读全文
posted @ 2010-11-17 15:05
davedba
阅读(171)
推荐(0)
摘要:
Redo log 是用于恢复和一个高级特性的重要数据,一个redo条目包含了相应操作导致的数据库变化的所有信息,所有redo条目最终都要被写入redo文件中去。Redo log buffer是为了避免Redo文件IO导致性能瓶颈而在sga中分配出的一块内存。一个redo条目首先在用户内存(PGA)中产生,然后由oracle服务进程拷贝到log buffer中,当满足一定条件时,再由LGWR进程写入redo文件。 由于log buffer是一块“共享”内存,为了避免冲突,它是受到redo allocation latch保护的,每个服务进程需要先获取到该latch才能分配redo buffe..
阅读全文
posted @ 2010-11-17 15:05
davedba
阅读(196)
推荐(0)
摘要:
公司刚上线一套Oracle 11gR2 的RAC。 将MEMORY_TARGET内存设置为12G后,启动的时候报了错误: ORA-00845: MEMORY_TARGET not supported on this system00845, 00000, "MEMORY_TARGET not supported on this system"// *Cause: The MEMORY_TARGET parameter was not supported on this operating system or /dev/shm was not sized correctly
阅读全文
posted @ 2010-11-17 01:23
davedba
阅读(371)
推荐(0)
摘要:
公司刚上线一套Oracle 11gR2 的RAC。 将MEMORY_TARGET内存设置为12G后,启动的时候报了错误: ORA-00845: MEMORY_TARGET not supported on this system00845, 00000, "MEMORY_TARGET not supported on this system"// *Cause: The MEMORY_TARGET parameter was not supported on this operating system or /dev/shm was not sized correctly
阅读全文
posted @ 2010-11-17 01:23
davedba
阅读(221)
推荐(0)
摘要:
How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]Modified 11-OCT-2010Type HOWTOStatus PUBLISHEDIn this DocumentGoalSolutionStart up sequence:Cluster statusCase 1: OHASD.BIN does not startCase 2: OHASD Agents does not startCase 3: CSSD.BIN does not startCase 4: CRSD.BIN does not s
阅读全文
posted @ 2010-11-17 00:59
davedba
阅读(4461)
推荐(0)
摘要:
How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]Modified 11-OCT-2010Type HOWTOStatus PUBLISHEDIn this DocumentGoalSolutionStart up sequence:Cluster statusCase 1: OHASD.BIN does not startCase 2: OHASD Agents does not startCase 3: CSSD.BIN does not startCase 4: CRSD.BIN does not s
阅读全文
posted @ 2010-11-17 00:59
davedba
阅读(548)
推荐(0)
摘要:
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]Modified 10-OCT-2010Type HOWTOStatus MODERATEDIn this DocumentGoalSolutionDeconfigure and Reconfigure of Standalone Server (Oracle Restart):Deinstall of Grid Infrastructure Standalone Server:Deconfigure and Reconfig
阅读全文
posted @ 2010-11-17 00:56
davedba
阅读(212)
推荐(0)
摘要:
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]Modified 10-OCT-2010Type HOWTOStatus MODERATEDIn this DocumentGoalSolutionDeconfigure and Reconfigure of Standalone Server (Oracle Restart):Deinstall of Grid Infrastructure Standalone Server:Deconfigure and Reconfig
阅读全文
posted @ 2010-11-17 00:56
davedba
阅读(148)
推荐(0)
摘要:
免费的存储服务器软件有FreeNAS 和 Openfiler。 其中Freenas的网站上只有i386及amd64的版本,也就是说Freenas不能支持64位版本的Intel CPU,而Openfiler则提供更全面的版本支持,在其网站上可以看到支持多网卡、多CPU,以及硬件Raid的支持,还有10Gb网卡的支持。Freenas 官网地址:http://freenas.org/doku.php Openfiler 官网:http://www.openfiler.com/Openfiler是在rPath Linux基础上开发的,它能够作为一个独立的Linux操作系统发行。Openfiler是一款
阅读全文
posted @ 2010-10-29 00:55
davedba
阅读(170)
推荐(0)
摘要:
免费的存储服务器软件有FreeNAS 和 Openfiler。 其中Freenas的网站上只有i386及amd64的版本,也就是说Freenas不能支持64位版本的Intel CPU,而Openfiler则提供更全面的版本支持,在其网站上可以看到支持多网卡、多CPU,以及硬件Raid的支持,还有10Gb网卡的支持。Freenas 官网地址:http://freenas.org/doku.php Openfiler 官网:http://www.openfiler.com/Openfiler是在rPath Linux基础上开发的,它能够作为一个独立的Linux操作系统发行。Openfiler是一款
阅读全文
posted @ 2010-10-29 00:55
davedba
阅读(188)
推荐(0)
摘要:
我们可以用/proc/cpuinfo 查看CPU 的信息。 该文件包含系统上每个处理器的数据段落。/proc/cpuinfo 描述中有 6 个条目适用于多内核和超线程(HT)技术检查:processor, vendor id, physical id, siblings, core id 和 cpu cores。(1)processor:包括这一逻辑处理器的唯一标识符。 (2)physical id :包括每个物理封装的唯一标识符。 (3)core id :保存每个内核的唯一标识符。 (4)siblings :列出了位于相同物理封装中的逻辑处理器的数量。 (5)cpu cores :包含位于相
阅读全文
posted @ 2010-10-27 23:34
davedba
阅读(139)
推荐(0)
摘要:
我们可以用/proc/cpuinfo 查看CPU 的信息。 该文件包含系统上每个处理器的数据段落。/proc/cpuinfo 描述中有 6 个条目适用于多内核和超线程(HT)技术检查:processor, vendor id, physical id, siblings, core id 和 cpu cores。(1)processor:包括这一逻辑处理器的唯一标识符。 (2)physical id :包括每个物理封装的唯一标识符。 (3)core id :保存每个内核的唯一标识符。 (4)siblings :列出了位于相同物理封装中的逻辑处理器的数量。 (5)cpu cores :包含位于相
阅读全文
posted @ 2010-10-27 23:34
davedba
阅读(170)
推荐(0)
摘要:
一. lun的概念 lun的全称是logical unit number,也就是逻辑单元号。我们知道scsi总线上可挂接的设备数量是有限的,一般为6个或者15个,我们可以用target ID(也有称为scsi id的)来描述这些设备,设备只要一加入系统,就有一个代号,我们在区别设备的时候,只要说几号几号就ok了。 而实际上我们需要用来描述的对象,是远远超过该数字的,于是我们引进了lun的概念,也就是说lun id的作用就是扩充了target id。每个target下都可以有多个lun device,我们通常简称lun device为lun,这样就可以说每个设备的描述就有原来的target ..
阅读全文
posted @ 2010-10-27 12:15
davedba
阅读(289)
推荐(0)
摘要:
一. lun的概念 lun的全称是logical unit number,也就是逻辑单元号。我们知道scsi总线上可挂接的设备数量是有限的,一般为6个或者15个,我们可以用target ID(也有称为scsi id的)来描述这些设备,设备只要一加入系统,就有一个代号,我们在区别设备的时候,只要说几号几号就ok了。 而实际上我们需要用来描述的对象,是远远超过该数字的,于是我们引进了lun的概念,也就是说lun id的作用就是扩充了target id。每个target下都可以有多个lun device,我们通常简称lun device为lun,这样就可以说每个设备的描述就有原来的target ..
阅读全文
posted @ 2010-10-27 12:15
davedba
阅读(162)
推荐(0)
摘要:
随着企业业务的发展,大型数据仓库越来越多,其规模也在迅速扩大,平均每两年规模增大3倍。大型数据仓库要求以最高的磁盘读取速度扫描几十、几百或几千个磁盘,只有磁盘和服务器之间的管道带宽增加10倍或更多才能满足此要求,所以企业常常发现数据仓库越大,运行速度可能就越慢。 如何突破数据带宽瓶颈?一个全新的架构---Oracle Exadata应运而生。 甲骨文公司首席执行官Larry Ellison 和Sun Microsystems 公司执行副总裁John Fowler,在2009年9月宣布:推出世界上第一个OLTP数据库机——Sun Oracle数据库机(即Oracle Exadata第二版)。..
阅读全文
posted @ 2010-10-26 22:56
davedba
阅读(250)
推荐(0)
摘要:
随着企业业务的发展,大型数据仓库越来越多,其规模也在迅速扩大,平均每两年规模增大3倍。大型数据仓库要求以最高的磁盘读取速度扫描几十、几百或几千个磁盘,只有磁盘和服务器之间的管道带宽增加10倍或更多才能满足此要求,所以企业常常发现数据仓库越大,运行速度可能就越慢。 如何突破数据带宽瓶颈?一个全新的架构---Oracle Exadata应运而生。 甲骨文公司首席执行官Larry Ellison 和Sun Microsystems 公司执行副总裁John Fowler,在2009年9月宣布:推出世界上第一个OLTP数据库机——Sun Oracle数据库机(即Oracle Exadata第二版)。..
阅读全文
posted @ 2010-10-26 22:56
davedba
阅读(207)
推荐(0)
摘要:
一. ORION 概述1.1 ORION 说明 ORION (Oracle I/O Calibration Tool) 是校准用于 Oracle 数据库的存储系统 I/O 性能的独立工具。校准结果对于了解存储系统的性能有很大帮助,不仅可以找出影响 Oracle 数据库性能的问题,还能测量新数据库安装的大小。由于 ORION 是一个独立工具,用户不需要创建和运行 Oracle 数据库。Orion的下载地址为:http://www.oracle.com/technology/global/cn/software/tech/orion/index.html 为了尽可能地模拟 Oracle 数据库,O
阅读全文
posted @ 2010-10-25 22:43
davedba
阅读(195)
推荐(0)
摘要:
一. ORION 概述1.1 ORION 说明 ORION (Oracle I/O Calibration Tool) 是校准用于 Oracle 数据库的存储系统 I/O 性能的独立工具。校准结果对于了解存储系统的性能有很大帮助,不仅可以找出影响 Oracle 数据库性能的问题,还能测量新数据库安装的大小。由于 ORION 是一个独立工具,用户不需要创建和运行 Oracle 数据库。Orion的下载地址为:http://www.oracle.com/technology/global/cn/software/tech/orion/index.html 为了尽可能地模拟 Oracle 数据库,O
阅读全文
posted @ 2010-10-25 22:43
davedba
阅读(176)
推荐(0)