CN111475218A - Server starting method, server and computer readable storage medium - Google Patents

Server starting method, server and computer readable storage medium Download PDF

Info

Publication number
CN111475218A
CN111475218A CN202010339038.7A CN202010339038A CN111475218A CN 111475218 A CN111475218 A CN 111475218A CN 202010339038 A CN202010339038 A CN 202010339038A CN 111475218 A CN111475218 A CN 111475218A
Authority
CN
China
Prior art keywords
bmc
server
state information
bios
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010339038.7A
Other languages
Chinese (zh)
Inventor
葛超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202010339038.7A priority Critical patent/CN111475218A/en
Publication of CN111475218A publication Critical patent/CN111475218A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality

Abstract

The application is applicable to the technical field of computers, and provides a starting method of a server, which comprises the following steps: after the server is powered on, monitoring the state information of the BMC; and if the state information does not meet the preset condition, no BMC related service is loaded, and the server is started. According to the method, after the server is powered on, the BIOS monitors the state information of the BMC of the baseboard management controller, whether the state information meets the preset condition is judged, if the state information of the BMC does not meet the preset condition, the abnormal condition is shown in the operation of the BMC, the BIOS directly starts the server at the moment, and related operations of the BMC are skipped, so that the situation that the server cannot be normally started due to the fault of the BMC is avoided.

Description

