Changes between Version 23 and Version 24 of Xen_Lustre
- Timestamp:
- Feb 9, 2009, 6:08:01 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_Lustre
v23 v24 1 1 [[PageOutline]] 2 2 = Build Xen & Lustre enabled kernel = 3 * Our OS: Dbian etch 3 * Our OS: Dbian etch / ubuntu 8.04 4 4 * Our Method: We used xen-patched kernel 2.6.18, then used Lustre patched file to patch it. We used xen tar ball to compile with this kernel to build Xen images amd used this kernel to reboot. Finally we used Lustre tar ball to build Lustre modules. 5 5 [[BR]] 6 6 7 7 == 1.Requirement packages == 8 * Build kernel packages:8 * 1.1 Kernel Packages: 9 9 {{{ 10 10 sudo aptitude install build-essential libncurses5-dev kernel-package 11 11 }}} 12 * Xen's packages:12 * 1.2 XEN Packages: 13 13 {{{ 14 14 $ sudo apt-get install iproute bridge-utils python-twisted gcc binutils make zlib1g-dev python-dev transfig bzip2 \ … … 18 18 }}} 19 19 20 * Lustre's packages:20 * 1.3 Lustre Packages: 21 21 {{{ 22 $ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant quilt 23 24 ### Install libxml ### 25 $ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb 26 $ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb 27 28 ### Install pyxml ### 29 $ sudo wget PyXML-0.8.4.tar.gz 30 $ sudo python setup.py build 31 $ sudo python setup.py install 22 $ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant quilt libxml2 python-xml 32 23 }}} 33 24 [[BR]] 34 25 35 == 2. Patch & install xen images==36 * Download Xen-patched 2.6.18 kernel & Xen tar ball26 == 2.Download XEN & Lustre == 27 * 2.1 Download XEN 37 28 {{{ 38 29 $ cd /usr/src 39 $ sudo wget http://bits.xensource.com/oss-xen/release/3. 2.1/xen-3.2.1.tar.gz40 $ sudo tar zxvf xen-3. 2.1.tar.gz30 $ sudo wget http://bits.xensource.com/oss-xen/release/3.1.4/xen-3.1.4.tar.gz 31 $ sudo tar zxvf xen-3.1.4.tar.gz 41 32 $ sudo hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg 42 43 ### Download Debian Lustre (http://www.sun.com/software/products/lustre/get.jsp) ### 44 $ tar zxvf lustre-1.6.5.1.tar.gz 45 46 ### Use Lustre's patch file to patch xen kernel ### 47 $ cd linux-2.6.18-xen.hg 48 $ sudo ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/series/2.6.18-vanilla.series series 49 $ sudo ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/patches/ . 33 }}} 34 * 2.2 Download Lustre (http://www.sun.com/software/products/lustre/get.jsp) 35 {{{ 36 $ cd /usr/src 37 $ tar zxvf lustre-1.6.6.tar.gz 38 }}} 39 * 2.3 Use Lustre's patch file to patch xen kernel 40 {{{ 41 $ cd /usr/src/xen-3.1.4/linux-2.6.18-xen.hg 42 $ sudo ln -s /usr/src/lustre-1.6.6/lustre/kernel_patches/series/2.6.18-vanilla.series series 43 $ sudo ln -s /usr/src/lustre-1.6.6/lustre/kernel_patches/patches/ . 50 44 $ sudo quilt -av push 51 45 }}}