A driving method for a universal server and a universal server

By using complex programmable logic devices and two basic input and output systems in a universal server, a dual-channel server or a twin-star server is formed respectively according to the startup mode, which solves the problem of independent deployment of dual-channel and twin-star servers in the existing technology and realizes for efficient R&D and low-cost versatility.

CN114637547BActive Publication Date: 2024-10-11CHINA GREATWALL TECH GRP CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202210138828.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-15
Publication Date
2024-10-11
Estimated Expiration
2042-02-15

AI Technical Summary

Technical Problem

In the existing technology, dual-channel servers and twin-star servers need to be deployed independently, which increases the user's usage and maintenance costs. It also requires double the investment in research and development resources, and cannot achieve both network access services and computing performance.

Method used

After the baseboard management controller is initialized, the complex programmable logic device guides the central processor to start according to the preset startup mode to form a dual-channel server or a twin server. The two basic input and output systems are used to start the central processor separately to achieve universal Server versatility.

Benefits of technology

It achieves the versatility of a general server, improves research and development efficiency, reduces research and development costs, and can meet the computing power and input and output access performance of users' various needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114637547B_ABST
    Figure CN114637547B_ABST
Patent Text Reader

Abstract

The present invention discloses a driving method of a general server and a general server, wherein the driving method of one embodiment includes: initializing a baseboard management controller; a complex programmable logic device guides a first central processing unit and a second central processing unit to start according to a preset startup mode: in response to the startup mode being set as a dual-way server, using a first basic input-output system to start the first central processing unit and the second central processing unit to form a dual-way server; or in response to the startup mode being set as a Gemini server, using a first basic input-output system and a second basic input-output system to start the first central processing unit and the second central processing unit to form a Gemini server. The embodiment provided by the present invention is based on a dual-way server, and by setting a complex programmable logic device and two basic input-output systems to form a dual-way server or a Gemini server, the versatility of the general server can be increased, and it has practical application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a driving method of a universal server and a universal server. Background Art

[0002] At present, for network access services with high input and output access performance, Gemini servers, i.e. dual-single-channel servers, are usually used, including two motherboards installed in a chassis, each motherboard including memory, hard disk and operating system; in other words, two physical node servers are placed in the same chassis for operation. At the same time, for fields with high computing power and stability requirements, dual-channel servers are usually used, including two central processing units (CPUs) installed on a motherboard in a chassis, as well as a set of memory, hard disk, operating system, and input and output interfaces installed on the motherboard, and the two central processing units share the resources on the motherboard.

[0003] In actual applications, there are usually different requirements for network access services and computing performance in different situations. For this reason, some users can only deploy Gemini servers on the basis of dual-core servers. In addition, both dual-core servers and Gemini servers need to be deployed in independent spaces, which increases the user's usage and maintenance costs. At the same time, for server hardware manufacturers, dual-core servers and Gemini servers use two product lines, which requires double the R&D resources.

[0004] Therefore, how to realize a general server with both network access services and computing performance has become an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] In order to solve at least one of the above problems, a first embodiment of the present invention provides a driving method of a general server, comprising:

[0006] Baseboard management controller initialization;

[0007] The complex programmable logic device guides the first central processing unit and the second central processing unit to start according to a preset startup mode:

[0008] In response to the boot mode being set to a dual-processor server, using a first basic input and output system to boot the first central processing unit and the second central processing unit to form a dual-processor server;

[0009] or

[0010] In response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using a first basic input output system and a second basic input output system respectively to form a binary server.

[0011] For example, in the driving method provided in some embodiments of the present application, the baseboard management controller initialization further includes: starting the baseboard management controller, configuring the PCIE port, reading a first real-time clock, the first real-time clock being electrically connected to the first central processing unit;

[0012] After the baseboard management controller is initialized, before the complex programmable logic device guides the first central processing unit and the second central processing unit to start according to a preset startup mode, the driving method also includes: the complex programmable logic device detects a power button, and guides the first central processing unit and the second central processing unit to start in response to a first trigger operation of the power button.

[0013] For example, in the driving method provided in some embodiments of the present application, in response to the startup mode being set to a dual-processor server, using the first basic input and output system to start the first central processing unit and the second central processing unit to form a dual-processor server further includes:

[0014] The first basic input and output system is used to guide the first central processing unit and the second central processing unit to start up, and the second basic input and output system is used as a backup basic input and output system of the universal server.

[0015] For example, in the driving method provided in some embodiments of the present application, in response to the startup mode being set to a binary server, starting the first central processing unit and the second central processing unit using the first basic input and output system and the second basic input and output system respectively to form a binary server further includes:

[0016] Using the first basic input and output system to guide the first central processing unit to start;

[0017] The second basic input and output system is used to guide the second central processing unit to start up.

[0018] For example, in the driving method provided in some embodiments of the present application, after, in response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using the first basic input and output system and the second basic input and output system respectively to form a binary server, the driving method further includes:

[0019] The complex programmable logic device detects a power button, and in response to a second trigger operation of the power button, respectively powers off the first central processing unit and the second central processing unit;

[0020] The baseboard management controller enters a standby state.

[0021] For example, in the driving method provided in some embodiments of the present application, in response to the startup mode being set as a binary server, starting the first central processor and the second central processor using the first basic input and output system and the second basic input and output system to form a binary server further includes: the first central processor reads the first real-time clock to obtain a clock signal and serves as a time calibration terminal, and the second central processor obtains a clock signal through the time calibration of the first central processor;

[0022] or

[0023] The universal server also includes a second real-time clock electrically connected to the second central processor. In response to the startup mode being set to a binary server, the first central processor and the second central processor are started using the first basic input and output system and the second basic input and output system respectively to form a binary server, further including: the first central processor reads the first real-time clock to obtain a clock signal, and the second central processor reads the second real-time clock to obtain a clock signal.

[0024] For example, in the driving method provided in some embodiments of the present application, the general server further includes a temperature sensor, and the baseboard management controller initialization further includes:

[0025] The temperature sensor measures the temperature of the baseboard management controller;

[0026] It is determined whether the temperature meets a preset temperature threshold, and if so, the baseboard management controller is initialized.

[0027] A second embodiment of the present invention provides a universal server as described in the first embodiment, comprising a baseboard management controller, a complex programmable logic device, a first basic input and output system, a second basic input and output system, a first central processing unit and a second central processing unit, wherein:

[0028] The baseboard management controller is used to initialize and enter a working state;

[0029] The complex programmable logic device is used to guide the first central processing unit and the second central processing unit to start according to a preset startup mode:

[0030] In response to the boot mode being set to a dual-processor server, using a first basic input and output system to boot the first central processing unit and the second central processing unit to form a dual-processor server;

[0031] or

[0032] In response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using a first basic input output system and a second basic input output system respectively to form a binary server.

[0033] For example, in the general server provided in some embodiments of the present application, the general server includes a first real-time clock electrically connected to the first central processor, and when the startup mode is set to a dual-way server, the first central processor reads the first real-time clock to obtain a clock signal and serves as a time calibration terminal, and the second central processor obtains a clock signal through the time calibration of the first central processor;

[0034] or

[0035] The general server includes a first real-time clock electrically connected to the first central processing unit and a second real-time clock electrically connected to the second central processing unit. When the startup mode is set to a Gemini server, the first central processing unit reads the first real-time clock to obtain a clock signal, and the second central processing unit reads the second real-time clock to obtain a clock signal.

[0036] For example, in the general server provided in some embodiments of the present application, the general server also includes a serial port electrically connected to the baseboard management controller, for receiving an external control signal to manage the first central processing unit or the second central processing unit.

[0037] The beneficial effects of the present invention are as follows:

[0038] In view of the existing problems, the present invention develops a driving method for a universal server and a universal server, which is based on the hardware foundation of a dual-way server and forms a dual-way server or a Gemini server by setting a complex programmable logic device and two basic input and output systems, thereby compensating for the problems existing in the prior art, increasing the versatility of the universal server, effectively improving R&D efficiency, and reducing R&D costs, and has practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A flow chart showing a driving method according to an embodiment of the present invention;

[0041] Figure 2 A block diagram showing a dual-core server formed according to an embodiment of the present invention;

[0042] Figure 3 A block diagram showing a Gemini server formed according to an embodiment of the present invention;

[0043] Figure 4a-4c A schematic diagram showing the processing of the SOL function according to an embodiment of the present invention;

[0044] Figure 5 A schematic diagram showing a PXE device identifier according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present invention.

[0046] In view of the problems existing in the existing technology, such as Figure 1 As shown, an embodiment of the present invention provides a driving method for a general server, comprising:

[0047] Baseboard management controller initialization;

[0048] The complex programmable logic device guides the first central processing unit and the second central processing unit to start according to a preset startup mode:

[0049] In response to the boot mode being set to a dual-processor server, using a first basic input and output system to boot the first central processing unit and the second central processing unit to form a dual-processor server;

[0050] or

[0051] In response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using a first basic input output system and a second basic input output system respectively to form a binary server.

[0052] In this embodiment, based on the hardware foundation of a dual-way server, that is, based on a mainboard and two central processing units, a dual-way server or a Gemini server is formed by setting a complex programmable logic device and two basic input and output systems. Specifically, when the startup mode of the complex programmable logic device is set to a dual-way server, and a basic input and output system is set to a dual-way server, the general server is started as a dual-way server, for example, one basic input and output system is used to guide the two central processing units to start and form a dual-way server to achieve higher computing power performance and stability performance; when the startup mode of the complex programmable logic device is set to a Gemini server, and the two basic input and output systems are respectively set to single-way servers, the general server is started as a Gemini server, for example, two basic input and output systems are used to guide the two central processing units to start, that is, the mainboard of the dual-way server is split into two single-way operations, and two single-way Gemini servers that do not affect each other are formed to achieve network access services with higher input and output access performance; thereby making up for the problems existing in the prior art, increasing the versatility of the general server, effectively improving R&D efficiency, and reducing R&D costs, and having practical application value.

[0053] In a specific example, the general server includes a baseboard management controller BMC, a complex programmable logic device CPLD, a first basic input and output system BIOS1, a second basic input and output system BIOS2, a first central processing unit CPU1 and a second central processing unit CPU2. The hardware structure of the general server is a dual-way server. Based on the hardware foundation of the dual-way server, the general server is formed into a dual-way server or a Gemini server by setting a complex programmable logic device CPLD, a first basic input and output system BIOS1 and a second basic input and output system BIOS2, thereby meeting various needs of users.

[0054] Specifically, when the general server is powered on:

[0055] First, the baseboard management controller BMC is initialized.

[0056] In this embodiment, initializing the baseboard management controller BMC specifically includes: starting the baseboard management controller BMC, for example, the power indicator light on the chassis flashes at a frequency of 1 Hz, configuring the PCIE port, reading the first real-time clock RTC1, and the general server is in standby mode.

[0057] Considering that a certain temperature needs to be met when starting the general server, in an optional embodiment, the general server further includes a temperature sensor, and the temperature sensor measures the temperature of the baseboard management controller BMC;

[0058] It is determined whether the temperature meets a preset temperature threshold, and if so, the baseboard management controller BMC is initialized.

[0059] In this embodiment, in order to meet the temperature requirement for starting a general server, the temperature of the baseboard management controller BMC is measured by a temperature sensor. When the measured temperature meets a preset temperature threshold, for example, when the measured temperature is greater than 0°C, the baseboard management controller is initialized.

[0060] It is worth noting that those skilled in the art should understand that when the measured temperature does not meet the preset temperature threshold, the chassis can be heated until the temperature measured by the temperature sensor meets the preset temperature threshold. This application does not make specific limitations on this.

[0061] Secondly, the complex programmable logic device CPLD starts and detects the power-on button, and guides the first central processing unit CPU1 and the second central processing unit CPU2 to start in response to a first trigger operation of the power-on button.

[0062] In this embodiment, the complex programmable logic device CPLD is started, and the preset startup mode is read to determine whether to start the general server according to the dual-way server or the Gemini server; and the button detection state is entered to detect the status of the power button, for example, the power indicator light no longer flashes and is in a normally on state.

[0063] When the complex programmable logic device CPLD detects that the power button is pressed, for example, the power button is pressed for 1 second, the complex programmable logic device starts the power-on process, for example, guiding the first central processing unit CPU1 and the second central processing unit CPU2 to start.

[0064] In an optional embodiment, the startup mode of the complex programmable logic device CPLD is set to a dual-way server, and the first basic input and output system BIOS1 is set to a dual-way server.

[0065] like Figure 2 As shown, at this time, the mainboard includes a complex programmable logic device CPLD, a first basic input and output system BIOS1, a first central processing unit CPU1 and a second central processing unit CPU2, as well as a set of memory modules, hard disk modules and IO modules. The first central processing unit CPU1 and the second central processing unit CPU2 share the memory module, hard disk module and IO module.

[0066] In this embodiment, when the complex programmable logic device CPLD detects that the power button is pressed, the first basic input and output system BIOS1 is used to guide the first central processing unit CPU1 and the second central processing unit CPU2 to start, that is, the first central processing unit CPU1 and the second central processing unit CPU2 are started according to the first basic input and output system BIOS1, and the universal server forms a dual-way server, and the two central processing units share the resources on the motherboard. It should be noted that in this embodiment, the second basic input and output system BIOS2 is not used temporarily.

[0067] In this embodiment, the mainboard also includes a first real-time clock RTC1 connected to the first central processing unit CPU1. Since the general server is a dual-channel server, the first central processing unit CPU1 obtains a clock signal from the first real-time clock RTC1, and the second central processing unit CPU2 shares the clock signal with the first central processing unit CPU1.

[0068] In this embodiment, in order to further improve the stability of the general server, the second basic input and output system BIOS2 is set as a dual-way server and serves as a backup basic input and output system of the general server. In actual application, when the first basic input and output system BIOS1 fails and cannot be used, the first central processing unit CPU1 and the second central processing unit CPU2 are guided to start up by the second basic input and output system BIOS2 serving as the backup basic input and output system, thereby effectively improving the stability of the general server.

[0069] It is worth noting that, in this embodiment, the first central processing unit CPU1 is connected to the PCIE interface 1 through the PCIE switch 1 , and the second central processing unit CPU2 is connected to the PCIE interface 2 through the PCIE switch 2 .

[0070] In another optional embodiment, the startup mode of the complex programmable logic device CPLD is set to a binary server, the first basic input and output system BIOS1 is set to a single-channel server, and the second basic input and output system BIOS2 is also set to a single-channel server.

[0071] like Figure 3 As shown, the mainboard now includes a complex programmable logic device CPLD, a first central processing unit CPU1 and a second central processing unit CPU2, as well as a memory module 1, a hard disk module 1 and an IO module 1 with the first central processing unit CPU1 as the main body, and a memory module 2, a hard disk module 2 and an IO module 2 with the second central processing unit CPU2 as the main body.

[0072] In this embodiment, when the complex programmable logic device CPLD detects that the power button is pressed, the first basic input and output system BIOS1 is used to guide the first central processing unit CPU1 to start, and the second basic input and output system BIOS2 is used to guide the second central processing unit CPU2 to start, that is, the corresponding central processing unit CPU is started according to different basic input and output system BIOS respectively, and the general server forms a Gemini server, that is, the resources on the motherboard are split into two independent single-channel systems, and the two central processing units use their own system resources respectively. Specifically, the first central processing unit CPU1 is connected to the memory module 1, and is connected to the IO module 1 and the hard disk module 1 through the PCIE switch 1; the second central processing unit CPU2 is connected to the memory module 2, and is connected to the IO module 2 and the hard disk module 2 through the PCIE switch 2.

[0073] It is worth noting that, in this embodiment, the IO module 1 includes an input / output interface and a PCIE interface connected to the first central processing unit CPU1, and the IO module 2 includes an input / output interface and a PCIE interface connected to the second central processing unit CPU2.

[0074] Based on the formed Gemini server, in an optional embodiment, the first central processor CPU1 reads the first real-time clock RTC1 to obtain a clock signal and serves as the time calibration terminal NTP, and the second central processor CPU2 obtains a clock signal through the time calibration of the first central processor CPU1.

[0075] In this embodiment, the mainboard also includes a first real-time clock RTC1 connected to the first central processing unit CPU1. Since the general server is a Gemini server, the first central processing unit CPU1 obtains a clock signal from the first real-time clock RTC1. At the same time, the first central processing unit CPU1 serves as a time calibration NTP server, and the second central processing unit CPU2 performs time calibration through the first central processing unit CPU1 to obtain a clock signal.

[0076] Based on the formed Gemini server, in another optional embodiment, the general server also includes a second real-time clock RTC2 electrically connected to the second central processing unit CPU2, the first central processing unit CPU1 reads the first real-time clock RTC1 to obtain a clock signal, and the second central processing unit CPU2 reads the second real-time clock RTC2 to obtain a clock signal.

[0077] In this embodiment, the mainboard also includes a first real-time clock RTC1 connected to the first central processing unit CPU1, and a second real-time clock RTC2 electrically connected to the second central processing unit CPU2. Since the general server is a Gemini server, the first central processing unit CPU1 obtains a clock signal from the first real-time clock RTC1, and at the same time, the second central processing unit CPU2 obtains a clock signal from the second real-time clock RTC2.

[0078] At this point, the general server enters the working state. That is, when the complex programmable logic device CPLD is set as a dual-way server, the first central processing unit CPU1 and the second central processing unit CPU2 are started according to the first basic input and output system BIOS1 to form a dual-way server; when the complex programmable logic device CPLD is set as a binary server, the first central processing unit CPU1 is started according to the first basic input and output system BIOS1, and the second central processing unit CPU2 is started according to the second basic input and output system BIOS2, thereby forming a binary server.

[0079] Finally, the general purpose server is powered off in response to the shutdown operation.

[0080] In an optional embodiment, based on a general-purpose server set as a dual-core server, the complex programmable logic device CPLD detects a power button, for example, the power button is pressed for 5 seconds, and the complex programmable logic device starts a power-off process, for example, guiding the first central processing unit CPU1 and the second central processing unit CPU2 to power off, and the complex programmable logic device CPLD and the baseboard management controller BMC enter a standby state.

[0081] In another optional embodiment, based on a general server set as a Gemini server, the complex programmable logic device CPLD detects a power button, for example, the power button is pressed for 5 seconds, and the complex programmable logic device starts a power-off process, for example, respectively guiding the first central processing unit CPU1 and the second central processing unit CPU2 to power off, and the complex programmable logic device CPLD and the baseboard management controller BMC enter a standby state.

[0082] Corresponding to the driving method provided in the above-mentioned embodiment, an embodiment of the present application also provides a general server for implementing the above-mentioned driving method. Since the driving method provided in the embodiment of the present application corresponds to the general servers provided in the above-mentioned embodiments, the previous implementation method is also applicable to the general server provided in this embodiment and will not be described in detail in this embodiment.

[0083] like Figure 2 and Figure 3As shown, an embodiment of the present application also provides a universal server for implementing the above-mentioned driving method, including a baseboard management controller BMC, a complex programmable logic device CPLD, a first basic input and output system BIOS1, a second basic input and output system BIOS2, a first central processing unit CPU1 and a second central processing unit CPU2, wherein:

[0084] The baseboard management controller BMC is used to initialize and enter the working state;

[0085] The complex programmable logic device CPLD is used to guide the first central processing unit CPU1 and the second central processing unit CPU2 to start according to a preset startup mode.

[0086] Specifically, when the complex programmable logic device CPLD responds to the startup mode being set as a dual-way server, the first basic input and output system BIOS1 is used to start the first central processing unit CPU1 and the second central processing unit CPU2 to form a dual-way server;

[0087] When the complex programmable logic device CPLD responds to the startup mode being set to a binary server, the first basic input output system BIOS1 and the second basic input output system BIOS2 are used to start the first central processing unit CPU1 and the second central processing unit CPU2 to form a binary server.

[0088] In this embodiment, based on the hardware foundation of a dual-way server, that is, based on a mainboard and two central processing units, a dual-way server or a Gemini server is formed by setting a complex programmable logic device and two basic input and output systems. Specifically, when the startup mode of the complex programmable logic device is set to a dual-way server, and a basic input and output system is set to a dual-way server, the general server is started as a dual-way server, for example, one basic input and output system is used to guide the two central processing units to start and form a dual-way server to achieve higher computing power performance and stability performance; when the startup mode of the complex programmable logic device is set to a Gemini server, and the two basic input and output systems are respectively set to single-way servers, the general server is started as a Gemini server, for example, two basic input and output systems are used to guide the two central processing units to start, that is, the mainboard of the dual-way server is split into two single-way operations, and two single-way Gemini servers that do not affect each other are formed to achieve network access services with higher input and output access performance; thereby making up for the problems existing in the prior art, increasing the versatility of the general server, effectively improving R&D efficiency, and reducing R&D costs, and having practical application value.

[0089] In an optional embodiment, the general server includes a first real-time clock RTC1 electrically connected to the first central processing unit CPU1. When the startup mode is set to a dual-way server, the first central processing unit CPU1 reads the first real-time clock RTC1 to obtain a clock signal and serves as a timing terminal NTP, and the second central processing unit CPU2 obtains a clock signal through the timing of the first central processing unit CPU.

