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.

3. Determine the obdfilter instance names on all clients. The names appear as the<br />

4th column of lctl dl. For example:<br />

$ pdsh -w oss[01-02] lctl dl |grep obdfilter |sort<br />

oss01: 0 UP obdfilter oss01-sdb oss01-sdb_UUID 3<br />

oss01: 2 UP obdfilter oss01-sdd oss01-sdd_UUID 3<br />

oss02: 0 UP obdfilter oss02-sdi oss02-sdi_UUID 3<br />

Here the obdfilter instance names are oss01-sdb, oss01-sdd, oss02-sdi.<br />

Since you are driving obdfilter instances directly, set the shell array variable,<br />

ost_names, to the names of the obdfilter instances and leave the client_names<br />

variable undefined. For example:<br />

ost_names_str='oss01:oss01-sdb oss01:oss01-sdd oss02:oss02-sdi'\<br />

./obdfilter-survey<br />

19.2.2.2 Running obdfilter_survey Against a Network<br />

If you are driving obdfilter or obdecho instances over the network, then you must<br />

instantiate the echo_clients. Set the shell array variable client_names to the<br />

names of the echo_client instances and leave the ost_names variable undefined.<br />

Optionally, you can prefix any name in ost_names or client_names with the<br />

hostname that it runs on, for example, remote_node:ost4. If you are running<br />

remote nodes, make sure these requirements are met:<br />

■ The custom_remote_shell() works on your cluster.<br />

■<br />

■<br />

All pathnames that you specify in the script are mounted on the node from which<br />

obdfilter_survey is started and on all remote nodes.<br />

The obdfilter_survey script is installed on clients at the same location as the<br />

master node.<br />

To run the obdfilter_survey script against a network:<br />

1. Bring up obdecho instances on the servers and echo_client instances on the<br />

clients, and run the included echo.sh on a node that has <strong>Lustre</strong> installed. Shell<br />

variables:<br />

■ SERVERS: Set this to a list of server hostnames or hostname of the current node<br />

is used. This may be the wrong interface, so be sure to check it.<br />

Note – echo.sh could probably be smarter about this.<br />

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