Usage Guidelines
When using this command, note the following items:
l
The command
swapsys
can be used only when the storage system is in dual-controller
mode and it's two controllers are in the normal state.
l
The interval between two operations of the
swapsys
command is at least ten seconds.
Example
Switch over the primary controller to the secondary controller.
OceanStor: admin> swapsys
This operation will affect services.
Do you want to continue? y or n: y
The command has been sent, please wait...
4.7.2 showmaster
Function
The command
showmaster
is used to query the primary and secondary state of the controller
that the user logs in to.
Format
showmaster
Parameters
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
The command can be used only when the storage system is in dual-controller mode and it's two
controllers are in the normal state.
Example
Query the primary and secondary state of the controller that the user admin logs in to.
OceanStor: admin> showmaster
the controller you log in is master controller!
4 System Management Commands
OceanStor S2600 Storage System
Command Reference
4-30
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)