For this lab, you have been asked by a customer to help them set up a Linstor cluster. They would like you to set up their Linstor servers, storage, and create a new resource for them. Upon completion of this lab, you will be able to set up Linstor controllers and satellites, configure storage for use in Linstor, and create Linstor resource and volume groups. In addition, you will be able to create Linstor resources and use them on the local cluster.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Set Up the Cluster
Set up
server-1
as a combined Linstor node, and then set upserver-2, server-3, server-4, server-5, and server-6
as Linstor satellite nodes.- Set Up the Storage
Create an LVM volume group on all six servers:
- Use the 2 GB attached storage device
- Name the volume group
nvme_vg
Create a Linstor storage pool:
- Use all six servers
- Name the volume group
nvme_pool
- Set Up the Resource
Create a Linstor resource group:
- Name the resource group
my_group
- Use the storage pool
nvme_pool
- Configure it so resources are replicated four times
- Name the resource group
Create a Linstor volume group:
- Name the volume group
my_group
- Name the volume group
Create a Linstor resource:
- Name the resource
resource-1
- Set the size to 1 GB
- Name the resource
Verify the resource is working:
- Create a filesystem on the resource
- Mount the resource to
/mnt
- Create a test file
- Verify replication of the test file on the resource