知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
如 gfs,它可以提供server間檔案系統協商,同步元數據等等。常規檔案系統只能用於本地硬碟,如果兩個伺服器同時mount iscsi存儲,會出現A伺服器寫入後,B伺服器無法看到A剛剛寫入的數據,如果兩台同時寫入數據,會損壞檔案系統。
+--------------------------------+ | Server Load Balancing | +--------------------------------+ | V --------------------- 1Gbps Ethernet --------------------- | | | netkiller.sf.net | V V +------------------------+ +-----------------------+ | Server Master | | Server Master / Slave | +------------------------+ +-----------------------+ | /u01 | | /u01 | +--------------------+ | /u02 | | /u02 | | Design by neo chen | | /u03 | | /u03 | +--------------------+ +------------------------+ +-----------------------+ | | | | V V V V --------------------- 10Gbps Ethernet --------------------- | | V V +----------------------------+ | IP SAN - ISCSI target | +----------------------------+ | LUN0 | LUN1 | LUN2 | ... | +----------------------------+