Server starting method, server and computer readable storage medium
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a server booting method, a server, and a computer-readable storage medium.
Background
When the existing server device performs system hardware management, the functions of monitoring, controlling and managing are realized through a Baseboard Management Controller (BMC). The BMC is a stand-alone System that does not rely on Basic Input Output System (BIOS). When the server is powered on, the BMC is started first, when the BMC runs normally, the BIOS is started, and in order to better manage system hardware, the BIOS can access the BMC in the running process. If the BMC is abnormal in operation, the BIOS can be halted when accessing the BMC, which can result in abnormal boot.
Disclosure of Invention
The embodiment of the application provides a server starting method, a server and a computer readable storage medium, which can solve the problems that when a server is started, if an exception occurs in the operation of a BMC, a system is halted when the BIOS accesses the BMC, and the server cannot be started normally.
In a first aspect, an embodiment of the present application provides a method for booting a server, including:
after the server is powered on, monitoring the state information of the BMC;
and if the state information does not meet the preset condition, no BMC related service is loaded, and the server is started.
Further, if the status information does not satisfy the preset condition, the BMC-related service is not loaded, and the starting of the server includes:
and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
Further, if the status information does not satisfy the preset condition, the BMC-related service is not loaded, and the starting of the server includes:
and if the second state information is not detected within the second preset time, no BMC related service is loaded, and the server is started, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, after the server is powered on and the status information of the BMC is monitored, the method further includes:
and if the state information meets the preset condition, loading a BMC drive and starting the server.
Further, if the state information meets a preset condition, loading a BMC driver and starting a server, including:
and if second state information is detected within a second preset time, loading a BMC drive and starting the server, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, the monitoring the status information of the BMC includes:
and inquiring the state information of the BMC at preset time intervals.
In a second aspect, an embodiment of the present application provides a server, including:
the first processing unit is used for monitoring the state information of the BMC after the server is powered on;
and the second processing unit is used for not loading the BMC related service and starting the server if the state information does not meet the preset condition.
Further, the second processing unit is specifically configured to:
and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
Further, the second processing unit is specifically configured to:
and if the second state information is not detected within the second preset time, no BMC related service is loaded, and the server is started, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, the server further includes:
and the third processing unit is used for loading the BMC drive and starting the server if the state information meets the preset condition.
Further, the third processing unit is specifically configured to:
and if second state information is detected within a second preset time, loading a BMC drive and starting the server, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, the first processing unit is specifically configured to:
and inquiring the state information s of the BMC at preset time intervals.
In a third aspect, an embodiment of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the method for booting the server according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for starting up the server according to the first aspect.
In the embodiment of the application, after the server is powered on, the state information of the BMC is monitored; and if the state information does not meet the preset condition, no BMC related service is loaded, and the server is started. According to the method, after the server is powered on, the BIOS monitors the state information of the BMC of the baseboard management controller, whether the state information meets the preset condition is judged, if the state information of the BMC does not meet the preset condition, the abnormal condition is shown in the operation of the BMC, the BIOS directly starts the server at the moment, and related operations of the BMC are skipped, so that the situation that the server cannot be normally started due to the fault of the BMC is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a method for booting a server according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of another server boot method according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a server provided by a third embodiment of the present application;
fig. 4 is a schematic diagram of a server provided in a third embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flowchart of a server booting method according to a first embodiment of the present application. In this embodiment, an execution main body of a boot method of a server is the server. The starting method of the server shown in fig. 1 may include:
s101: and after the server is powered on, monitoring the state information of the BMC.
Currently, a Baseboard Management Controller (BMC) is used in a mainstream server to perform remote monitoring and management on the server. The BMC is generally built in a mainboard of a server and supports IPMI standard of industry standard. The functions provided by the BMC include: local and remote diagnostics, console support, configuration management, hardware management, and troubleshooting.
After the server is powered on, the BMC is initialized, and the BIOS is initialized. The BIOS (Basic Input output system) is a set of programs that are fixed on a ROM chip on a main board in the computer, and stores the most important Basic Input and output programs of the computer, a self-test program after power-on, and a system self-start program, and can read and write specific information set by the system from the CMOS. The primary function of the BIOS is to provide the lowest level, most direct hardware setup and control for the computer, and in addition, the BIOS provides some system parameters to the operating system.
In this embodiment, the BIOS may be initialized synchronously with the BMC, or the BIOS may be initialized slightly later than the BMC. Since the duration of BIOS initialization is short, the BIOS will complete initialization quickly. The initialization time of the BMC is long, and when the BMC is initialized, the BIOS needs to detect whether the BMC exists first and then detects whether the initialization of the BMC is completed or not and whether the BMC can run normally or not. The BMC may fill in the value of the flag bit of its own register in different states, and the different values correspond to different states of the BMC. After the server is powered on, the BIOS can acquire the value of the zone bit of the register of the BMC, and the state information of the BMC is determined according to the value of the zone bit of the register of the BMC, so that the state information of the BMC is monitored.
Further, in order to more accurately detect the status information of the BMC, monitoring the status information of the BMC may include: and inquiring the state information of the BMC at preset time intervals. The BIOS may preset a time interval, and query the state information of the BMC once every preset time interval, for example, the BIOS may query the state information of the BMC once every 10 milliseconds. The time interval may be set according to the loading of the BMC and the general duration of initialization.
S102: and if the state information does not meet the preset condition, no BMC related service is loaded, and the server is started.
Preset conditions are preset in the BIOS, the preset conditions are limits on the state information, and the starting mode can be judged by judging whether the state information meets the preset conditions or not. The BIOS can judge the current state of the BMC through the state information so as to determine whether the BMC exists, whether initialization is completed or whether normal interaction with the BIOS can be performed, when the state information does not meet preset conditions, conditions that BMC connection is overtime, BMC initialization is overtime or the BMC cannot normally interact with the BIOS and the like can occur, at the moment, the BIOS can skip operation related to the BMC, a drive related to the BMC is not loaded, the BIOS does not interact with the BMC, and the server is directly started.
Further, in order to reduce the boot time and avoid the crash when detecting that the BMC does not exist, S102 may include: and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
In this embodiment, the state information of the BMC includes first state information, and the first state information is used to identify that the BMC exists. The BIOS detects whether the BMC exists, and the BIOS can judge whether the BMC exists by acquiring the first state information. When the first state information is not detected, the BMC is judged to be absent, the BIOS can inquire the state information of the BMC for multiple times within the first preset time length, and whether the BMC is present is detected for multiple times.
If the first state information is not detected within the first preset time, the connection of the BMC is overtime, the BIOS skips the operation related to the BMC, the drive related to the BMC is not loaded, the BIOS does not access the BMC, the BIOS does not interact with the BMC, and the server is directly started.
Further, if the first state information is detected within the first preset time length, which indicates that the BMC exists, the related operation of the BMC needs to be continued, the BMC can be accessed, and whether the BMC completes initialization is detected.
For example, the BIOS may set the first predetermined duration to 60 seconds, and query the status information of the BMC every 10 milliseconds. If the first state information is not detected within 60 seconds, the connection of the BMC is overtime, operations related to the BMC are skipped, the BIOS does not load a drive related to the BMC any more, the BIOS does not access the BMC any more, the BIOS does not interact with the BMC, and the server is directly started. If the BIOS detects the first state information within 60 seconds, for example, the first state information is detected within 30 seconds, which indicates that the BMC exists, the BMC needs to continue the related operations, and the BMC can be accessed to detect whether the BMC completes initialization.
Further, in order to reduce the boot time and avoid the crash when it is detected that the BMC is not initialized, S102 may include: and if the second state information is not detected within the second preset time, no BMC related service is loaded, and the server is started, wherein the second state information is used for marking that the initialization of the BMC is finished.
In this embodiment, the state information of the BMC includes second state information, and the second state information is used to identify that the BMC has been initialized. The BIOS detects whether the BMC is initialized, and the BIOS can judge whether the BMC is initialized by acquiring the second state information. When the BIOS does not detect the second state information, the BIOS judges that the BMC is not initialized, and the BIOS can inquire the state information of the BMC for multiple times within a second preset time length and detect whether the BMC is initialized for multiple times.
If the BIOS does not detect the second state information within the second preset time length, the BMC initialization is overtime, the BIOS skips the operation related to the BMC, the drive related to the BMC is not loaded, the BIOS does not access the BMC, the BIOS does not interact with the BMC, and the server is directly started.
Further, if the second state information is detected within the second preset duration, which indicates that the BMC initialization is completed, and the BMC can normally interact with the BIOS, the BIOS may execute operations related to the BMC, load a driver related to the BMC, initialize the shared memory related to the BMC, formally start the related interaction between the BIOS and the BMC, and start the server.
For example, the server may set the second preset duration to be 60 seconds, and query the status information of the BMC once every 10 seconds. If the BIOS does not detect the second state information within 60 seconds, the BMC initialization is overtime, the BIOS skips the operation related to the BMC, the drive related to the BMC is not loaded, the BIOS does not access the BMC, the BIOS does not interact with the BMC, and the server is directly started.
In the embodiment of the application, after the server is powered on, the BIOS monitors the state information of the BMC of the substrate management controller; and if the state information does not meet the preset condition, the BIOS starts the server without loading the BMC related service. According to the method, after the server is powered on, the BIOS monitors the state information of the BMC of the baseboard management controller, whether the state information meets the preset condition is judged, if the state information of the BMC does not meet the preset condition, the abnormal condition is shown in the operation of the BMC, the BIOS directly starts the server at the moment, and related operations of the BMC are skipped, so that the situation that the server cannot be normally started due to the fault of the BMC is avoided.
Referring to fig. 2, fig. 2 is a schematic flowchart of another server booting method according to a second embodiment of the present application. In this embodiment, an execution main body of a boot method of a server is the server. The difference between this embodiment and the first embodiment is S202, S201 in this embodiment is the same as S101 in the first embodiment, S203 in this embodiment is the same as S102 in the first embodiment, and S202 may be executed after S201. As shown in fig. 2, S202 is specifically as follows:
s202: and if the state information meets the preset condition, loading a BMC drive and starting the server.
Preset conditions are preset in the BIOS, the preset conditions are limits on the state information, and the starting mode can be judged by judging whether the state information meets the preset conditions or not. The BIOS can judge the current state of the BMC through the state information so as to determine whether the BMC is overtime connected or initialized or can normally interact with the BIOS, when the state information meets a preset condition, the BMC is indicated to exist, the BMC is initialized and can normally interact with the BIOS, the operation related to the BMC is executed, the drive related to the BMC is loaded, the shared memory related to the BMC is initialized, the interaction related to the BIOS and the BMC is formally started, and the server is started.
Further, in order to perform the boot in time when the BMC initialization is completed, S202 may include: and if second state information is detected within a second preset time, loading a BMC drive and starting the server, wherein the second state information is used for marking that the initialization of the BMC is finished.
In this embodiment, the state information of the BMC includes second state information, and the second state information is used to identify that the BMC has been initialized. The BIOS detects whether the BMC is initialized, and the BIOS can judge whether the BMC is initialized by acquiring the second state information. When the second state information is not detected, the BMC is judged to be initialized overtime, the BIOS can acquire the second state information for multiple times within a second preset time length, and whether the BMC is initialized for multiple times is detected.
If the BIOS detects the second state information within the second preset time length, the BMC initialization is completed, the BMC can normally interact with the BIOS, the operation related to the BMC is executed, the drive related to the BMC is loaded, the shared memory related to the BMC is initialized, the interaction related to the BIOS and the BMC is formally started, and the server is started. For example, the BIOS may set the second predetermined duration to 60 seconds, and obtain the second status information every 10 seconds. If the second status information is detected within 60 seconds, for example, the second status information is detected within 30 seconds, the BMC initialization is completed and the BMC may normally interact with the BIOS, perform operations related to the BMC, load a driver related to the BMC, initialize the shared memory related to the BMC and formally start related interaction between the BIOS and the BMC, and start the server.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 3, fig. 3 is a schematic diagram of a server according to a third embodiment of the present application. The units included are used to perform the steps in the corresponding embodiments of fig. 1-2. Please refer to the related description of the embodiments in fig. 1-2. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 3, the server 3 includes:
the first processing unit 310 is configured to monitor state information of the BMC after the server is powered on;
the second processing unit 320 is configured to, if the state information does not satisfy the preset condition, not load the BMC-related service, and start the server.
Further, the second processing unit 320 is specifically configured to:
and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
Further, the second processing unit 320 is specifically configured to:
and if the second state information is not detected within the second preset time, no BMC related service is loaded, and the server is started, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, the server 3 further includes:
and the third processing unit is used for loading the BMC drive and starting the server if the state information meets the preset condition.
Further, the third processing unit is specifically configured to:
and if second state information is detected within a second preset time, loading a BMC drive and starting the server, wherein the second state information is used for marking that the initialization of the BMC is finished.
Further, the first processing unit 310 is specifically configured to:
and inquiring the state information of the BMC at preset time intervals.
Fig. 4 is a schematic diagram of a server provided in a fourth embodiment of the present application. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42, such as a server-based boot program, stored in the memory 41 and operable on the processor 40. The processor 40, when executing the computer program 42, implements the steps of the various server-based boot method embodiments described above, such as the steps 101-102 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above device embodiments, such as the functions of the modules 310 to 320 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the temperature regulated device 4. For example, the computer program 42 may be divided into a first processing unit and a second processing unit, and each unit has the following specific functions:
the first processing unit is used for monitoring the state information of the BMC after the server is powered on;
and the second processing unit is used for not loading the BMC related service and starting the server if the state information does not meet the preset condition.
The server may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server 4. Further, the server 4 may also include both an internal storage unit and an external storage device of the server 4. The memory 41 is used for storing the computer program and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for starting a server is characterized by comprising the following steps:
after the server is powered on, monitoring the state information of the BMC;
and if the state information does not meet the preset condition, no BMC related service is loaded, and the server is started.
2. The method of claim 1, wherein if the status information does not satisfy a predetermined condition, the method of starting the server without loading the BMC-related service comprises:
and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
3. The method of claim 1, wherein if the status information does not satisfy a predetermined condition, the method of starting the server without loading the BMC-related service comprises:
and if the second state information is not detected within the second preset time, no BMC related service is loaded, and the server is started, wherein the second state information is used for marking that the initialization of the BMC is finished.
4. The method for booting a server according to claim 1, wherein after the monitoring the status information of the BMC after the server is powered on, the method further includes:
and if the state information meets the preset condition, loading a BMC drive and starting the server.
5. The method of claim 4, wherein if the status information satisfies a predetermined condition, loading a BMC driver to start the server comprises:
and if second state information is detected within a second preset time, loading a BMC drive and starting the server, wherein the second state information is used for marking that the initialization of the BMC is finished.
6. The method for booting the server according to claim 1, wherein the monitoring the status information of the BMC includes:
and inquiring the state information of the BMC at preset time intervals.
7. A server, comprising:
the first processing unit is used for monitoring the state information of the BMC after the server is powered on;
and the second processing unit is used for not loading the BMC related service and starting the server if the state information does not meet the preset condition.
8. The server according to claim 7, wherein the second processing unit is specifically configured to:
and if the first state information is not detected within the first preset time, no BMC related service is loaded, and the server is started, wherein the first state information is used for identifying that the BMC exists.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN202010339038.7A 2020-04-26 2020-04-26 Server starting method, server and computer readable storage medium Pending CN111475218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010339038.7A CN111475218A (en) 2020-04-26 2020-04-26 Server starting method, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010339038.7A CN111475218A (en) 2020-04-26 2020-04-26 Server starting method, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111475218A true CN111475218A (en) 2020-07-31

