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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, 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).
dlm_v2 leader show status

dlm_v2 leader show status

Function

The dlm_v2 leader show status command is used to query the primary/secondary switchover state machine of the DLM module.

Format

dlm_v2 leader show status

Parameters

None

Views

Diagnostic view

Usage Guidelines

None

Example

Query the primary/secondary switchover state machine of the DLM module.

admin:/diagnose> dlm_v2 leader show status
=========================Basic_info==========================
Local_nid: 0
Leader: 0
Wait_bitmap: 0
Recved_bitmap: 0
Fault_bitmap: 0
Fault_nodecount: 0
Cache_bitmap: 0
Msg_epoch: 1577024530
=======================Leader_Fsm_Status======================
FSM(Leader_Fsm) Current Status:
  Status              : BE_MASTER
  Status Epoch        : 1577024534
  Status Timestamp    : 12-22 14:24:30
=======================Leader_Fsm_Trans=======================
FSM(Leader_Fsm) Trans History     :
  Count statistic: Event(5), Trans(5), Record(5)
  <         Time_Stamp> <    Repeat/NEpoch>: [Old_Status] + (Input_Event) ** [New_Status]
  <2019-12-22 14:23:26> <     1/1577024530>: [BE_SLAVE] + (MASTER_SWITCH) => [WAIT_DIR] 
  <2019-12-22 14:24:30> <     1/1577024531>: [WAIT_DIR] + (DIR_RECVED) => [WAIT_DROP] 
  <2019-12-22 14:24:30> <     1/1577024532>: [WAIT_DROP] + (WAIT_DROP_DONE) => [CHECK_DLM_CLUSTER_STATUS] 
  <2019-12-22 14:24:30> <     1/1577024533>: [CHECK_DLM_CLUSTER_STATUS] + (CHECK_DLM_CLUSTER_STATUS_DONE) => [REPAIR_DLM_CLUSTER] 
  <2019-12-22 14:24:30> <     1/1577024534>: [REPAIR_DLM_CLUSTER] + (DLM_CLUSTER_REPAIRED) => [BE_MASTER]

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Local_nid

ID of the local node.

Leader

ID of the primary node.

Wait_bitmap

Bitmap when the node is being switched over to the primary node and waiting for the response.

Recved_bitmap

Bitmap when the node is being switched over to the primary node and has received the response.

Fault_nodecount

Number of faulty nodes when the node is being switched over to the primary node.

Cache_bitmap

Cache bitmap when the node is being switched over to the primary node.

Msg_epoch

Message epoch the that is being sent.

Status

Current status of the state machine.

Status Epoch

Current epoch of the state machine.

Status Timestamp

Time when the state machine entered the state.

FSM(Leader_Fsm) Trans History

Status switchover history of the state machine.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 729652

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next