[[PageOutline]] = Storage Solution for XEN = == 1.Type == || ||'''NFS''' || '''Lustre''' || '''GNBD''' || '''iSCSI''' || ||效能 || 最差 || 高 || 中 || 中 || ||穩定性|| 穩啦 ||不確定patch部份,是否跟 XEN patch有衝突 || || || ||擴充性|| || || || || || 副本 ||需搭配DRBD || 支援 || 需搭配DRBD|| 需搭配DRBD|| ||備註 || || || || || [[BR]] == 1.Idea == * 資料可分為兩者 (1)DomU images/fs (2)DomU 應用程式需要的資料 * Lustre 效能最強(平行存取),但在 Xen 的環境中 XEN image 是會被當成 loop device 而被 mount ('file:/lustre/etch.img,sda1,w') * 雖可提高存取效能,但也導致 heavy I/O, 1. DomU 本身 Image 是否需要使用其高效能? 2. 或是DomU 本身的 image 給於單獨的 NBD (GNBS, ISCSI...)(‘phy:/dev/gnbd/vmimage001,sda1,w’),若是 DomU 的應用需要高效能存儲時,在 mount lustre 磁區 * 只需提供一種 Storage 方案,或是根據 user 的情境給於多種方案,像是 OpenQRM 提供 local storage、iscsi(lvm)、NFS(lvm)、aoe(lvm)... [[BR]] == 2.Reference == * '''Tutorial''' * [http://www.howtoforge.com/using-xen-with-lvm-based-vms-instead-of-image-based-vms-debian-etch Using Xen With LVM-Based VMs Instead Of Image-Based VMs (Debian Etch) ] * [http://www.gridvm.org/drbd-lvm-gnbd-and-xen-for-free-and-reliable-san.html DRBD, LVM, GNBD, and Xen for free and reliable SAN] * [http://xenamo.sourceforge.net/ Xen with DRBD, GNBD and OCFS2 HOWTO] * '''Mail-list''' * [http://markmail.org/message/x6pvhfn32acvdo6x#query:ocfs%20lustre%20performance+page:1+mid:nzwqc3ovfcwfmag6+state:results lustre clustre file system and xen 3]