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

OceanStor 9000 V5 7.0 Command Reference 03

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 general

change remote_replication general

Function

The change remote_replication general command is used to modify a remote replication pair.

Format

change remote_replication general <id> [name=?] [recovery_policy=?] [sync_rate=?] [secondary_snapshot_expire_type=by_time] [secondary_snapshot_expire_unit=?] [secondary_snapshot_expire_size=?] [synchronize_type=auto_start_timing\auto_end_timing] [sync_cycle=?]

change remote_replication general <id> [name=?] [recovery_policy=?] [sync_rate=?] [secondary_snapshot_expire_type=never] [synchronize_type=manual]

change remote_replication general <id> [second_res_access=?]

Parameters

Parameter

Description

Value

id Pair ID

The value is a combination of numbers, and is 1 to 128 characters in length.

name Pair name

The value is a combination of numbers, letters, hyphens (-), dot (.), and underscores (_) and is 1 to 39 characters in length.

recovery_policy Recovery policy

auto: Automatic recovery policy.

manual: Manual recovery policy.

sync_rate Speed

Low: Slow speed.

Middle: Medium speed.

High: Fast speed.

Highest: Extremely fast speed.

secondary_snapshot_expire_type Secondary directory snapshot retention type

never: Secondary directory snapshot never ages.

by_time: Secondary directory snapshot ages with time.

secondary_snapshot_expire_unit Secondary directory snapshot retention unit

The secondary_snapshot_expire_unit must be set when secondary_snapshot_expire_type is set as by_time.

day: The unit is day.

week: The unit is week.

month: The unit is month.

secondary_snapshot_expire_value Secondary directory snapshot retention size

The secondary_snapshot_expire_value must be set when secondary_snapshot_expire_type is set as by_time.

The value is an integer between "1" and "360" when secondary_snapshot_expire_unit is day;

The value is an integer between "1" and "51" when secondary_snapshot_expire_unit is week;

The value is an integer between "1" and "12" when secondary_snapshot_expire_unit is month;

synchronize_type Synchronization method

manual: Replication pair must be started manually

auto_start_timing: The synchronization automatically starts when a cycle starts.

auto_end_timing: The synchronization automatically starts when a cycle ends

sync_cycle Interval

The sync_cycle must be set when synchronize_type is set as auto_start_timing or auto_end_timing.

The value is an integer between "15" and "1440".

second_res_access Secondary directory write protection

read_only: Enable secondary directory write protection.

read_write: Disable secondary directory write protection.

Level

Resource administrator

Usage Guidelines

None

Example

  • Modify a remote replication pair.

    admin:/>change remote_replication general 17891322866609717578 name=41556 recovery_policy=auto sync_rate=Low secondary_snapshot_expire_type=by_time day 30 synchronize_type=auto_start_timing 40
    Command executed successfully.
  • Modify a remote replication pair.

    admin:/>change remote_replication general 17891322866609717578 name=41556 recovery_policy=auto sync_rate=Low secondary_snapshot_expire_type=never synchronize_type=manual
    Command executed successfully.
  • Modify a remote replication pair.

    admin:/>change remote_replication general 17891322866609717578 second_res_access=read_write
    DANGER: You are about to disable secondary directory write protection of the remote replication.
    This operation makes the remote replication pair invalid and rolls back data in the secondary directory to the status when the latest consistency snapshot was created if WORM properties are configured for the remote replication directories.
    Before performing this operation, ensure that secondary directory write protection of the remote replication needs to be disabled.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24949

Downloads: 7

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