亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 5486 | 回復(fù): 3
打印 上一主題 下一主題

[容災(zāi)] 存儲(chǔ)容災(zāi)系統(tǒng)經(jīng)驗(yàn) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-08-25 20:37 |只看該作者 |倒序?yàn)g覽

前陣子負(fù)責(zé)深圳一銀行的同城容災(zāi)系統(tǒng)。從環(huán)境調(diào)研到方案設(shè)計(jì)和項(xiàng)目實(shí)施和演練經(jīng)歷了約兩個(gè)月了。
累死累活,事多人雜,心情不好受。也不想在此述了。
記錄下在此次項(xiàng)目中的收獲,分享下。
第一,PVID注意事項(xiàng)
平時(shí)我們在做PPRC數(shù)據(jù)復(fù)制時(shí),源存儲(chǔ)的volume以同步或異步的方式復(fù)制到目標(biāo)存儲(chǔ)系統(tǒng),因?yàn)槭窃诖鎯?chǔ)級做volume的復(fù)制,所以源卷和目標(biāo)卷會(huì)是一模一樣。包括PVID等信息。(AIX主機(jī)識(shí)別磁盤根據(jù)PVID信息,由于源卷和目標(biāo)卷通過PPRC復(fù)制所以PVID會(huì)是一樣的。所以在做切換時(shí),請注意:同一時(shí)間只允許一組卷出現(xiàn)。要么就是源卷,要么就是目標(biāo)卷。如不然會(huì)出現(xiàn)不可想象的故障。可以通過chhostconnect -volgrp none 0000來設(shè)置)
第二,SAN ZONE的設(shè)計(jì)
生產(chǎn)端和容災(zāi)端各兩臺(tái)SAN SWITCH。SAN設(shè)計(jì)就可能有兩種情況,是將生產(chǎn)其中一臺(tái)與容災(zāi)端的一臺(tái)SAN SWITCH做一個(gè)SAN網(wǎng)絡(luò),另一對組成另一個(gè)SAN;或是四個(gè)交換機(jī)組成一個(gè)SAN?
就這個(gè)問題,已經(jīng)做了測試。確定了使用前者設(shè)計(jì)方式。主要原因就是fabric manager
第三,freezepprc與unfreezepprc使用。
什么時(shí)候用與怎么使用呢,我想應(yīng)該一般的人都不會(huì)理解,即使是做ESS的行內(nèi)人。發(fā)表在這里造福客戶,方便技術(shù)人員們。
一句話,應(yīng)用系統(tǒng)不停止時(shí)做切換(failoverpprc),將目標(biāo)卷設(shè)置為可用狀態(tài)(通常PPRC目標(biāo)卷的狀態(tài)是不可訪問)的時(shí)候,failover之前務(wù)必freezepprc/unfreezepprc保證數(shù)據(jù)的一致性。
freezepprc,是暫停I/O操作,所以這時(shí)所有的主機(jī)的寫磁盤操作全部掛起,直到解除。那什么時(shí)候 解除,怎么解除呢,就得使用unfreezepprc。所以,操作時(shí)一定要在最短的時(shí)間內(nèi)完成操作和業(yè)務(wù)最不繁忙的時(shí)候,當(dāng)然應(yīng)用要是能停機(jī)當(dāng)然另當(dāng)它論。
通常我都是開多個(gè)窗口,先把命令復(fù)制上去,操作時(shí)只按下enter即可,節(jié)省時(shí)間。
前面說了,做failover前做這個(gè)操作,如果不做這步呢,呵呵,應(yīng)用系統(tǒng)在運(yùn)行的話,I/O嚴(yán)重停止,慢到你簡直受不了。所以如果是停機(jī)的情況切換到容災(zāi)去跑,可以直接failover,當(dāng)然 這情況,你做freezepprc/unfreezepprc也不會(huì)錯(cuò)。
請注意:freezepprc/unfreezepprc執(zhí)行后會(huì)自動(dòng)刪除pprcpath,因?yàn)橄到y(tǒng)會(huì)自動(dòng)認(rèn)為你是要準(zhǔn)備切換到容災(zāi)端運(yùn)行,就不會(huì)再從源存儲(chǔ)到目標(biāo)存儲(chǔ)復(fù)制了,它就把從源到目標(biāo)的PPRCPATH給刪除了。
freezepprc -dev IBM.2107-75LP471 -remotedev IBM.2107-75MA671 02:12 03:13 04:14 05:15 06:16 07:17 08:18 09:19 0A:1A 0B:1B 0C:1C 0D:1D 0E:1E 0F:1F 30:40 31:41
unfreezepprc -dev IBM.2107-75LP471 -remotedev IBM.2107-75MA671 02:12 03:13 04:14 05:15 06:16 07:17 08:18 09:19 0A:1A 0B:1B 0C:1C 0D:1D 0E:1E 0F:1F 30:40 31:41
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 02:12 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 04:14 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 06:16 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 08:18 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0A:1A successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0C:1C successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0E:1E successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 30:40 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 03:13 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 05:15 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 07:17 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 09:19 successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0B:1B successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0D:1D successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 0F:1F successfully created.
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 31:41 successfully created.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 02:12 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 04:14 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 06:16 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 08:18 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0A:1A successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0C:1C successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0E:1E successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 30:40 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 03:13 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 05:15 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 07:17 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 09:19 successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0B:1B successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0D:1D successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 0F:1F successfully thawed.
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 31:41 successfully thawed.
第四,failover操作

前面已經(jīng)提到過failover了。就是為了激活目標(biāo)存儲(chǔ)的卷可讀可寫,能夠正常的被主機(jī)訪問。請注意,PPRC是有方向的。應(yīng)該在哪個(gè)存儲(chǔ)上操作呢,源存儲(chǔ)還是目標(biāo)存儲(chǔ)系統(tǒng)??

還是一句話:哪個(gè)存儲(chǔ)上的卷需要激活為正常被主機(jī)訪問的狀態(tài)就在哪個(gè)存儲(chǔ)上執(zhí)行failover操作。

做了failover后,目標(biāo)卷就可以被主機(jī)訪問,源卷本身就能被主機(jī)訪問。但此時(shí)PPRC復(fù)制的狀態(tài)是暫停的。兩邊的數(shù)據(jù)會(huì)出現(xiàn)不一致。待測試完成后,需要恢復(fù)PPRC復(fù)制,這時(shí)可以執(zhí)行failback或是resumepprc等恢復(fù)PPRC復(fù)制。但時(shí),請一定注意此時(shí)的復(fù)制方向。方向反了的話,,,,,就不說了,都知道了。

本文原創(chuàng),歡迎轉(zhuǎn)載學(xué)習(xí)用,請注明作者和出處。謝謝!

本文來自ChinaUnix博客,如果查看原文請點(diǎn):http://blog.chinaunix.net/u/2984/showart_2036970.html

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-08-27 11:26 |只看該作者
感謝樓主分享!
我這邊有一份昆騰給企業(yè)做的 遠(yuǎn)程備份容災(zāi)的解決方案,也和大家一起分享吧。

關(guān)鍵業(yè)務(wù)數(shù)據(jù)的三重保護(hù)機(jī)制,為商業(yè)企業(yè)保駕護(hù)航.pdf

221.83 KB, 下載次數(shù): 225

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2010-05-11 12:07 |只看該作者
好的,大家都是好人

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2010-11-30 09:50 |只看該作者
謝謝分享啊,支持一下啊
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP