A few days ago, I was putting together a demo of lustre for some teams in Sun interested in Lustre. Then yesterday I got another request for a demo, this time at a college in Tamil Nadu. This got me interested in producing a flash demo that can be reused.

So, with the help of vnc2swf and tightvnc, here is what I put together. On a virtual machine running CentOS 4.4 on my laptop, I show the setting up of an MDS, a OSS and a client on a single node. The filesystms are on top of loop devices.

Lustre Installation





Lustre Configuration






[Note: Right click and select 'Play' to play the demo.]

Here is what the demo does:

$ wget http://downloads.lustre.org/public/lustre/v1.6/latest//kernel-lustre-smp-..rpm
$ wget http://downloads.lustre.org/public/lustre/v1.6/latest//lustre-..rpm
$ wget http://downloads.lustre.org/public/lustre/v1.6/latest//lustre-ldiskfs-..rpm
$ wget http://downloads.lustre.org/public/lustre/v1.6/latest//lustre-modules-..rpm

$ rpm -ivh kernel-lustre-smp-..rpm
$ rpm -ivh lustre-..rpm
$ rpm -ivh lustre-ldiskfs-..rpm
$ rpm -ivh lustre-modules-..rpm

$ reboot

[Select the newly added grub option to boot using the kernel with lustre patches.]

$ mkfs.lustre --reformat --device-size=300000 --fsname lustre --mdt --mgs /tmp/lustre-mdt
$ mount -t lustre -o loop /tmp/lustre-mdt /mnt/mds

$ mkfs.lustre --reformat --device-size=1000000 --fsname lustre --ost --mgsnode=${MDS}@tcp0 /tmp/lustre-ost1
$ mount -t lustre -o loop /tmp/lustre-ost1 /mnt/ost1

$ mount -t lustre ${MDS}@tcp0:/lustre /mnt/lustre

As you can see, it is quite simple - a big change from the lustre 1.4.x days! :)
Download lustre packages from here

Comments:

Good demo for people who has to learn & startup lustre.

Checkout my quick setup guide over multiple machines : http://unixfoo.blogspot.com/2009/11/lustre-cluster-filesystem-quick-setup.html

Posted by unixfoo on November 21, 2009 at 10:19 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by manoj