Difficulty: Beginner
Estimated Time: 20 minutes

In this tutorial, you will learn how to provision replicated StorageOS volumes for high availability.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

High availability

Step 1 of 5

Working with labels

In this scenario you will provision replicated volumes on a three node StorageOS cluster. Open terminals on the second and third host:

ssh [email protected] ssh [email protected]

Labels are a mechanism for applying metadata to StorageOS objects. You can use them to annotate or organise your volumes in any way that makes sense for your organization or app.

A label is a key-value pair that is stored as a string.

Create a volume expected to run in a production environment:

storageos volume create --label env=prod testvol

Inspect the volume to see the labels:

storageos volume inspect default/testvol