Changes between Version 22 and Version 23 of Xen_Lustre
- Timestamp:
- Aug 28, 2008, 3:49:54 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_Lustre
v22 v23 22 22 $ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant quilt 23 23 24 = Install libxml = 24 ### Install libxml ### 25 25 $ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb 26 26 $ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb 27 27 28 = Install pyxml = 28 ### Install pyxml ### 29 29 $ sudo wget PyXML-0.8.4.tar.gz 30 30 $ sudo python setup.py build … … 41 41 $ sudo hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg 42 42 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) ### 44 44 $ tar zxvf lustre-1.6.5.1.tar.gz 45 45 46 = Use Lustre's patch file to patch xen kernel = 46 ### Use Lustre's patch file to patch xen kernel ### 47 47 $ cd linux-2.6.18-xen.hg 48 48 $ sudo ln -s /usr/src/lustre-1.6.5.1/lustre/kernel_patches/series/2.6.18-vanilla.series series … … 58 58 (SCSI disk I/O must build-in) 59 59 60 = If you want enable some feature for custom kernel = 60 ### If you want enable some feature for custom kernel ### 61 61 $ cd /usr/src/xen-3.2.1/build-linux-2.6.18-xen_x86_64/ 62 62 $ make menuconfig … … 81 81 $ sduo depmod -a 82 82 83 = Load modules in booting = 83 ### Load modules in booting ### 84 84 $ sudo vim /etc/modules 85 85 loop max_loop=255 … … 97 97 == 6.Test Xen & Lustre == 98 98 {{{ 99 = For each client = 99 ### For each client ### 100 100 $ sudo vim /etc/modules 101 101 loop max_loop=255 … … 107 107 $ sudo xm list 108 108 109 = Startup Lustre = 110 == Steup-> Meta Data & Management Server (virt) == 109 ### Startup Lustre ### 110 #### Steup-> Meta Data & Management Server (virt) #### 111 111 $ sudo mkfs.lustre --fsname=testfs --mdt --mgs /dev/sdb1 112 112 $ sudo mount -t lustre /dev/sdb1 /home/mdt 113 == Setup-> Object Storage Machine (virt01) == 113 114 #### Setup-> Object Storage Machine (virt01) #### 114 115 $ sudo mkfs.lustre --fsname=testfs --ost --mgsnode=virt@tcp0 /dev/sda 115 116 $ sudo mount -t lustre /dev/sda /home/ost 116 117 $ sudo dmesg 117 118 Lustre: flyfs-OST0000: received MDS connection from 140.110.X.X@tcp 118 == Setup-> Object Storage Machine (virt02) == 119 120 #### Setup-> Object Storage Machine (virt02) #### 119 121 $ sudo mkfs.lustre --fsname=testfs --ost --mgsnode=virt@tcp0 /dev/sda 120 122 $ sudo mount -t lustre /dev/sda /home/ost 121 == Setup-> Client (virt03) == 123 124 #### Setup-> Client (virt03) #### 122 125 $ sudo mount -t lustre virt@tcp0:/testfs /home/testfs 123 126 $ mount 124 127 $ df -h 125 128 126 = Auto mount = 129 ### Auto mount ### 127 130 $ mount -l -t lustre 128 131 /dev/sdb1 on /home/mdt type lustre (rw) [flyfs-MDT0000]