CN110865819A - OS installation method, server and system - Google Patents

OS installation method, server and system Download PDF

Info

Publication number
CN110865819A
CN110865819A CN201910955377.5A CN201910955377A CN110865819A CN 110865819 A CN110865819 A CN 110865819A CN 201910955377 A CN201910955377 A CN 201910955377A CN 110865819 A CN110865819 A CN 110865819A
Authority
CN
China
Prior art keywords
server
installation
state information
bmc
operating system
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.)
Granted
Application number
CN201910955377.5A
Other languages
Chinese (zh)
Other versions
CN110865819B (en
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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910955377.5A priority Critical patent/CN110865819B/en
Publication of CN110865819A publication Critical patent/CN110865819A/en
Application granted granted Critical
Publication of CN110865819B publication Critical patent/CN110865819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The application discloses an installation method of an OS, which comprises the following steps: the server receives an installation notification message sent by the control platform; the server acquires OS installation state information from a related Baseboard Management Controller (BMC) and returns the OS installation state information to the control platform; the server receives an OS installation file sent by the control platform under the condition that the OS installation state information represents an uninstalled state; and the server installs the operating system according to the OS installation file. The embodiment of the invention also discloses a server and a system. By adopting the method and the device, the OS installation state of the server can be accurately determined, and the error installation is avoided.

Description

OS installation method, server and system
Technical Field
The invention relates to the field of computers, in particular to an installation method, a server and a system of an OS.
Background
When an operating system needs to be installed on a server cluster, the currently adopted method is as follows: the server cluster is networked in an IP network mode, each server is allocated with 1 IP address, the control platform respectively installs an operating system for each server in the server cluster, and after the operating systems of the servers are installed successfully, the control platform records the IP addresses of the servers in the installation state list. However, the applicant finds that when the number of servers or the network topology of the server cluster changes, the IP address of the server may be changed, so that the control platform cannot correctly identify the installation state of the operating system on the server, which is likely to cause false installation, resulting in loss of data on the server.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide an installation method of an operating system and a server. The false installation of the operating system on the server can be avoided.
In a first aspect, an embodiment of the present invention provides an installation method of an operating system, where a control platform is used to control a server cluster, for example: and the control platform adds a new server to the server cluster, deletes the old server, performs network configuration and resource configuration on the server cluster, and the like. When the control platform needs to install an operating system on one or more servers in the server cluster, the control platform broadcasts an installation notification message to the server cluster, and for any one server in the server cluster, the working process of the server is as follows: the method includes that a server receives an installation notification message sent by a control platform, where the installation notification message is used to indicate that an Operating System is to be installed, the server is provided with a BMC (Baseboard Management Controller), the BMC stores OS (Operating System, OS for short) installation state information, the OS installation state information may be stored in a non-volatile memory of the BMC, and the OS installation state information is represented by a state flag bit, for example: "1" indicates installed, and "0" indicates an uninstalled state. The method comprises the steps that a server acquires own OS installation state information from a related BMC, the server returns the OS installation state information to a control platform, the control platform receives the OS installation state information returned by the server, and sends an OS installation file to the server under the condition that the OS installation state information indicates an uninstalled state, wherein the OS installation file comprises but is not limited to an image file or an executable file. And the server receives the OS installation file and installs the operating system according to the OS installation file. In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
In one possible implementation of this aspect, when detecting that the operating system is successfully installed, the server sends a success indication message to the associated BMC, and the BMC updates the OS installation state information to installed after receiving the success indication message. For example: the OS installation state information is represented by a state flag bit, "0" represents an uninstalled state, "1" represents an installed state, and the BMC updates the value of the state flag bit to "1" after receiving the success indication message.
In a possible implementation manner of this aspect, when the server detects that a preset trigger condition is met, the preset trigger condition includes, but is not limited to: the version information of the operating system installed by the server is different from the version information of the operating system released on the control platform, or the operating system is updated according to the use requirement, the server sends a state updating message to the associated BMC, and the BMC updates the stored OS installation state information to be uninstalled after receiving the state updating message.
In one possible implementation manner of this aspect, the communication manner between the server and the BMC may be an out-of-band communication manner or an in-band communication manner, where the out-of-band communication manner includes communication between the server and the BMC through an IP protocol, and the in-band communication manner includes communication between the server and the BMC through an IMPI protocol.
In a possible implementation manner of this aspect, the installation notification message further carries a first hash value of the installation file, after receiving the installation file, the server performs hash operation on the installation file according to a preset hash algorithm to obtain a second hash value, compares the second hash value with the first hash value carried in the installation notification message, and if the second hash value is the same as the first hash value, it indicates that the OS installation file is complete, and the server installs the operating system according to the installation file.
In a second aspect, the present application further provides a server, including:
the first receiving module is used for receiving an installation notification message sent by the control platform;
the acquisition module is used for acquiring OS installation state information from a related Baseboard Management Controller (BMC) and returning the OS installation state information to the control platform;
a second receiving module, configured to receive an OS installation file sent by the control platform when the OS installation state information indicates an uninstalled state;
and the installation module is used for installing the operating system according to the OS installation file.
In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
In one possible implementation of this aspect, the server further comprises:
a first indication module, configured to send a success indication message to an associated BMC when the operating system is successfully installed, where the success indication message is used to indicate the BMC to update the OS installation state information to the installed OS.
In one possible implementation of this aspect, the server further comprises:
and the second indicating module is used for sending a state updating message to the associated BMC when detecting that a preset triggering condition is met, wherein the state updating message is used for indicating the BMC to update the OS installation state information to be uninstalled.
In one possible embodiment of this aspect, the server communicates with the associated BMC via an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
In a possible implementation manner of this aspect, the installation notification message carries a first hash value, and the installation module is specifically configured to:
the server acquires the Hash check code carried in the installation notification message;
the server performs hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, the server installs the operating system according to the OS installation file.
In a third aspect, the present application provides a method for installing an operating system, including
The control platform broadcasts an installation notification message to the server cluster; the server cluster comprises one or more servers;
for each server in the server cluster, the server receives the installation notification message sent by the control platform;
the server acquires OS installation state information from a related Baseboard Management Controller (BMC) and returns the OS installation state information to the control platform;
the control platform receives OS installation state information returned by the server, judges whether the OS installation state information represents an uninstalled state or not according to the OS installation state information, and sends an OS installation file to the server if the OS installation state information represents the uninstalled state;
the server receives an OS installation file sent by the control platform;
and the server installs the operating system according to the OS installation file.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, 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 the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an OS installation system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an OS installation method according to an embodiment of the present invention;
FIG. 3 is an interaction diagram of an OS installation method according to an embodiment of the present invention
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 5 is another schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 1, a schematic structural diagram of a mounting system provided in an embodiment of the present invention is shown, where in the embodiment of the present invention, the mounting system includes: the system comprises a control platform 10 and servers 11 to 1n, wherein each server in the servers 11 to 1n is provided with 1 BMC, the control platform 10 is linked with each server, and the control platform and the servers can communicate with each other by using an existing communication protocol, such as an IPMI protocol, an ethernet protocol, a PCIE protocol or other protocols, which is not limited in this embodiment. Each BMC may be disposed on a motherboard of an associated server, each BMC may be connected to the associated server through a PCIE bus or a QPI bus or other buses, and a communication mode between each BMC and the server may be an in-band mode or an out-of-band mode. In the case that the server does not have any operating system installed, the installation state information indicating the operating system on the server in the memory of the associated BMC indicates an uninstalled state; in the case of a server having an installed operating system, the server may instruct the associated BMC to modify the installation state information to indicate the installed state. For example: the installation state information is represented by 1bit of bits, "1" represents an installed state, and "0" represents an uninstalled state. In some scenarios, even if an operating system is installed on the server and the server needs to upgrade or override the current operating system, the server may instruct the associated BMC to modify the installation state information to indicate an uninstalled state.
The working principle of the system is as follows: the control platform 10 broadcasts installation notification messages to the managed servers 11-1 n, and each server can receive the installation notification messages; it can be understood that the control platform 10 may also send the installation notification message to a certain server of the servers 11 to 1n in a unicast manner, or the control platform 10 may also send the installation notification message to a part of the servers 11 to 1n in a multicast manner. For each server, the processing procedure after the server receives the installation notification message is the same, and the processing procedure is described by taking the server 11 as an example: the server 11 receives an installation notification message sent by the control platform 10, acquires OS installation state information from the associated BMC111, wherein the OS installation state information may be stored in a memory of the BMC or a memory of the server, after acquiring the OS installation state information of the server 11 from a specified memory, the BMC returns the OS installation state information to the server 11, the server 11 receives the OS installation state information, requests the control platform 10 to send an OS installation file to be installed when analyzing that the OS installation state information indicates that the OS installation state information does not exist, the server 11 receives the OS installation file sent by the control platform, wherein the OS installation file may be an image file or an executable file, and the server 11 installs an operating system according to the OS installation file.
In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
Referring to fig. 2, a flowchart of an OS installation method provided in an embodiment of the present invention is schematically illustrated, where in the embodiment of the present invention, the method includes:
s201, the server receives an installation notification message sent by the control platform.
Specifically, the control platform is used for controlling the service cluster, for example: the control platform adds a new server to the server cluster, deletes an old server, and performs network configuration and resource configuration on the servers in the server cluster, and a communication mode between the control platform and the servers may be based on an ethernet protocol, a TCP/IP protocol, a PCIE protocol, or other protocols, which is not limited in this embodiment. When the control platform needs to install, update or cover the operating system for one or more servers in the server cluster, an installation notification message is broadcasted to the servers, the installation notification message is used for notifying the servers to prepare for installing the operating system, and the servers can suspend the currently processed service and backup the service data after receiving the installation notification message.
S202, the server acquires OS installation state information from the associated baseboard management controller BMC and returns the OS installation state information to the control platform.
Specifically, the server is provided with a BMC, the BMC stores OS installation state information, the OS installation state information may be stored in a nonvolatile memory of the BMC, and the OS installation state information is represented by a state flag bit, for example: "1" indicates installed, and "0" indicates an uninstalled state. The method comprises the steps that a server acquires own OS installation state information from a related BMC, the server returns the OS installation state information to a control platform, the control platform receives the OS installation state information returned by the server, and sends an OS installation file to the server under the condition that the OS installation state information indicates an uninstalled state, wherein the OS installation file comprises but is not limited to an image file or an executable file.
And S203, under the condition that the OS installation state information shows an uninstalled state, the server receives an OS installation file sent by the control platform.
And S204, the server installs the operating system according to the OS installation file.
In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
Optionally, the OS installation method of this embodiment further includes:
and when the operating system is successfully installed, the server sends a success indication message to the associated BMC, wherein the success indication message is used for indicating the BMC to update the OS installation state information to the installed state.
Specifically, the server sends a success indication message to the associated BMC, and the BMC determines that the operating system is successfully installed after receiving the success indication message, and modifies the OS installation state information to the installed state. For example: the current bit representing the OS installation state information is "0", and the BMC modifies the bit "0" to "1" after receiving the success indication message. It should be noted that the installation state information may be stored in a memory of the BMC, for example, a flash memory, or a memory of the server, and the embodiment is not limited.
Optionally, the OS installation method of this embodiment further includes:
and when detecting that a preset trigger condition is met, the server sends a state updating message to the associated BMC, wherein the state updating message is used for indicating the BMC to update the OS installation state information to be uninstalled.
Specifically, the preset trigger condition includes, but is not limited to, receiving a trigger instruction sent by a user, where the trigger instruction is used to instruct the server to modify the OS installation state information, or when the server detects that the current version information of the operating system is inconsistent with the version information of the operating system on the control platform, the server sends a state update message to the associated BMC, and the state update message is used to instruct the BMC to update the current OS installation state information to an uninstalled state.
Optionally, the server and the associated BMC communicate with each other through an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
Optionally, the installing notification message carries a first hash value, and the installing, by the server, the operating system according to the OS installation file includes:
the server acquires the Hash check code carried in the installation notification message;
the server performs hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, the server installs the operating system according to the OS installation file.
Specifically, the server verifies whether the OS installation file is modified through hash verification, and executes the installation process of the operating system only under the condition that the OS installation file is determined not to be modified, so that the problems that the installation is unsuccessful and the computing resources of the server are wasted are avoided.
In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
Referring to fig. 3, an interaction diagram of an OS installation method provided in an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s301, the control platform sends an installation notification message to the server.
S302, the server receives the installation notification message and sends an inquiry request of the OS installation state information to the BMC.
S303, the BMC receives the query request and queries the OS installation state information of the server in the specified memory. The memory may be a memory of a BMC, such as a flash memory.
S304, the memory returns the installation state information of the server to the BMC.
S305, the BMC returns the inquired OS installation state information to the server.
S306, the server returns the received OS installation state information to the control platform.
S307, the control platform receives the OS installation state information, analyzes the OS installation state information, and executes S308 if the OS installation state information indicates an uninstalled state; if the OS installation state information indicates an installed state, the process ends.
S308, the control platform transmits the OS installation file to the server.
S309, the server receives the OS installation file, hash check is carried out on the OS installation file, and integrity of the OS installation file is verified
And S310, after the verification of the OS installation file is passed, installing the operating system according to the OS installation file.
And S311, after the operating system is successfully installed according to the OS installation file, the server sends a success indication message to the BMC, wherein the success indication message is used for indicating the BMC to modify the OS installation state information, and modifying the OS installation state information to show the installed state.
S312, the BMC modifies the installation state information in the memory, and the modified installation state information represents the installed state.
It should be noted that, when detecting that a preset trigger condition is met, the server actively sends a status update message to the associated BMC, where the status update message is used to instruct the BMC to update the OS installation status information to be uninstalled.
Specifically, the preset trigger condition includes, but is not limited to, receiving a trigger instruction sent by a user, where the trigger instruction is used to instruct the server to modify the OS installation state information, or when the server detects that the current version information of the operating system is inconsistent with the version information of the operating system on the control platform, the server sends a state update message to the associated BMC, and the state update message is used to instruct the BMC to update the current OS installation state information to an uninstalled state.
In the embodiment, the BMC stores the OS installation state information of the server, the OS installation state information is stored without depending on a network space, and when the server is instructed to install the operating system, the control platform may determine whether the operating system needs to be installed according to the OS installation state information, so that the incorrect installation of the operating system on the server can be effectively prevented.
Referring to fig. 4, a schematic structural diagram of a server according to an embodiment of the present invention is provided, where the server according to the embodiment of the present invention is configured to execute an OS installation method in fig. 2, and the related terms and procedures may be described with reference to the embodiment of fig. 2. The server 4 includes: a first receiving module 40, an obtaining module 41, a second receiving module 42 and an installing module 43.
And the first receiving module 40 is configured to receive an installation notification message sent by the control platform.
The obtaining module 41 is configured to obtain OS installation state information from the associated baseboard management controller BMC, and return the OS installation state information to the control platform.
A second receiving module 42, configured to receive the OS installation file sent by the control platform when the OS installation state information indicates an uninstalled state.
And an installation module 43, configured to install the operating system according to the OS installation file.
Optionally, the server 4 further includes:
a first indication module, configured to send a success indication message to an associated BMC when the operating system is successfully installed, where the success indication message is used to indicate the BMC to update the OS installation state information to an installed state.
Optionally, the server 4 further includes:
and the second indicating module is used for sending a state updating message to the associated BMC when detecting that a preset triggering condition is met, wherein the state updating message is used for indicating the BMC to update the OS installation state information to an uninstalled state.
Optionally, the server communicates with the associated BMC through an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
Optionally, the installation notification message carries a first hash value, and the installation module 43 is specifically configured to:
the server acquires the Hash check code carried in the installation notification message;
the server performs hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, the server installs the operating system according to the OS installation file.
The embodiment of the present invention and the first embodiment of the method in fig. 2 are based on the same concept, and the technical effects brought by the embodiments are also the same, and the specific process can refer to the description of the first embodiment of the method in fig. 2, which is not described herein again.
Referring to fig. 5, another schematic structural diagram of a server according to an embodiment of the present invention is provided, in which the server 5 includes a processor 50, a memory 51, and a transceiver 52. The transceiver 52 is used for transmitting and receiving data to and from an external device. The number of processors 50 in the server 5 may be one or more. In some embodiments of the invention, the processor 50, the memory 51 and the transceiver 52 may be connected by a bus system or other means. The server 5 may be adapted to perform the method shown in fig. 2. With regard to the meaning and examples of the terms involved in the present embodiment, reference may be made to the embodiment corresponding to fig. 2. And will not be described in detail herein.
Wherein the memory 51 stores program codes. The processor 50 is configured to call program code stored in the memory 51 for performing the following operations:
receiving an installation notification message sent by a control platform;
acquiring OS installation state information from a related Baseboard Management Controller (BMC), and returning the OS installation state information to the control platform;
receiving an OS installation file sent by the control platform under the condition that the OS installation state information indicates an uninstalled state;
and installing an operating system according to the OS installation file.
Optionally, the processor 50 is further configured to perform:
and when the operating system is successfully installed, sending a success indication message to the associated BMC, wherein the success indication message is used for indicating the BMC to update the OS installation state information to the installed state.
Optionally, the processor 50 is further configured to perform:
and when detecting that a preset trigger condition is met, sending a state updating message to the associated BMC, wherein the state updating message is used for indicating the BMC to update the OS installation state information to an uninstalled state.
Optionally, the server and the associated BMC communicate with each other through an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
Optionally, the installing the operating system according to the OS installation file by the processor 50 includes:
acquiring a hash check code carried in the installation notification message;
performing hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, installing the operating system according to the OS installation file.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (15)

1. An installation method of an operating system, comprising:
the method comprises the steps that a server obtains Operating System (OS) installation state information from a related Baseboard Management Controller (BMC), and the BMC is arranged on a mainboard of the server and records the OS installation state information of the server;
the server returns the OS installation state information to the control platform;
the server receives an OS installation file sent by the control platform under the condition that the OS installation state information represents an uninstalled state;
and the server installs the operating system according to the OS installation file.
2. The method of claim 1, further comprising:
and when the operating system is successfully installed, the server sends a success indication message to the associated BMC, wherein the success indication message is used for indicating the BMC to update the OS installation state information to the installed state.
3. The method of claim 1, further comprising:
and when detecting that a preset trigger condition is met, the server sends a state updating message to the associated BMC, wherein the state updating message is used for indicating the BMC to update the OS installation state information to an uninstalled state.
4. The method of claim 3, wherein the preset trigger condition comprises:
receiving a trigger instruction sent by a user, wherein the trigger instruction is used for instructing the server to modify the OS installation state information, or
The server detects that the version information of the current operating system is inconsistent with the version information of the operating system on the control platform.
5. The method of claim 1,
the server and the associated BMC are communicated through an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
6. The method of any one of claims 1-5, further comprising:
and the server receives an installation notification message sent by the control platform in a broadcasting mode.
7. The method of claim 6, wherein the installation notification message carries a first hash value,
the server installing an operating system according to the OS installation file includes:
the server performs hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, the server installs the operating system according to the OS installation file.
8. A server, comprising:
the acquisition module is used for acquiring OS installation state information from a related Baseboard Management Controller (BMC), the BMC is arranged on a mainboard of the server, records the OS installation state information of the server, and returns the OS installation state information to the control platform;
a second receiving module, configured to receive an OS installation file sent by the control platform when the OS installation state information indicates an uninstalled state;
and the installation module is used for installing the operating system according to the OS installation file.
9. The server of claim 8, further comprising:
a first indication module, configured to send a success indication message to an associated BMC when the operating system is successfully installed, where the success indication message is used to indicate the BMC to update the OS installation state information to an installed state.
10. The server of claim 8, further comprising:
and the second indicating module is used for sending a state updating message to the associated BMC when detecting that a preset triggering condition is met, wherein the state updating message is used for indicating the BMC to update the OS installation state information to an uninstalled state.
11. The server according to claim 10, wherein the preset trigger condition comprises:
receiving a trigger instruction sent by a user, wherein the trigger instruction is used for instructing the server to modify the OS installation state information, or
The server detects that the version information of the current operating system is inconsistent with the version information of the operating system on the control platform.
12. The server according to claim 8,
the server and the associated BMC are communicated through an IMPI protocol; or
The server communicates with the associated BMC via an IP protocol.
13. The server of claim 8, wherein the server receives an installation notification message sent by the control platform in a broadcast manner.
14. The server according to claim 13, wherein the installation notification message carries a first hash value, and the installation module is specifically configured to:
acquiring a hash check code carried in the installation notification message;
performing hash operation on the installation file according to a preset hash algorithm to obtain a second hash value;
comparing whether the first hash value and the second hash value are the same;
if so, installing the operating system according to the OS installation file.
15. An installation method of an operating system, comprising:
the control platform broadcasts an installation notification message to the server cluster; the server cluster comprises one or more servers;
for each server in the server cluster, the server receives the installation notification message sent by the control platform;
the server acquires OS installation state information from a related Baseboard Management Controller (BMC), and the BMC is arranged on a mainboard of the server and records the OS installation state information of the server;
the server returns the OS installation state information to the control platform;
the control platform receives OS installation state information returned by the server, judges whether the OS installation state information represents an uninstalled state or not according to the OS installation state information, and sends an OS installation file to the server if the OS installation state information represents the uninstalled state;
the server receives an OS installation file sent by the control platform;
and the server installs the operating system according to the OS installation file.
CN201910955377.5A 2016-10-31 2016-10-31 OS installation method, server and system Active CN110865819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910955377.5A CN110865819B (en) 2016-10-31 2016-10-31 OS installation method, server and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610931825.4A CN106528214B (en) 2016-10-31 2016-10-31 A kind of installation method of OS, server and system
CN201910955377.5A CN110865819B (en) 2016-10-31 2016-10-31 OS installation method, server and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610931825.4A Division CN106528214B (en) 2016-10-31 2016-10-31 A kind of installation method of OS, server and system

Publications (2)

Publication Number Publication Date
CN110865819A true CN110865819A (en) 2020-03-06
CN110865819B CN110865819B (en) 2022-05-10

Family

ID=58292708

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610931825.4A Active CN106528214B (en) 2016-10-31 2016-10-31 A kind of installation method of OS, server and system
CN201910955377.5A Active CN110865819B (en) 2016-10-31 2016-10-31 OS installation method, server and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610931825.4A Active CN106528214B (en) 2016-10-31 2016-10-31 A kind of installation method of OS, server and system

Country Status (1)

Country Link
CN (2) CN106528214B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544879A (en) * 2017-06-23 2018-01-05 紫光华山信息技术有限公司 Diagnostic method, device and the machinable medium of server
CN108763098B (en) * 2018-06-08 2021-09-17 郑州云海信息技术有限公司 Memory data processing test system
CN110633086B (en) * 2018-06-25 2024-03-29 联想企业解决方案(新加坡)有限公司 Blade server
CN110427196B (en) * 2019-07-26 2022-03-25 新华三技术有限公司成都分公司 Installation method and device of Operating System (OS)
US11176020B2 (en) 2019-11-05 2021-11-16 Microsoft Technology Licensing, Llc Server status monitoring system and method using baseboard management controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
US20140068026A1 (en) * 2012-08-31 2014-03-06 Inventec Corporation System for automatically configuring server using pre-recorded configuration script and method thereof
CN103902321A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(深圳)有限公司 Host installation system and method
TW201544962A (en) * 2014-05-20 2015-12-01 Acer Inc Server and method for inquiring deployment status of server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674291A (en) * 2008-09-09 2010-03-17 英业达股份有限公司 Network service system and method for remotely installing document thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
US20140068026A1 (en) * 2012-08-31 2014-03-06 Inventec Corporation System for automatically configuring server using pre-recorded configuration script and method thereof
CN103902321A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(深圳)有限公司 Host installation system and method
TW201544962A (en) * 2014-05-20 2015-12-01 Acer Inc Server and method for inquiring deployment status of server

Also Published As

Publication number Publication date
CN106528214A (en) 2017-03-22
CN106528214B (en) 2019-10-25
CN110865819B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN110865819B (en) OS installation method, server and system
CN108491222B (en) Gateway equipment upgrading method and device, gateway equipment and storage medium
US8245225B2 (en) Method, system, terminal and device management server for installing software components
CN105955782B (en) Application program operation control method and device
US9092286B2 (en) System to automatically process components on a device
WO2019076037A1 (en) Firmware updating method and device
US20120117557A1 (en) Method and system for upgrading wireless data card
CN110730090B (en) Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
CN106549789B (en) Method and system for realizing server installation
CN111273924B (en) Software updating method and device
CN103036706A (en) Local processing method of application upgrading abnormity
EP2104274B1 (en) Method, system, dm client and dm server for installing software component
US20110320595A1 (en) Medical information processing device and software distributing system
CN111949293A (en) Firmware upgrading method and device, computer equipment and storage medium
CN108733398B (en) Software upgrading processing method and device
CN110633086B (en) Blade server
CN105808268B (en) Information processing method, electronic equipment and system
CN106951276B (en) Multi-controller software upgrading and address conflict detection method and device
CN114928541A (en) Version upgrading method and device and upgrading rule configuration method
CN115129351A (en) Method for upgrading slave controller, master controller and slave controller
JP4882291B2 (en) Module update program
CN111610991A (en) Version upgrading method and device
CN112104506B (en) Networking method, networking device, server and readable storage medium
CN111083001B (en) Firmware abnormity detection method and device
CN114064086B (en) Multi-stage processor system and upgrading method thereof

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211229

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Applicant after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant