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

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
show alarm

show alarm

Function

The show alarm command is used to query alarms generated by the storage system.

Format

show alarm { from_time=? | to_time=? | level=? | number=? | sequence=? | object_type=? | alarm_state=? | root_cause_sequence=? } *

Parameters

Parameter

Description

Value

from_time=?

Start time to query alarms. All alarms generated later than this point in time will be displayed.

NOTE:

Enter local time for from_time.

The value is in the format of "year-month-day/hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 59.

to_time=?

End time to query alarms. All alarms generated earlier than this point in time will be displayed.

NOTE:

Enter local time for to_time.

The value is in the format of "year-month-day/hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 59.

level=?

Alarm severity.

The value can be "warning", "major", "critical", where:

  • "warning": The log message is for warning.
  • "major": The log message is major.
  • "critical": The log message is critical.

number=?

Number of alarms that you want to query. When you specify this parameter, you can query a specific number of latest alarms.

The value is an integer ranging from 1 to 10000.

sequence=?

Alarm sequence number. To obtain the value, run "show alarm" without parameters.

The value is an integer between 1 and 4294967295.

object_type=?

Alarm object type.

The value is an integer ranging from 0 to 65535.

alarm_state=?

Alarm of specified status.

NOTE:

This parameter can be used in the developer view only.

The value can be "all" or "reported", where:

  • "all": Alarms that are reported and suppressed are displayed.
  • "reported": Alarms that are reported are displayed.

The default value is "reported".

root_cause_sequence=?

Sequence number of a root cause alarm.

NOTE:

This parameter can be used in the developer view only.

The value is an integer between 1 and 4294967295.

Level

Guest

Usage Guidelines

  • The allowed querying period is 2000-01-01/00:00:01 to 2035-12-31/23:59:59 in UTC.
  • If too many alarms are displayed, press "q" to stop and exit the display.
  • "sequence" and other parameters are mutually exclusive. That is, you cannot use them at the same time. Except that in the developer view, "sequence" can be used together with "alarm_state".
  • The "alarm_state" and "root_cause_sequence" can be used in the developer view only.
  • When alarms are queried in the developer view, a "Alarm State" parameter will be displayed.
  • When the "sequence" parameter is used in the developer view and the child alarms are queried, the "Root Cause Sequence" will be displayed.

Example

  • Query existing alarms generated by the storage system.
    admin:/>show alarm 
      Sequence      Level          Occurred On                    Name                              ID           Alarm Object Type 
      ------------  -------------  -----------------------------  --------------------------------  -----------  ----------------- 
      102632        Critical       2015-07-31/18:59:36 UTC+08:00  Failed To Monitor The Controller  0xF00CF0014  207                 
      101941        Major          2015-07-31/15:51:28 UTC+08:00  License Has Expired               0xF0C90002 244 
      100055        Major          2015-07-31/12:14:37 UTC+08:00  Power Module Has No Input         0xF00170014  23
  • Query all alarm information in the developer view.
    developer:/>show alarm alarm_state=all 
      Sequence      Level          Occurred On                    Name                              ID           Alarm Object Type  Alarm State 
      ------------  -------------  -----------------------------  --------------------------------  -----------  -----------------  --------- 
      102632        Critical       2015-07-31/18:59:36 UTC+08:00  Failed To Monitor The Controller  0xF00CF0014  207                Reported 
      101941        Major          2015-07-31/15:51:28 UTC+08:00  License Has Expired               0xF0C90002 244                Waiting Root 
      100055        Major          2015-07-31/12:14:37 UTC+08:00  Power Module Has No Input         0xF00170014  23                 Blocking 
      100054        Major          2015-07-31/12:14:37 UTC+08:00  Power Module Has No Input         0xF00170014  23                 Waiting Recovery 
      100053        Major          2015-07-31/12:14:37 UTC+08:00  Power Module Has No Input         0xF00170014  23                 Suspending
  • Query child alarms based on the parent alarm in the developer view.
    developer:/>show alarm root_cause_sequence=5970 
      Sequence      Level          Occurred On                    Name                                           ID           Alarm Object Type  Root Cause Sequence 
      ------------  -------------  -----------------------------  ---------------------------------------------  -----------  -----------------  ------------------- 
      5969          Major          2016-01-04/22:25:50 UTC+08:00  External LUN Has Links To Only One Controller  0xF000B0063  11                 5970
  • Query alarms by specifying the SN in the developer view.
    developer:/>show alarm sequence=5969 alarm_state=all 
      Sequence            : 5969 
      Level               : Major 
      Occurred On         : 2016-01-04/22:25:50 UTC+08:00 
      ID                  : 0xF000B0063 
      Name                : External LUN Has Links To Only One Controller 
      Detail              : External LUN(heterogeneous array ID 10, vendor 30, product model --, external LUN WWN 20) has links to only one controller. 
      Repair Suggestion : Step1 Check whether only one controller has a link to the external LUN. 
                            1.1 If yes, connect the link based on the standard network in the related product manual. 
                            1.2 If no=>[Step2]. 
                            Step2 Check whether the initiator of a link is removed. 
                            2.1 If yes, add the initiator back. 
                            2.2 If no=>[Step3]. 
                            Step3 Check whether the mapping of the corresponding external LUN has been deleted. 
                            3.1 If yes, add the mapping. 
                            3.2 If no=>[Step4]. 
                            Step4 Collect related event information and contact technical support. 
      Root Cause Sequence : 5970 
      Alarm State         : Blocking
  • Query the alarms generated later than 15:51:28 on July 31, 2015.
    admin:/>show alarm from_time=2015-07-31/15:51:28 
      Sequence      Level          Occurred On                    Name                              ID           Alarm Object Type 
      ------------  -------------  -----------------------------  --------------------------------  -----------  ----------------- 
      102782        Critical       2015-07-31/19:14:42 UTC+08:00  Failed To Monitor The Controller  0xF00CF0014  207                 
      101941        Major          2015-07-31/15:51:28 UTC+08:00  License Has Expired               0xF0C90002 244

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Sequence

Alarm sequence number.

Level

Alarm severity.

Occurred On

Alarm occurrence time.

ID

Alarm ID.

Name

Alarm name.

Detail

Alarm details.

Repair Suggestion

Alarm handling suggestion.

Alarm Object Type

Alarm object type.

Alarm State

Alarm inner state.

Root Cause Sequence

Sequence number of the root cause alarm.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181601

Views: 310454

Downloads: 39

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