CN113849230A - Server starting method and device, electronic equipment and readable storage medium - Google Patents

Server starting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113849230A
CN113849230A CN202111006595.8A CN202111006595A CN113849230A CN 113849230 A CN113849230 A CN 113849230A CN 202111006595 A CN202111006595 A CN 202111006595A CN 113849230 A CN113849230 A CN 113849230A
Authority
CN
China
Prior art keywords
double
raid cards
information
raid
cards
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
CN202111006595.8A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202111006595.8A priority Critical patent/CN113849230A/en
Publication of CN113849230A publication Critical patent/CN113849230A/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
    • G06F9/4403Processor initialisation
    • 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
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a server starting method and device, electronic equipment and a readable storage medium. The method comprises the steps of generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks, and loading the hardware standard information into a BIOS; and constructing emergency channel information for maintaining the normal operation of the double RAID cards in the BIOS. In the BIOS starting process, if the double RAID cards are judged to be loaded abnormally through the starting information of the double RAID cards, the hardware standard information is called to maintain the double RAID cards to normally carry out hardware equipment initialization until the double RAID cards successfully enter an operating system. After the operation system is entered, if the operation state information of the double RAID cards is read to judge that the double RAID cards operate abnormally, the normal operation state information is written into the configuration space of the double RAID cards, and meanwhile, emergency channel information is provided, so that data interaction between the double RAID cards and the operation system is realized through the emergency channel information, normal startup of the server can be guaranteed, and the stability of the ARM architecture server is effectively improved.

Description

