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

Advanced O&M 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, 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 clear_difference

change remote_replication clear_difference

Function

The change remote_replication clear_difference command is used to delete the logs of incremental data on the secondary LUN.

Format

change remote_replication clear_difference operation=? remote_replication_id=?

Parameters

Parameter

Description

Value

remote_replication_id=?

Indicates the ID of a remote replication.

To obtain the value, run the "show remote_replication general" command without any parameters.

operation=?

Indicates the operation.

The value can be "recycle" or "unrecycle", where

  • recycle: to start recycling the logs.
  • unrecycle: to stop recycling logs.

Views

Developer view

Usage Guidelines

  • This command is used to delete the logs of incremental data on the secondary LUN of a remote replication. Run this command in two steps:
    • Run the "change remote_replication clear_difference operation=recycle remote_replication_id=? " command first.
    • Run the "change remote_replication clear_difference operation=unrecycle remote_replication_id=? " command. The logs of incremental data on the secondary LUN can be deleted only after the two commands are executed successfully.
  • Use this command under R&D engineers' guidance.

Example

  • To start deleting the logs of incremental data on the secondary LUN of remote replication 0, run the following command.
    developer:/>change remote_replication clear_difference operation=recycle remote_replication_id=0 
    DANGER:You are about to delete the logs of the incremental data from the secondary LUN of a remote replication. If write operations have been performed on the secondary LUN, this operation may cause data inconsistency between the primary and secondary LUNs. 
    Suggestion: Contact technical engineers before performing this operation. 
    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.
  • To stop deleting the logs of incremental data on the secondary LUN of remote replication 0, run the following command:
    developer:/>change remote_replication clear_difference operation=unrecycle remote_replication_id=0 
    Command executed successfully. 
     

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 627728

Downloads: 55

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