[0090] In this embodiment, since the general server is a Gemini server, the first central processor CPU1 obtains a clock signal from the first real-time clock RTC1. At the same time, the first central processor CPU1 serves as a time-correcting NTP server, and the second central processor CPU2 performs time correction through the first central processor CPU1 to obtain a clock signal.

[0091] In an optional embodiment, the general server includes a first real-time clock RTC1 electrically connected to the first central processing unit CPU1, and a second real-time clock RTC2 electrically connected to the second central processing unit CPU2. When the startup mode is set to a Gemini server, the first central processing unit CPU1 reads the first real-time clock RTC1 to obtain a clock signal, and the second central processing unit CPU2 reads the second real-time clock RTC2 to obtain a clock signal.

[0092] In this embodiment, since the general server is a Gemini server, the first central processing unit CPU1 obtains a clock signal from the first real-time clock RTC1, and at the same time, the second central processing unit CPU2 obtains a clock signal from the second real-time clock RTC2.

[0093] In an optional embodiment, the general server further includes a serial port electrically connected to the baseboard management controller BMC, for receiving an external control signal to manage the first central processing unit CPU1 or the second central processing unit CPU2.

[0094] In this embodiment, the baseboard management controller BMC is respectively connected to the first serial port connected to the first central processing unit CPU1, and the second serial port connected to the second central processing unit CPU2. Through the first serial port and the second serial port, the general server receives an external control signal to implement the SOL function, that is, remote management is implemented through the two serial ports respectively. Further, the SOL function switching of the first central processing unit CPU1 and the second central processing unit CPU2 is implemented through the baseboard management controller BMC, thereby realizing the user's remote control of the general server.

[0095] In a specific embodiment, when the general server is set as a Gemini server, due to hardware limitations, the KVM interactive function cannot be provided. Therefore, the BIOS interface display and operation of the remote system need to be operated through the web SOL function or processed through the IPMITOOL SOL command.

[0096] First, if Figure 4a As shown, enter the HTTPS BMC URL in the browser and press Enter to see the login page. Enter the username and password to log in. For example, the default username of Gemini is cecloud and the default password is %cisbmc@ceclouD99%

[0097] Secondly, if Figure 4b As shown, find [Server Control] > [SOL Console] in the right navigation bar and click to enter the SOL management page.

[0098] Finally, if Figure 4c As shown, in [SOL Channel Settings] at the bottom of the serial port display window on the page, you can select [CPU0] or [CPU1] serial port data to display as needed.

[0099] It is worth noting that if the SOL display window interface data cannot be output during the CPU channel switching process, the [Abnormal Recovery] button at the bottom can be used to restore such abnormality.

[0100] It is worth noting that when the general server is set as a Gemini server, the Gemini PXE installation system is described according to the following process:

[0101] First, make sure that the corresponding PXE option is turned on in BIOS, and set the PXE boot item to the front or there is no operating system in the hard disk.

[0102] Secondly, there is no problem with the network connection to the PXE server.

[0103] Again, the OS installation script on the PXE server should be set to a fully automated installation mode.

[0104] Finally, after the OS installation is complete, restart and boot from the hard disk. If the startup item settings have been modified, change the startup item to hard disk priority.

[0105] It is worth noting that if Figure 5 As shown, in order to identify the PXE device identifier, the device defines the MAC address of a network card of each CPU in the electronic label, such as the MAC address of the PXE network card of each CPU in the binary star framed by the box. Among them, the configuration rule is: at least ensure that the MAC address of one network card of each CPU is written to the FRU location.

[0106] In view of the existing problems, the present invention develops a driving method for a universal server and a universal server, which is based on the hardware foundation of a dual-way server and forms a dual-way server or a Gemini server by setting a complex programmable logic device and two basic input and output systems, thereby compensating for the problems existing in the prior art, increasing the versatility of the universal server, effectively improving R&D efficiency, and reducing R&D costs, and has practical application value.

[0107] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.

Claims