Server starting method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a server starting method and apparatus, an electronic device, and a readable storage medium.
Background
In recent years, with the rapid development of the localization process, the localization ARM architecture (Reduced Instruction Set computer) servers are also rapidly developed, and the improvement of the server performance is an especially important part while the localization servers are developed. The current mainstream server market is mainly servers of the X86 architecture series, and the performance of the domestic ARM server may need to be pursued or even exceed that of the current mainstream server market. In the aspect of matching the performance of a server with dual RAID (Redundant Arrays of Independent Disks), the server platform of X86 will not normally have the situation that the system cannot be accessed when the dual RAID card is externally connected with a full hard disk or the dual RAID card is matched with a different form, but for a domestic ARM server, the situation that the system cannot be accessed when the system is started is very easy to occur due to insufficient stability under the same configuration condition as that of the X86 server.
In view of this, how to improve the stability of the home-made ARM architecture server is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a server starting method and device, electronic equipment and a readable storage medium, which solve the problem that the ARM architecture server cannot be started up under the condition that double RAID carries different forms of hard disks or is externally connected with full-load hard disks, can ensure normal startup of the server, and effectively improve the stability of the ARM architecture server.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an embodiment of the present invention provides a server startup method, including:
generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks, and loading the hardware standard information into a BIOS; constructing emergency channel information for maintaining normal operation of the double RAID cards in a BIOS;
in the BIOS starting process, if the double RAID cards are judged to be loaded abnormally through the starting information of the double RAID cards, calling the hardware standard information to maintain the double RAID cards to normally carry out hardware equipment initialization until the double RAID cards successfully enter an operating system;
after entering the operating system, if the running state information of the double RAID cards is read to judge that the double RAID cards run abnormally, writing the normal running state information into the configuration space of the double RAID cards, and providing the emergency channel information so as to realize data interaction between the double RAID cards and the operating system through the emergency channel information.
Optionally, the invoking the hardware standard information to maintain the dual RAID cards to perform hardware device initialization normally until the dual RAID cards successfully enter the operating system includes:
acquiring starting information of a currently used hard disk;
and calling the hardware standard information to complete the initialization process of the hardware equipment in the BIOS based on the starting information of the currently used hard disk.
Optionally, the determining that the dual RAID card is abnormally loaded according to the start information of the dual RAID card includes:
acquiring equipment ID information of the double RAID cards;
polling the starting state of the double RAID cards according to the equipment ID information and the starting sequence of each disk of the double RAID cards;
and if the starting state of the double RAID cards is abnormal, judging that the double RAID cards are abnormally loaded.
Optionally, the determining that the dual RAID cards operate abnormally by reading the operation state information of the dual RAID cards includes:
reading the state value of a register of the configuration space of the double RAID cards;
if the state value is an abnormal identifier operation value, judging that the double RAID cards operate abnormally; and if the state value is the normal operation value of the identifier, judging that the double RAID cards operate normally.
Optionally, the emergency channel information provides a dedicated channel for the operating system to read the information of the dual RAID cards, and further includes:
and pre-creating a universal channel for providing the BIOS with the operation of the dual RAID cards.
Optionally, after entering the operating system, the method further includes:
and polling and reading the running state information of the double RAID cards until the server receives a shutdown instruction.
Another aspect of the embodiments of the present invention provides a server startup device, including:
the system comprises a pre-deployment module, a BIOS module and a data processing module, wherein the pre-deployment module is used for generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks and loading the hardware standard information into the BIOS; constructing emergency channel information for maintaining normal operation of the double RAID cards in a BIOS;
the loading exception processing module is used for calling the hardware standard information to maintain the dual RAID cards to normally initialize hardware equipment until the hardware equipment successfully enters an operating system if the dual RAID cards are judged to be loaded abnormally through the starting information of the dual RAID cards in the starting process of the BIOS;
and the operation exception handling module is used for writing the normal operation state information into the configuration space of the double RAID cards and providing the emergency channel information so as to realize the data interaction between the double RAID cards and the operating system through the emergency channel information if the operation state information of the double RAID cards is read to judge that the double RAID cards operate abnormally after the operating system enters the operating system.
Optionally, the load exception handling module is further configured to: acquiring starting information of a currently used hard disk; and calling the hardware standard information to complete the initialization process of the hardware equipment in the BIOS based on the starting information of the currently used hard disk.
An embodiment of the present invention further provides an electronic device, including a processor, where the processor is configured to implement the steps of the server startup method according to any one of the foregoing items when executing the computer program stored in the memory.
Finally, an embodiment of the present invention provides a readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the steps of the server startup method according to any one of the foregoing items.
The technical scheme provided by the application has the advantages that the identification function of corresponding error information in the BIOS starting process and the use process of the double RAID cards is added, if the BIOS scans corresponding error information in the starting process, the loading abnormity of the double RAID cards is detected, the double RAID cards can be adapted to the latest firmware version according to hardware standard information generated by driving relatively stable information points in the firmware of the double RAID cards and the hard disk, which is loaded in the BIOS in advance, and the probability of successful loading of the double RAID cards is effectively improved. If the dual RAID cards are found to be abnormal in operation in the using process, the normal operation state information is written into the configuration space of the dual RAID cards, channel information for maintaining the normal operation of the dual RAID cards and the hard disks is provided, the normal operation of external hardware such as the dual RAID cards and the hard disks is maintained by providing necessary information for maintaining the starting and the operation of the external hardware, and the normal starting of the server cannot be influenced by the abnormal loading, so that the problem that the normal starting of the server cannot be carried out when the ARM architecture server is started under the condition that the dual RAID cards carry different forms of hard disks or the external full hard disks are carried is solved, the normal starting of the server can be ensured, and the stability of the ARM architecture server is effectively improved.
In addition, the embodiment of the invention also provides a corresponding implementation device, electronic equipment and a readable storage medium for the server starting method, so that the method has higher practicability, and the device, the electronic equipment and the readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a server startup method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another server startup method according to an embodiment of the present invention;
fig. 3 is a structural diagram of a specific embodiment of a server startup device according to an embodiment of the present invention;
fig. 4 is a block diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of the embodiments of the present invention, various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flowchart of a server startup method according to an embodiment of the present invention, where the embodiment of the present invention may include the following:
s101: generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks, and loading the hardware standard information into a BIOS; and constructing emergency channel information for maintaining the normal operation of the double RAID cards in the BIOS.
The embodiment is suitable for an ARM architecture server carrying double RAID cards, such as an FT2000+ server, and solves the problem that the server cannot be normally started when the double RAID cards carry different forms of hard disks or are externally connected with full-load hard disks, where the double RAID card carrying full-load hard disks refers to a configuration in which the server is collocated with two or more RAID cards and each corresponding interface is connected with more than 4 hard disks, that is, the double RAID cards of the present application refer to a general term, and refer to a case in which the double RAID cards are formed by more than or equal to two RAID cards instead of a double RAID card formed by only two RAID cards, for example, the double RAID cards may be formed by RAID1, RAID2, and RAID3, and each hard disk refers to a hard disk connected to each RAID card in the double RAID cards.
It is understood that for the hardware such as dual RAID cards and hard disks, the firmware versions of the hardware are frequently upgraded, that is, their firmware versions are not a fixed version, which requires the firmware BIOS and the operating system OS of the server to be configured with the firmware versions of different hardware. In addition, hardware of different firmware versions may be assembled on the same server. Based on this, this step may use some relatively stable information such as the driver in the firmware of the dual RAID card and the hard disk as basic information to assist the BIOS and the operating system OS to successfully start the server. The underlying drive file may be, for example, information such as mechanical hard disk HDD drive information, drive library file, and decrypted hard disk password, such as HDD password, that is, information that is relatively stable in the dual RAID card and each hard disk and cannot be changed with Firmware version upgrade, and a person skilled in the art may also add other stable data to generate hardware standard information based on actual needs, where the hardware standard information may be, for example, in the form of a packed BIOS efi (Extensible Firmware Interface) file. The emergency channel information is information necessary for providing channel information for maintaining normal operation of the dual RAID cards and the hard disks and maintaining start-up and operation of the external hardware, and may be constructed by, for example, an ACPI table (Advanced Configuration and Power Management Interface). The channel is used for providing data information for reading the dual RAID cards or a method for operating the dual RAID cards for the BIOS or the OS. In the step, more boot systems can be provided for the firmware BIOS through the hardware standard information and the emergency channel information which are pre-loaded to the BIOS, and the normal starting and running of the CPU can be maintained, so that the ARM architecture server can be ensured to be normally started and enter an operating system.
S102: in the BIOS starting process, if the double RAID cards are judged to be loaded abnormally through the starting information of the double RAID cards, the hardware standard information is called to maintain the double RAID cards to normally carry out hardware equipment initialization until the hardware equipment successfully enters an operating system.
In the process of starting the BIOS when the server is powered on, hardware initialization tasks are executed, and the initialization identification of the hard disk mounted on the double RAID cards causes abnormal starting of the double RAID cards, namely abnormal loading of the double RAID cards. Therefore, the function of identifying the corresponding error information in the starting process can be added in the firmware BIOS, and as an optional implementation manner, the determination manner of the abnormal loading condition of the dual RAID cards may be: acquiring equipment ID information of the double RAID cards; polling the starting state of the double RAID cards according to the equipment ID information and the starting sequence of each disk of the double RAID cards; and if the starting state of the double RAID cards is abnormal, judging that the loading of the double RAID cards is abnormal. Specifically, the BIOS polls and reads the start-up condition of the dual RAID card according to the ID information of the dual RAID card device, and determines whether the dual RAID card is abnormally loaded according to the start-up condition of the dual RAID card, and if the BIOS scans corresponding error information, the corresponding drive information of the dual RAID card and each hard disk may be updated, and the BIOS may maintain the initialization process of the hard disk through the bottom drive information introduced in S101, that is, the BIOS needs to maintain the initialization process of the hard disk according to the efi file of the compiled drive information, so as to prevent the hard disk mounted by the dual RAID card from being abnormally loaded in the start-up process.
S103: after the operating system is started, if the running state information of the double RAID cards is read to judge that the double RAID cards run abnormally, the normal running state information is written into the configuration space of the double RAID cards, and meanwhile, emergency channel information is provided, so that data interaction between the double RAID cards and the operating system is realized through the emergency channel information.
Similarly, in this step, a function of identifying error information corresponding to the firmware BIOS in the use process may be added, specifically, in the use process, a method of reading a PCI (Peripheral Component Interconnect) configuration space may be used to read a value of a register of the dual RAID card to determine a use state or a working state of the dual RAID card, if the use state of the dual RAID card is abnormal, the BIOS needs to write a corresponding working state value into the configuration space of the dual RAID card to maintain the operation of the dual RAID card, and at the same time, the BIOS also provides emergency channel information, such as ACPI table, of the dual RAID card device to maintain the interaction of information of the operation system and the dual RAID card, enhance the operation state of the dual RAID card, maintain the normal operation of extrapolation hardware, such as the dual RAID card and the hard disk, and at the same time, may not affect the normal start of the server due to abnormal loading of the devices.
In the technical scheme provided by the embodiment of the invention, the identification function of corresponding error information in the BIOS starting process and the double RAID use process is added, if the BIOS scans corresponding error information in the starting process, the double RAID loading abnormity is detected, the double RAID card can be adapted to the latest firmware version according to hardware standard information generated by driving relatively stable information points in the firmware of the double RAID and the hard disk, which is loaded in the BIOS in advance, and the probability of successful loading of the double RAID card is effectively improved. If the dual RAID cards are found to be abnormal in operation in the using process, the normal operation state information is written into the configuration space of the dual RAID cards, channel information for maintaining the normal operation of the dual RAID cards and the hard disks is provided, the normal operation of external hardware such as RAID and hard disks is maintained by providing necessary information for maintaining the start and operation of the external hardware, and the normal start of the server cannot be affected by abnormal loading, so that the problem that the system cannot be started when the ARM architecture server is loaded with the hard disks in different forms or is externally loaded with full hard disks is solved, the normal start of the server can be ensured, and the stability of the ARM architecture server is effectively improved.
In order to further ensure the stable operation of the ARM architecture server, a hard disk self-locking prevention mechanism can be added in the process that the BIOS executes hardware initialization and uses the double RAID cards, and the initialization process is added with the self-locking prevention mechanism as an example to obtain the starting information of the currently used hard disk; based on the starting information of the currently used hard disk, the hardware standard information is called to complete the initialization process of the hardware equipment in the BIOS.
In the embodiment, the ID information of the dual RAID card device information is found in the starting process, and the BIOS polls the starting state of the reading device according to the ID of the dual RAID card device information and the starting sequence of each RAID card in the dual RAID cards, such as RAID1, RAID2, and RAID 3; meanwhile, the BIOS introduces the latest hard disk hdd password and other drives to avoid the self-locking of the hard disk. When the dual RAID cards (used by multiple cards) are used, the BIOS reads and configures the dual RAID card device registers through the hardware link channel in the use process, the performance requirement in the use process is met, and the phenomena of disk loss, card locking and the like are avoided, so that the performance of the server is not influenced.
The foregoing embodiment does not limit how to determine the operation abnormality of the dual RAID cards, and the present application further provides an optional determination manner for the operation abnormality of the dual RAID cards based on the foregoing embodiment, and the optional determination manner may include:
reading the state value of a register of a configuration space of the double RAID cards; if the state value is an abnormal identifier operation value, judging that the double RAID cards operate abnormally; and if the state value is the normal operation value of the identifier, judging that the double RAID cards operate normally.
For example, the flag bit in the register of the dual RAID card for identifying the operating state of the dual RAID card records two values 00 and 01, 00 indicates that the dual RAID card operates abnormally, 01 indicates that the dual RAID card operates normally, and if the value 00 is read, it is determined that the dual RAID card operates abnormally.
In order to further improve the stable operation of the ARM architecture server, the present application may provide the dual channel enhanced dual RAID card, the BIOS, and the OS at the same time, that is, in addition to the special channel for reading the dual RAID card, that is, the emergency channel information, provided for the OS, the special channel for reading the dual RAID card, that is, the emergency channel information, may also be created in advance to provide the BIOS with a general channel for operating the dual RAID card.
In order to ensure that the dual RAID cards can be used stably all the time and improve the running stability of the ARM architecture server, after the above steps enter the operating system, the running state information of the dual RAID cards can be read by polling until the server receives a shutdown instruction.
In order to make it more clear to those skilled in the art to understand the technical solution of the present application, the application further provides an illustrative example in combination with fig. 2, when the ARM framework FT2000+ server is started, an automatic identification function is added in an initialization process of dual RAID cards and hard disk information of external hardware devices, a polling mechanism is used to obtain initialization start information of the mobile hardware to determine whether initialization is successful, and meanwhile, in a use process, a PCI configuration space is used to read a value of a register of the dual RAID cards to determine a use state of the dual RAID cards, and if an abnormality occurs, a BIOS provides ACPI table channel information of the dual RAID card devices to maintain normal use of the dual RAID cards, which may include the following contents: a1: the dual RAID cards are matched with a server of an ARM framework of FT2000+ full-load hard disks to be powered on.
A2: in the BIOS starting process, the hardware device comprises a double RAID card to complete the initialization process.
A3: and in the process of initializing hardware equipment inside the BIOS, polling and reading whether the loading start of the double RAID card equipment is abnormal or not through the ID information of the double RAID cards.
A4: if the double RAID cards are loaded abnormally, the BIOS is required to call the bottom layer drive information which is loaded in advance, the system is ensured to be normally operated in the starting process, and the server is ensured to be normally started and can enter an OS system.
A5: after starting the system, the BIOS reads the state of the register of the configuration space of the double RAID cards and judges whether the equipment of the double RAID cards runs abnormally.
A6: if abnormal BIOS occurs, the BIOS maintains the running state of the double RAID card cards for the write value of the corresponding configuration space, and meanwhile, the interaction of the emergency channel information maintenance system of the double RAID cards and the firmware information of the RAID card is provided, so that the running state of the double RAID cards is maintained in an enhanced mode.
A6: the BIOS continues to read the state of the registers of the dual RAID card configuration space and jumps to execution a 5.
According to the embodiment, the starting abnormity of the FT2000+ ARM platform dual raid card equipment or multi-raid card equipment in mounting of a fully configured hard disk can be solved, the phenomena of disk loss and card locking in the using process are avoided, and the stable improvement of the performance of the fully configured hard disk in matching of the dual raid card and the domestic FT server is ensured.
It should be noted that, in the present application, there is no strict sequential execution order among the steps, and as long as the logical order is met, the steps may be executed simultaneously or according to a certain preset order, and fig. 1 is only an exemplary manner, and does not represent that only the execution order is the order.
The embodiment of the invention also provides a corresponding device for the server starting method, thereby further ensuring that the method has higher practicability. Wherein the means can be described separately from the functional module point of view and the hardware point of view. In the following, the server startup device provided by the embodiment of the present invention is introduced, and the server startup device described below and the server startup method described above may be referred to correspondingly.
Based on the angle of the function module, referring to fig. 3, fig. 3 is a structural diagram of a server startup device according to an embodiment of the present invention, in a specific implementation manner, where the device may include:
the pre-deployment module 301 is configured to generate hardware standard information in advance according to the dual RAID cards of the ARM architecture server and the bottom drive files of the hard disks, and load the hardware standard information into the BIOS; and constructing emergency channel information for maintaining the normal operation of the double RAID cards in the BIOS.
And the loading exception handling module 302 is configured to, in the BIOS starting process, if it is determined that the dual RAID cards are abnormally loaded by the starting information of the dual RAID cards, call hardware standard information to maintain the dual RAID cards to normally perform hardware device initialization until the dual RAID cards successfully enter the operating system.
And the operation exception handling module 303 is configured to, after entering the operating system, if it is determined that the dual RAID cards are abnormal in operation by reading the operation state information of the dual RAID cards, write the normal operation state information into the configuration space of the dual RAID cards, and provide emergency channel information, so as to implement data interaction between the dual RAID cards and the operating system through the emergency channel information.
Optionally, in some embodiments of this embodiment, the load exception handling module 302 may be further configured to: acquiring starting information of a currently used hard disk; based on the starting information of the currently used hard disk, the hardware standard information is called to complete the initialization process of the hardware equipment in the BIOS.
As an optional implementation manner of this embodiment, the load exception handling module 302 may further be configured to: acquiring equipment ID information of the double RAID cards; polling the starting state of the double RAID cards according to the equipment ID information and the starting sequence of each disk of the double RAID cards; and if the starting state of the double RAID cards is abnormal, judging that the loading of the double RAID cards is abnormal.
Optionally, in other embodiments of this embodiment, the operation exception handling module 303 may be further configured to: reading the state value of a register of a configuration space of the double RAID cards; if the state value is an abnormal identifier operation value, judging that the double RAID cards operate abnormally; and if the state value is the normal operation value of the identifier, judging that the double RAID cards operate normally.
As another optional implementation manner of this embodiment, the running exception handling module 303 may be further configured to: and polling and reading the running state information of the double RAID cards until the server receives a shutdown instruction.
Optionally, in some other embodiments of this embodiment, the pre-deployment module 301 may further be configured to: the emergency channel information provides a special channel for reading the information of the double RAID cards for an operating system, and a universal channel for operating the double RAID cards for the BIOS is pre-established.
The functions of the functional modules of the server startup device in the embodiment of the present invention may be specifically implemented according to the method in the above method embodiment, and the specific implementation process may refer to the description related to the above method embodiment, which is not described herein again.
Therefore, the embodiment of the invention can ensure the normal startup of the ARM architecture server, and effectively improves the stability of the ARM architecture server.
The above mentioned server starting apparatus is described from the perspective of the functional module, and further, the present application also provides an electronic device, which is described from the perspective of hardware. Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic device includes a memory 40 for storing a computer program; a processor 41, configured to implement the steps of the server startup method mentioned in any of the above embodiments when executing the computer program.
The processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 41 may also be a controller, a microcontroller, a microprocessor or other data processing chip, and the like. The processor 41 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 41 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 41 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high speed random access memory as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. The memory 40 may in some embodiments be an internal storage unit of the electronic device, for example a hard disk of a server. The memory 40 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 40 may also include both an internal storage unit and an external storage device of the electronic device. The memory 40 can be used for storing application software installed in the electronic device and various data, such as: the code of the program that executes the vulnerability handling method, etc. may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 40 is at least used for storing a computer program 401, wherein after being loaded and executed by the processor 41, the computer program can implement the relevant steps of the server startup method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 40 may also include an operating system 402, data 403, and the like, and the storage manner may be a transient storage or a permanent storage. Operating system 402 may include, among other things, Windows, Unix, Linux, and the like. The data 403 may include, but is not limited to, data corresponding to server boot results, and the like.
In some embodiments, the electronic device may further include a display 42, an input/output interface 43, a communication interface 44, alternatively referred to as a network interface, a power supply 45, and a communication bus 46. The display 42 and the input/output interface 43, such as a Keyboard (Keyboard), belong to a user interface, and the optional user interface may also include a standard wired interface, a wireless interface, and the like. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, as appropriate, is used for displaying information processed in the electronic device and for displaying a visualized user interface. The communication interface 44 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between an electronic device and other electronic devices. The communication bus 46 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not intended to be limiting of the electronic device and may include more or fewer components than those shown, such as sensors 47, for example, to perform various functions.
The functions of the functional modules of the electronic device according to the embodiments of the present invention may be specifically implemented according to the method in the above method embodiments, and the specific implementation process may refer to the description related to the above method embodiments, which is not described herein again.
Therefore, the embodiment of the invention can ensure the normal startup of the ARM architecture server, and effectively improves the stability of the ARM architecture server.
It is to be understood that, if the server startup method in the above embodiments is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrically erasable programmable ROM, a register, a hard disk, a multimedia card, a card type Memory (e.g., SD or DX Memory, etc.), a magnetic Memory, a removable magnetic disk, a CD-ROM, a magnetic or optical disk, and other various media capable of storing program codes.
Based on this, the embodiment of the present invention further provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor, and the steps of the server starting method according to any one of the above embodiments are provided.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For hardware including devices and electronic equipment disclosed by the embodiment, the description is relatively simple because the hardware includes the devices and the electronic equipment correspond to the method disclosed by the embodiment, and the relevant points can be obtained by referring to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. 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 invention.
The foregoing describes a server starting method, an apparatus, an electronic device, and a readable storage medium provided in the present application in detail. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A server startup method, comprising:
generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks, and loading the hardware standard information into a BIOS; constructing emergency channel information for maintaining normal operation of the double RAID cards in a BIOS;
in the BIOS starting process, if the double RAID cards are judged to be loaded abnormally through the starting information of the double RAID cards, calling the hardware standard information to maintain the double RAID cards to normally carry out hardware equipment initialization until the double RAID cards successfully enter an operating system;
after entering the operating system, if the running state information of the double RAID cards is read to judge that the double RAID cards run abnormally, writing the normal running state information into the configuration space of the double RAID cards, and providing the emergency channel information so as to realize data interaction between the double RAID cards and the operating system through the emergency channel information.
2. The server boot method of claim 1, wherein the invoking the hardware standard information to maintain the dual RAID cards to perform hardware device initialization normally until the operating system is successfully entered comprises:
acquiring starting information of a currently used hard disk;
and calling the hardware standard information to complete the initialization process of the hardware equipment in the BIOS based on the starting information of the currently used hard disk.
3. The server boot method according to claim 2, wherein the determining that the dual RAID cards are abnormally loaded by the boot information of the dual RAID cards comprises:
acquiring equipment ID information of the double RAID cards;
polling the starting state of the double RAID cards according to the equipment ID information and the starting sequence of each disk of the double RAID cards;
and if the starting state of the double RAID cards is abnormal, judging that the double RAID cards are abnormally loaded.
4. The server starting method according to claim 3, wherein the determining that the dual RAID cards operate abnormally by reading the operating state information of the dual RAID cards comprises:
reading the state value of a register of the configuration space of the double RAID cards;
if the state value is an abnormal identifier operation value, judging that the double RAID cards operate abnormally; and if the state value is the normal operation value of the identifier, judging that the double RAID cards operate normally.
5. The server boot method according to any one of claims 1 to 4, wherein the emergency channel information provides the operating system with a dedicated channel for reading the dual RAID card information, further comprising:
and pre-creating a universal channel for providing the BIOS with the operation of the dual RAID cards.
6. The server boot method according to claim 4, further comprising, after entering the operating system:
and polling and reading the running state information of the double RAID cards until the server receives a shutdown instruction.
7. A server startup device, comprising:
the system comprises a pre-deployment module, a BIOS module and a data processing module, wherein the pre-deployment module is used for generating hardware standard information in advance according to double RAID cards of an ARM architecture server and bottom drive files of hard disks and loading the hardware standard information into the BIOS; constructing emergency channel information for maintaining normal operation of the double RAID cards in a BIOS;
the loading exception processing module is used for calling the hardware standard information to maintain the dual RAID cards to normally initialize hardware equipment until the hardware equipment successfully enters an operating system if the dual RAID cards are judged to be loaded abnormally through the starting information of the dual RAID cards in the starting process of the BIOS;
and the operation exception handling module is used for writing the normal operation state information into the configuration space of the double RAID cards and providing the emergency channel information so as to realize the data interaction between the double RAID cards and the operating system through the emergency channel information if the operation state information of the double RAID cards is read to judge that the double RAID cards operate abnormally after the operating system enters the operating system.
8. The server boot apparatus of claim 7, wherein the load exception handling module is further configured to: acquiring starting information of a currently used hard disk; and calling the hardware standard information to complete the initialization process of the hardware equipment in the BIOS based on the starting information of the currently used hard disk.
9. An electronic device comprising a processor and a memory, the processor being configured to implement the steps of the server startup method according to any one of claims 1 to 6 when executing a computer program stored in the memory.
10. A readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the server startup method according to any one of claims 1 to 6.
CN202111006595.8A 2021-08-30 2021-08-30 Server starting method and device, electronic equipment and readable storage medium Pending CN113849230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111006595.8A CN113849230A (en) 2021-08-30 2021-08-30 Server starting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111006595.8A CN113849230A (en) 2021-08-30 2021-08-30 Server starting method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113849230A true CN113849230A (en) 2021-12-28

