Introduction
The purposes of integrate Lustre, DRBD and heartbeat are as follows:
1. For Auto Data Replication
Lustre not only provides high-performance I/O but also is capable of aggregating any pieces of storages in cluster environment. The only fly in the ointment is the lack of data replication, and DRBD is used to make up this shortcoming. DRBD is a well-known tools for High-Availability in cluster.
2. For Auto-Detection of Failures
Heartbeat is capable to detect the failures of pre-configured nodes automatically.
This solution is exactly what we need in a High-Availability cluster environment.
The ideal work flow is as follows:
Working --> write with replication data --> detect failures occur --> client switch to backup node to access data continuously --> failure have been fixed up --> client switch to original node to access data continuously.
Lustre + DRBD + Heartbeat can almost achieve this goal.
Requirements
Of course lustre and DRBD and heartbeat.
DRBD integrate with lustre is more complicated than heartbeat, since drbd is a kernel module as lustre.
Testing Steps
Install Lustre
Please refer to xxxx Lustre installation guide