Lustre server machines are simple to setup with CentOS 5.5. Pre-built kernel images are available from Whamclouds build server. A number of different kernels and tools are continuasly built and tested. For this Walk-thru the centos-master-build will be used.
First step is to download and install a Lustre patched CentOS kernel. The subsequent step is to add in modules and tools necessary to build a Lustre filesystem.
kernel-2.6.18-194.17.1.el5_lustre.<buildid>.x86_64.rpm
[root@client-10 ~]# rpm -ivh ./kernel-2.6.18-194.17.1.el5_lustre.<buildid>.x86_64.rpm Preparing... ########################################### [100%] 1:kernel ########################################### [100%] [root@client-10 ~]# |
[root@client-10 ~]# uname -a Linux client-10.lab.whamcloud.com 2.6.18-194.17.1.el5_lustre.gdfe90dc #1 SMP Sun Mar 13 03:18:21 EET 2011 x86_64 x86_64 x86_64 GNU/Linux |
lustre-ldiskfs-3.3.0-2.6.18_194.17.1.el5_lustre.<buildid>.x86_64.rpm
[root@client-10 ~]# rpm -ivh ./lustre-ldiskfs-3.3.0-2.6.18_194.17.1.el5_lustre.<buildid>.x86_64.rpm Preparing... ########################################### [100%] 1:lustre-ldiskfs ########################################### [100%] [root@client-10 ~]# |
lustre-modules-2.0.59-2.6.18_194.17.1.el5_lustre.<buildid>.x86_64.rpm
[root@client-10 ~]# rpm -ivh ./lustre-modules-2.0.59-2.6.18_194.17.1.el5_lustre.gdfe90dc_g98bf9c9.x86_64.rpm Preparing... ########################################### [100%] 1:lustre-modules ########################################### [100%] [root@client-10 ~]# |
e2fsprogs is built in a project separate from the Lustre kernel builds. e2fsprogs is found at http://build.whamcloud.com/job/e2fsprogs-master/ on the Whamcloud build server.
e2fsprogs-1.41.90.wc3-0redhat.x86_64.rpm
NOTE The first reboot after installing e2fsprogs may take longer than normal, especially if the root filesystem is large.
Now that you have all the components of a Lustre system installed, you can test them.
This is covered in a separate wiki page: Testing a Lustre filesystem