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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
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).
show hyper_metro_pair cfg_switch

show hyper_metro_pair cfg_switch

Function

The show hyper_metro_pair cfg_switch command is used to query the switch status of configuration synchronization for HyperMetro pairs.

Format

show hyper_metro_pair cfg_switch pair_id=? partition_type=? option_type=?

Parameters

Parameter

Description

Value

pair_id

HyperMetro pair ID.

Run the "show hyper_metro_pair general" command to obtain the value.

partition_type

Type of a configuration synchronization partition.

  • "nfs_share": NFS share partition.
  • "smb_share": SMB share partition.
  • "quota": quota partition.
  • "fs_cfg": file system configuration partition.

option_type

Option type ID.

  • For an NFS share partition, the value is "0".
  • For an SMB share partition, the value is "0" or "1".
  • For a quota partition, the value is "0".
  • For a file system configuration partition, the value is "0" or "1".

Views

Developer view

Usage Guidelines

None

Example

Query the switch status of the configuration synchronization partition for a specified HyperMetro pair. The pair ID is "200bc79b99520000", partition_type is "NFS_share", and option_type is "0".

developer:/>show hyper_metro_pair cfg_switch pair_id=200bc79b99520000 partition_type=nfs_share option_type=0 
  Switch Status : On

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Switch Status

Switch status: "off" and "on".

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 638056

Downloads: 256

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