Before you configure cloud-container storage pools to use IBM Cloud Object
Storage on premises with the Simple Storage Service
(S3) protocol, you must set up an IBM Cloud Object
Storage
vault template and an IBM Cloud Object
Storage user account.
Then, obtain the required configuration information.
About this task
Restriction: To use IBM Cloud Object
Storage on
premises with S3, ensure that your version of IBM Cloud Object
Storage is compatible with your version of IBM
Storage Protect. For IBM
Storage Protect 8.1.4 or later, IBM Cloud Object
Storage 3.8.3 or later is required.
IBM Cloud Object
Storage vaults are used in the same manner
as containers in a cloud-container storage pool. Set up a vault template to quickly create vaults
with your preferred settings.
After you create a vault template, use the credentials from your IBM Cloud Object
Storage user account to configure the storage pools in
the Operations Center or with the DEFINE STGPOOL command. The server uses the S3
protocol to communicate with IBM Cloud Object
Storage.
Requirement: If you plan to configure an existing vault
by using the
BUCKETNAME parameter in the
DEFINE STGPOOL or
UPDATE STGPOOL command, skip Steps
1,
2, and
3 in the following procedure. For an
existing vault, ensure that the
Name Index option is enabled.
Procedure
-
Create a vault template:
-
Log in to IBM Cloud Object
Storage and click the
Configure tab.
-
In the IBM Cloud Object
Storage
navigation panel, expand Storage Pools.
-
Select the IBM Cloud Object
Storage storage pool where you
want to create the vault template, and click the Storage Pool link in the
General section.
-
In the Vault Templates section, click Create Vault
Template.
-
Select the settings for the default vault template. Ensure that the Name
Index option is enabled and that the Retention policy option is
disabled.
-
In the Deployment section, select the access pool or pools that you want
to use for the template and click Save.
-
Set the vault template as the default for IBM Cloud Object
Storage:
-
Click the Configure tab.
-
In the Default Vault Template Configuration section, click
Configure.
-
Select a vault template to use as the default, and click Update.
-
If you are configuring a vault template for the first time, enable the vault provisioning role
so that you can create new vaults:
-
Click the Administration tab.
-
In the Provisioning API Configuration section, click
Configure.
-
Select Create Only or Create and Delete to enable
users to create vaults by using the Provisioning API.
-
Click Update to save the settings.
-
Use an IBM Cloud Object
Storage
account with administration authority to create a user account on the IBM Cloud Object
Storage instance in your
environment. Ensure that the new user account has the Vault Provisioner
role.
-
Click the Security tab and select the new user account.
-
Generate an access key for the new user:
-
In the Access Key Authentication section, click Change
Keys.
-
On the Edit Access Keys page, click Generate New Access
Key.
-
Click Back.
-
In the Access Key Authentication section, locate the Access
Key ID and Secret Access Key values. Record the values so that
you can use them when you configure storage pools.
-
Locate the URL value:
-
Click the Configure tab.
-
In the IBM Cloud Object
Storage
navigation panel, expand the Devices and Accesser sections.
-
Select the IBM Cloud Object
Storage
Accesser. Verify that the Accesser belongs to an access pool to which the default
vault template is deployed.
-
In the Device Configuration section for the Accesser, record the IP Address
value so that you can use it when you configure storage pools. Use http://
before the IP address value to prevent certificate security errors.
-
If you configure storage pools by using the Add Storage Pool wizard in the Operations Center, use the following values for the parameters:
- If you configure storage pools by using command-line administrative
client, use the following parameter values for the DEFINE CONNECTION
command:
- CLOUDTYPE: S3
- IDENTITY: access_key_ID
- PASSWORD: secret_access_key
- CLOUDURL:
http://Cloud_Object_Storage_Accesser_IP_address
Tip: To help optimize performance, use multiple
Accessers. To use more than one
IBM Cloud Object
Storage
Accesser, list the
Accesser IP addresses separated by a vertical bar (|),
with no spaces, enclosed by quotation marks, as in the following
example:
cloudurl="http://accesser_ur1|http://accesser_url2|http://accesser_url3"
What to do next
Configure cloud-container storage pools for IBM Cloud Object
Storage by following the
instructions in Configuring a cloud-container storage pool for data storage.