- Community Home
- >
- HPE Community, Taiwan
- >
- Tru64 Unix & OpenVMS
- >
- OpenVMS
- >
- shadow merge and shadow copy的差別
OpenVMS
1753773
會員
5258
線上
108799
解決方案
論壇
類別
Company
Local Language
返回
論壇
討論平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
部落格
信息
社區語言
語言
論壇
部落格
文章選項
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 09-18-2004 06:40 AM
在 09-18-2004 06:40 AM
shadow merge and shadow copy的差別
shadow merge的機制上是怎樣做到的,
她是全部做比對,再把異動的部分抄寫
還是事先就知道異動的部分,只針對異動的部分抄寫
shadow merge跟shadow copy的優缺點比較
什麼環境下我該用哪一種機制?
她是全部做比對,再把異動的部分抄寫
還是事先就知道異動的部分,只針對異動的部分抄寫
shadow merge跟shadow copy的優缺點比較
什麼環境下我該用哪一種機制?
1則回覆 1
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 09-18-2004 02:57 PM
在 09-18-2004 02:57 PM
shadow merge and shadow copy的差別
shadow merge 應稱為 shadow merge-copy. shadow copy 應稱為 shadow full-copy.
full-copy 是一個 block 一個 block copy,
merge copy 則是全部做比對,再把異動的部分抄寫.
你無法選擇用哪一種機制, 因為觸發的原因不同, Shadowing software 會自動選擇哪種 copy.
Full copy 是由使用者決定的, 如
- 新增 disk 至 shadowset
- shadowset member dismount then re-mount later
Merge copy 則是觸發於一或一個以上的主機沒有正常 dismount shadowset 時,
例如, 一個 cluster 由兩個 nodes 組成 (node-a, node-b), 兩個 nodes 均 mount 了 DSA0 (dka100/dka200, dka100 為 master). 若其中一個 node-a crash, 此時 node-b 並不知道 node-a 對 DSA0 的 write I/O 是否完成( 可能兩個 disks 均寫完了, 只寫完一個 disk, 或都還沒有), node-b 便會作 merge copy. node-b 若發現兩個 disks 有任何不一致則 dka100 -> dka200.
儘管觸發的原因不同, 但一旦開始執行, Full-copy 和 Merge-copy 用的方法相同, 如下
1. Read an LBN from the source disk
2. Read the same LBN from the target disk
3. Compare the LBNs from both disks
4. If the LBNs are different,
a. Write from the source disk to the target disk
b. Read the LBN just written from the target disk
c. Compare the source disk and target disk LBNs again
5. If the LBNs are the same, then start the process over for the next LBN from both disks.
但因為 merge copy 時 source disk 和 target disk 只有少數 LBNs 不同, 因此步驟 4 大多會被 skip!
為了改善 full-copy, OpenVMS 7.2-2(含) 以上支援了 Mini-copy.
為了改善 merge-copy OpenVMS 很早(至少 V5.5就有了) 便支援 Controller-assisted merge-copy (又稱 Mini-merge). OpenVMS 7.3-2(含) 以上又支援了 Host-based Mini-merge (HBMM).
以上三項改善均應用了 write-logging or write-bitmap 的方式 (類似 DB redo log 或 tracsaction log) 便可 "事先就知道異動的部分,只針對異動的部分抄寫", 一般僅需數秒便可完成 merge-copy!
詳細請參閱 OpenVMS volume shadowing Manual
full-copy 是一個 block 一個 block copy,
merge copy 則是全部做比對,再把異動的部分抄寫.
你無法選擇用哪一種機制, 因為觸發的原因不同, Shadowing software 會自動選擇哪種 copy.
Full copy 是由使用者決定的, 如
- 新增 disk 至 shadowset
- shadowset member dismount then re-mount later
Merge copy 則是觸發於一或一個以上的主機沒有正常 dismount shadowset 時,
例如, 一個 cluster 由兩個 nodes 組成 (node-a, node-b), 兩個 nodes 均 mount 了 DSA0 (dka100/dka200, dka100 為 master). 若其中一個 node-a crash, 此時 node-b 並不知道 node-a 對 DSA0 的 write I/O 是否完成( 可能兩個 disks 均寫完了, 只寫完一個 disk, 或都還沒有), node-b 便會作 merge copy. node-b 若發現兩個 disks 有任何不一致則 dka100 -> dka200.
儘管觸發的原因不同, 但一旦開始執行, Full-copy 和 Merge-copy 用的方法相同, 如下
1. Read an LBN from the source disk
2. Read the same LBN from the target disk
3. Compare the LBNs from both disks
4. If the LBNs are different,
a. Write from the source disk to the target disk
b. Read the LBN just written from the target disk
c. Compare the source disk and target disk LBNs again
5. If the LBNs are the same, then start the process over for the next LBN from both disks.
但因為 merge copy 時 source disk 和 target disk 只有少數 LBNs 不同, 因此步驟 4 大多會被 skip!
為了改善 full-copy, OpenVMS 7.2-2(含) 以上支援了 Mini-copy.
為了改善 merge-copy OpenVMS 很早(至少 V5.5就有了) 便支援 Controller-assisted merge-copy (又稱 Mini-merge). OpenVMS 7.3-2(含) 以上又支援了 Host-based Mini-merge (HBMM).
以上三項改善均應用了 write-logging or write-bitmap 的方式 (類似 DB redo log 或 tracsaction log) 便可 "事先就知道異動的部分,只針對異動的部分抄寫", 一般僅需數秒便可完成 merge-copy!
詳細請參閱 OpenVMS volume shadowing Manual
以上表述為作者個人觀點,不代表惠普公司,使用本網站,請遵守網站使用規則和條款
© 版权所有 2024 慧与发展有限责任合伙企业