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

OceanStor 9000 V5 7.0 Command Reference 03

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 alarm

show alarm

Function

The show alarm command is used to query current alarms.

Format

show alarm <alarm_sequence> < alarm_count > [alarm_id=?] [alarm_level=?] [alarm_time=?] [alarm_objtype=?] [alarm_objid=?] [sortby=?] [sorttype=?] [range_begin=?] [range_end=?]

Parameters

Parameter

Description

Value

alarm_sequence Alarm serial number.

The value is an integer ranging from 0 to 4294967295.

alarm_count Number of alarms that you want to query.

The value is an integer ranging from 1 to 100.

alarm_id Alarm ID.

The value contains 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.).

alarm_level Alarm severity.
  • critical.
  • major.
  • warning.
  • info.
alarm_time Time when an alarm occurs.

The value is in the yyyy-mm-dd format and ranges from 1970-01-01 to 2068-12-31.

alarm_objtype Alarm object type.
  • CLUSTER: the alarm object is a cluster.
  • NODE: the alarm object is a node.
alarm_objid Alarm object ID.

The value can contain 1 to 127 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).

When the alarm_objtype parameter is set to NODE, this parameter is optional.

sortby Sorting field.
  • alarm_id: alarm id.
  • alarm_level: alarm severity.
  • alarm_sequence: alarm serial number.
  • alarm_time: time when an alarm occurs.
  • alarm_objtype: type of the alarm object.
  • alarm_objid: ID of the alarm object.
sorttype Sorting type.
  • ASC: ascending.
  • DESC: descending.
When the sortby parameter is configured, this parameter is optional.
range_begin Start point of range query.

The value is an integer ranging from 0 to 4,294,967,294.

range_end End point of range query

The value is an integer ranging from 0 to 4,294,967,294.

When the range_begin parameter is configured, this parameter is optional.

Level

Read-only user

Usage Guidelines

None

Example

Query two alarms information.

admin:/>show alarm 17 2
 
  type           : fault                                                                                                                                                             
  id             : 73015099398                                                                                                                                                       
  level          : major                                                                                                                                                             
  sequence       : 35                                                                                                                                                                
  time           : 2017-04-10/22:56:29 +0800                                                                                                                                         
  clear_time     : --                                                                                                                                                                
  recovery_time  : --                                                                                                                                                                
  clear_userName :                                                                                                                                                                   
  parameter      : R6_85_86_87,C1,R6,6,210235G7JA10E2000191,04,MK0231YGG0DSBA                                                                                                        
  name           : Disk Is Faulty                                                                                                                                                    
  description    : The disk in slot (04) of device (C1) is faulty, which may affect system reliability. Device location: storage cluster (R6_85_86_87), rack (R6), enclosure (6),
                   device SN (210235G7JA10E2000191), disk SN (MK0231YGG0DSBA).
                   Possible reasons:
                   The disk is damaged or removed. 
  suggestion     : Step1 Locate the device based on the rack ID, enclosure ID, slot ID, and disk SN provided in alarm details.
                   Step2 Check whether the disk has been removed.
                           If yes=>[Step3].
                           If no=>[Step4].
                   Step3 Install a disk into the original slot. Then check whether the alarm is cleared.
                           If yes=>no further action is required.
                           If no=>[Step4].
                   Step4 Replace the malfunctioning disk. Then check whether the alarm is cleared.
                   The BOM of the parts to be replaced consists of the third to tenth digits of the Device SN value and is in the format of 0235****. Apply for spare parts based on
                   BOMs and replace faulty parts. For details, see the Parts Replacement.
                       NOTE: A disk removal causes data reconstruction. Consecutive disk removals may damage data. If you need to remove more than one disk, after removing a disk, do
                   not remove another disk until the data of the current disk is reconstructed.
                           If yes=>no further action is required.
                           If no=>[Step5].
                   Step5 If the alarm persists, contact technical support engineers. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  type           : fault                                                                                                                                                             
  id             : 73015099398                                                                                                                                                       
  level          : major                                                                                                                                                             
  sequence       : 38                                                                                                                                                                
  time           : 2017-04-11/01:24:31 +0800                                                                                                                                         
  clear_time     : --                                                                                                                                                                
  recovery_time  : --                                                                                                                                                                
  clear_userName :                                                                                                                                                                   
  parameter      : R6_85_86_87,C1,R6,6,210235G7JA10E2000191,00,JK11A1YAJE0JPV                                                                                                        
  name           : Disk Is Faulty                                                                                                                                                    
  description    : The disk in slot (00) of device (C1) is faulty, which may affect system reliability. Device location: storage cluster (R6_85_86_87), rack (R6), enclosure (6),
                   device SN (210235G7JA10E2000191), disk SN (JK11A1YAJE0JPV).
                   Possible reasons:
                   The disk is damaged or removed. 
  suggestion     : Step1 Locate the device based on the rack ID, enclosure ID, slot ID, and disk SN provided in alarm details.
                   Step2 Check whether the disk has been removed.
                           If yes=>[Step3].
                           If no=>[Step4].
                   Step3 Install a disk into the original slot. Then check whether the alarm is cleared.
                           If yes=>no further action is required.
                           If no=>[Step4].
                   Step4 Replace the malfunctioning disk. Then check whether the alarm is cleared.
                   The BOM of the parts to be replaced consists of the third to tenth digits of the Device SN value and is in the format of 0235****. Apply for spare parts based on
                   BOMs and replace faulty parts. For details, see the Parts Replacement.
                       NOTE: A disk removal causes data reconstruction. Consecutive disk removals may damage data. If you need to remove more than one disk, after removing a disk, do
                   not remove another disk until the data of the current disk is reconstructed.
                           If yes=>no further action is required.
                           If no=>[Step5].
                   Step5 If the alarm persists, contact technical support engineers.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

type

Alarm type

id

Alarm ID

level

Alarm severity

sequence

Alarm serial number

time

Time when the alarm occurs

clear_time

Time when the alarm is cleared

recovery_time

Time when the alarm is recovered

clear_userName

User name that clears the alarm

parameter

Alarm parameter

name

Alarm name

description

Alarm description

suggestion

Alarm recovery suggestion

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24819

Downloads: 7

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