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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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 unified

create remote_replication unified

Function

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

Format

create remote_replication unified replication_model=? [ remote_device_id=? ] [ lun_id=? ] [ file_system_id=? ] [ secondary_lun_id=? ] [ secondary_file_system_id=? ] [ is_standby=? ] [ is_data_sync=? ] [ recovery_policy=? ] [ synchronization_rate=? ] [ synchronization_type=? ] [ schedule_rule=? ] [ time_of_week=? ] [ time_of_day=? ] [ time_of_hour=? ] [ timing_length=? ] [ timing_unit=? ] [ start_synchronize_after_create=? ] [ compress_enable=? ] [ remote_io_timeout_period=? ] [ vstore_pair_id=? ] [ is_local_pair=? ] [ replication_type=? ] [ is_sync_snap=? ] [ slv_total_snap_number=? ] [ slv_hourly_snap_number=? ] [ slv_daily_snap_number=? ] [ slv_weekly_snap_number=? ] [ slv_monthly_snap_number=? ]

Parameters

Parameter

Description

Value

remote_device_id=?

Remote device ID.

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

lun_id=?

Primary LUN ID. This parameter is used to create LUN-based remote replications only.

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

secondary_lun_id=?

Secondary LUN ID. This parameter is used to create LUN-based remote replications only.

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

file_system_id=?

Primary file system ID. This parameter is used to create file system-based remote replications only.

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

secondary_file_system_id=?

Secondary file system ID. This parameter is used to create file system-based remote replications only.

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

is_data_sync=?

Whether data on the primary and secondary resources are consistent. This parameter is used to create LUN-based remote replications only.

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

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

recovery_policy=?

Recovery policy.

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

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

The default value is "manual".

synchronization_rate=?

Synchronization rate.

The value can be "Low", "Middle", "High" or "Highest", where:

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

replication_model=?

Remote replication mode.

The value for LUN-based remote replications can be "synchronization" or "asynchronization", where:

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

The value for file system-based remote replications is "asynchronization", indicating asynchronous remote replication.

synchronization_type=?

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

The value can be "manual", "timed_wait_when_synchronization_begins", "timed_wait_when_synchronization_ends" or "auto", 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.
  • "auto": The system determines data synchronization.

The default value is "manual". The value of "auto" is only valid for creating remote replications of file systems.

schedule_rule=?

Specifies the time policy. This parameter is used to create file system-based remote replications only.

The value can be "hourly", "daily", or "weekly", where:

  • "hourly": synchronizes data every hour.
  • "daily": synchronizes data every day.
  • "weekly": synchronizes data every week.

time_of_week=?

Time when the synchronization is performed every week. This parameter is used to create file system-based remote replications only.

The value ranges from Monday to Sunday and 00:00 to 23:59. For example: <mon>00:23.

time_of_day=?

Time when the synchronization is performed every day. This parameter is used to create file system-based remote replications only.

The value ranges from 00:00 to 23:59.

time_of_hour=?

Time when the synchronization is performed every hour. This parameter is used to create file system-based remote replications only.

The value is an integer ranging from 0 to 59.

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 for LUN-based remote replications can be:

  • The value ranges from 1 to 1440, expressed in minutes.
  • The value ranges from 3 to 59, expressed in seconds.

The value for file system-based remote replications ranges from 5 to 1440, expressed in minutes.

timing_unit=?

Unit of the synchronization period.

The value for LUN-based remote replications can be "minute" or "second", where:

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

The value for file system-based remote replications 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".

compress_enable=?

Whether to enable compression.

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

  • "yes": enable compression.
  • "no": disable compression.

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.

vstore_pair_id=?

Remote replication vStore pair ID.

The value is a character string consisting of digits and letters.

is_local_pair=?

Whether the pair is local. This parameter is used to create file system-based remote replications only.

The value can be:

  • "yes": local replication pair.
  • "no": remote replication pair.

is_standby=?

Whether a standby asynchronous remote replication is created.

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

is_sync_snap

Whether to synchronize snapshots.

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

  • "yes": synchronizes snapshots.
  • "no": does not synchronize snapshots.

slv_total_snap_number

Total number of snapshots that can be retained on the secondary end.

The value is an integer ranging from 1 to 2045.

slv_hourly_snap_number

Number of snapshots that are retained on the secondary end by hour.

The value is an integer ranging from 0 to 2045.

slv_daily_snap_number

Number of snapshots that are retained on the secondary end by day.

The value is an integer ranging from 0 to 2045.

slv_weekly_snap_number

Number of snapshots that are retained on the secondary end by week.

The value is an integer ranging from 0 to 2045.

slv_monthly_snap_number

Number of snapshots that are retained on the secondary end by month.

The value is an integer ranging from 0 to 2045.

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 unified replication_model=synchronization remote_device_id=0 lun_id=0 secondary_lun_id=1 
DANGER: You are about to create a replication mapping between. The data on the secondary resource will be overwritten by that on the primary resource after copy. 
Suggestion: Before performing this operation, ensure that you select the right primary and secondary resources and the secondary resource 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-11

Document ID: EDOC1000181601

Views: 310166

Downloads: 39

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