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

create remote_replication general

Function

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

Format

create remote_replication general replication_model=? lun_id=? remote_device_id=? secondary_lun_id=? [ is_data_sync=? ] [ recovery_policy=? ] [ synchronization_rate=? ] [ synchronization_type=? ] [ timing_length=? ] [ timing_unit=? start_synchoronize_after_create=? ] [ compress_enable=? ]

Parameters

Parameter

Description

Value

replication_model=? Remote replication mode.

The value can be:

  • "synchronization": indicates synchronous remote replication.
  • "asynchronization": indicates asynchronous remote replication.
compress_enable=? Enables or disables compression. This parameter is available only when replication_model=? is set to "asynchronization".

The value can be:

  • "yes": Compression will be enabled.
  • "no": Compression will not be enabled.
The default value is "no".
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".
  • For

    Usage Guidelines

    None.

    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

    None.

    V3, the unit is minute.
start_synchoronize_after_create=? Whether initial synchronization will be performed after a remote replication pair is created.

The value can be:

  • "yes": Initial synchronization will be performed.
  • "no": Initial synchronization will not be performed.
The default value is "yes".

Level

Administrator

Usage Guidelines

None.

Example

Create a remote replication pair and set its mode to "synchronization", primary LUN ID to "0", remote device ID to "0", and secondary LUN ID to "1".

admin:/>create remote_replication general replication_model=synchronization 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.
Suggestion: Before you perform this operation, ensure that you select the right primary and secondary LUNs and the secondary LUN is not being accessed by the host.
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-22

Document ID: EDOC1000084195

Views: 367732

Downloads: 1594

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