ORACLE ASM, 如果一个DiskGroup下面,创建了两个FailGroup,然后是normal 冗余,其中一个FailGroup损坏了会怎样

qweone 2014-11-17 10:49:41
ORACLE ASM, 如果一个DiskGroup下面,创建了两个FailGroup,然后是normal 冗余,其中一个FailGroup损坏了会怎样.
这是ocp中的一道题, C 答案说,control1 FG坏了, 会把数据转移到另一个FG, 可是 都坏了,还怎么转移啊????
求解答

我不理解,很不理解, 求解答.
QUESTION 38
A database instance is using an Automatic Storage Management (ASM) instance, which has a diskgroup,
DGROUP1, created as follows:
SQL> CREATE DISKGROUP dgroup1 NORMAL REDUNDANCY
FAILGROUP controller1 DISK '/devices/diska1', '/devices/diska2'
FAILGROUP controller2 DISK '/devices/diskb1', '/devices/diskb2' ;
What happens when the whole CONTROLLER1 Failure group is damaged?
A. The transactions that use the diskgroup will halt.
B. The mirroring of allocation units occurs within the CONTROLLER2 failure group.
C. The data in the CONTROLLER1 failure group is shifted to the CONTROLLER2 failure group and implicit
rebalancing is triggered.
D. The ASM does not mirror any data and newly allocated primary allocation units (AU)are stored in the
CONTROLLER2 failure group.
Answer: C
...全文
3644 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
小灰狼W 2014-11-18
  • 打赏
  • 举报
回复
引用 1 楼 qweone 的回复:
UP! rebalancing 不是应该当其中一个FG损坏后, 重新接上一个新的硬盘再会去reblancing吗.
rebalance是指磁盘组中的部分磁盘损坏,数据重新分布到剩下的磁盘里 重新接新的磁盘不会自动加入磁盘组,需要手动添加
小灰狼W 2014-11-18
  • 打赏
  • 举报
回复
C不对,应该选D A 是错的,因为数据存在镜像,数据库不会因此宕掉 B 是错的,镜像发生在不同的failgroup之间,而不是同一个failgroup之内的asm_disk间进行镜像 C 是错的,CONTROLLER1整个损坏掉,数据库能正常运行,但数据只剩下CONTROLLER2中的一份。当CONTROLLER2中的一块asm_disk发生故障,才会从对应镜像的CONTROLLER1中将数据转移过来,并进行rebalance D 正确。此时数据只剩下一份,不存在镜像。primary AU储存在CONTROLLER2中 How Oracle ASM Manages Disk Failures Depending on the redundancy level of a disk group and how you define failure groups, the failure of one or more disks could result in either of the following: ■The disks are first taken offline and then automatically dropped. In this case, the disk group remains mounted and serviceable. In addition, because of mirroring, all of the disk group data remains accessible. After the disk drop operation, Oracle ASM performs a rebalance to restore full redundancy for the data on the failed disks. ■The entire disk group is automatically dismounted, which means loss of data accessibility.
qweone 2014-11-17
  • 打赏
  • 举报
回复
UP! rebalancing 不是应该当其中一个FG损坏后, 重新接上一个新的硬盘再会去reblancing吗.

2,668

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 认证与考试
社区管理员
  • 认证与考试社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