Changes between Version 22 and Version 23 of Xen_Lustre


Ignore:
Timestamp:
Aug 28, 2008, 3:49:54 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lustre

    v22 v23  
    2222$ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant quilt
    2323
    24 = Install libxml =
     24### Install libxml ###
    2525$ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb
    2626$ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb
    2727
    28 = Install pyxml =
     28### Install pyxml ###
    2929$ sudo wget PyXML-0.8.4.tar.gz
    3030$ sudo python setup.py build
     
    4141$ sudo hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
    4242
    43 = Download Debian Lustre (http://www.sun.com/software/products/lustre/get.jsp) =
     43### Download Debian Lustre (http://www.sun.com/software/products/lustre/get.jsp) ###
    4444$ tar zxvf lustre-1.6.5.1.tar.gz
    4545
    46 = Use Lustre's patch file to patch xen kernel =
     46### Use Lustre's patch file to patch xen kernel ###
    4747$ cd linux-2.6.18-xen.hg
    4848$ sudo ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/series/2.6.18-vanilla.series series
     
    5858(SCSI disk I/O must build-in)
    5959
    60 = If you want enable some feature for custom 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
     
    8181$ sduo depmod -a
    8282
    83 = Load modules in booting =
     83### Load modules in booting ###
    8484$ sudo vim /etc/modules
    8585loop max_loop=255
     
    9797== 6.Test Xen & Lustre ==
    9898{{{
    99 = For each client =
     99### For each client ###
    100100$ sudo vim /etc/modules
    101101loop max_loop=255
     
    107107$ sudo xm list
    108108
    109 = Startup Lustre =
    110 == Steup-> Meta Data & Management Server (virt) ==
     109### Startup Lustre ###
     110#### Steup-> Meta Data & Management Server (virt) ####
    111111$ sudo mkfs.lustre --fsname=testfs --mdt --mgs /dev/sdb1
    112112$ sudo mount -t lustre /dev/sdb1 /home/mdt
    113 == Setup-> Object Storage Machine (virt01) ==
     113
     114#### Setup-> Object Storage Machine (virt01) ####
    114115$ sudo mkfs.lustre --fsname=testfs --ost --mgsnode=virt@tcp0 /dev/sda
    115116$ sudo mount -t lustre /dev/sda /home/ost
    116117$ sudo dmesg
    117118Lustre: flyfs-OST0000: received MDS connection from 140.110.X.X@tcp
    118 == Setup-> Object Storage Machine (virt02) ==
     119
     120#### Setup-> Object Storage Machine (virt02) ####
    119121$ sudo mkfs.lustre --fsname=testfs --ost --mgsnode=virt@tcp0 /dev/sda
    120122$ sudo mount -t lustre /dev/sda /home/ost
    121 == Setup-> Client (virt03) ==
     123
     124#### Setup-> Client (virt03) ####
    122125$ sudo mount -t lustre virt@tcp0:/testfs /home/testfs
    123126$ mount
    124127$ df -h
    125128
    126 = Auto mount =
     129### Auto mount ###
    127130$ mount -l -t lustre
    128131/dev/sdb1 on /home/mdt type lustre (rw) [flyfs-MDT0000]