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 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. 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).
change remote_replication file_system

change remote_replication file_system

Function

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

Format

change remote_replication file_system remote_replication_id=? { compress_enable=? | recovery_policy=? | synchronization_rate=? | synchronization_type=? [ schedule_rule=? time_of_week=? time_of_day=? time_of_hour=? | timing_length=? timing_unit=? ] [ vstore_pair_id=? ] [ 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_replication_id=?

Remote replication ID.

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

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 file system to the secondary file system.
  • "manual": When links are recovered, the remote replication needs to be resumed manually. The secondary file system retains the state preserved at the time when links are interrupted. Data is not automatically synchronized from the primary file system to the secondary file system.

compress_enable=?

Whether to enable compression.

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

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

synchronization_type=?

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

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.

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.

schedule_rule=?

Specifies the time policy.

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.

The value ranges from Monday to Sunday and 00:00 to 23:59.

time_of_day=?

Time when the synchronization is performed every day.

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

time_of_hour=?

Time when the synchronization is performed every hour.

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 is an integer ranging from 5 to 1440, expressed in minutes.

timing_unit=?

Unit of the synchronization period.

The value is "minute".

vstore_pair_id=?

Remote replication vStore pair ID.

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

slv_total_snap_number=?

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

The value ranges from 1 to 2045.

slv_hourly_snap_number=?

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

The value ranges from 0 to 2045.

slv_weekly_snap_number=?

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

The value ranges from 0 to 2045.

slv_monthly_snap_number=?

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

The value ranges from 0 to 2045.

slv_daily_snap_number=?

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

The value ranges from 0 to 2045.

is_sync_snap=?

Whether to synchronize snapshots.

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

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

Level

Administrator

Usage Guidelines

None

Example

Change the recovery policy of remote replication "9747215445131264" to "automatic".

admin:/>change remote_replication file_system remote_replication_id=9747215445131264 recovery_policy=automatic 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 322356

Downloads: 41

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