Family

ID=71755860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010339038.7A Pending CN111475218A (en) 2020-04-26 2020-04-26 Server starting method, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111475218A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124509A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Server starting method and device
CN112269598A (en) * 2020-10-16 2021-01-26 苏州浪潮智能科技有限公司 Server starting control method and system, electronic equipment and storage medium
CN114205208A (en) * 2021-11-05 2022-03-18 苏州浪潮智能科技有限公司 Method, device, equipment and medium for starting servers in batches based on remote end
CN116860339A (en) * 2023-07-06 2023-10-10 合芯科技(苏州)有限公司 Method, device and equipment for starting server based on MAC address information

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441589A (en) * 2007-11-21 2009-05-27 英业达股份有限公司 Detection method of substrate management controller and server thereof
CN103577298A (en) * 2012-07-31 2014-02-12 鸿富锦精密工业(深圳)有限公司 Baseboard management controller monitoring system and method
CN104809044A (en) * 2014-01-24 2015-07-29 鸿富锦精密工业(深圳)有限公司 Method and system for detecting starting state of baseplate management controller
CN104899063A (en) * 2015-06-01 2015-09-09 浪潮集团有限公司 Server management system and startup method
US20160026477A1 (en) * 2014-07-22 2016-01-28 Quanta Computer Inc. Out-of-band retrieval of network interface controller information
US20170109235A1 (en) * 2015-10-16 2017-04-20 Quanta Computer Inc. Baseboard management controller recovery
CN108289041A (en) * 2018-01-25 2018-07-17 郑州云海信息技术有限公司 A kind of processing method and relevant apparatus of server info
CN108304296A (en) * 2018-01-30 2018-07-20 郑州云海信息技术有限公司 A kind of server monitoring method, system, equipment and computer readable storage medium
US20180329862A1 (en) * 2017-05-11 2018-11-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating server firmware in server, and server
CN110321265A (en) * 2019-05-09 2019-10-11 苏州浪潮智能科技有限公司 A kind of server monitoring managing device, method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441589A (en) * 2007-11-21 2009-05-27 英业达股份有限公司 Detection method of substrate management controller and server thereof
CN103577298A (en) * 2012-07-31 2014-02-12 鸿富锦精密工业(深圳)有限公司 Baseboard management controller monitoring system and method
CN104809044A (en) * 2014-01-24 2015-07-29 鸿富锦精密工业(深圳)有限公司 Method and system for detecting starting state of baseplate management controller
US20160026477A1 (en) * 2014-07-22 2016-01-28 Quanta Computer Inc. Out-of-band retrieval of network interface controller information
CN104899063A (en) * 2015-06-01 2015-09-09 浪潮集团有限公司 Server management system and startup method
US20170109235A1 (en) * 2015-10-16 2017-04-20 Quanta Computer Inc. Baseboard management controller recovery
US20180329862A1 (en) * 2017-05-11 2018-11-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating server firmware in server, and server
CN108289041A (en) * 2018-01-25 2018-07-17 郑州云海信息技术有限公司 A kind of processing method and relevant apparatus of server info
CN108304296A (en) * 2018-01-30 2018-07-20 郑州云海信息技术有限公司 A kind of server monitoring method, system, equipment and computer readable storage medium
CN110321265A (en) * 2019-05-09 2019-10-11 苏州浪潮智能科技有限公司 A kind of server monitoring managing device, method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124509A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Server starting method and device
CN111124509B (en) * 2019-11-29 2021-07-06 苏州浪潮智能科技有限公司 Server starting method and device
CN112269598A (en) * 2020-10-16 2021-01-26 苏州浪潮智能科技有限公司 Server starting control method and system, electronic equipment and storage medium
CN114205208A (en) * 2021-11-05 2022-03-18 苏州浪潮智能科技有限公司 Method, device, equipment and medium for starting servers in batches based on remote end
CN114205208B (en) * 2021-11-05 2023-08-18 苏州浪潮智能科技有限公司 Remote-based server batch starting method, device, equipment and medium
CN116860339A (en) * 2023-07-06 2023-10-10 合芯科技(苏州)有限公司 Method, device and equipment for starting server based on MAC address information
CN116860339B (en) * 2023-07-06 2024-02-27 合芯科技(苏州)有限公司 Method, device and equipment for starting server based on MAC address information

