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


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


Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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 consistency_group general

change consistency_group general


The change consistency_group general command is used to modify the information of consistency groups.


change consistency_group general consistency_group_id=? { compress_enable=? | name=? | recovery_policy=? | synchronization_rate=? | synchronization_type=? [ timing_length=? timing_unit=? ] | second_res_access=? } *





consistency_group_id=? ID of a consistency group.

To obtain the value, run "show consistency_group general".

name=? An updated name of a consistency group.

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

recovery_policy=? The link recovery policy. This parameter defines a policy for recovering the links that were unexpectedly disconnected for the remote replication tasks in a consistency group.

The value can be:

  • "automatic": When links are recovered, the remote replication tasks in the consistency group are resumed automatically.
  • "manual": When links are recovered, the remote replication tasks in the consistency group need to be resumed manually. The consistency group retains the state preserved at the time when links are interrupted, and does not resume the interrupted remote replication tasks automatically.
The default value is "automatic".
synchronization_rate=? An updated synchronization rate.

The value can be

  • "Low": indicates the low rate.
  • "Middle": indicates the medium rate.
  • "High": indicates the high rate.
  • "Highest": indicates the highest rate.
The default value is "Middle".
synchronization_type=? The updated synchronization type. This parameter is valid only when the consistency group type is asynchronous.

The value can be:

  • "manual": Data needs to be synchronized manually.
  • "auto_start_timing": When a data synchronization job is started, the storage system waits for a period specified by synchronization_interval before implementing the next synchronization job.
  • "auto_end_timing": When a data synchronization job is completed, the storage system waits for a period specified by synchronization_interval before implementing the next synchronization job.
timing_length=? The synchronization interval. This parameter is valid only when synchronization_type=? is set to "timed_wait_when_synchronization_begins" or "timed_wait_when_synchronization_ends".
  • The value ranges from 1 to 1440, expressed in minutes.
  • The value ranges from 10 to 59, expressed in seconds.
  • For

    Usage Guidelines


    V3, the value ranges from 15 to 1440. The unit is minute.
timing_unit=? Unit of the synchronization period.

The value can be:

  • "minute": indicates minutes.
  • "second": indicates seconds.
  • For

    Usage Guidelines


    V3, the unit is minute.
second_res_access=? Access property of the secondary LUN.

The value can be:

  • "read_only": The secondary LUN can only be read.
  • "read_write": The secondary LUN can be read and written.
compress_enable=? Whether to enable compress.

The value can be "yes" or "no", where: 1:yes:enable compress. 2:no:disable compress.



Usage Guidelines

  • If the recovery policy changes from automatic to manual by running this command, synchronization jobs for the selected consistency group will not be automatically resumed after links are recovered.
  • Before running this command, ensure that the selected consistency group is exactly the one you want to modify its information.
  • You can run this command only on the primary end for a consistency group.


To modify the information on consistency group "200bc79b99520000", where the updated group name is "newname", the updated synchronization rate is highest, and the updated recovery policy is manual, run the following command:

admin:/>change consistency_group general consistency_group_id=200bc79b99520000 name=newname synchronization_rate=Highest recovery_policy=manual
Command executed successfully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 369061

Downloads: 1594

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