23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.1.2 <strong>Lustre</strong> with Separate MGS and MDT<br />

The following example describes a <strong>Lustre</strong> filesystem “datafs” having an MGS and an<br />

MDT on separate nodes, four OSTs, and a number of <strong>Lustre</strong> clients.<br />

6.1.2.1 Installation Summary<br />

■<br />

■<br />

■<br />

■<br />

One MGS<br />

One MDT<br />

Four OSTs<br />

Any number of <strong>Lustre</strong> clients<br />

6.1.2.2 Configuration Generation and Application<br />

1. Install the <strong>Lustre</strong> RPMs (per Installing <strong>Lustre</strong>) on all the nodes that are going to<br />

be a part of the <strong>Lustre</strong> filesystem. Boot the nodes in the <strong>Lustre</strong> kernel,<br />

including the clients.<br />

2. Change the modprobe.conf by adding the following line to it.<br />

options lnet networks=tcp<br />

3. Start <strong>Lustre</strong> on the MGS node.<br />

$ mkfs.lustre --mgs /dev/sda<br />

4. Make a mount point on MGS for the filesystem and mount it.<br />

$ mkdir -p /mnt/mgs<br />

$ mount -t lustre /dev/sda1 /mnt/mgs<br />

5. Start <strong>Lustre</strong> on the MDT node.<br />

$ mkfs.lustre --fsname=datafs --mdt --mgsnode=mgsnode@tcp0 \<br />

/dev/sda2<br />

6. Make a mount point on MDT/MGS for the filesystem and mount it.<br />

$ mkdir -p /mnt/data/mdt<br />

$ mount -t lustre /dev/sda /mnt/data/mdt<br />

7. Start <strong>Lustre</strong> on all the four OSTs.<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sda<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sdd<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sda1<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sdb<br />

Chapter 6 Configuring <strong>Lustre</strong> - Examples 6-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!