A server management system, method, program product and medium
Through the combination of power carrier components and power supply units, server management without separate network connection is realized, which solves the high cost and time cost problems of network connection management of baseboard management controllers in the existing technology, and provides a convenient server operation process.
Patent Information
- Application Number
- CN202410749977.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-12
AI Technical Summary
In the existing technology, the baseboard management controller needs to be connected to the network separately to manage the server, which results in high hardware construction costs and the inability to manage the installed servers in real time during initial deployment, which requires a lot of labor and time costs.
The control information of the control terminal is received through the power carrier component, and the control instructions are generated and sent to the power supply unit. The power supply unit then sends the message packet to the baseboard management controller. The baseboard management controller parses the operation bit information to control the server operation, realizing No separate network management is required.
It reduces labor expenses, provides convenient server management methods, and reduces hardware construction costs and labor time costs.
Smart Images

Figure CN118331413B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a server management system, a server management method, a computer program product and a computer-readable storage medium. Background Art
[0002] With the development of science and technology, current computer systems are becoming more and more complex, and system failures in various application scenarios are also diverse. In order to ensure the stable operation of the system, the operating status of the server is generally detected through a baseboard management controller. In the prior art, the baseboard management controller needs to be connected to the network separately to perform out-of-band centralized management of the server, which requires additional hardware construction costs, including network cables, switches and other expenses. In the early stage of large-scale computer room deployment, the network is often laid out at a later stage, and the servers that have been pre-shelf cannot be managed in the early stage. Manual operations can only be performed manually, which is very troublesome and will cost a lot of manpower time. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a server management system, a server management method, a computer program product and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problems, the present invention discloses a server management system, which is characterized by comprising:
[0005] at least one server, the server comprising a power supply unit and a baseboard management controller;
[0006] A control terminal, used for sending control information to the server;
[0007] A power carrier component, used for receiving the control information and generating a control instruction to send to the power supply unit corresponding to the server;
[0008] The power supply unit is used to generate a message packet according to the control instruction and send it to the baseboard management controller;
[0009] The baseboard management controller is used to parse the message packet to obtain the operation bit information of the server and control the operation of the server.
[0010] Optionally, the power supply unit includes a micro control unit, which is used to convert the control instruction from an analog signal to a digital signal, and generate a message packet in the form of a power management bus protocol according to the converted control instruction.
[0011] Optionally, the message packet includes a queue code corresponding to each control instruction, and the queue code is used to indicate the execution order of the control instructions;
[0012] The baseboard management controller is used to parse the message packet, obtain multiple operation bit information corresponding to the control instruction and the corresponding queue code, and execute the operation bit information in sequence according to the execution order indicated by the queue code.
[0013] Optionally, the message packet also includes a check code, and the baseboard management controller is used to parse the message packet to obtain the check code, and determine whether the check code is included in pre-stored authorized check code information; if the check code is included in the pre-stored authorized check code information, it is determined that the control instruction is legal.
[0014] Optionally, the baseboard management controller is further configured to determine that the control instruction is illegal if the verification code is not included in pre-stored authorized verification code information.
[0015] Optionally, the baseboard management controller includes a dedicated management network interface and a shared management network card interface;
[0016] The baseboard management controller is used to detect the status of the dedicated management network interface and the shared management network card interface. If the dedicated management network interface and the shared management network card interface are in shutdown state, the message packet is parsed to obtain the operation bit information of the server.
[0017] Optionally, the power supply unit is further used to receive the operation result sent by the baseboard management controller, and convert the operation result from a digital signal into an analog signal, and send the converted operation result to the control terminal through the power carrier component.
[0018] Optionally, the power supply unit is connected to an external power grid, and the power supply unit is used to receive electric energy transmitted by the external power grid, and supply power to the baseboard management controller according to the electric energy.
[0019] Optionally, the control instruction includes one of a power on and off instruction, a server status query instruction, a server voltage and power consumption query instruction, and an intelligent platform management interface instruction.
[0020] The present invention also discloses a server management method, which is characterized by being applied to a power supply unit and comprising:
[0021] Acquire a control instruction sent by a power carrier component; the control instruction is generated by the power carrier component according to control information of a server;
[0022] A message packet is generated according to the control instruction and sent to a baseboard management controller, so that the baseboard management controller parses the message packet to obtain the operation bit information of the server and controls the operation of the server.
[0023] Optionally, generating a message packet according to the control instruction and sending it to a baseboard management controller includes:
[0024] Converting the control instruction from analog signal to digital signal form;
[0025] Generate a message packet in the form of a power management bus protocol according to the converted control instruction;
[0026] The message packet in the form of the power management bus protocol is sent to the baseboard management controller.
[0027] Optionally, the method further comprises:
[0028] Receiving electric energy transmitted from an external power grid;
[0029] The baseboard management controller is powered according to the electric energy.
[0030] Optionally, the method further comprises:
[0031] Receiving the operation result sent by the baseboard management controller;
[0032] Converting the operation result from a digital signal to an analog signal;
[0033] The converted operation result is sent to the power carrier component.
[0034] The present invention also discloses a computer program product, including a computer program / instruction, characterized in that it includes: when the computer program / instruction is executed by a processor, the steps of the server management method as described above are implemented.
[0035] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the server management method described above are implemented.
[0036] The embodiments of the present invention include the following advantages:
[0037] The present invention discloses a server management system. The present invention can receive control information of a control terminal for at least one server through a power carrier component, and then generate control instructions according to the control information, and send the control instructions to power supply units of corresponding servers respectively. The power supply unit can generate a message packet according to the control instruction, and send the message packet to a baseboard management controller. The baseboard management controller can parse the message packet to obtain operation bit information, and control the operation of the server according to the operation bit information. In the present invention, the control information sent by the control terminal to the baseboard management controller can be directly transmitted through the power carrier component, and there is no need to connect to the network separately, which reduces labor expenses and provides convenience for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a structural block diagram of a server management system provided by an embodiment of the present invention;
[0039] Figure 2 It is a connection diagram of a server management system provided by an embodiment of the present invention;
[0040] Figure 3 is a flow chart of the steps of a server management method provided by an embodiment of the present invention;
[0041] Figure 4 A structural block diagram of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0043] One of the core concepts of the embodiments of the present invention is that the present invention can receive control information for at least one server from a control terminal through a power carrier component, and then generate control instructions based on the control information, and send the control instructions to the power supply units of the corresponding servers respectively. The power supply units can generate message packets based on the control instructions and send the message packets to the baseboard management controller. The baseboard management controller can parse the message packets to obtain operation bit information, and control the operation of the server based on the operation bit information. In the present invention, the control information sent by the control terminal to the baseboard management controller can be directly transmitted through the power carrier component, without the need for a separate network connection, which reduces labor expenses and provides convenience for users.
[0044] Reference Figure 1 , shows a structural block diagram of a server management system 10 provided by an embodiment of the present invention, the management system includes a control terminal 101, a power carrier component 102, and at least one server 103, wherein at least one server may be 1031-103n, each of the at least one server includes a power supply unit and a baseboard management controller, such as server 1031 may include a power supply unit A1 and a baseboard management controller A2, 103n may include a power supply unit N1 and a baseboard management controller N2, the power supply unit is connected to the baseboard management controller, and the power carrier component is connected to at least one server respectively;
[0045] The control terminal 101 is used to send control information to the server 103.
[0046] In the embodiment of the present invention, the control information is used to represent the action that the user requires the server to perform. The user can input the control information in the control terminal. Since the control terminal 101 is connected to the power carrier component 102, the control terminal 101 can send the control information to the power carrier component 102.
[0047] In one example, the power carrier component may be connected to five servers, namely server 1031, server 1032, server 1033, server 1034, and server 1035. The control terminal may obtain control information for the five servers input by the user, wherein the control information carries the identification of the server, so that the power carrier component may send control information for different servers to the corresponding servers, thereby avoiding incorrect control information transmission and improving the accuracy of server management.
[0048] The power carrier component 102 is used to receive control information and generate control instructions to send to the power supply unit of the corresponding server.
[0049] In an embodiment of the present invention, after the power carrier component 102 receives at least one control information sent by the control terminal, it can generate at least one corresponding control instruction according to the at least one control information, and send the at least one control instruction to the power supply unit of the corresponding server respectively. For example, still taking the above example as an example for introduction, after the power carrier component 102 receives the control information for server 1031, server 1032, server 1033, server 1034, and server 1035, it can generate five control instructions respectively. Since different control instructions carry different server identifiers, different control instructions can be sent to the power supply unit of the corresponding server respectively according to different server identifiers. The control instruction in the form of an analog signal for server 1031 can be sent to the power supply unit A1, the control instruction in the form of an analog signal for server 1032 can be sent to the power supply unit B1, the control instruction in the form of an analog signal for server 1033 can be sent to the power supply unit C1, the control instruction in the form of an analog signal for server 1034 can be sent to the power supply unit D1, and the control instruction in the form of an analog signal for server 1035 can be sent to the power supply unit E1.
[0050] The power supply unit is used to generate a message packet according to the control instruction and send it to the baseboard management controller.
[0051] In an embodiment of the present invention, after the power supply units of different servers receive control instructions, if the received control instructions are analog signals, the power supply units can convert the analog signals into digital signals, and then generate message packets based on the control instructions in the form of digital signals, and finally send the message packets to the baseboard management controller. For example, after the power supply unit A1 receives the control instructions in the form of analog signals for the server 1031, it can parse the control instructions in the form of digital signals for the server 1031, and then generate message packets based on the control instructions in the form of digital signals for the server 1031, and then send the message packets to the baseboard management controller A2.
[0052] The baseboard management controller is used to parse the message packet to obtain the operation bit information of the server and control the operation of the server.
[0053] In an embodiment of the present invention, after the baseboard management controllers of different servers receive the message packets sent by the power supply unit, they can parse the message packets to obtain the operation bit information of the corresponding server, thereby controlling the operation of the server according to the operation bit information. For example, after the baseboard management controller A2 of server 1031 receives the message packets sent by the power supply unit, it can parse the message packets to obtain the operation bit information of the corresponding server 1031, and then control the operation of server 1031 according to the operation bit information.
[0054] The present invention discloses a server management system. The present invention can receive control information of a control terminal for at least one server through a power carrier component, and then generate control instructions according to the control information, and send the control instructions to power supply units of corresponding servers respectively. The power supply unit can generate a message packet according to the control instruction, and send the message packet to a baseboard management controller. The baseboard management controller can parse the message packet to obtain operation bit information, and control the operation of the server according to the operation bit information. In the present invention, the control information sent by the control terminal to the baseboard management controller can be directly transmitted through the power carrier component, and there is no need to connect to the network separately, which reduces labor expenses and provides convenience for users.
[0055] In one embodiment of the present invention, the power supply unit includes a micro control unit, which is used to convert control instructions from analog signals to digital signals and generate a message packet in the form of a power management bus protocol according to the converted control instructions.
[0056] In the embodiment of the present invention, Figure 2The power supply unit A1 may further include a micro control unit A11. After the power supply unit A1 receives a control instruction in the form of an analog signal for the server 1031, the micro control unit A11 may convert the control instruction in the form of an analog signal for the server 1031 into a digital signal, and then generate a message packet in the form of a power management bus protocol according to the control instruction in the form of a digital signal for the server 1031.
[0057] In one embodiment of the present invention, a message packet includes a queue code corresponding to each control instruction, and the queue code is used to indicate the execution order of the control instructions; the baseboard management controller is used to parse the message packet, obtain multiple operation bit information corresponding to the control instruction and the corresponding queue code, and execute the operation bit information in sequence according to the execution order indicated by the queue code.
[0058] In an embodiment of the present invention, the control information for a server input by the user in the control terminal 101 may have multiple instructions. For example, the control information for the server 1031 is: query the health status of the server and power on the server. Then, the power carrier 102 may generate two control instructions for the server 1031 by querying the health status of the server and powering on the server according to the control information.
[0059] Specifically, the two control instructions can be set as control instruction 1 and control instruction 2, wherein control instruction 1 is used to query the health status of the server, and control instruction 2 is used to power on the server. After receiving the control instructions 1 and control instruction 2 in the form of analog signals, the power supply unit A1 can parse them into control instructions 1 and control instruction 2 in the form of digital signals, and then convert them into control instructions 1 and control instructions 2 in the form of power management bus protocol. The queue code of each control instruction can be obtained. For example, the queue code of control instruction 1 is sequence number 1, and the queue code of control instruction 2 is sequence number 2. Then the power supply unit A1 can generate a message packet according to the control instructions 1, control instruction 2, and queue code in the form of power management bus protocol, wherein the message packet In the message packet, the control instruction 1 in the form of the power management bus protocol carries the queue code 2, and the control instruction 2 in the form of the power management bus protocol carries the queue code 1. After receiving the message packet, the baseboard management controller A2 can parse the message packet to obtain the operation bit information corresponding to the control instruction 1: power on, the queue code 2 corresponding to the operation bit information of the control instruction 1, the operation bit information corresponding to the control instruction 2: query the health status, the queue code 1 corresponding to the operation bit information of the control instruction 2, and then power on the server 1 according to the execution order indicated by the queue code, and then query the health status of the server 1. The present invention can execute the control information sent by the control terminal in sequence, avoid errors in the execution order of the instructions, and improve the accuracy of server management.
[0060] As shown in Table 1, a message packet provided by an embodiment of the present invention may include a message header, a queue code, a control instruction in the form of a power management bus protocol, and a check code, wherein the message header is a power management bus protocol message header, wherein the queue code is used to characterize the execution order of the control instruction, 0x01 refers to a power-on instruction for the server, if the control instruction is 0x02, it indicates a power-off instruction for the server, and if the control instruction is 0x03, it indicates a restart instruction for the server. The user may also customize this field, for example, 0x05 may be set to query the health status of the server.
[0061]
[0062] Table 1
[0063] In one embodiment of the present invention, the message packet also includes a check code, and the baseboard management controller is used to parse the message packet to obtain the check code, and determine whether the check code is included in the pre-stored check code information with authority. If the check code is included in the pre-stored check code information with authority, it is determined that the control instruction is legal.
[0064] In an embodiment of the present invention, the message packet may further include a check code, and the baseboard management controller may parse the message packet to obtain the check code. Since the baseboard management controller pre-stores a plurality of check code information with permissions, it may be determined whether the user has the permission to control the server based on the parsed check code. If the parsed check code exists in the pre-stored check code information with permissions, it indicates that the control instruction is legal.
[0065] In one embodiment of the present invention, the baseboard management controller is used to determine that the control instruction is illegal if the verification code is not included in the pre-stored authorized verification code information.
[0066] In the embodiment of the present invention, when the verification code parsed by the baseboard management controller does not exist in the pre-stored authorized verification code information, it means that the control instruction is illegal, and it is not allowed to control the server to perform the corresponding operation through the control instruction.
[0067] In one embodiment of the present invention, the baseboard management controller includes a dedicated management network interface and a shared management network card interface. The baseboard management controller is used to detect the status of the dedicated management network interface and the shared management network card interface. If the dedicated management network interface and the shared management network card interface are in a shutdown state, the message packet is parsed to obtain the operation bit information of the corresponding server.
[0068] In an embodiment of the present invention, the baseboard management controller may include a dedicated management network interface and a shared management network card interface. The baseboard management controller can detect the status of the dedicated management network interface and the shared management network card interface before receiving the message packet. If the status of the dedicated management network interface and the shared management network card interface is in the power-on state, the user's instruction information can be directly obtained through the dedicated management network interface and the shared management network card interface. If the status of the dedicated management network interface and the shared management network card interface is in the shutdown state, the message packet can be parsed to obtain the corresponding server operation bit information, and the server operation can be controlled by the operation bit information obtained by parsing.
[0069] In one embodiment of the present invention, the power supply unit is used to receive the operation result sent by the baseboard management controller, convert the operation result from a digital signal to an analog signal, and send the converted operation result to the control terminal through the power carrier component.
[0070] In an embodiment of the present invention, the baseboard management controller can obtain the operation result after controlling the operation of the server, and send the operation result to the power supply unit through the power management bus. The power supply unit can convert the operation result from a digital signal form into an analog signal form, and send it to the power carrier component. The power carrier component can convert the operation result in the analog signal form into a digital signal and send it to the control terminal. The control terminal can know the operation status of the server, so as to facilitate the user to query the execution status of the instruction, providing convenience for the user.
[0071] In an embodiment of the present invention, the power supply unit is connected to an external power grid, and the power supply unit is used to receive electric energy transmitted by the external power grid and supply power to the baseboard management controller according to the electric energy.
[0072] The embodiments of the present invention, as Figure 2 , shows a connection diagram of a server management system 10 provided by an embodiment of the present invention, the power supply unit is connected to the external power grid 20, the external power grid 20 can provide power to the power supply unit, and the power supply unit can supply power to the baseboard management controller according to the power after receiving the power. Figure 2 The external power grid 20 can transmit electric energy to the power supply units A1 ... N1, and the power supply units can supply power to the baseboard management controllers connected thereto according to the received electric energy.
[0073] In an embodiment of the present invention, the control instruction includes one of a power on / off instruction, a server status query instruction, a server voltage and power consumption query instruction, and an intelligent platform management interface instruction.
[0074] In the embodiment of the present invention, the control instruction may include one of a power on / off instruction, a server status query instruction, a server voltage power consumption query instruction, and an intelligent platform management interface instruction.
[0075] In one example, the control information for the server 1031 determined in the control terminal 101 is to power on and off the server 1031. At this time, the control terminal 101 can send the control information "power on and off the server 1031" to the power carrier component 102, and the power carrier component 102 can generate a control instruction 1 in the form of an analog signal of the control information "power on and off the server 1031", and then send the control instruction 1 in the form of an analog signal to the power supply unit A1. The power supply unit A1 can parse and obtain the control instruction 1 in the form of a digital signal, and then generate a message packet in the power management bus protocol format according to the queue code, the check code, and the control instruction 1 in the form of a digital signal, and then send the message packet in the power management bus protocol format to the baseboard management controller A2. The baseboard management controller parses the message packet to obtain the operation bit information corresponding to the control instruction 1 in the form of a digital signal: power on and off the server, queue code 1, check code, and then determine whether the check code is legal. If the check code is legal, the server 1031 is controlled to power on and off.
[0076] The present invention discloses a server management system. The present invention can receive control information of a control terminal for at least one server through a power carrier component, and then generate control instructions according to the control information, and send the control instructions to power supply units of corresponding servers respectively. The power supply unit can generate a message packet according to the control instruction, and send the message packet to a baseboard management controller. The baseboard management controller can parse the message packet to obtain operation bit information, and control the operation of the server according to the operation bit information. In the present invention, the control information sent by the control terminal to the baseboard management controller can be directly transmitted through the power carrier component, and there is no need to connect to the network separately, which reduces labor expenses and provides convenience for users.
[0077] like Figure 3 , shows a flow chart of the steps of a server management method provided by an embodiment of the present invention, which is applied to a power supply unit, and the method includes:
[0078] Step 301, obtaining a control instruction sent by a power carrier component; the control instruction is generated by the power carrier component according to control information of a server.
[0079] In an embodiment of the present invention, after the power carrier component receives at least one control information sent by the control terminal, it can generate at least one corresponding control instruction based on the at least one control information, and send the at least one control instruction to the power supply unit of the corresponding server respectively. The power supply units of different servers can receive at least one control instruction sent by the power carrier component.
[0080] Step 302: Generate a message packet according to the control instruction and send it to the baseboard management controller, so that the baseboard management controller parses the message packet to obtain the operation bit information of the server and controls the operation of the server.
[0081] In an embodiment of the present invention, the power supply unit can parse the control instructions in the form of analog signals to obtain control instructions in the form of digital signals, and then generate a message packet based on the control instructions in the form of digital signals, and send it to the baseboard management controller. After receiving the message packet, the baseboard management controller can parse the message packet to obtain the operation bit information of the server and control the operation of the server.
[0082] In one embodiment of the present invention, a message packet is generated according to a control instruction and sent to a baseboard management controller, including: converting the control instruction from an analog signal to a digital signal; generating a message packet in the form of a power management bus protocol according to the converted control instruction; and sending the message packet in the form of a power management bus protocol to the baseboard management controller.
[0083] In an embodiment of the present invention, after the power supply unit receives a control instruction in the form of an analog signal for the server, the control instruction for the server can be converted from an analog signal to a digital signal through a micro control unit, and then a power management bus protocol message packet is generated according to the control instruction in the form of a digital signal for the server, and the message packet in the form of the power management bus protocol is sent to the baseboard management controller.
[0084] In an embodiment of the present invention, the method further includes: receiving electric energy transmitted from an external power grid; and supplying power to the baseboard management controller according to the electric energy.
[0085] In the embodiment of the present invention, the power supply unit is connected to an external power grid, and the external power grid can provide electric energy to the power supply unit. After receiving the electric energy, the power supply unit can supply power to the baseboard management controller according to the electric energy.
[0086] In one embodiment of the present invention, the method further includes: receiving an operation result sent by a baseboard management controller; converting the operation result from a digital signal into an analog signal; and sending the converted operation result to a power carrier component.
[0087] In an embodiment of the present invention, the baseboard management controller can obtain the operation result after controlling the operation of the server, and send the operation result to the power supply unit through the power management bus. The power supply unit can convert the operation result from a digital signal form into an analog signal form, and send it to the power carrier component. The power carrier component can convert the operation result in the analog signal form into a digital signal and send it to the control terminal. The control terminal can know the operation status of the server, so as to facilitate the user to query the execution status of the instruction, providing convenience for the user.
[0088] The present invention discloses a server management method. The present invention can receive control information of a control terminal for at least one server through a power carrier component, then generate control instructions according to the control information, and send the control instructions to power supply units of corresponding servers respectively. The power supply unit can generate a message packet according to the control instruction, and send the message packet to a baseboard management controller. The baseboard management controller can parse the message packet to obtain operation bit information, and control the operation of the server according to the operation bit information. In the present invention, the control information sent by the control terminal to the baseboard management controller can be directly transmitted through the power carrier component, and there is no need to connect to the network separately, which reduces labor expenses and provides convenience for users.
[0089] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0090] The embodiment of the present invention further discloses a computer program product, including: a computer program / instruction, characterized in that it includes: when the computer program / instruction is executed by a processor, the steps of the server management method as described above are implemented.
[0091] like Figure 4 , shows a structural block diagram of a computer-readable storage medium 40 provided in an embodiment of the present invention. A computer program 401 is stored on the computer-readable storage medium 40. When the computer program 401 is executed by the processor, the various processes of the above-mentioned server management method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0092] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0093] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0094] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0097] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0098] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0099] The server management system, server management method, computer program product and computer-readable storage medium provided by the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A server management system, characterized in that: include at least one server, the server comprising a power supply unit and a baseboard management controller; A control terminal, used for sending control information to the server; A power carrier component, used for receiving the control information and generating a control instruction to send to the power supply unit corresponding to the server; The power supply unit is used to generate a message packet according to the control instruction and send it to the baseboard management controller; The baseboard management controller is used to parse the message packet to obtain the operation bit information of the server and control the operation of the server; The power supply unit comprises a micro control unit, which is used to convert the control instruction from an analog signal to a digital signal, and generate a message packet in the form of a power management bus protocol according to the converted control instruction.
2. The system according to claim 1, characterized in that The message packet includes a queue code corresponding to each control instruction, and the queue code is used to indicate the execution order of the control instructions; The baseboard management controller is used to parse the message packet, obtain multiple operation bit information corresponding to the control instruction and the corresponding queue code, and execute the operation bit information in sequence according to the execution order indicated by the queue code.
3. The system according to claim 2, characterized in that The message packet also includes a check code, and the baseboard management controller is used to parse the message packet to obtain the check code, and determine whether the check code is included in the pre-stored check code information with authority. If the check code is included in the pre-stored check code information with authority, it is determined that the control instruction is legal.
4. The system according to claim 3, characterized in that The baseboard management controller is further configured to determine that the control instruction is illegal if the verification code is not included in pre-stored authorized verification code information.
5. The system according to claim 1, characterized in that The baseboard management controller includes a dedicated management network interface and a shared management network card interface; The baseboard management controller is used to detect the status of the dedicated management network interface and the shared management network card interface. If the dedicated management network interface and the shared management network card interface are in shutdown state, the message packet is parsed to obtain the operation bit information of the server.
6. The system according to claim 1, characterized in that The power supply unit is also used to receive the operation result sent by the baseboard management controller, and convert the operation result from a digital signal to an analog signal, and send the converted operation result to the control terminal through the power carrier component.
7. The system according to claim 1, characterized in that The power supply unit is connected to an external power grid, and is used to receive electric energy transmitted by the external power grid, and supply power to the baseboard management controller according to the electric energy.
8. The system according to claim 1, characterized in that The control instruction includes one of a power on and off instruction, a server status query instruction, a server voltage and power consumption query instruction, and an intelligent platform management interface instruction.
9. A server management method, characterized in that: Applicable to power supply units, including: Acquire a control instruction sent by a power carrier component; the control instruction is generated by the power carrier component according to control information of a server; Generate a message packet according to the control instruction, and send it to a baseboard management controller, so that the baseboard management controller parses the message packet to obtain the operation bit information of the server and controls the operation of the server; The generating of the message packet according to the control instruction and sending the message packet to the baseboard management controller includes: Converting the control instruction from analog signal to digital signal form; Generate a message packet in the form of a power management bus protocol according to the converted control instruction; The message packet in the form of the power management bus protocol is sent to the baseboard management controller.
10. The method according to claim 9, characterized in that The method further comprises: Receiving electric energy transmitted from an external power grid; The baseboard management controller is powered according to the electric energy.
11. The method according to claim 9, characterized in that The method further comprises: Receiving the operation result sent by the baseboard management controller; Converting the operation result from a digital signal to an analog signal; The converted operation result is sent to the power carrier component.
12. A computer program product comprising a computer program / instructions, characterized in that include: When the computer program / instructions are executed by a processor, the steps of the server management method according to any one of claims 9 to 11 are implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the server management method according to any one of claims 9 to 11 are implemented.
