Creating Storage Containers for Backups


Options



Before You Begin

Purpose

This tutorial shows you how to use the Cloudberry Explorer GUI tool to create storage containers in Oracle Storage Cloud Service. The storage containers provide cloud backup solutions for Oracle Database Cloud Service and Oracle SOA Cloud Service.

Note: You can also create an Oracle Storage Cloud Service Container by selecting the Create Cloud Storage Container checkbox on the Instance Details page of the SOA Cloud Service provisioning wizard.

Runtime Dependency
Description of this image

Time to Complete

Approximately 25 minutes

Background

Oracle Storage Cloud Service enables businesses to store and manage files and data in the cloud. Stored content can be retrieved directly by external clients or by applications running within Oracle Cloud.

A container is a storage compartment that provides a way to organize the data stored in Oracle Storage Cloud Service.

Creating storage containers is one of the prerequisites for provisioning Oracle SOA Cloud Service.

Runtime Dependency
Description of this image

What Do You Need?

  • A paid or trial subscription to Oracle SOA Cloud Service.

  • If you have a paid subscription to Oracle SOA Cloud Service, then a subscription to Oracle Storage Cloud Service is needed.

  • Your Oracle Cloud service user name, password, and identity domain (available in the New Account Information email that you received from Oracle Cloud when your user account was set up)

Finding the Replication Policy for Your Oracle Storage Cloud Service

The replication policy specifies the data center that hosts the service instance. You will need the data center information when you connect to Oracle Storage Cloud Service.

Identifying the Replication Policy If It Was Set

  1. Sign in to the Oracle Cloud My Services application.

  2. In the My Services dashboard, click the Storage link.

  3. My Services Dashboard - Storage link
    Description of this image
  4. On the resulting page, expand Service Details.

  5. In the example image, the replication policy specifies Chicago as the primary data center (DC) that hosts the service instance. The DC location maps to a DC code. For example, us2 is the DC code for Chicago and us6 is the DC code for Ashburn. You will need your specific information when you connect to Oracle Storage Cloud Service.

    Oracle Storage Cloud Service - Service Details
    Description of this image

Defining the Replication Policy If It Wasn't Set

  1. Sign in to the Oracle Cloud My Services application.

  2. In the My Services dashboard, look for Oracle Storage Cloud Service. Notice that the subscription is listed as Trial (Replication Policy Not Set).

  3. My Services Dashboard - Before Replication Policy Set
    Description of this image
  4. Click the Set Replication Policy link in the upper-right corner of the section.

  5. In the Set Replication Policy dialog box, select the option that lists your Data Center/Region as primary, and Georeplication Data Center/Region: None. Click Set.

  6. Set Replication Policy
    Description of this image

    Note: Select your policy carefully. After you select it, you can’t change it.

  7. In the next screen, review your selection, and click Confirm.

  8. After you set the policy, the Set Replication Policy link is dimmed.

    My Services Dashboard - After Replication Policy Set
    Description of this image

Downloading and Installing CloudBerry Explorer

There are several options (command line or wizard interface) to create storage containers, all based on REST APIs.

  1. Open a browser window and enter the following URL:

    http://www.cloudberrylab.com/free-openstack-storage-explorer.aspx
  2. On the Explorer for OpenStack Swift: Freeware Windows Client page, click Download FREEWARE.

    CloudBerry Explorer download page
    Description of this image
  3. On the Explorer for OpenStack Swift: Freeware Windows Client page, click Download to download the installer file of CloudBerry Explorer for OpenStack Storage.

  4. Save the .exe binary file to your local machine.
  5. Launch the installer.

  6. On the Welcome page of the Cloudberry Explorer for OpenStack Storage 1.6 Setup wizard, click Next.

  7. On the License Agreement page, click I Agree.

    CloudBerry Explorer setup wizard - License Agreement
    Description of this image
  8. On the Choose Install Location page, select a destination folder and click Install.

    CloudBerry Explorer setup wizard - Choose Install Location
    Description of this image
  9. When the installation is complete, dismiss the setup wizard.

Creating the Containers by Using CloudBerry Explorer

In this section, you use CloudBerry Explorer to create the storage containers required for the built-in backup functionality of Oracle Database Cloud Service and SOA Cloud Service.

Connecting to Oracle Storage Cloud Service

  1. Open the CloudBerry Explorer for OpenStack Storage application.

  2. In the File menu, select New Oracle Cloud Account.

    CloudBerry Explorer Application
    Description of this image
  3. In the Add New Oracle Cloud Account dialog box, enter or select the information for the following fields, and then click Test Connection:

    • Display Name: Enter a name for the account. For example, use the name of the identity domain that includes your cloud service instances.
    • User Name: Enter the name of the account in this format: Storage-Identity_Domain:Oracle_Cloud_user.

      Identity_Domain is the name of your identity domain, and Oracle_Cloud_user is the user name of your Oracle Cloud service.

      For example, if your credentials are for user john.smith@example.com in an identity domain named jcsdemo, the user name is Storage-jcsdemo:john.smith@example.com.

    • Password: Enter your Oracle Cloud service password.
    • Authentication Service: Enter the URL in this format: https://Identity_Domain.storage.oraclecloud.com/auth/version_number.
    • Account location: Select the value that corresponds to your DC_code.
    • Keystone version: Use the default value, which is Do not use.
    Add New Oracle Cloud Account
    Description of this image
  4. Review your input and click Test Connection.

  5. In the CloudBerry Explorer for OpenStack Storage dialog box, you should see the "Connection success" message. Click Close.

    Connection Test Result
    Description of this image
  6. In the Add New Oracle Cloud Account dialog box, click OK.

  7. In the Registered Accounts dialog box, you should see the account that you just added. Click Close.

    Registered Accounts
    Description of this image

Creating the Containers

  1. In the Source panel, select your new account.

    Select New Rregistered Account
    Description of this image
  2. Click the New Container icon New Container icon.

    Select New Container
    Description of this image
  3. In the New Container dialog box, for container name enter dbBackup. For Container Type, accept the default option, Standard. Click OK.

    Create New Container for Database Backup
    Description of this image

    The new container name for the database backups (dbBackup) appears in the source view.

    New Container for database Added
    Description of this image
    Troubleshooting tip: If creation of the container fails, it may be due to one of the following reasons:
    • The replication policy isn't set.
    • There's an incorrect data center code in the authentication URL. Enter us2 or us6 for United States or em1 or em2 for Europe.
  4. Repeat the previous steps to create a new container for the SOA Backups. Name the new containersoaBackup. Click OK.

    Create New Container for SOA Backup
    Description of this image

    The two new containers are displayed in the source view (dbBackup and soaBackup). They're ready to be used by your Oracle Database Cloud Service and SOA Cloud Service instances when you provision them.

    New Container for SOA Added
    Description of this image
  5. When both containers appear in the source view, close Cloudberry Explorer.

Want to Learn More?