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

X6800 Server Node iBMC (V300 or Later) User Guide 07

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).
Simulating Events (precisealarm)

Simulating Events (precisealarm)

Function

The precisealarm command is used to simulate the events defined by the iBMC.

Format

ipmcset -t precisealarm -d mock -v {eventcode |stopall} [subjectindex] eventstatus

Parameters

Parameter Description Value
eventcode Specifies the code of the event to be simulated.
  • 0xffffffff: simulates all iBMC events.
  • 0x**ffffff: simulates all the events of a specific object type. ** indicates the object type.
  • Event code: simulates the event identified by the event code.
NOTE:
  • The first byte in the event code indicates the object type. For example, in the event code 0x02000007, 02 indicates the object type, which is Disk.
  • For details about the object types, see Alarm Handling of the server you use.
stopall Stops all the events being simulated.
subjectindex Specifies the number of the event corresponding to the specified subject type.

Obtain the event number as follows:

  1. Query all the events of the event code.
  2. Obtain the event number based on the specified subject type.
eventstatus Indicates the status of the event.
  • assert: generates an event.
  • deassert: clears an event.

Usage Guidelines

The iBMC version 2.90 or later supports this command.

  • When eventcode is 0xffffffff or 0x**ffffff, the subjectindex parameter cannot be specified.

  • When eventcode is an event code, subjectindex can be specified to simulate an event for the specified object.

Example

# Simulate an event with the event code of 0x2C000025.

iBMC:/->ipmcset -t precisealarm -d mock -v 0x2C000025 assert
Precise alarm mock successfully.
Translation
Download
Updated: 2019-02-28

Document ID: EDOC1100019360

Views: 77238

Downloads: 384

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