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

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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 remote_replication general

change remote_replication general

Function

The change remote_replication general command is used to modify the settings of a specified remote replication.

Format

change remote_replication general remote_replication_id=? { compress_enable=? | recovery_policy=? | synchronization_rate=? | synchronization_type=? | timing_length=? timing_unit=? | second_res_access=? | remote_io_timeout_period=? } *

Parameters

Parameter

Description

Value

remote_replication_id=?

Remote replication ID.

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

recovery_policy=?

Recovery policy.

The value can be "automatic" or "manual", where:

  • "automatic": When interrupted links are recovered, remote replication is automatically resumed. Data is automatically synchronized from the primary LUN to the secondary LUN.
  • "manual": When interrupted links are recovered, remote replication needs to be resumed manually. The secondary LUN retains the state preserved at the time when links are interrupted. Data is not automatically synchronized from the primary LUN to the secondary LUN.

synchronization_type=?

Synchronization type. This parameter is available only for asynchronous remote replication.

The value can be "manual", "timed_wait_when_synchronization_begins", or "timed_wait_when_synchronization_ends", where:

  • "manual": Data needs to be synchronized manually.
  • "timed_wait_when_synchronization_begins": The system starts timing as soon as data synchronization starts.
  • "timed_wait_when_synchronization_ends": The system starts timing as soon as data synchronization ends.

synchronization_rate=?

Synchronization rate.

The value can be:

  • "Low": 0 to 5 MB/s. This speed applies to scenarios where the service load is very heavy.
  • "Middle": 5 to 20 MB/s. For Dorado3000 V3, the value is from 5 to 10 MB/s. For others, the value is from 10 to 20 MB/s. This speed is applied when system service load is relatively heavy.
  • "High": 10 to 70 MB/s. For Dorado3000 V3, the value is from 10 to 20 MB/s. For Dorado5000 V3 (SAS), the value is from 20 to 35 MB/s. For Dorado5000 V3 (NVMe), Dorado6000 V3, and Dorado18000 V3, the value is from 50 to 70 MB/s. This speed applies to scenarios where the service load is relatively light.
  • "Highest": more than 100 MB/s. This speed applies to scenarios where the service load is light.

timing_length=?

Timing period (data synchronization period). This parameter is available 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 3 to 59, expressed in seconds.

timing_unit=?

Unit of the synchronization period.

The value can be:

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

second_res_access=?

Read and write attributes of the secondary LUN.

The value can be "read_only" or "read_write", where:

  • "read_only": The secondary LUN can only be read.
  • "read_write": The secondary LUN can be read and written.

remote_io_timeout_period=?

Timeout period of I/Os written to the secondary storage array during dual-write of synchronous remote replication.

The value ranges from 10 to 30, expressed in seconds.

compress_enable=?

Whether to enable compression.

The value can be "yes" or "no", where:

  • yes: enables compression.
  • no: disables compression.

Level

Administrator

Usage Guidelines

  • If the recovery policy changes from automatic to manual by running this command, synchronization jobs for the selected remote replication will not be automatically resumed after links are recovered.
  • Before running this command, ensure that the selected remote replication is exactly the one you want to modify its information.
  • After the links disconnect, you can run the command that modifies the write protection of the secondary LUN on the secondary disk array. In other circumstances, this command can only be executed on the primary disk array of the remote replication.
  • If you want to modify the timeout period, note the following restrictions:
    • This command is only used to modify the timeout period of the synchronous remote replication.
    • This command can be implemented only when the links between the primary and secondary storage arrays in the remote replication is normal.
    • This command can be implemented only when modification of the timeout period is supported by the primary and secondary storage arrays in the remote replication.

Example

  • Change the recovery policy of remote replication "9747215445131264" to "automatic".
    admin:/>change remote_replication general remote_replication_id=9747215445131264 recovery_policy=automatic 
    Command executed successfully.
  • Change the speed of remote replication "9747215445131264" to "Highest".
    admin:/>change remote_replication general remote_replication_id=9747215445131264 synchronization_rate=Highest 
    WARNING: You are about to change the synchronization speed to the highest. 
    After the operation, data of the remote replication pair will be synchronized at the highest speed. As a result, the host latency may increase and the synchronization relationship of the remote replication pair may be interrupted. 
    Suggestion: Select a lower synchronization speed. If you select the highest speed, check the capabilities of the local and remote devices and the replication link bandwidth. You are advised to select the highest synchronization speed during off-peak hours. 
    Have you read danger alert 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-16

Document ID: EDOC1100049140

Views: 123676

Downloads: 155

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