【正文】
銀行 分行 MirrorView/S 測試方案 第 6 頁 2) 增加 SECONDARY ARRAY 上 LUN 的使用授權(quán) 3) 主機添加設(shè)備 檢查 容災(zāi)端的數(shù)據(jù)的可用性和完整性 N 15 分鐘 1) 啟動 HACMP 2) 檢查應(yīng)用數(shù)據(jù)庫中的記錄 3) 檢查應(yīng)用數(shù)據(jù)庫的大小 在容災(zāi)端主機 上停止應(yīng)用系統(tǒng) Y 8 分鐘 1) 停 HACMP 2) 刪除磁盤設(shè)備 3) 取消 SECONDARY ARRAY 上 LUN 的使用授權(quán) 將生產(chǎn)數(shù)據(jù)由容災(zāi)端切換到 生產(chǎn)端 Y 5 分鐘 1) MirrorView promte 2) 增加 PRIMARY ARRAY 上 LUN 的使用授權(quán) 3) 主機添加設(shè)備 檢查生產(chǎn)端的數(shù)據(jù)的可用性和完整性,恢復(fù)生產(chǎn)環(huán)境 N 15 分鐘 1) 啟動 HACMP 2) 檢查應(yīng)用數(shù)據(jù)庫中的記錄 3) 檢查應(yīng)用數(shù)據(jù)庫的大小 非計劃性( unplanned)的容災(zāi)切換演練 序號 演練內(nèi)容 停應(yīng)用 預(yù)計 時間 備注 非計劃性( unplanned)的容災(zāi)切換演練 演練前的系統(tǒng)環(huán)境檢查 N 1 分鐘 生產(chǎn)端主機系統(tǒng)環(huán)境檢查 N 1 分鐘 生產(chǎn)端存儲系統(tǒng)( PRIMARY ARRAY)環(huán)境檢查 N 1 分鐘 容災(zāi)端主機系統(tǒng)環(huán)境檢查 N 1 分鐘 容災(zāi)端存 儲系統(tǒng)環(huán)境檢查 N 1 分鐘 目標(biāo)系統(tǒng) 的 MirrorView/S 狀態(tài)檢查 N 1 分鐘 災(zāi)難發(fā)生模擬 Y 3 分鐘 招商銀行 分行 MirrorView/S 測試方案 第 7 頁 在生產(chǎn)端主機 上恢復(fù)主機操作環(huán)境 Y 20 分鐘 1) 重啟主機 2) 刪除磁盤設(shè)備 3) 取消 PRIMARY ARRAY 上 LUN 的使用授權(quán) 將生產(chǎn)數(shù)據(jù)由生產(chǎn)端切換到容災(zāi)端 Y 5 分鐘 1) MirrorView promte 2) 增加 SECONDARY ARRAY 上 LUN 的使用授權(quán) 3) 主機添加設(shè)備 檢查 容災(zāi)端的數(shù)據(jù)的可用性和完整性 N 15 分鐘 1) 啟動 HACMP 2) 檢查應(yīng)用數(shù)據(jù)庫中的記錄 3) 檢查應(yīng)用數(shù)據(jù)庫的大小 刪除容災(zāi)端存儲系統(tǒng)( SECONDARY ARRAY)上的 MirrorView/S 配置 Y 3 分鐘 刪除生產(chǎn)端存儲系統(tǒng)( PRIMARY ARRAY)上的MirrorView/S 配置 Y 3 分鐘 災(zāi)難解除模擬 Y 3 分鐘 在容災(zāi)端存儲系統(tǒng)( SECONDARY ARRAY)重新創(chuàng)建 MirrorView/S 配置 Y 45 分鐘 1) 重建 MirrorView/S 2) 數(shù)據(jù)同步 在容災(zāi)端主機( mbfe)上停止應(yīng)用系統(tǒng) Y 8 分鐘 1) 停 HACMP 2) 刪除磁盤設(shè)備 3) 取消 PRIMARY ARRAY 上 LUN 的使用授權(quán) 將生產(chǎn)數(shù)據(jù)由容災(zāi)端切換到生產(chǎn)端 Y 5 分鐘 1) MirrorView promte 2) 增加 PRIMARY ARRAY 上 LUN 的使用授權(quán) 3) 主機添加設(shè)備 檢查生產(chǎn)端的數(shù)據(jù)的可用性和完整性,恢復(fù)生產(chǎn)環(huán)境 N 15 分鐘 1) 啟動 HACMP 2) 檢查應(yīng)用數(shù)據(jù)庫中的記錄 3) 檢查應(yīng)用數(shù)據(jù)庫的大小 招商銀行 分行 MirrorView/S 測試方案 第 8 頁 3 MirrorView/S 災(zāi)備切換 演練 詳細(xì)步驟 示例 (武漢分行) MirrorView/S 演練 計劃分為計劃性( planned)和非計劃性( unplanned) 演練 。因為目前 CMB 系 統(tǒng) 環(huán)境中沒有專用的 演練 主機,因此容災(zāi)演練將在生產(chǎn)端主機上進(jìn)行,容災(zāi)端主機和生產(chǎn)端主機均為 mbfe 主機 。(以 mbfe 系統(tǒng)為例) 演練 前的環(huán)境準(zhǔn)備 主機環(huán)境準(zhǔn)備 應(yīng)用系統(tǒng)數(shù)據(jù)備份 做 MBFE 應(yīng)用系統(tǒng)的數(shù)據(jù)備份是很重要的一個環(huán)節(jié)。 現(xiàn)代化支付系統(tǒng)涉及到幾個比較重要的數(shù)據(jù)庫 : Master、 MBFEWKDB、 MBFEHISDB、 DIRWAYSDB、 DISWAYSDB。 注意: /usr 文件系統(tǒng)的空間利用率 isql Usa P go dump database Master to ‘ /usr/sybasebak/’ go dump database MBFEWKDB to ‘ /usr/sybasebak/’ go dump database MBFEHISDB to ‘ /usr/sybasebak/’ go dump database DIRWAYSDB to ‘ /usr/sybasebak/’ go dump database DISWAYSDB to ‘ /usr/sybasebak/’ go 招商銀行 分行 MirrorView/S 測試方案 第 9 頁 VG 信息保存 lsvg o | lsvg ip /tmp/ lsvg o | lsvg il /tmp/ lspv /tmp/ LV 裸設(shè)備的用戶權(quán)限設(shè)置保存 ( cd /dev。 grep raw /tmp/ | cut f1 d’ ’ | xargs n1 ls l ) /tmp/ 數(shù)據(jù)庫關(guān)鍵表的記錄總數(shù)和 表占用空間 記錄 在生產(chǎn)端主機( mbfe)上 記錄數(shù)據(jù)庫 關(guān)鍵 表的記錄總數(shù) 和 表占用空間 a) 大額 數(shù)據(jù)庫 ( MBFEWKDB) 關(guān)鍵表的記錄總數(shù) isql Usa P use MBFEWKDB go select count(*) from mbfesysctl ; 系統(tǒng)控制表 go select count(*) from mbfebankpar ; 系統(tǒng)參數(shù)表 go select count(*) from mbfesabk ; 清算行行號表 go select count(*) from mbfebank ; 行名行號表 go b) 查看 大額( MBFEWKDB) 數(shù)據(jù)庫 表占用空間 sp_spaceused mbfesysctl ; 系統(tǒng)控制表 go sp_spaceused mbfebankpar ; 系統(tǒng)參數(shù)表 go 招商銀行 分行 MirrorView/S 測試方案 第 10 頁 sp_spaceused mbfesabk ; 清算行行號表 go sp_spaceused mbfebank ; 行名行號表 go sp_helpdb MBFEWKDB go c) 對 小額( DIRWAYSDB) 關(guān)鍵表的記錄總數(shù) isql Usa P use DIRWAYSDB go select count(*) from MBFEPMDT2101 。 系統(tǒng)控制參數(shù)表 go select count(*) from MBFEBPDT2301 。 貸記類業(yè)務(wù)匯總表 go select count(*) from MBFEBPDT2304 。 借記類業(yè)務(wù)匯總表 go select count(*) from MBFEBPDT2401 。 業(yè)務(wù)信息匯總表 go d) 查看 小額( DIRWAYSDB) 數(shù) 據(jù)庫 表占用空間 sp_spaceused MBFEPMDT2101 。 系統(tǒng)控制參數(shù)表 go sp_spaceused MBFEBPDT2301 。 貸記類業(yè)務(wù)匯總表 go sp_spaceused MBFEBPDT2304 。 借記類業(yè)務(wù)匯總表 go sp_spaceused MBFEBPDT2401 。 業(yè)務(wù)信息匯總表 go sp_helpdb DIRWAYSDB go 招商銀行 分行 MirrorView/S 測試方案 第 11 頁 備份操作系統(tǒng) mksysb ;備份主機操作系 統(tǒng) 主機系統(tǒng)環(huán)境要求 目前 MBFE 主機系統(tǒng)存在以下問題,為了減小出現(xiàn)故障的風(fēng)險,事先解決這些問題是必要的。 a) WARNING : The installed AIX version , TL 07, SP 01 is UNSUPPORTED by EMC for installing or running any EMC software. Question: ETA emc178626: EMC ControlCenter: Recent IBM patches to AIX may result in system crash when using ControlCenter, Solutions Enabler or inq. Environment: EMC Technical Advisory Environment: OS: IBM AIX TL10 SP4 Environment: OS: IBM AIX TL7 SP1 Environment: OS: IBM AIX TL6 SP4 Environment: OS: IBM AIX SP2 Environment: Does not affect MPIO attached storage. Problem: Host may crash when using ControlCenter, Solutions Enabler or inq utility (Including EMC GRAB). Root Cause: On certain SCSI mands used by the EMC products mentioned above, if the mand receives an illegal request status, illegal access to an MPIO data structure could result in a system crash due to a defect on the AIX driver. Contact IBM for more information. Fix: Customers should not upgrade to the above OS versions until the fixes listed below are available and released. IBM fix title: CRASH IN SCSIDISK_PROCESS_SENSE WITH NONMPIO DISK Contact IBM to obtain the following fixes and additional details: AIX TL10 SP4 (IBM has not yet announced the defect number for TL10 SP4. Referencing the fixes for will enable IBM to give status on the release status and date). TL6 SP4 IZ11999, TL7 SP1 IZ11908 (Only one fix will be required depending on current OS release. Contact IBM for release date and details.) 招商銀行 分行 MirrorView/S 測試方案 第 12 頁 SP2 IZ13376 (Contact IBM for release date and details.) Notes: These fixes are not specific to EMC software but may affect any application. Also other versions of AIX and AIX have seen this problem,beyond what is listed here in this Primus b) WARNING : Firmware Level: 210X8 this is NOT at latest remended IBM 5758 firmware 271X4. c) WARNING : Latest Maintenance Level 530008 is not installed. d) WARNING : PowerPath version is NOT the latest version of EMC PowerPath for AIX. The latest version of PowerPath for AIX is . SAN