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.

Using CSV with lustre_config<br />

Once you created the CSV file, you can start to configure the filesystem by using the<br />

lustre_config script.<br />

1. List the available parameters. At the command prompt. Type:<br />

$ lustre_config<br />

lustre_config: Missing csv file!<br />

Usage: lustre_config [options] <br />

This script is used to format and set up multiple lustre servers<br />

from a csv file.<br />

Options:<br />

-h help and examples<br />

-a select all the nodes from the csv file to operate on<br />

-w hostname,hostname,...<br />

select the specified list of nodes (separated by commas) to<br />

operate on rather than all the nodes in the csv file<br />

-x hostname,hostname,... exclude the specified list of<br />

nodes (separated by commas)<br />

-t HAtype produce High-Availability software<br />

configurations<br />

The argument following -t is used to indicate the High-<br />

Availability software type. The HA software types which are<br />

currently supported are: hbv1 (Heartbeat version 1) and hbv2<br />

(Heartbeat version 2).<br />

-n no net - don’t verify network connectivity and hostnames<br />

in the cluster<br />

-d configure Linux MD/LVM devices before formatting the<br />

<strong>Lustre</strong> targets<br />

-f force-format the <strong>Lustre</strong> targets using --reformat option<br />

OR you can specify --reformat in the ninth field of the target<br />

line in the csv file<br />

-m no fstab change - don’t modify /etc/fstab to add the new<br />

<strong>Lustre</strong> targets. If using this option, then the value of "mount<br />

options" item in the csv file will be passed to mkfs.lustre,else<br />

the value will be added into the /etc/fstab<br />

-v verbose mode<br />

csv file is a spreadsheet that contains configuration parameters<br />

(separated by commas) for each target in a <strong>Lustre</strong> cluster<br />

6-10 <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!