Changing the timeout value that is used in common for transfers

This section gives an example of how to change the default Information for the Send Storage Management Information with the default settings.

This example shows how to change the storage timeout period that is registered in the default information for the Send Storage Management Information on the Cloud Storage DB, which is the storage timeout used in common when individual settings are not specified.

Although the example is for storage timeout, you can change other transfer-related information in the same way.

= Remarks =

The priority of the values used for uploads or downloads is explained below.

When the values are registered in the Receive Storage Management Information or the Send Storage Management Information (hereafter referred to as the Storage Management Information) and in the default information, the values in the Storage Management Information are used prior to the values in the default information.

If you want to use the default values, do not set the values in the Storage Management Information.

The priority of the values used for uploads or downloads is shown below.

Table D.5 Priorities given to Storage Management Information and default information

Field Name in Storage Management Information

Setting Value in Storage Management Information

Setting Value in Default Information for Storage Management Information

Value Used

Storage Timeout

60 (seconds)

600 (seconds)

60 (seconds)

Maximum number of parallels per transfer

Not specified

Not specified

32

Part Size

Not specified

Not specified

5 (MB)

Region

Not specified

ap-northeast-1

ap-northeast-1

Storage Authentication Information ID

Not specified

Not specified

Default information for the Storage Authentication Information

The following values are used for each field:

Storage Timeout

:

60 seconds
The value registered in the Storage Management Information is prioritized.

Region

:

ap-northeast-1
If you do not set anything for the Storage Management Information, the value set in the default information is used.

Storage Authentication Information ID

:

If you do not set anything for the Storage Management Information and the default information, the default information for the Storage Authentication Information is used.

Other Fields

:

If you do not set anything for the Storage Management Information and the default information, the value in the downward-compatible settings is used.

 

In the following procedure, Amazon S3 is used as an example to explain how to change the storage timeout in the default information for the Send Storage Management Information.

Table D.6 An example of setting values before and after changes in the Send Storage Management Information

Field Name in Default Information

Setting Value before Change

Setting Value after Change

Register or Not

Storage Timeout

60 (seconds)

600 (seconds)

Maximum number of parallels per transfer

Not specified

Not specified

-

Part Size

Not specified

Not specified

-

Region (*1)

ap-northeast-1

ap-northeast-1

X

Endpoint URL (*1)

Not specified

Not specified

-

Storage Authentication Information ID

Not specified

Not specified

-

:

Register after changing the setting value

X

:

Register without changing the setting value

-

:

Do not register the setting value

*1

:

This field can be set only when you use Amazon S3.

 

  1. Check the values registered in the default information for the Send Storage Management Information by using the output command of the Cloud Storage DB Information List.

    utls3infolist -t snd --default

    For details on the output command of the default information for the Storage Management Information list, Amazon S3, refer to Output command of the Cloud Storage DB Information List (Amazon S3).

    The following list is output after you execute the command:

    # 
    # Cloud Storage Information for Amazon S3 
    # 
    
    Default information for Send Storage Management Information 
    Timeout:           60 
    Parallels:         Use the default value. 
    Part Size:         Use the default value. 
    Default Region:    ap-northeast-1 
    Endpoint:          Use the default value.  
    Auth ID:           Use the default value. 
    

    "60" seconds is specified for Timeout (Storage Timeout) in the default information.

     

  2. Register the Storage Timeout setting value using the registration command of the default information for the Storage Management Information.

    utls3infoadd -t snd --default --timeout 600 --default-region ap-northeast-1

    For details on the registration command of the default information for the Storage Management Information on Amazon S3, refer to Registration command of the Default Information for Storage Management Information (Amazon S3).

    Note

    All the information specified by the registration command is overwritten in the default information.

    If a setting that is not changed is not specified with the option, the value is overwritten with "Use the default value.". In this example, to avoid being overwritten, "--default-region ap-northeast-1" is specified.

    In this case, the value in the downward-compatible settings is used.

    However, only in cases when you do not specify a Storage Authentication Information ID with the option, the value registered in the default information for the Storage Authentication Information is used instead of the downward-compatible settings.

    The following list is output:

    $ utls3infoadd -t snd --default --timeout 600 --default-region ap-northeast-1 
    The default information for Send Storage Management Information will be changed. 
    Timeout:           600 
    Parallels:         Use the default value. 
    Part Size:         Use the default value. 
    Default Region:    ap-northeast-1 
    Endpoint:          Use the default value. 
    Auth ID:           Use the default value.
    

    Check whether the setting value for Storage Timeout is changed from "60" seconds to "600" seconds.

    If you do not specify "-f" or "--force" with the registration command of the default information for the Storage Management Information, the following confirmation message is output:

    Are you sure to register? [y/n]:

    After the confirmation message is output, input "y" or "Y" to execute the registration command of the default information for the Storage Management Information.

    The Storage Timeout period is changed, and the setting for downloads from object storage is completed.

     

For details on the command for other object storage, refer to the following: