AIX operating systemsLinux operating systemsWindows operating systems

UPDATE STGPOOL (Update a cloud-container storage pool)

Use this command to update a container storage pool in a cloud environment. Cloud storage pools are not supported on Linux on System z®.

The preferred way to define and configure a cloud-container storage pool is to use the Operations Center. For instructions and tips for the Operations Center and the command-line interface, see Configuring a cloud-container storage pool for data storage.

Privilege class

To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-UPDate STGpool--pool_name--+-----------------------------+--->
                              '-DESCription--=--description-'   

>--+-----------------------------+------------------------------>
   '-CLOUDType--=--+-SWift-----+-'   
                   +-SOftlayer-+     
                   '-V1Swift---'     

>--+------------------------+----------------------------------->
   '-CLOUDUrl--=--cloud_url-'   

>--+-----------------------------+--+-----------------------+--->
   '-IDentity--=--cloud_identity-'  '-PAssword--=--password-'   

>--+----------------------------------+------------------------->
   '-CLOUDLocation--=--+-OFfpremise-+-'   
                       '-ONpremise--'     

>--+----------------------------+------------------------------->
   '-BUCKETName--=--bucket_name-'   

>--+----------------------------+------------------------------->
   '-ACCess--=--+-READWrite---+-'   
                +-READOnly----+     
                '-UNAVailable-'     

>--+------------------------------------+----------------------->
   '-MAXWriters--=--+-NOLimit---------+-'   
                    '-maximum_writers-'     

>--+---------------------+-------------------------------------->
   '-REUsedelay--=--days-'   

>--+--------------------------------------------------+--------><
   |                      .-COMPRession--=--Yes-----. |   
   '-ENCRypt--=--+-Yes-+--+-------------------------+-'   
                 '-No--'  '-COMPRession--=--+-Yes-+-'     
                                            '-No--'       

Parameters

pool_name (Required)
Specifies the storage pool to update. This parameter is required.
DESCription
Specifies a description of the storage pool. This parameter is optional. The maximum length of the description is 255 characters. Enclose the description in quotation marks if it contains blank characters. To remove an existing description, specify a null string ("").
CLOUDType
Specifies the type of cloud environment where you are configuring a storage pool. This parameter is optional. Specify one of the following values:
SOftlayer
Specifies that the storage pool uses an IBM SoftLayer® cloud computing system.
SWift
Specifies that the storage pool uses an OpenStack Swift cloud computing system. This value also specifies that the storage pool uses Version 2 of the protocol for authentication to the cloud. The URL of the cloud usually contains the version number of the protocol it is using.
V1Swift
Specifies that the storage pool uses an OpenStack Swift cloud computing system. This value also specifies that the storage pool uses Version 1 of the protocol for authentication to the cloud. The URL of the cloud usually contains the version number of the protocol it is using.
Restriction: If you used the DEFINE STGPOOL command to define a storage pool with CLOUDTYPE=S3 (Simple Storage Service), you cannot change to a different cloud type by using the UPDATE STGPOOL command. Additionally, you cannot change the cloud type of a non-S3 storage pool to S3 by using the UPDATE STGPOOL command.
CLOUDUrl
Specifies the URL of the cloud environment where you are configuring the storage pool. Based on your cloud provider, you can use a region endpoint URL, an accesser IP address, a public authentication endpoint, or a similar value for this parameter. Be sure to include the protocol, such as https:// or http:// at the beginning of the URL. The maximum length of the web address is 870 characters. The CLOUDURL parameter is not validated until the first backup begins.
For more information about how to locate these values, select your cloud service provider from the list on the Configuring a cloud-container storage pool for data storage page.
Tip: To use more than one IBM® Cloud Object Storage accesser, list the accesser IP addresses separated by a vertical bar (|), with no spaces, such as CLOUDURL=<accesser_URL1>|<accesser_URL2>|<accesser_URL3>. Use multiple accessers to improve performance.
IDentity
Specifies the user ID for the cloud environment where you are configuring the storage pool. Based on your cloud provider, you can use an Access Key ID, a user name, a tenant name and user name, or a similar value for this parameter. This parameter is optional. The maximum length of the user ID is 255 characters.
PAssword
Specifies the password for the cloud environment where you are configuring the storage pool. Based on your cloud provider, you can use a Secret Access Key, an API Key, a password, or a similar value for this parameter. This parameter is optional. The maximum length of the password is 255 characters. The IDENTITY and PASSWORD parameters are not validated until the first backup begins.
CLOUDLocation
Specifies the physical location of the cloud that is specified in the CLoud parameter. This parameter is optional. You can specify one of the following values:
  • OFfpremise
  • ONpremise
