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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
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 hyper_metro_consistency_group general

change hyper_metro_consistency_group general

Function

The change hyper_metro_consistency_group general command is used to modify the information about a HyperMetro consistency group.

Format

change hyper_metro_consistency_group general consistency_group_id=? { synchronization_rate=? | name=? | recovery_policy=? | description=? | isolation_switch=? | isolation_threshold=? | lock_mode=? | write_secondary_timeout=? } *

Parameters

Parameter

Description

Value

consistency_group_id=?

ID of the HyperMetro consistency group.

Run the "show hyper_metro_consistency_group general" command without parameters to obtain the value.

synchronization_rate=?

Synchronization rate.

The value is "Low", "Middle", "High", or "Highest", where:

  • "Low": low rate.
  • "Middle": medium rate.
  • "High": high rate.
  • "Highest": the highest rate.

name=?

Name of the consistency group.

The value contains 1 to 31 ASCII characters including digits, letters, underscores (_), hyphens (-), and periods (.), and can only start with a digit or a letter.

recovery_policy=?

Recovery policy.

The value is "automatic" or "manual", where:

  • "automatic": automatic recovery policy. Data will be automatically synchronized after faults are rectified.
  • "manual": manual recovery policy. Data needs to be manually synchronized after faults are rectified.

description=?

Description of the HyperMetro consistency group.

The value contains 1 to 127 letters.

isolation_switch=?

Isolation switch.

The value is "open" or "close", where:

  • "open": The isolation switch will be turned on. After the isolation switch is turned on, the system will suspend the HyperMetro pair when the difference between the write I/O latency of the two storage arrays is greater than the isolation switch. The storage array with the longer write I/O latency will stop providing.
  • "close": The isolation switch will be turned off.

isolation_threshold=?

Isolation threshold.

The value ranges from 10 ms to 30s.The default value is "1s".

lock_mode=?

Lock mode.

The value is "optimistic" or "pessimistic", where:

  • "optimistic": optimistic lock mode.
  • "pessimistic": pessimistic lock mode.

write_secondary_timeout

Timeout period of I/O writing the secondary end (unit: second).

The value ranges from 15s to 30s (unit: s). The default value is 30s.

Views

Developer view

Usage Guidelines

None

Example

  • Change the synchronization rate of HyperMetro consistency group 1 to "Low".
    developer:/>change hyper_metro_consistency_group general consistency_group_id=1 synchronization_rate=Low 
    Command executed successfully.
  • Change the synchronization rate of HyperMetro consistency group 1 to "Highest".
    developer:/>change hyper_metro_consistency_group general consistency_group_id=1 synchronization_rate=Highest 
    WARNING: You are about to change the synchronization speed to the "Highest". After the operation, the Hyper Metro pair will be synchronized at the highest speed, which may cause host latency increase and disconnection of HyperMetro pairs. 
    Suggestion: Select a low synchronization speed or use the "Highest" synchronization speed during off-peak hours. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Change the mirror write I/O timeout period of HyperMetro consistency group 1 to "20".
    developer:/>change hyper_metro_consistency_group general consistency_group_id=1 write_secondary_timeout=20 
    WARNING: You are about to change the I/O timeout period for mirror write. 
    After the change, if the mirror write I/O timeout period is shorter than the default value, the HyperMetro relationship is easily disconnected when the latency of writing the secondary end is long.  
    Suggestion: Select the default I/O timeout period for mirror write. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Change the synchronization rate of HyperMetro consistency group 1 to "Highest", and change the mirror write I/O timeout period of HyperMetro consistency group 1 to "20".
    developer:/>change hyper_metro_consistency_group general consistency_group_id=1 synchronization_rate=Highest write_secondary_timeout=20 
    WARNING: You are about to change the synchronization speed to the highest and change the I/O timeout period for mirror write. 
    After the change, data synchronization is performed at the highest speed during HyperMetro synchronization. If the highest speed is selected, host latency may increase and the HyperMetro pair is disconnected during the synchronization. 
    If the mirror write I/O timeout period is shorter than the default value, the HyperMetro relationship is easily disconnected when the latency of writing the secondary end is long.  
    Suggestion: Select a low synchronization speed or use the "Highest" synchronization speed during off-peak hours. Select the default I/O timeout period for mirror write. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 639509

Downloads: 256

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