开始新对话

此帖子已超过 5 年

Solved!

Go to Solution

2275

2012年11月11日 06:00

mirrorview的切换测试问题

mirrorview的主备切换,有一个promote选项。选了这个之后,是不是secondary LUN就会和primary LUN变换角色,那secondary LUN是不是还要重新挂接主机,主机重新扫描才能继续使用???

2 Intern

 • 

4K 消息

2012年11月11日 18:00

Promo就是对换角色,secondary LUN如果原来已经挂接主机的话不用重新扫描,将I/O导入新的primary image (原secondary)即可。

mv.promote.png

Promoting with MirrorView/S

1. Quiesce I/O to the primary image.

2. Wait for the secondary image to become “Synchronized.”

3. Promote the secondary image.

4. Resume I/O to the new primary image (the previous secondary).

Promoting with MirrorView/A

1. Quiesce I/O to the primary image (an unmount recommended).

2. Perform an update, so that the secondary becomes “synchronized.”

3. Promote the secondary image.

4. Resume I/O to the new primary (previous secondary) image.

另外如果DR site之间连接已经down了的话,可以强制promo,但如果到一半连接又起来了,两边就会都是primary site,这时只能删掉MirrorView重建。

2 Intern

 • 

913 消息

2012年11月11日 19:00

secondary LUN也可以直接挂给主机吗,是不是要先从mirrorview里面一出来,才能挂接主机?

2 Intern

 • 

4K 消息

2012年11月11日 20:00

恩,之前没讲清楚,MirrorView时secondary image不能"直接"挂载,需要建snapshot或者clone。所以要等它变为primary image后再操作。

2 Intern

 • 

4K 消息

2012年11月12日 20:00

另外补充一下MV/A时的gold copy的概念:Gold copy可以确保secondary image的完整性,同样基于copy-on-first-write。假设当MV/A同步到一半时primary image出现故障,MV/A就可以将gold copy中的内容roll back到secondary image。这一roll back的动作仅在promote secondary image时发生,因此管理员仍然有机会尝试修复primary image以让同步进程继续。以上所有技术细节在MirrorView白皮书中有说明。

2 Intern

 • 

913 消息

2012年11月13日 19:00

ok,明白

2 Intern

 • 

1.4K 消息

2012年11月13日 19:00

对,只有MV/A才有

2 Intern

 • 

913 消息

2012年11月13日 19:00

那只有异步才能有这个gold copy的概念吗

找不到事件!

Top