免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 15243 | 回复: 10

11gR2 RAC中的磁盘怎么分配 [复制链接]

论坛徽章:
0
发表于 2011-07-19 15:49 |显示全部楼层
对磁盘分配这块有点模糊谁来指导下?谢谢

论坛徽章:
0
发表于 2011-07-19 16:58 |显示全部楼层
好好读读ASM管理,11gR2对磁盘组的管理内容基本是ASM的。内容很多,有基本划分,镜像,普通冗余、高级冗余、外部冗余的配置,还有Oracle提供的相关工具等等。

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
发表于 2011-07-19 18:58 |显示全部楼层
ASM好像是ORACLE自己管理的。

论坛徽章:
0
发表于 2011-07-19 19:54 |显示全部楼层
本帖最后由 tacsoft 于 2011-07-19 20:53 编辑

是的,ASM是Oracle自己的对磁盘组管理的软件,主要用于阵列和磁盘组的管理。不需要使用操作系统管理软件。Oracle ASM管理提供一个工具ASMCMD,使用该工具你可以轻松查看和处理磁盘组的文件和目录。

论坛徽章:
0
发表于 2011-07-20 11:55 |显示全部楼层
好好读读ASM管理,11gR2对磁盘组的管理内容基本是ASM的。内容很多,有基本划分,镜像,普通冗余、高级冗余、 ...
tacsoft 发表于 2011-07-19 16:58



    谢谢,比如看到网上说的+OCR_VOTE,+DATA,+ARCH这些怎么分,多大合适

论坛徽章:
0
发表于 2011-07-21 08:03 |显示全部楼层
回复 5# 生活在某个角落


    其实,对于大没有限制,现在我们市面上卖的物理硬盘,最小的也足够满足要求。我记得最小的盘也有500G。你大可不必为盘的体积操心。分区的体积如果没有盘体积的限制,也没有必要为此困扰。剩下的就是动手做做。
给你一个链接,自己上去看吧,我做的实验都在上面:http://bbs.chinaunix.net/thread-2307675-1-1.html

论坛徽章:
0
发表于 2011-07-21 09:46 |显示全部楼层
回复  生活在某个角落


    其实,对于大没有限制,现在我们市面上卖的物理硬盘,最小的也足够满足要求 ...
tacsoft 发表于 2011-07-21 08:03


    谢谢tacsoft,是这样的,我挂载到机器上的是存储大小为2T,我现在要把这2T划分一下不知道这些都应该多大像(+OCR_VOTE,+DATA,+ARCH),盘体本身虽然没有限制但是分了区后就固定了啊,不知道表达清楚没有,还是我理解的有问题,请指点一下,谢谢

论坛徽章:
0
发表于 2011-07-21 10:28 |显示全部楼层
本帖最后由 tacsoft 于 2011-07-21 12:30 编辑

首先告诉你为什么我要花时间帮你查Oracle文档,就是防止有人没有根据的误导你。下面内容是Oracle的建议:
本文内容来自:
Oracle; Database 2 Day + Real Application Clusters Guide
11g Release 2 (11.2)

硬件需求(About Hardware Requirements)

你集群的每个节点,或者Oracle集群软件和Oracle RAC 安装,硬件必须满足软件的最低要求。这些硬件要求可以归纳如下:
(Each node you make part of your cluster, or Oracle Clusterware and Oracle RAC installation, must satisfy the minimum hardware requirements of the software. These hardware requirements can be categorized as follows:)

•物理内存(至少1.5 gigabyte (GB) RAM)
(Physical memory (at least 1.5 gigabyte (GB) of RAM))

•SWAP空间等于RAM
(An amount of swap space equal to the amount of RAM)

•在每个/tmp下,临时空间(至少1GB)
(Temporary space (at least 1 GB) available in /tmp)

•安装的Oracle软件版本有一个认证的处理器类型(CPU)
(A processor type (CPU) that is certified with the release of the Oracle software being installed)

•如果使用OUI(Oracle通用安装程序),最小分辨率是1024 x 786
(A minimum of 1024 x 786 display resolution, so that Oracle Universal Installer (OUI) displays correctly)

•在集群中使用的所有服务器必须具有相同的芯片架构,所有为 32-bit 处理器或者64-bit 处理器。
(All servers that are used in the cluster must have the same chip architecture, for example, all 32-bit processors or all 64-bit processors)

