No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change object_storage_compatible_s3_storageclass

change object_storage_compatible_s3_storageclass

Function

The change object_storage_compatible_s3_storageclass command is used to modify the switch to acccess the interfaces of OBS Warm and OBS Cold.

Format

change object_storage_compatible_s3_storageclass <enable>

Parameters

Parameter

Description

Value

enable The switch to access the interfaces of OBS Warm and OBS Cold.

true: turn on the switch to access the interfaces of OBS Warm and OBS Cold.

false: turn off the switch to access the interfaces of OBS Warm and OBS Cold.

Level

Device administrator

Usage Guidelines

Run the change object_storage_compatible_s3_storageclass <enable> command to turn on or turn off the switch to access the interfaces of OBS Warm and OBS Cold.

The status of the switch on the default AZ and non-default AZ must be the same.

Example

  • Turn on the switch to access the interfaces of OBS Warm and OBS Cold.

    admin:/>change object_storage_compatible_s3_storageclass true
    WARNING: You are about to modify the switch to access OBS Warm and OBS Cold interface, as soon as the switch becomes "true" it can not be turned off anymore.
    Have you read warning message carefully?(y/n)y
     
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully
  • Turn off the switch to access the interfaces of OBS Warm and OBS Cold.

    admin:/>change object_storage_compatible_s3_storageclass false
    WARNING: You are about to modify the switch to access OBS Warm and OBS Cold interface, as soon as the switch becomes "true" it can not be turned off anymore.
    Have you read warning message carefully?(y/n)y
     
    Are you sure you want to perform the operation?(y/n)y
    Error: The value of storage_class_enable which represents the access switch of OBS Warm and OBS Cold must be set to true, the other value is illegal.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24785

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next