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).
create remote_replication general

create remote_replication general

Function

The create remote_replication general command is used to create a remote replication.

Format

create remote_replication general replication_model=? lun_id=? remote_device_id=? secondary_lun_id=? [ is_data_sync=? ] [ is_standby=? ] [ recovery_policy=? ] [ synchronization_rate=? ] [ synchronization_type=? ] [ timing_length=? ] [ timing_unit=? ] [ start_synchronize_after_create=? ] [ compress_enable=? ] [ remote_io_timeout_period=? ] [ replication_type=? ]

Parameters

Parameter

Description

Value

replication_model=?

Remote replication mode.

The value can be:

  • "synchronization": indicates synchronous remote replication.
  • "asynchronization": indicates asynchronous remote replication.

lun_id=?

Primary LUN ID.

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

remote_device_id=?

Remote device ID.

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

secondary_lun_id=?

Secondary LUN ID.

To obtain the value, run "show remote_lun general array_type=replication remote_device_id=?".

is_data_sync=?

Whether data on the primary and secondary LUNs are consistent.

The value can be:

  • "yes": Data on the primary and secondary LUNs are consistent.
  • "no": Data on the primary and secondary LUNs are inconsistent.

The default value is "no".

recovery_policy=?

Recovery policy.

The value can be:

  • "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.

The default value is "automatic".

synchronization_rate=?

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=?

Synchronization type. This parameter is available only when replication_model=? is set to "asynchronization".

The value can be:

  • "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.

The default value is "manual".

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.
  • The default value is "60 minutes".

timing_unit=?

Unit of the synchronization period.

The value can be:

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

start_synchronize_after_create=?

Whether initial synchronization will be performed after a remote replication is created.

The value can be:

  • "yes": Initial synchronization will be performed.
  • "no": Initial synchronization will not be performed.

The default value is "yes".

remote_io_timeout_period=?

Timeout period of I/Os written to the secondary storage array during dual-write of synchronous remote replication. This parameter is available only when replication_model=? is set to "synchronization".

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

compress_enable=?

Whether to enable compression. This parameter is available only when replication_model=? is set to "asynchronization".

The value can be:

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

The default value is "no".

is_standby=?

Whether a standby asynchronous remote replication is created.

The value can be:

  • "no": creates a non-standby asynchronous remote replication.
  • "yes": creates a standby asynchronous remote replication.

replication_type=?

Type of the remote replication.

The value can be:

  • "comm": creates common remote replication.
  • "cloud": creates cloud-based remote replication.

Level

Administrator

Usage Guidelines

None

Example

  • Create a remote replication and set its mode to "asynchronization", primary LUN ID to "0", remote device ID to "0", and secondary LUN ID to "1".
    admin:/>create remote_replication general replication_model=asynchronization lun_id=0 remote_device_id=0 secondary_lun_id=1 
    DANGER: You are about to create a replication mapping between primary LUN and secondary LUN. The data on the secondary LUN will be overwritten by that on the primary LUN after copy, and the data on the secondary resources is unrecoverable. 
    Suggestion: Before performing this operation, ensure that all data on the secondary resources can be overwritten. 
    Have you read danger alert message carefully?(y/n) 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Create a remote replication and set its mode to "asynchronization", primary LUN ID to "0", remote device ID to "0", secondary LUN ID to "1", and speed to "Highest".
    admin:/>create remote_replication general replication_model=asynchronization lun_id=0 remote_device_id=0 secondary_lun_id=1 synchronization_rate=Highest 
    DANGER: You are about to create a replication mapping between primary and secondary resources. 
    After the replication starts, the primary resource data will overwrite the secondary resource data. If you select the highest speed for synchronization, the host latency may increase and the remote replication pair may be disconnected during synchronization. 
    Suggestion: Before performing this operation, ensure that you have selected the correct primary and secondary resources and the secondary resource is not mapped to the host. You are advised to select the highest synchronization speed to create the remote replication pair during off-peak hours. 
    Have you read danger alert message carefully?(y/n) 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100049140

Views: 103263

Downloads: 119

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