RAID与ASM

[复制链接]
查看11 | 回复9 | 2011-8-31 15:27:58 | 显示全部楼层 |阅读模式
本帖最后由 Kevin__Zhang 于 2012-2-27 11:08 编辑
学习中遇到几个问题:
1.RAID10会使得存储的有效容量降低一半,这点是确定的。但是相比RAID0是否也会使得存储系统的最大IOMB以及最大IOPS降低一半? 因为只有一半的硬盘能用来读取写入?
2.ASM原理上更接近RAID10还是RAID01?
3.以NORMAL冗余度来说,同样20块硬盘,ASM的failgroup建2个和建多个都有什么优点和缺点?



回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
upup
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层

帮up
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
Kevin__Zhang 发表于 2012-2-27 12:55
upup

RAID10是先做镜象,然后再做条带。
RAID01则是先做条带,然后再做镜象
其实主要是在安全性上有一些不同,如果磁盘不坏的话,性能应该是一样的
但还是推荐RAID10
1.这个问题RAID0的作用就是条带,分散I/O,而你说的降低磁盘读写效率应该指的是有效磁盘数的使用吧,这是RAID1的作用,为了安全牺牲一些空间还是值当的,如果不考虑成本的因素应该说不存在性能丢失我觉得
2.ASM的研究也不深,但是我觉得得分两步说。首先在ASM是external redundancy的时候,它本身应该也是有条带的功能的,只不过不具备FAIL GROUP。那么应该是说也是有RAID0的作用的
当你用normal redundancy或high redundancy的时候应该就是既有RAID0也有RAID1的功能了。如果底层还有RAID的话我想就是双保险了
3.
Normal redundancy(1 OCR and 2 copies )In a normal redundancy disk group, to increase performance and reliability,Automatic Storage Management by default uses two-way mirroring. A normalredundancy disk group requires a minimum of two disk devices (or twofailure groups). The effective disk space in a normal redundancy disk group ishalf the sum of the disk space in all of its devices.For Oracle Clusterware files, Normal redundancy disk groups provide 3voting disk files, 1 OCR and 2 copies (one primary and one secondary mirror).With normal redundancy, the cluster can survive the loss of one failure group.For most installations, Oracle recommends that you select normal redundancy.1.2.3 HIGH模式
High redundancy(1 OCR and 3 copies )In a high redundancy disk group, Automatic Storage Management usesthree-way mirroring to increase performance and provide the highest level ofreliability. A high redundancy disk group requires a minimum of three diskdevices (or three failure groups). The effective disk space in a high redundancydisk group is one-third the sum of the disk space in all of its devices.For Oracle Clusterware files, High redundancy disk groups provide 5 votingdisk files, 1 OCR and 3 copies (one primary and two secondary mirrors). Withhigh redundancy, the cluster can survive the loss of two failure groups.While high redundancy disk groups do provide a high level of data protection,you should consider the greater cost of additional storage devices beforedeciding to select high redundancy disk groups. 文档里描述了这两个的区别主要在磁盘的开销上,并没有提到性能的区别。所以应该没什么不同说的不一定对,仅代表我的看法
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
iori809 发表于 2012-2-27 14:23
RAID10是先做镜象,然后再做条带。
RAID01则是先做条带,然后再做镜象
其实主要是在安全性上有一些不同 ...

兄弟,第三个不是说的Normal redundancy和High redundancy的区别,而是说同样是Normal redundancy,20块磁盘,建2个failover group和建10个failover group都有什么区别,优缺点。
另外,第一个,譬如也是同样20块磁盘,做RAID10的话磁盘的性能会不会比单纯的RAID0下降一半?

回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
Kevin__Zhang 发表于 2012-2-27 14:40
兄弟,第三个不是说的Normal redundancy和High redundancy的区别,而是说同样是Normal redundancy,20块磁 ...


3. ASM的FAIL GROUP还没生产环境用过,但我以前做过一些简单的实验
2个group和10个group至少从空间上来说就少了。还有normal是不是只支持两个FAIL GROUP还得实验,以前做的就是两个group,没试过3个以上的
1.那是当然的我觉得。但单纯RAID0不安全啊~
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
本帖最后由 wolfop 于 2012-2-27 14:55 编辑
RAID10对于写操作当然导致IOPS/MBPS减半,ASM NORMAL一样。但读不会。
ASM NORMAL既不是RAID10也不是RAID01。存储中这样实现的方式只有XIV/3PAR,DMX/EVA最多算有点类似。
建多少failgroup不是依赖于你的硬盘数量,而是到底他们是否共享会一失效导致整个failgroup内磁盘同时失效的东西,比如SAS controller。
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
iori809 发表于 2012-2-27 14:46
3. ASM的FAIL GROUP还没生产环境用过,但我以前做过一些简单的实验
2个group和10个group至少从空间 ...

A normal redundancy disk group must contain at least two failure groups.
A high redundancy disk group must contain at least three failure groups.

normal redundancy 可以有多于2个的failgroup , 但是 mirror 仍是2-way的。
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
iori809 发表于 2012-2-27 14:46
3. ASM的FAIL GROUP还没生产环境用过,但我以前做过一些简单的实验
2个group和10个group至少从空间 ...

3. ASM的FAIL GROUP还没生产环境用过,但我以前做过一些简单的实验
2个group和10个group至少从空间上来说就少了。还有normal是不是只支持两个FAIL GROUP还得实验,以前做的就是两个group,没试过3个以上的
---空间上应该是不会少的吧,反正就是2路冗余,1份镜像。
1.那是当然的我觉得。但单纯RAID0不安全啊~
---我也觉得是当然的,就是很惊讶怎么从来没有见人提起过这点,所以想确认下。
回复

使用道具 举报

千问 | 2011-8-31 15:27:58 | 显示全部楼层
本帖最后由 iori809 于 2012-2-27 15:09 编辑
Kevin__Zhang 发表于 2012-2-27 14:59
3. ASM的FAIL GROUP还没生产环境用过,但我以前做过一些简单的实验
2个group和10个group至少从空间上来说 ...

The effective disk space in a normal redundancy disk group is
half the sum of the disk space in all of its devices
这句话说明了FAIL GROUP是消耗物理空间的,那么如果你弄3个group的话。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行