change hyper_metro_vstore_pair cfg_switch
Function
The change hyper_metro_vstore_pair cfg_switch command is used to modify the switch status of configuration synchronization for a specified vStore pair.
Format
change hyper_metro_vstore_pair cfg_switch pair_id=? partition_type=? option_type=? switch=?
Parameters
Parameter |
Description |
Value |
---|---|---|
pair_id=? |
HyperMetro vStore pair ID. |
To obtain the value, run the "show hyper_metro_vstore_pair general" command. |
partition_type |
Type of a configuration synchronization partition. |
|
option_type |
Option type ID. |
|
switch |
Switch status. |
The value can be "on" or "off". |
Views
Developer view
Usage Guidelines
Run this command under the guidance of R&D engineers. Modifying the switch status may result in inconsistency of active and standby configurations. Modify the switch status only when the link status is normal.
Example
Modify the switch status of the configuration synchronization partition for a specified HyperMetro vStore pair. The pair ID is "200bc79b99520000", partition_type is "NFS_V3", option_type is "0", and the switch status is "Off".
developer:/>change hyper_metro_vstore_pair cfg_switch pair_id=200bc79b99520000 partition_type=nfs_v3 option_type=0 switch=off
DANGER: You are about to perform maintenance on the vStor configuration. This operation will lead to the inconsistency of user configuration between the two end of a vStor pair. When the vStor pair link is normal, this operation can change the status of the vStor pair configuration synchronization switch to "enabled" or "disabled". The switch is enabled by default. When the switch is disabled, user's configuration on the local end of the vStor pair only takes effect on the local end and will not be synchronized to the remote end. User configuration is not forbidden on the remote end.
Suggestion: Before the operation, contact the engineers and perform all the operations under their guidance. Besides, confirm that:
1. No other user is performing configuration on the system.
2. The input operation parameters are correct.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