Changes between Version 16 and Version 17 of Xen_Lustre


Ignore:
Timestamp:
Jul 22, 2008, 3:49:12 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lustre

    v16 v17  
    11[[PageOutline]]
    22= Build Xen & Lustre enabled kernel =
    3  * Our OS: Dbian etch
     3 * Our OS: Dbian etch 
    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]]
     
    5858(SCSI disk I/O must build-in)
    5959
    60 = If you want enable some feature for kernel =
     60= If you want enable some feature for custom kernel =
    6161$ cd /usr/src/xen-3.2.1/build-linux-2.6.18-xen_x86_64/
    6262$ make menuconfig
     
    7575== 4.Make Lustre modules ==
    7676{{{
    77 $ sudo cp /boot/config-2.6.18.8-xen /usr/src/linux-2.6.18-xen.hg/.config
    78 $ cd /usr/src/linux-2.6.18-xen.hg
    79 
    80 = Because XEN rename 2.6.18.8 to 2.6.18.8-xen, so we rebuild kernel for corrent 2.6.18.8. Then Lustre will read correct kernel version =
    81 $ sudo make menuconfig (or sudo make config)
    82 $ sudo make -j 5
    83 $ sudo make install
    84 $ sudo make modules_install
    85 $ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8 2.6.18.8
    86 $ sudo update-grub
    87 $ sudo reboot
    88 (choose new kernel to booting)
    89 }}}
    90 {{{
    91 = Now, we start build and install lustre module and tools =
    92 $ cd /usr/src
    93 $ sudo tar jxvf lustre.tar.bz2
    94 $ cd module/lustre
    95 $ sudo ./configure -with-linux=/usr/src/linux-2.6.18-xen.hg
    96 $ sudo make
     77$ cd /usr/src/lustre-1.6.5.1
     78$ sudo ./configure --with-linux=/usr/src/linux-2.6.18-xen.hg/  --with-linux-obj=/usr/src/xen-3.2.1/build-linux-2.6.18-xen_x86_64/
     79$ sudo make -j 4
    9780$ sudo make install
    9881$ sduo depmod -a
     
    10386ldiskfs
    10487lnet networks=tcp
    105 
     88$ sudo reboot
    10689}}}
    10790[[BR]]