4. CHECKING THE HARDWARE STATUS
4-12
4.2 RAS Event Notification
4.2.1 Overview
When an event that must be reported to a user such as hardware failure occurs, this
function notifies the event to an application by setting an event object to the signaled state.
An application can detect an event such as hardware failure by monitoring when the event
object is set to the signaled state.
The event object is reset to the nonsignaled state when the cause of the event is cleared.
4.2.2 Detecting an event
Follow the procedure below to detect an event:
1. Use the OpenEvent Windows API function to get the handle to the event object.
Specify SYNCHRONIZE for the parameter dwDesiredAccess (the access to the event
object).
2. Use the WaitForSingleObject or WaitForMultipleObject Windows API function to
monitor when the event object is set to the signaled state.
Table 4-6 is a list of events to be reported to a user and their respective event objects.
Table 4-6 Reported Events
No.
Event
Event object name
1 A PS fan failure occurred.
W2KRAS_PSFAN_ERR_EVENT
2 A front fan failure occurred.
W2KRAS_FTFAN_ERR_EVENT
3 A CPU fan failure occurred.
W2KRAS_CPUFAN_ERR_EVENT
4
The temperature inside the chassis became
abnormal.
W2KRAS_TEMP_ERR_EVENT
5 A remote shutdown request was generated.
W2KRAS_RMTSTDN_EVENT
6 SMART anticipated failure in one of the drives.
W2KRAS_HDD_PREDICT_EVENT
7
The power-on (=used) hours exceeded the
threshold in one of the drives.
HFW_HDD_OVERRUN_EVENT
8
A frequent error correction occurredin one of the
memory slots.
HFW_MEMORY_ERR_EVENT
9 The RAID status is normal.
HFW_RAID_OPTIMAL_EVENT
10 The RAID status is not normal.
HFW_RAID_DEGRADE_EVENT
No.6: This includes the case that getting the failure prediction status of the drive fails.
Nos. 9 and 10: Apply to D Model only.
No.10: This is also applicable when media errors are configured to be reported.
NOTE
When you use an event object in a program, you need to add “Global\” to the
beginning of the name of the event object.
Содержание HF-W7500 40
Страница 1: ...WIN 63 0090 03 ...
Страница 2: ...WIN 63 0090 03 ...
Страница 23: ...This page is intentionally left blank ...
Страница 105: ...This page is intentionally left blank ...
Страница 145: ...This page is intentionally left blank ...
Страница 161: ...This page is intentionally left blank ...