Use Ceph-RBD

This topic describes how to configure Ceph-RBD as the block storage backend provider
for the Storage Controller (SC).

Prerequisites

Successful completion of all the install sections prior to this section.

The SC must be installed, registered, and running.

You must execute the steps below as a Eucalyptus administrator.

You must have a functioning Ceph cluster.

Ceph user credentials with the following privileges are available to
Eucalyptus SCs and NCs (different user credentials can be used for the SCs and NCs).

Ceph user privileges for credentials assigned to SCs

Read, write, execute (rwx) access to the pools used for storing EBS volumes and snapshots

Execute (x) access to all pools (Ceph users must have execute permissions to use Ceph
administrative commands such as unprotecting snapshots)

Read (r) access to all monitors

Ceph user privileges for credentials assigned to NCs

Read, write, execute (rwx) access to the pools used for storing EBS volumes only

Read (r) access to all monitors

Hypervisor support for Ceph-RBD on NCs. Node Controllers (NCs) are designed to
communicate with the Ceph cluster via libvirt. This interaction requires a
hypervisor that supports Ceph-RBD. See Configure Hypervisor Support for Ceph-RBD to satisfy this prerequisite.

To configure Ceph-RBD block storage for the zone, run the following commands on the CLC

Configure the SC to use Ceph-RBD for EBS.

euctl ZONE.storage.blockstoragemanager=ceph-rbd

The
output of the command should be similar to:

one.storage.blockstoragemanager=ceph-rbd

Verify that the property value is now ceph-rbd:

euctl ZONE.storage.blockstoragemanager

Check the SC to be sure that it has transitioned out of the
BROKEN state and is in the NOTREADY,
DISABLED or ENABLED state before
configuring the rest of the properties for the SC.

The ceph-rbd provider will assume defaults for the following properties for the
SC: