For previous versions, check this wiki page
This is a quick tutorial on how to install and deploy a Lustre parallel
filesystem in a virtual cluster for learning/testing purposes. The tutorial
provides scripts for (1) creating the virtual cluster, including VMs, storage
devices, and networks using VirtualBox (2) full installation and configuration
of Luster servers and client (3) Deploying and testing the installed Lustre
filesystem. More will be added eventually, tutorial is still in progress ...
Disclaimer: I am in no way a Lustre expert, this exists only to document the procedure and push to a reproducible way of doing it. All used references are listed in the References wikipage. In short, here is the main references I used for this tutorial:
- ORNL's Lustre 101 courses "Basic Lustre Installation and Setup from Stock RPMs" tutorial,
- Intel's Lustre deployement walk-through "Walk-thru- Deploying Lustre pre-built RPMs",
- and (obviously) Lustre reference manual "Lustre Software Release 2.x - Operations Manual", which is very complete
To install, configure, and deploy a complete Lustre filesystem in an HPC-like (software) architecture VirtualBox virtualized cluster
- creating the virtual cluster: virtual machines (vms), virtual networks, virtual storage devices
- configuring the virtual cluster: install base-os, configure compute nodes, admin node with NFS and DHCP server
- installing and deploying Lustre: configure storage nodes to host Lustre servers and compute nodes as Lustre client
- A Linux host machine with at least 8Gb of RAM and 22Gb of free disk space, connected to the internet
- Oracle's VirtualBox installed
- Lustre in a nutshell
- Create a CentOS 7 minimal appliance, that will be the base of each VM installation
- Install and configure Lustre servers
- Install and configure Lustre clients
/!\ INPROGRESS /!\
- Provision the virtual cluster using
VBoxManage
- Prepare base-os virtual disk image and add it to nodes within the compute section of the cluster (i.e.,
adminNode
andcomputeNode
s) - Configure
adminNode
for NFS and DHCP servers and internet access - Configure
computeNode
s network - Prepare Lustre kernel-modified OS virtual disk images for its servers
- Configure and deploy Lustre Manager Server (MGS) and Metadata Server (MDS)
- Configure and deploy Lustre Object Storage Servers (OSSs)
- Configure Lustre clients (on
computeNode
s) and test deployed filesystem
VBox | Oracle's VirtualBox
VM | Virtual Machine
MGS | Luster ManaGer Server
MDS | Lustre MetaData Server
OSS | Lustre Object Storage Server
MGT | Lustre ManaGer Target
MDT | Lustre MetaData Target
OST | Lustre Object Storage Target