•在软件的安装位置有足够的磁盘空间来存储Oracle软件。
(Adequate disk space in the software installation locations to store the Oracle software)

你至少要有5.5 GB可用磁盘空间用于Grid home目录,其中既包括Oracle Clusterware和Oracle自动存储管理(Oracle ASM的)及其关联的日志文件为二进制文件,至少有4 GB可用磁盘空间用于Oracle Database home目录,或者Oracle home目录。
(You need at least 5.5 GB of available disk space for the Grid home directory, which includes both the binary files for Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM) and their associated log files, and at least 4 GB of available disk space for the Oracle Database home directory, or Oracle home directory.)

关于共享存储
Oracle RAC数据库被每个数据库共享。Oracle RAC 数据库使用的所有的数据文件、控制文件、重做日志文件和服务器参数文件(SPFILE)必须存储在Oracle RAC数据库实例可访问的共享存储设备上。本指南中指出的Oracle RAC安装使用Oracle ASM作为的共享存储设备,存储Oracle Clusterware和Oracle数据库文件。
(An Oracle RAC database is a shared everything database. All data files, control files, redo log files, and the server parameter file (SPFILE) used by the Oracle RAC database must reside on shared storage that is accessible by all the Oracle RAC database instances. The Oracle RAC installation demonstrated in this guide uses Oracle ASM for the shared storage for Oracle Clusterware and Oracle Database files.)

Oracle集群实现很好的可扩展性和高可用性,使用下列组件:
(Oracle Clusterware achieves superior scalability and high availability by using the following components:)

表决(Voting disk)磁盘管理群集成员,协调发生网络故障时节点之间的关系。表决磁盘文件驻留在共享存储器上。对于高可用性,Oracle建议你使用多个表决磁盘,你的表决磁盘数应为奇数。如果你只定义了一个表决磁盘,请使用文件系统级别的镜像。
(Voting disk–Manages cluster membership and arbitrates cluster ownership between the nodes in case of network failures. The voting disk is a file that resides on shared storage. For high availability, Oracle recommends that you have multiple voting disks, and that you have an odd number of voting disks. If you define a single voting disk, then use mirroring at the file system level for redundancy.)

Oracle群集注册表(Oracle Cluster Registry (OCR))--维护集群配置信息和集群内集群数据库的配置信息。OCR包含下面内容,数据库上运行的节点,数据库上的服务,OCR的存储过程,Oracle集群控制的信息。OCR驻留在所有节点可以访问的共享存储设备上。Oracle集群可以服用,或者维护多个OCR副本,Oracle建议你使用此特性,以确保高可用性。
(Oracle Cluster Registry (OCR)–Maintains cluster configuration information and configuration information about any cluster database within the cluster. The OCR contains information such as which database instances run on which nodes and which services run on which databases. The OCR also stores information about processes that Oracle Clusterware controls. The OCR resides on shared storage that is accessible by all the nodes in your cluster. Oracle Clusterware can multiplex, or maintain multiple copies of, the OCR and Oracle recommends that you use this feature to ensure high availability.)

___________________________________________________________________________________________________
注:
如果你不选择Oracle ASM存储你的Oracle集群文件,在你安装Oracle集群软件到Grid home之前,VOTE和OCR必须驻留在一个配置好的集群文件系统上。
(If you choose not to use Oracle ASM for storing your Oracle Clusterware files, then both the voting disks and the OCR must reside on a cluster file system that you configure before you install Oracle Clusterware in the Grid home.)
___________________________________________________________________________________________________

这些Oracle集群组件需要一个共享文件系统,磁盘空间需求如下:
(These Oracle Clusterware components require the following disk space on a shared file system:)

•Oracle Clusterware Registry (OCR),每个300MB,或者总的磁盘空间900MB
(Three Oracle Clusterware Registry (OCR) files, 300 MB each, or 900 MB total disk space)

•3个VOTE磁盘文件,每个300MB,或者总的磁盘空间900MB
(Three voting disk files, 300 MB each, or 900 MB total disk space)

论坛徽章:
0
发表于 2011-07-21 12:36 |显示全部楼层
这应该是最标准的答案了,你的实际配置可以大于它。但最好不要比它小。

论坛徽章:
0
发表于 2011-07-21 16:49 |显示全部楼层
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP