The invention discloses a method, a device and equipment for collecting in-band and out-of-band logs of a
server and a medium, relates to the technical field of computers, and is applied to a
server side comprising a substrate management controller, a basic input and output
system, an
operating system and a
serial port data recorder. The output ends of the substrate management controller, the basic input and output
system and the
operating system are connected with the input end of the
serial port data recorder; the method comprises the following steps: starting a basic input / output
system, controlling initialization of the basic input / output system and loading of a bootstrap program, and generating a first out-of-band log of the basic input / output system; controlling the operation system to run, and generating an in-band log of the operation system; controlling the
baseboard management controller to start, and generating a second out-of-band log of the
baseboard management controller; and collecting each out-of-band log and each in-band log by using each preset
transmission channel, sending the out-of-band logs and the in-band logs in parallel, and storing the out-of-band logs and the in-band logs in a nonvolatile memory of the
serial port data recorder. And
full coverage collection of in-band and out-of-band logs of the
server is realized.