The invention provides a fault rapid positioning method and device in an MGX
system, and belongs to the field of
server system management and fault diagnosis. The method comprises the following steps: determining an idle universal serial
bus interface on a mainboard, and selecting a target
USB interface and a fixed IP
network segment configuration corresponding to the target
USB interface from the idle
USB interface; the BMC establishes a physical connection with a device where the HMC is located through the target USB interface, and constructs a virtual
local area network channel; in the virtual
local area network channel, performing out-of-band communication between the BMC and the HMC; the BMC obtains
list information of each component in the MGX
system from the HMC, and classifies the
list information according to component types; the HMC pre-collects and stores the state information of each category according to the
classification result; and the BMC periodically reads the state information based on the Redfish protocol, and identifies the fault in the MGX system according to the state information. According to the method and the device provided by the invention, the fault can be quickly and accurately positioned.