Changes between Version 23 and Version 24 of Xen_Lustre


Ignore:
Timestamp:
Feb 9, 2009, 6:08:01 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lustre

    v23 v24  
    11[[PageOutline]]
    22= Build Xen & Lustre enabled kernel =
    3  * Our OS: Dbian etch
     3 * Our OS: Dbian etch / ubuntu 8.04
    44 * 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.
    55[[BR]]
    66
    77== 1.Requirement packages ==
    8  * Build kernel packages:
     8 * 1.1 Kernel Packages:
    99{{{
    1010sudo aptitude install build-essential libncurses5-dev kernel-package
    1111}}}
    12  * Xen's packages:
     12 * 1.2 XEN Packages:
    1313{{{
    1414$ sudo apt-get install iproute bridge-utils python-twisted gcc binutils make zlib1g-dev python-dev transfig bzip2 \
     
    1818}}}
    1919
    20  * Lustre's packages:
     20 * 1.3 Lustre Packages:
    2121{{{
    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
    3223}}}
    3324[[BR]]
    3425
    35 == 2.Patch & install xen images ==
    36  * Download Xen-patched 2.6.18 kernel & Xen tar ball
     26== 2.Download XEN & Lustre ==
     27 * 2.1 Download XEN
    3728{{{
    3829$ cd /usr/src
    39 $ sudo wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz
    40 $ sudo tar zxvf xen-3.2.1.tar.gz
     30$ 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
    4132$ 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/ .
    5044$ sudo quilt -av push
    5145}}}