Este conteúdo não está disponível no idioma selecionado.
Chapter 10. Managing Storage
Two types of storage managers are currently available to Red Hat CloudForms: OpenStack Block Storage (openstack-cinder
) and OpenStack Object Storage (openstack-swift
). OpenStack Block Storage provisions and manages block storage, whereas OpenStack Object Storage manages object storage within the cloud. These storage managers are discovered automatically by Red Hat CloudForms after adding an OpenStack cloud provider.
For more information, see Storage Managers from the Managing Providers guide.
10.1. Managing Block Storage Copiar o linkLink copiado para a área de transferência!
The OpenStack Block Storage service (openstack-cinder
) provides and manages persistent block storage resources that OpenStack infrastructure instances can consume. CloudForms provides an interface for managing these resources (volumes, volume backups, and volume snapshots).
To create a volume:
After creating a volume, only the volume name can be edited.
-
Navigate to
. -
Click
(Configuration), then click
(Add a new Cloud Volume).
- Select the OpenStack Block Storage manager from the Storage Manager list.
- Enter a Volume Name.
- Enter the size of the volume in gigabytes (GB).
- Under Placement, select the cloud tenant to attach it to.
- Click Add.
The volume appears in the list of volumes after it has been provisioned.
To attach a volume to an instance (for example, one created through Section 9.1, “Provisioning an OpenStack Instance from an Image”):
-
Navigate to
. - Select the volume to attach.
-
Click
(Configuration), then click
(Attach selected Cloud Volume to an Instance) to open the Attach Cloud Volume screen.
- Select an instance from the list.
- Optionally, enter a Device Mountpoint.
- Click Attach.
To view a timeline of storage manager events:
-
Navigate to
. - Select your OpenStack Cinder manager to go to the Cinder manager’s summary page.
-
Click
(Monitoring), and then
(Timelines) to view the events timeline for the manager.
A timeline of either management events or policy events can be viewed.
- To view management events, select Management Events.
- Specify the type of event to view.
- Specify the timeline for the events to view.
- Click Apply.
To view policy events, select Policy Events.
- Specify if you want to view successful events, failed events, or both.
- Specify the timeline for the events to view.
- Click Apply.
To back up a volume:
-
Navigate to
. - Click the volume you want to back up to open the volume’s summary page.
-
Click
(Configuration), then click
(Create a Backup of this Cloud Volume).
- Enter a name for the backup in Backup Name.
(Optional) Select Incremental? to take an incremental backup of the volume instead of a full backup.
NoteYou can take an incremental backup of a volume if you have at least one existing full backup of the volume. An incremental volume saves resources by capturing only changes made to the volume since its last backup. See Create an Incremental Volume Backup in the Storage Guide for more information.
- Click Save.
View a volume’s backups by clicking Cloud Volume Backups on the volume’s summary page.
See Back Up and Restore a Volume in the Storage Guide for more information about backups.
To take a volume snapshot:
-
Navigate to
. - Click the volume to snapshot to open the volume’s summary page.
-
Click
(Configuration), then click
(Create a Snapshot of this Cloud Volume).
- Enter a name for the snapshot in Snapshot Name.
- Click Save.
Click Cloud Volume Snapshots on the summary page of a volume to view the snapshots for that volume.
See Create, Use, or Delete Volume Snapshots in the Storage Guide for more information about snapshots.
For more information about available options for block storage resources in CloudForms, see OpenStack Block Storage Managers (from the Managing Providers guide).
10.2. Managing Object Storage Copiar o linkLink copiado para a área de transferência!
The OpenStack Object Storage (openstack-swift
) service provides cloud object storage. The object store summary page shows details including the object store’s size, parent cloud, storage manager, cloud tenant, and the number of cloud objects on the object store.
To view the summary page of an object store:
-
Navigate to
to display a list of object store containers. - Click a container to open a summary page for that object store container.
- Click Cloud Objects to view a list of object stores in the object store container.
- Click an object store from the list to view the object store’s summary page.