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 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).
create hyper_metro_pair unified

create hyper_metro_pair unified

Function

The create hyper_metro_pair unified command is used to create a HyperMetro pair.

Format

create hyper_metro_pair unified { domain_id=? | vstore_pair_id=? } { lun_id=? | file_system_id=? } { secondary_lun_id=? | secondary_file_system_id=? } [ no_synchronize=? ] [ recovery_policy=? ] [ synchronization_rate=? ]

Parameters

Parameter

Description

Value

domain_id=?

ID of the HyperMetro domain. If the "domain_id" parameter is specified, you must specify the "lun_id" parameter.

Run the "show hyper_metro_domain general" command without parameters to obtain the value.

vstore_pair_id=?

ID of the HyperMetro vStore pair. If the "vstore_pair_id" parameter is specified, you must specify the "file_system_id" parameter.

Run the "show hyper_metro_vstore_pair general" command without parameters to obtain the value.

lun_id=?

ID of the primary LUN. If the "lun_id" parameter is specified, you must specify the "secondary_lun_id" parameter.

Run the "show lun general" command without parameters to obtain the value.

secondary_lun_id=?

ID of the secondary LUN.

Run the "show remote_lun general array_type=replication remote_device_id=?" command to obtain the value.

file_system_id=?

ID of the primary file system. If the "file_system_id" parameter is specified, you must specify the "secondary_file_system_id" parameter.

Run the "show file_system general" command without parameters to obtain the value.

secondary_file_system_id=?

ID of the secondary file system.

Run the "show remote_fs general rss_type=hyper_metro array_type=replication remote_device_id=?" command to obtain the value.

no_synchronize=?

Whether synchronization is required after the pair is created (valid for LUNs only).

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

  • "yes": Synchronization is not required.
  • "no": Synchronization is required.

The default value is "no".

recovery_policy=?

Recovery policy.

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

  • "automatic": automatic recovery policy. Data will be automatically synchronized after faults are rectified.
  • "manual": manual recovery policy.

Data needs to be manually synchronized after faults are rectified. The default value is "automatic".

synchronization_rate=?

Synchronization rate.

The value is "Low", "Middle", "High", or "Highest", where:

  • "Low": low rate.
  • "Middle": medium rate.
  • "High": high rate.
  • "Highest": the highest rate.

The default value is "Middle".

Level

Administrator

Usage Guidelines

None

Example

  • Create a HyperMetro pair.
    admin:/>create hyper_metro_pair unified domain_id=1 lun_id=1 secondary_lun_id=2 
    DANGER: You are about to create a HyperMetro pair. This operation will cause the data on the local resource to overwrite that on the remote resource. 
    Suggestion: Before performing this operation, ensure that the parameters are correct to prevent data overwriting. 
    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.
  • Create a HyperMetro pair.
    admin:/>create hyper_metro_pair unified domain_id=1 lun_id=1 secondary_lun_id=2 synchronization_rate=Highest 
    DANGER: You are about to create a HyperMetro pair. This operation will cause the data on the local resource to overwrite that on the remote resource. 
    If you perform synchronization at the "Highest" speed, check the performance of remote devices and whether the link bandwidth between local and remote arrays is sufficient. If you select the "Highest" synchronization speed, the host latency may increase, and HyperMetro pairs will be disconnected during synchronization. You are advised to select the "Highest" synchronization speed only during off-peak hours. 
    Suggestion: Before performing this operation, ensure that the parameters are correct to prevent data overwriting. 
    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.
  • Create a HyperMetro pair.
    admin:/>create hyper_metro_pair unified domain_id=1 lun_id=1 secondary_lun_id=2 no_synchronize=yes 
    DANGER: You are about to create a HyperMetro pair. This operation will cause the data on the local resource to overwrite that on the remote resource. 
    If you do not perform initial synchronization, ensure that the local and remote resources have the same data. Otherwise, data inconsistency occurs, resulting in service access exceptions. 
    Suggestion: Before performing this operation, ensure that parameters are configured correctly to prevent data overwriting. 
    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.
  • Create a HyperMetro pair.
    admin:/>create hyper_metro_pair unified domain_id=1 lun_id=1 secondary_lun_id=2 synchronization_rate=Highest no_synchronize=yes 
    DANGER: You are about to create a HyperMetro pair. This operation will cause the data on the local resource to overwrite that on the remote resource. 
    If you do not perform initial synchronization, ensure that the local and remote resources have the same data. Otherwise, data inconsistency occurs, resulting in service access exceptions. 
    If you perform synchronization at the "Highest" speed, check the performance of remote devices and whether the link bandwidth between local and remote arrays is sufficient. If you select the "Highest" synchronization speed, the host latency may increase, and HyperMetro pairs will be disconnected during synchronization. You are advised to select the "Highest" synchronization speed only during off-peak hours. 
    Suggestion: Before performing this operation, ensure that the parameters are correct to prevent data overwriting. 
    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: 237766

Downloads: 150

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