A server failure determination method, system, apparatus, and medium
Patent Information
- Application Number
- CN202310076990.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2043-01-31
AI Technical Summary
[0003]现有技术中,为了确保能够采集K1 Power服务器的硬件故障,一般采用两种方法,第一种是通过人工定期到机房进行巡检,因为当K1 Power服务器发生硬件故障时,会将硬件故障所对应的故障信息传给HMC(Hardware Management Console),所以人工登录HMC可以查看K1 Power服务器发出的硬件故障,但这种方法受限于人工巡检周期的影响,难以频繁操作,导致不能及时地发现K1 Power服务器的硬件故障;第二种是通过程序主动从K1Power服务器上的AIX(Advanced Interact ive eXecut ive)操作系统上采集K1 Power服务器的硬件故障所对应的硬件故障信息,但从AIX操作系统上采集到的K1Power服务器的硬件故障信息并不是第一手信息,导致获取到的硬件故障信息不准确
[0039]本发明的目的是提供一种服务器故障确定方法、系统、装置及介质,考虑到当服务器发生硬件故障时,会将硬件故障对应的硬件故障信息传给HMC,但如果HMC出现故障,就采集不到硬件故障信息,导致不能及时的发现服务器的硬件故障,因此,本申请中,通过处理器对HMC是否发生故障进行判断,如果判定HMC未发生故障,则控制自身与HMC连接,能够及时的对服务器传给HMC的硬件故障信息进行获取并确定硬件故障信息对应的服务器的故障类型。而且从HMC上直接获取服务器的硬件故障信息比通过AIX操作系统对服务器的硬件故障信息进行获取更加准确。
Smart Images

Figure CN116028252B_ABST
Abstract
Claims
1. A method of server failure determination, the method comprising: Applied to processors, including: Obtain information corresponding to the fault status of HMC, parse the obtained information, and determine whether HMC has malfunctioned; If it is determined that the HMC is not faulty, the system controls itself to connect to the HMC, obtains the hardware fault information transmitted by the server to the HMC when a fault occurs, and determines the fault type of the server based on the hardware fault information. Specifically, when the hardware fault information includes first hardware fault information and second hardware fault information, the system receives the first hardware fault information sent by the HMC through a first preset protocol and obtains the second hardware fault information sent by the HMC through a second preset protocol. The first hardware fault information characterizes the hardware fault of the server in a first dimension, and the second hardware fault information characterizes the hardware fault of the server in a second dimension. The system then determines whether the first and second hardware fault information conform to a preset merging rule. If so, the first and second hardware fault information are merged, and the fault type of the server is determined based on the first and second hardware fault information. After determining the fault type of the server, a corresponding alarm is issued through the alarm module, and the information is stored in the database. If the HMC is determined to be faulty, the control alarm module will issue an alarm and store the fault in the database.
2. The server failure determination method of claim 1, wherein, Determining whether the HMC is faulty includes: Determine whether the HMC fault information sent by the HMC has been received; If so, then the HMC is determined to be faulty; If not, then the HMC is determined not to be faulty.
3. The server fault determination method as described in claim 1, characterized in that, Determining whether the HMC is faulty includes: Determine whether the received HMC status information sent by the HMC is the preset status information; If so, then the HMC is determined not to be faulty; If not, then the HMC is determined to be faulty.
4. The server fault determination method as described in claim 1, characterized in that, When the number of HMCs is N, the N HMCs include: 1 master HMC and N-1 slave HMCs, where the N-1 slave HMCs are all backup redundancies of the master HMC, and N is an integer not greater than 2; determining whether an HMC has failed includes: Determine whether all N HMCs have failed; If so, then the HMC is determined to be faulty.
5. The server fault determination method as described in claim 1, characterized in that, Determining whether the first hardware fault information and the second hardware fault information conform to a preset merging rule includes: Determine the first fault ID information corresponding to the first hardware fault information; Determine the second fault ID information corresponding to the second hardware fault information; Determine whether the first fault ID information and the second fault ID information are the same; If so, then the first hardware fault information and the second hardware fault information are determined to conform to the preset merging rule; If not, then the first hardware fault information and the second hardware fault information are determined to not conform to the preset merging rule.
6. A server fault determination system, characterized in that, include: The judgment unit is used to obtain information corresponding to the fault status of HMC, parse the obtained information, and determine whether HMC has a fault. The acquisition unit is configured to, if the judgment unit determines that the HMC is not faulty, control itself to connect to the HMC and acquire hardware fault information transmitted by the server to the HMC during a fault, and determine the fault type of the server based on the hardware fault information; wherein, when the hardware fault information includes first hardware fault information and second hardware fault information, the acquisition unit receives the first hardware fault information sent by the HMC through a first preset protocol and acquires the second hardware fault information sent by the HMC through a second preset protocol, wherein the first hardware fault information characterizes the hardware fault of the server in a first dimension and the second hardware fault information characterizes the hardware fault of the server in a second dimension; determine whether the first hardware fault information and the second hardware fault information conform to a preset merging rule; if so, merge the first hardware fault information and the second hardware fault information, and determine the fault type of the server based on the first hardware fault information and the second hardware fault information; after determining the fault type of the server, issue a corresponding alarm through an alarm module and store the information in a database; if the judgment unit determines that the HMC is faulty, control the alarm module to issue an alarm and store the fault in the database.
7. A server fault determination device, characterized in that, include: Memory, used to store computer programs and collected fault information; A processor, configured to implement the steps of the server fault determination method as described in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the server fault determination method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Unified management platform for IT devices in distributed computer rooms
CN104022904A
Server partition migration method and related device
CN110287066A
Processor usage amount acquisition method, system and equipment and readable storage medium
CN113238914A