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

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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

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_synchoronize_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".
  • For 2200 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 2200 V3, the unit is minute.

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

Enables or disables 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 asynchronous remote replication.
  • "cloud": creates cloud-based asynchronous remote replication.

Level

Administrator

Usage Guidelines

None

Example

Create a remote replication 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 the primary and secondary lun{0}. 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)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-12

Document ID: EDOC1000138390

Views: 228195

Downloads: 150

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