Preparing to configure cloud-container storage pools for OpenStack Swift

Before you configure cloud-container storage pools to use OpenStack Swift, you must obtain configuration information from the OpenStack Swift computer.

About this task

Use the credentials from your OpenStack Swift account when you configure the storage pools by using the Operations Center or the DEFINE STGPOOL command.

Procedure

  1. Create an OpenStack Swift account by following the instructions in the OpenStack Swift documentation.
  2. Obtain your OpenStack Swift credentials:
    1. On the OpenStack Swift computer, type the following command:
      swift auth -v
    2. In the output, locate the OS_AUTH_URL, the OS_TENANT_NAME, the OS_USERNAME, and the OS_PASSWORD values. Record the values so that you can use them when you configure storage pools.
  3. If you plan to configure storage pools by using the Add Storage Pool wizard in the Operations Center, use the following values for the parameters:
    • Cloud type: OpenStack Swift
    • User name: OS_TENANT_NAME:OS_USERNAME
    • Password: OS_PASSWORD
    • URL: OS_AUTH_URL
  4. If you plan to configure storage pools by using the DEFINE STGPOOL command, use the following values for the command parameters:
    • CLOUDTYPE: SWIFT or V1SWIFT
    • IDENTITY: OS_TENANT_NAME:OS_USERNAME
    • PASSWORD: OS_PASSWORD
    • CLOUDURL: OS_AUTH_URL
  5. If you plan to use a specific tenant or user name, record the values in the following format: TENANT_NAME:USERNAME.
  6. To prevent data loss, configure OpenStack Swift to create replicas of the data that is written to its object storage. For more information, see the OpenStack Swift documentation.

What to do next

Configure cloud-container storage pools for OpenStack Swift by following the instructions in Configuring a cloud-container storage pool for data storage.