Assigning Persistent Storage

This section describes how to assign a storage volume as the persistent storage.

Before configuring the persistent storage, ensure that use-volume-claims is enabled.

  1. To assign persistent storage, use the following configuration:

    config 
     db 
       global-settings 
          volume-storage-class [ default | local ] 
          end 

    NOTES:

    • config – Enters the configuration terminal.

    • db – Enters the database configuration mode.

    • global-settings – Configures the database global settings.

    • volume-storage-class [ default | local ] – Configures the storage that gets assigned as the persistent storage. Specify default to indicate the default storage volume. For example, Cinder. To indicate local-storage volume, specify local . If you do not specify any value, the PCF uses the default storage volume.