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.

8. Make a mount point on all the OSTs for the filesystem and mount it<br />

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

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

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

$ mount -t lustre /dev/sdd /mnt/data/ost1<br />

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

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

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

$ mount -t lustre /dev/sdb /mnt/data/ost3<br />

$ mount -t lustre mdsnode@tcp0:/datafs /mnt/datafs<br />

6.1.2.3 Configuring <strong>Lustre</strong> with a CSV File<br />

A new utility (script) - /usr/sbin/lustre_config can be used to configure<br />

<strong>Lustre</strong> <strong>1.6</strong>. This script enables you to automate formatting and setup of disks on<br />

multiple nodes.<br />

Describe your entire installation in a Comma Separated Values (CSV) file and pass it<br />

to the script. The script contacts multiple <strong>Lustre</strong> targets simultaneously, formats the<br />

drives, updates modprobe.conf, and produces HA configuration files using<br />

definitions in the CSV file. (The lustre_config -h option shows several samples<br />

of CSV files.)<br />

Note – The CSV file format is a file type that stores tabular data. Many popular<br />

spreadsheet programs, such as Microsoft Excel, can read from/write to CSV files.<br />

How lustre_config Works<br />

The lustre_config script parses each line in the CSV file and executes remote<br />

commands, like mkfs.lustre, to format each <strong>Lustre</strong> target in the <strong>Lustre</strong> cluster.<br />

Optionally, the lustre_config script can also:<br />

■<br />

■<br />

■<br />

■<br />

■<br />

Verify network connectivity and hostnames in the cluster<br />

Configure Linux MD/LVM devices<br />

Modify /etc/modprobe.conf to add <strong>Lustre</strong> networking information<br />

Add the <strong>Lustre</strong> server information to /etc/fstab<br />

Produce configurations for Heartbeat or CluManager<br />

6-4 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

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

Saved successfully!

Ooh no, something went wrong!