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).
delete remote_replication

delete remote_replication

Function

The delete remote_replication command is used to delete a specific remote replication.

Format

delete remote_replication remote_replication_id=? [ is_local_delete=? ] [ is_restore_secondary_lun_when_delete=? ] [ is_restore_secondary_fs_when_delete=? ]

Parameters

Parameter

Description

Value

remote_replication_id=?

ID of a remote replication.

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

is_local_delete=?

Whether a remote replication can be locally deleted when the link is down.

The value can be:

  • "yes": The remote replication task can be locally deleted.
  • "no": The remote replication task cannot be locally deleted.

The default value is "no".

is_restore_secondary_lun_when_delete=?

Whether data on the secondary LUN needs to be rolled back to ensure data consistency when you delete a remote replication. This parameter is used to delete LUN-based remote replications only.

The value can be:

  • "yes": to ensure the consistency of the data on the secondary LUN.
  • "no": not to ensure the consistency of the data on the secondary LUN.

The default value is "yes", where data on the secondary LUN will be forcibly rolled back if data inconsistency occurs before the remote replication is deleted.

is_restore_secondary_fs_when_delete=?

Whether data on the secondary file system needs to be rolled back to ensure data consistency when you delete a remote replication. 1:This parameter is used to delete file system-based remote replications only. 2:OceanStor 2200 V3 (8 GB memory per controller) do not support this parameter.

The value can be:

  • "yes": to ensure the consistency of the data on the secondary file system.
  • "no": not to ensure the consistency of the data on the secondary file system.

The default value is "yes", where data on the secondary file system will be forcibly rolled back if data inconsistency occurs before the remote replication is deleted.

Level

Administrator

Usage Guidelines

Before running this command, ensure that the selected remote replication task is exactly the one you want to delete.

Example

To delete remote replication "9747215445131264", run the following command:

admin:/>delete remote_replication remote_replication_id=9747215445131264 
WARNING: You are about to delete remote replication. This operation will delete the replication relationships between the primary resource and all secondary resources in the remote replication, and this operation cannot be undone. If you want to ensure that the secondary resources can be used, use is_restore_secondary_lun_when_delete=yes or is_restore_secondary_fs_when_delete=yes. 
Suggestion: Before performing this operation, confirm that you have selected the correct remote replication. 
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: 227644

Downloads: 150

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