Family

ID=78976529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111006595.8A Pending CN113849230A (en) 2021-08-30 2021-08-30 Server starting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113849230A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204502A (en) * 2023-05-04 2023-06-02 湖南博匠信息科技有限公司 NAS storage service method and system with high availability
CN117389781A (en) * 2023-10-18 2024-01-12 上海合芯数字科技有限公司 Abnormality detection and recovery method and system for server equipment, server and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038981A1 (en) * 2003-08-15 2005-02-17 Connor Patrick L. System and method for accelerated device initialization
US20080065875A1 (en) * 2006-09-08 2008-03-13 Thompson Mark J Bios bootable raid support
CN102622249A (en) * 2012-03-05 2012-08-01 山东华芯半导体有限公司 Safety starting method preventing central processing unit (CPU) from self locking
CN105607911A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for automatically adjusting hard disk starting equipment according to different configuration information
CN107766734A (en) * 2017-11-03 2018-03-06 浪潮(北京)电子信息产业有限公司 Clean boot RAID card method, apparatus, equipment and computer-readable recording medium
CN109446234A (en) * 2018-10-12 2019-03-08 Oppo广东移动通信有限公司 Data processing method, device and electronic equipment
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server
CN110083491A (en) * 2019-05-08 2019-08-02 苏州浪潮智能科技有限公司 A kind of BIOS initialization method, apparatus, equipment and storage medium
CN112286709A (en) * 2020-10-29 2021-01-29 苏州浪潮智能科技有限公司 Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN112835516A (en) * 2021-01-14 2021-05-25 浪潮电子信息产业股份有限公司 RAID card monitoring and management method, system and device
CN112860329A (en) * 2021-02-10 2021-05-28 山东英信计算机技术有限公司 Startup item configuration method, system and medium
CN112948157A (en) * 2021-01-29 2021-06-11 苏州浪潮智能科技有限公司 Server fault positioning method, device and system and computer readable storage medium
CN113239362A (en) * 2021-05-28 2021-08-10 浪潮电子信息产业股份有限公司 Data access method, device and computer readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038981A1 (en) * 2003-08-15 2005-02-17 Connor Patrick L. System and method for accelerated device initialization
US20080065875A1 (en) * 2006-09-08 2008-03-13 Thompson Mark J Bios bootable raid support
CN102622249A (en) * 2012-03-05 2012-08-01 山东华芯半导体有限公司 Safety starting method preventing central processing unit (CPU) from self locking
CN105607911A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for automatically adjusting hard disk starting equipment according to different configuration information
CN107766734A (en) * 2017-11-03 2018-03-06 浪潮(北京)电子信息产业有限公司 Clean boot RAID card method, apparatus, equipment and computer-readable recording medium
CN109446234A (en) * 2018-10-12 2019-03-08 Oppo广东移动通信有限公司 Data processing method, device and electronic equipment
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server
CN110083491A (en) * 2019-05-08 2019-08-02 苏州浪潮智能科技有限公司 A kind of BIOS initialization method, apparatus, equipment and storage medium
CN112286709A (en) * 2020-10-29 2021-01-29 苏州浪潮智能科技有限公司 Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN112835516A (en) * 2021-01-14 2021-05-25 浪潮电子信息产业股份有限公司 RAID card monitoring and management method, system and device
CN112948157A (en) * 2021-01-29 2021-06-11 苏州浪潮智能科技有限公司 Server fault positioning method, device and system and computer readable storage medium
CN112860329A (en) * 2021-02-10 2021-05-28 山东英信计算机技术有限公司 Startup item configuration method, system and medium
CN113239362A (en) * 2021-05-28 2021-08-10 浪潮电子信息产业股份有限公司 Data access method, device and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHOU CAIMING 等: "A Startup Fault Analysis and Solution Method of Minimum System Board", ORDNANCE INDUSTRY AUTOMATION, 30 September 2019 (2019-09-30) *
孙亮;陈小春;钟阳;林志鹏;任彤;: "基于可信BMC的服务器安全启动机制", 山东大学学报(理学版), no. 01, 22 December 2017 (2017-12-22) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204502A (en) * 2023-05-04 2023-06-02 湖南博匠信息科技有限公司 NAS storage service method and system with high availability
CN116204502B (en) * 2023-05-04 2023-07-04 湖南博匠信息科技有限公司 NAS storage service method and system with high availability
CN117389781A (en) * 2023-10-18 2024-01-12 上海合芯数字科技有限公司 Abnormality detection and recovery method and system for server equipment, server and medium
CN117389781B (en) * 2023-10-18 2024-06-04 上海合芯数字科技有限公司 Abnormality detection and recovery method and system for server equipment, server and medium