1. A method for driving a general server, characterized in that: include: Baseboard management controller initialization; The complex programmable logic device guides the first central processing unit and the second central processing unit to start up according to a preset startup mode; In response to the boot mode being set to a dual-processor server, using a first basic input and output system to boot the first central processing unit and the second central processing unit to form a dual-processor server; or In response to the startup mode being set to a binary server, starting the first central processing unit and the second central processing unit using a first basic input and output system and a second basic input and output system respectively to form a binary server; The baseboard management controller initialization further includes: starting the baseboard management controller, configuring the PCIE port, and reading a first real-time clock, wherein the first real-time clock is electrically connected to the first central processing unit; After the BMC is initialized, and before the CPLD guides the first CPU and the second CPU to start up according to a preset startup mode, the driving method further includes: the CPLD detects a power button, and guides the first CPU and the second CPU to start up in response to a first trigger operation of the power button; In response to the startup mode being set to a dual-processor server, using a first basic input and output system to start the first central processing unit and the second central processing unit to form a dual-processor server further comprises: Using the first basic input and output system to guide the first central processing unit and the second central processing unit to start, the second basic input and output system is used as a backup basic input and output system of the universal server; In response to the startup mode being set to a binary server, using the first basic input and output system and the second basic input and output system to start the first central processing unit and the second central processing unit to form a binary server further comprises: Using the first basic input and output system to guide the first central processing unit to start; The second basic input and output system is used to guide the second central processing unit to start up.

2. The driving method according to claim 1, characterized in that: After, in response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using the first basic input and output system and the second basic input and output system respectively to form a binary server, the driving method further includes: The complex programmable logic device detects a power button, and in response to a second trigger operation of the power button, powers off the first central processing unit and the second central processing unit respectively; and the baseboard management controller enters a standby state.

3. The driving method according to any one of claims 1 to 2, characterized in that: In response to the startup mode being set to a binary server, the first central processor and the second central processor are started using the first basic input and output system and the second basic input and output system respectively to form a binary server, further comprising: the first central processor reads the first real-time clock to obtain a clock signal and serves as a time calibration terminal, and the second central processor obtains a clock signal through the time calibration of the first central processor; or The universal server also includes a second real-time clock electrically connected to the second central processor. In response to the startup mode being set to a binary server, the first central processor and the second central processor are started using the first basic input and output system and the second basic input and output system respectively to form a binary server, further including: the first central processor reads the first real-time clock to obtain a clock signal, and the second central processor reads the second real-time clock to obtain a clock signal.

4. The driving method according to claim 1, characterized in that: The general server further includes a temperature sensor, and the baseboard management controller initialization further includes: measuring the temperature of the baseboard management controller by the temperature sensor; and determining whether the temperature meets a preset temperature threshold, and if so, initializing the baseboard management controller.

5. A general server using the driving method according to any one of claims 1 to 4, characterized in that: It includes a baseboard management controller, a complex programmable logic device, a first basic input and output system, a second basic input and output system, a first central processing unit and a second central processing unit, wherein the baseboard management controller is used for initializing and entering a working state; The complex programmable logic device is used to guide the first central processing unit and the second central processing unit to start according to a preset startup mode: In response to the boot mode being set to a dual-processor server, using a first basic input and output system to boot the first central processing unit and the second central processing unit to form a dual-processor server; or In response to the startup mode being set to a binary server, the first central processing unit and the second central processing unit are started using a first basic input output system and a second basic input output system respectively to form a binary server.

6. The universal server according to the driving method of claim 5, characterized in that: The universal server includes a first real-time clock electrically connected to the first central processor. When the startup mode is set to a dual-way server, the first central processor reads the first real-time clock to obtain a clock signal and serves as a time calibration terminal. The second central processor obtains a clock signal through the time calibration of the first central processor. or The general server includes a first real-time clock electrically connected to the first central processing unit and a second real-time clock electrically connected to the second central processing unit. When the startup mode is set to a Gemini server, the first central processing unit reads the first real-time clock to obtain a clock signal, and the second central processing unit reads the second real-time clock to obtain a clock signal.

7. The universal server according to the driving method of claim 5, characterized in that: The universal server further includes a serial port electrically connected to the baseboard management controller, and configured to receive an external control signal to manage the first central processing unit or the second central processing unit.

Citation Information

Patent Citations

  • Framework of binary star type server

    CN105824374A

  • Server and communication method

    CN111666236A

  • Multi-path server system and method for adjusting starting number of CPUs

    CN111966197A

  • PCIe SWITCH-based system device and PCIe SWITCH-based configuration method

    CN112650700A

  • Method, device and equipment for measuring double BIOSs (Basic Input / Output System) of multi-path server

    CN112817643A