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.

NETS: set this if you are using a network type other than TCP.<br />

For example:<br />

■<br />

SERVERS=oss01-eth2 sh echo.sh<br />

2. On the servers, start the obdecho server and verify that it is up, run:<br />

$ lctl dl<br />

0 UP obdecho ost_oss01.local ost_oss01.local_UUID 3<br />

1 UP ost OSS OSS_UUID 3<br />

3. On the clients, start the other side of the echo connection, run:<br />

$ lctl dl<br />

0 UP osc OSC_xfer01.local_ost_oss01.local_ECHO_client \<br />

6bc9b_ECHO_client_2a8a2cb3dd 5<br />

1 UP echo_client ECHO_client 6bc9b_ECHO_client_2a8a2cb3dd 3<br />

4. Verify connectivity from a client, run:<br />

$ lctl ping SERVER_NID<br />

5. Run the script on the master node, specifying the client names in an<br />

environment variable. For example, run:<br />

$ client_names_str='xfer01:ECHO_client xfer02:ECHO_client<br />

xfer03:ECHO_client xfer04:ECHO_client xfer05:ECHO_client<br />

xfer06:ECHO_client xfer07:ECHO_client xfer08:ECHO_client<br />

xfer09:ECHO_client xfer10:ECHO_client xfer11:ECHO_client<br />

xfer12:ECHO_client' ./obdfilter-survey<br />

6. When aborting, run killall vmstat on clients:<br />

pdsh -w (clients) killall vmstat<br />

Use lctl device_list to verify the obdfilter/echo_client instance<br />

names. For example, when the script runs, it creates a number of working files<br />

and a pair of result files. All files start with the prefix given by ${rslt}.<br />

${rslt}.summary<br />

${rslt}.script_*<br />

${rslt}.detail_tmp*<br />

${rslt}.detail<br />

same as stdout<br />

per-host test script files<br />

per-ost result files<br />

collected result files for post-mortem<br />

The script iterates over the given numbers of threads and objects performing all<br />

specified tests and checking that all test processes completed successfully.<br />

Note that the script does not clean up properly if it is aborted or if it encounters an<br />

unrecoverable error. In this case, manual cleanup may be required, possibly<br />

including killing any running instances of lctl (local or remote), removing<br />

echo_client instances created by the script, and unloading obdecho.<br />

Chapter 19 <strong>Lustre</strong> I/O Kit 19-7

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

Saved successfully!

Ooh no, something went wrong!