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.

# Use manual failback<br />

auto_failback off<br />

# Cluster members - name must match `hostname`<br />

node oss161.clusterfs.com oss162. clusterfs.com<br />

# remote health ping<br />

ping 192.168.16.1<br />

respawn hacluster /usr/lib/heartbeat/ipfail<br />

3. Create /etc/ha.d/haresources<br />

■ This file must be identical on both the nodes.<br />

■<br />

■<br />

It specifies a virtual IP address and a service.<br />

Sample haresources<br />

oss161.clusterfs.com 192.168.16.35 \<br />

Filesystem::/dev/sda::/ost1::lustre<br />

oss162.clusterfs.com 192.168.16.36 \<br />

Filesystem::/dev/sda::/ost1::lustre<br />

4. Create /etc/ha.d/authkeys<br />

■ Copy the example from /usr/share/doc/heartbeat-.<br />

■<br />

■<br />

chmod the file '0600' – Heartbeat does not start if the permissions on this file<br />

are incorrect.<br />

Sample authkeys files<br />

auth 1<br />

1 sha1 PutYourSuperSecretKeyHere<br />

a. Start Heartbeat.<br />

[root@oss161 ha.d]# service heartbeat start<br />

Starting High-Availability services:<br />

[ OK ]<br />

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