Similar Documents

Publication Publication Date Title
US8751783B2 (en) Booting computing devices with EFI aware operating systems
US9430250B2 (en) Bootability with multiple logical unit numbers
US10613773B2 (en) Backing up firmware during initialization of device
US9680712B2 (en) Hardware management and control of computer components through physical layout diagrams
US20170010884A1 (en) Systems And Methods To Securely Inject Binary Images And Code Into Firmware
US8281119B1 (en) Separate normal firmware and developer firmware
CN103150231A (en) Computer booting method and computer system
CN104123153A (en) Apparatus and method for firmware upgrade using USB
US20100049961A1 (en) Update method for basic input/output system and update system thereof
CN113849230A (en) Server starting method and device, electronic equipment and readable storage medium
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
US8176309B2 (en) Boot system has BIOS that reads rescue operating system from memory device via input/output chip based on detecting a temperature of a hard disk
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
US11467849B2 (en) Systems and methods for collecting deep operating system (OS) telemetry
US11221842B2 (en) Systems and methods for executing and verifying system firmware update before committing firmware update to motherboard
EP4296860A1 (en) Method for running startup program of electronic device, and electronic device
CN113821265B (en) Operating system control method and device, computer mainboard and readable storage medium
JP4735765B2 (en) Linux program startup system
US8549273B1 (en) Method and apparatus to present a unique background image on a personal computer display when the computer system is booted from an external drive
US11354109B1 (en) Firmware updates using updated firmware files in a dedicated firmware volume
CN114860268A (en) Operating system installation method and device, electronic equipment and readable storage medium
CN113849229A (en) Server starting method and device, electronic equipment and readable storage medium
CN111783162A (en) Data protection implementation method and device and computer equipment
CN113297010A (en) Firmware recovery method, device and system based on system on chip and storage medium
CN111176735B (en) Method for accelerating startup of electrocardiograph

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