Version 2 (modified by rock, 16 years ago) (diff) |
---|
Build Lustre & Xen Kernel
1. Install requirement packages
$ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant quilt ### Install libxml ### $ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb $ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb ### Install pyxml ### $ sudo wget PyXML-0.8.4.tar.gz $ sudo python setup.py build $ sudo python setup.py install
2. Patch Xen-enabled kernel
$ cd /usr/src/cd linux-2.6.18.8-xen/ $ ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/series/2.6.18-vanilla.series series $ ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/patches/ . $ quild -av push $ make -j 4 ; make -j 4 modules $ make install ; make modules_install $ mkinitramfs -o /boot/initrd.img-2.6.18.8 2.6.18.8 $ update-grub
3. Build Lustre modules and tools
$ ./configure --with-linux=/usr/src/xen-3.1.3/linux-2.6.18.8-xen/ $ make -j 4 ; make install $ depmod -a $ vim /etc/modules ldiskfs lnet networks=tcp $ reboot
4. Test Lustre
### Check Luster modules ### $ lsmod | grep lnet $ lsmod | grep ldoskfs