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.

11.2.1.5 Setting the Environment<br />

Perform the following steps to configure the system and network to use Kerberos.<br />

System-wide Configuration<br />

1. On each MDT, OST, and client node, add the following line to /etc/fstab to<br />

mount them automatically.<br />

nfsd /proc/fs/nfsd nfsd defaults 0 0<br />

2. On each MDT and client node, dd the following line to /etc/request-key.conf.<br />

create lgssc * * /usr/sbin/lgss_keyring %o %k %t %d %c %u %g %T %P %S<br />

Networking<br />

If your network is not using SOCKLND or InfiniBand (and uses Quadrics, Elan or<br />

Myrinet for example), configure a /etc/lustre/nid2hostname (simple script that<br />

translates a NID to a hostname) on each server node (MDT and OST). This is an<br />

example on an Elan cluster:<br />

#!/bin/bash<br />

set -x<br />

exec 2>/tmp/$(basename $0).debug<br />

# convert a NID for a LND to a hostname, for GSS for example<br />

# called with three arguments: lnd netid nid<br />

# $lnd will be string "QSWLND", "GMLND", etc.<br />

# $netid will be number in hex string format, like "0x16", etc.<br />

# $nid has the same format as $netid<br />

# output the corresponding hostname, or error message leaded by a '@'<br />

for error logging.<br />

lnd=$1<br />

netid=$2<br />

nid=$3<br />

11-8 <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!