Similar Documents

Publication Publication Date Title
CN111475218A (en) Server starting method, server and computer readable storage medium
US10031736B2 (en) Automatic system software installation on boot
US8935509B2 (en) Method for controlling BMC having customized SDR
EP3349118B1 (en) Bus hang detection and find out
CN111813731B (en) Method, device, server and medium for reading memory information
CN109086079B (en) Mounting management method and device for storage equipment
US5987625A (en) Method and apparatus for testing network bootable devices
CN111983412B (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN109375956B (en) Method for restarting operating system, logic device and control device
CN115314416B (en) Network card state automatic detection method and device, electronic equipment and storage medium
CA2058933C (en) Reset method when adaptor module is faulty and computer system executing same
US10838742B1 (en) Multi-user hidden feature enablement in firmware
CN112199272A (en) Intelligent terminal testing method and device, terminal equipment and medium
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
US20090144536A1 (en) Monitoring method and monitor apparatus
EP4296860A1 (en) Method for running startup program of electronic device, and electronic device
CN115291951A (en) UEFI (unified extensible firmware interface) starting method and device, electronic equipment and storage medium
CN107632917B (en) Server system and temperature monitoring method thereof
CN107274589B (en) Access method and system of financial self-service terminal hardware equipment and terminal equipment
CN113254304A (en) Method for determining shutdown type of server, server and storage medium
US11593121B1 (en) Remotely disabling execution of firmware components
US10732699B2 (en) Redundancy in distribution of voltage-frequency scaling parameters
CN111813596A (en) Chip restarting method and device and computing equipment
US10838737B1 (en) Restoration of memory content to restore machine state
CN109992510B (en) Remote debugging device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200731

RJ01 Rejection of invention patent application after publication