BUCKETName
Specifies the name for an Amazon S3 bucket or IBM Cloud Object Storage vault to use with this storage pool. Amazon S3 buckets and IBM Cloud Object Storage vaults are used in the same manner as containers in a cloud-container storage pool. This parameter is optional, and is valid only if this storage pool has a cloud type of S3. If the name that you specify does not exist, the server creates a bucket or vault with the specified name before using the bucket or vault. Follow the naming restrictions for your cloud provider when specifying this parameter. Review the permissions for the bucket or vault and make sure that the credentials for this storage pool have permission to read, write, list, and delete objects in this bucket or vault.
Restriction: You cannot change the bucket or vault if any cloud containers exist in this storage pool.
ACCess
Specifies how client nodes and server processes access the storage pool. This parameter is optional. You can specify one of the following values:
READWrite
Specifies that client nodes and server processes can read and write to the storage pool.
READOnly
Specifies that client nodes and server processes can read only from the storage pool.
UNAVailable
Specifies that client nodes and server processes cannot access the storage pool.
MAXWriters
Specifies the maximum number of writing sessions that can run concurrently on the storage pool. Specify a maximum number of writing sessions to control the performance of the cloud storage pool from negatively impacting other system resources. This parameter is optional. You can specify one of the following values:
NOLimit
Specifies that no maximum size limit exists for the number of writers that you can use. This value is the default.
maximum_writers
Limits the maximum number of writers that you can use. Specify an integer in the range 1 - 99999.
REUsedelay
Specifies the number of days that must elapse after all deduplicated extents are removed from a cloud storage pool. This parameter controls the duration that deduplicated extents are associated with a cloud storage pool. When the value that is specified for the parameter expires, the deduplicated extents are deleted from the cloud storage pool. This parameter is optional. You can specify one of the following values:
1
Specifies that deduplicated extents are deleted from a cloud storage pool after one day.
days
You can specify an integer in the range 0 - 9999.
Tip: Set this parameter to a value that is greater than the number specified for the SET DRMDBBACKUPEXPIREDAYS command. By setting this parameter to a higher value, you can ensure that when you restore the database to an earlier level, the references to files in the storage pool are still valid.
ENCRypt
Specifies whether the server encrypts client data before it writes it to the storage pool. You can specify the following values:
Yes
Specifies that client data is encrypted by the server.
No
Specifies that client data is not encrypted by the server.

This parameter is optional. The default depends on the physical location of the cloud, which is specified by the CLOUDLOCATION parameter. If the cloud is off premise, the server encrypts data by default. If the cloud is on premises, the server does not encrypt data by default.

COMPRession
Specifies whether data is compressed in the storage pool. This parameter is optional. You can specify one of the following values:
No
Specifies that data is not compressed in the storage pool.
Yes
Specifies that data is compressed in the storage pool. This is the default.

Example 1: Update a cloud storage pool to specify a maximum number of data sessions

Update a cloud storage pool that is named STGPOOL1 and specify a maximum of 10 data sessions.
update stgpool stgpool1 maxwriters=10

Example 2: Update the description of a cloud storage pool

Update a cloud storage pool that is named STGPOOL2. Remove the existing description from the storage pool.
update stgpool stgpool2 cloud=http://123.456.789:5000/v2.0
identity=admin:admin password=password description=""