CN109617712B - Server management method, device, server and readable storage medium - Google Patents

Server management method, device, server and readable storage medium Download PDF

Info

Publication number
CN109617712B
CN109617712B CN201811400795.XA CN201811400795A CN109617712B CN 109617712 B CN109617712 B CN 109617712B CN 201811400795 A CN201811400795 A CN 201811400795A CN 109617712 B CN109617712 B CN 109617712B
Authority
CN
China
Prior art keywords
server
video information
interface
control signal
display device
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.)
Active
Application number
CN201811400795.XA
Other languages
Chinese (zh)
Other versions
CN109617712A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811400795.XA priority Critical patent/CN109617712B/en
Publication of CN109617712A publication Critical patent/CN109617712A/en
Application granted granted Critical
Publication of CN109617712B publication Critical patent/CN109617712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements

Abstract

The embodiment of the disclosure provides a server management method, a device, a server and a readable storage medium, wherein a baseboard management controller in the server is respectively in communication connection with an input device interface and a display device interface, after a first control signal is obtained, according to the first control signal, first video information of an operating system interface of the baseboard management controller is output to a display device connected with the display device interface through the display device interface, then a server management instruction sent by the input device connected with the input device interface is obtained, and corresponding operation is executed according to the server management instruction. Therefore, the server can be operated and managed quickly by using the equipment carried by the server room, the whole process does not need to rely on a network and inquire the IP address of the server, and room workers can still operate the substrate management controller of the server under the condition that the network fails, and meanwhile, the number of used tools is reduced as much as possible, and the implementation cost is reduced.

Description

Server management method, device, server and readable storage medium
Technical Field
The disclosure relates to the field of servers, and in particular, to a server management method, a server management device, a server, and a readable storage medium.
Background
In the current server room, the server is mainly managed out of band through a network. For example, the client may search for an IP address of a certain server to establish a remote wireless connection with the certain server, and then perform operation management on the baseboard management controller of the server, or may directly connect the client with a network port of the baseboard management controller of the certain server, configure an IP address in the same network segment as the server, and then perform operation management on the baseboard management controller.
However, the implementation of the above scheme requires the use of multiple tools, the implementation cost is high, and when the IP address of the server to be managed cannot be queried or is queried incorrectly, or when the network fails, the server cannot be managed out of band, which brings a huge challenge to the management of the actual machine room.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, the present disclosure provides a server management method, a server management device, a server, and a readable storage medium, so as to solve or improve the above-mentioned problems.
In order to achieve the above purpose, the embodiments of the present disclosure adopt the following technical solutions:
in a first aspect, an embodiment of the present disclosure provides a server management method, which is applied to a baseboard management controller in a server, where the baseboard management controller is in communication connection with an input device interface and a display device interface of the server, and the method includes:
acquiring a first control signal;
according to the first control signal, outputting first video information of an operating system interface of the baseboard management controller to display equipment connected with the display equipment interface through the display equipment interface;
and acquiring a server management instruction sent by the input equipment connected with the input equipment interface, and executing corresponding operation according to the server management instruction.
Optionally, the baseboard management controller is externally connected with a control button, and the first control signal is generated and sent to the baseboard management controller when the control button receives a first operation.
Optionally, the server further includes a PCH chip electrically connected to the bmc and a central processing unit electrically connected to the PCH chip; before the step of acquiring the first control signal, the method further includes:
receiving second video information of an operating system interface of the server, which is sent by the central processing unit through the PCH chip;
and outputting the second video information to display equipment connected with the display equipment interface through the display equipment interface.
Optionally, the step of outputting, according to the first control signal, first video information of an operating system interface of the baseboard management controller to a display device connected to the display device interface through the display device interface includes:
and according to the first control signal, stopping outputting the second video information to the display equipment, and outputting the first video information to the display equipment through the display equipment interface.
Optionally, the step of outputting, according to the first control signal, first video information of an operating system interface of the baseboard management controller to a display device connected to the display device interface through the display device interface includes:
and generating target video information according to the first video information and the second video information according to a preset display proportion according to the first control signal, and outputting the target video information to the display equipment through the display equipment interface, so that the display equipment displays the first video information and the second video information output by the substrate management controller according to the preset display proportion.
Optionally, after the step of obtaining a server management instruction sent by an input device connected to the input device interface and executing a corresponding operation according to the server management instruction, the method further includes:
acquiring a second control signal;
and according to the second control signal, controlling the display device interface to stop outputting the first video information to the display device, receiving second video information of the operating system interface of the server, which is sent by the central processing unit through the PCH chip, and outputting the second video information to the display device through the display device interface.
In a second aspect, an embodiment of the present disclosure further provides a server management apparatus, applied to a baseboard management controller in a server, where the baseboard management controller is communicatively connected to an input device interface and a display device interface of the server, and the apparatus includes:
the first control signal acquisition module is used for acquiring a first control signal;
the first video information output module is used for outputting first video information of an operating system interface of the substrate management controller to display equipment connected with the display equipment interface through the display equipment interface according to the first control signal;
and the management instruction acquisition module is used for acquiring a server management instruction sent by the input equipment connected with the input equipment interface and executing corresponding operation according to the server management instruction.
In a third aspect, an embodiment of the present disclosure further provides a server, where the server includes a baseboard management controller, and an input device interface and a display device interface that are electrically connected to the baseboard management controller, and the baseboard management controller includes the server management apparatus.
In a fourth aspect, the disclosed embodiment further provides a readable storage medium, in which a computer program is stored, and when the computer program is executed, the server management method is implemented.
Compared with the prior art, the method has the following beneficial effects:
the embodiment of the disclosure provides a server management method, a server management device, a server and a readable storage medium, wherein a baseboard management controller in the server is respectively in communication connection with an input device interface and a display device interface, after a first control signal is obtained, according to the first control signal, first video information of an operating system interface of the baseboard management controller is output to the display device connected with the display device interface through the display device interface, then a server management instruction sent by the input device connected with the input device interface is obtained, and corresponding operation is executed according to the server management instruction. Therefore, the server can be operated and managed quickly by using the equipment carried by the server room, the network and the IP address of the server do not need to be relied on, and the board management controller of the server can still be operated by the room staff under the condition that the network fails, and meanwhile, the number of used tools is reduced as much as possible, and the implementation cost is reduced.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure and therefore should not be considered as limiting the scope, and those skilled in the art can also derive other related drawings based on these drawings without inventive efforts.
FIG. 1 is a diagram of a conventional server architecture;
fig. 2 is a block diagram of a server according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a server management method according to an embodiment of the disclosure;
fig. 4 is a second flowchart of a server management method according to a second embodiment of the disclosure;
fig. 5 is a third schematic flowchart of a server management method according to a third embodiment of the disclosure;
fig. 6 is a schematic functional module diagram of a server management device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of another functional module of a server management apparatus according to an embodiment of the present disclosure.
Icon: 100-a server; 110-baseboard management controller; 120-a display device interface; 130-input device interface; 140-PCH chip; 150-a central processing unit; 200-a display device; 300-an input device; 400-control buttons; 500-a server management device; 510-a second video information receiving module; 520-a second video information output module; 530-a first control signal acquisition module; 540-first video information output module; 550-a management instruction obtaining module; 560-second control signal acquisition module.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
A server is a computer platform connected to a network system, and unlike a general personal computer, the server must be able to provide services without interruption, and simultaneously have a self-management or self-healing function. Most of the servers today are managed and monitored by a Baseboard Management Controller (BMC). The baseboard management controller is a microcontroller with a power supply, and can operate independently from the main system. The baseboard management controller can be used for monitoring the health states of the server such as the temperature and the voltage of each component (such as a CPU, a memory, a hard disk, a fan and a machine frame) in real time, and meanwhile, the rotating speed of the fan can be adjusted in real time according to the conditions of each temperature collection point to ensure that the server is not over-temperature, so that the total power consumption is controlled not to be too high.
Based on the above, by arranging the baseboard management controller, a server administrator can easily monitor the hardware health state of the server from a remote end, such as temperature, voltage, fan rotation speed, power supply and the like, and can repair the suspended server through the sent remote control instruction, so that the time cost and the labor cost of the server administrator to repair the on-site machine room are reduced.
It is obvious that in the current server room, the servers of the server room are managed out of band mainly by connecting with the baseboard management controller through a network. At present, there are two main ways to implement out-of-band management servers, the first way is to connect with a network in a server room through a client, and then establish a remote wireless connection with a certain server by looking up an IP address of the certain server, so as to perform operation management on a baseboard management controller of the server. Or, the internet access of the baseboard management controller of a client and a server can be directly connected, and the IP address in the same network segment with the server is configured, and then the baseboard management controller is operated and managed.
However, the implementation of the above scheme requires the use of various tools, such as a computer device serving as a client, a network cable connected to a network, a mouse, a keyboard, and the like used for viewing the settings of a server, and the implementation cost is high, and the implementation has a certain short board.
For example, in the first embodiment, when there are many servers, the workload of querying the IP address is large, or the IP address of some servers is wrong, for example, the IP address of some servers conflicts with the IP address of other servers, which may result in that the IP address of the server to be managed cannot be queried or queried wrongly, or the server cannot be managed out-of-band when the computer room network fails or the network of the baseboard management controller itself is abnormal.
For another example, in the second embodiment, the network configuration of the bmc needs to be changed by using the direct connection of the network port, and the original network connection of the server is changed, so that the environment is damaged, and when a problem occurs in the network of the bmc itself, the bmc cannot manage the network. These all present significant challenges to the management of the actual machine room. Whether a network is provided without being dependent on the support of the network, the server can be operated and managed without inquiring the IP address of the server, tools are reduced as much as possible, and the convenience of managing the machine room by machine room workers is improved.
Based on the discovery of the above technical problems, the inventor of the present disclosure proposes the following technical solutions to solve or improve the above problems, and it should be noted that the defects of the solutions in the above prior art are all the results of the inventor after practice and careful study, therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present disclosure for the above problems should be the contribution of the inventor to the present disclosure in the process of the present disclosure.
In the process of solving the technical problem, the inventor of the present disclosure has made long-term research, and has proposed that a baseboard management controller in a server is respectively in communication connection with an input device interface and a display device interface, and after acquiring a first control signal, according to the first control signal, first video information of an operating system interface of the baseboard management controller is output to a display device connected with the display device interface through the display device interface, and then a server management instruction sent by the input device connected with the input device interface is acquired, and a corresponding operation is executed according to the server management instruction. Therefore, the server can be operated and managed quickly by using the equipment carried by the server room, the whole process does not need to rely on a network and inquire the IP address of the server, and the board management controller of the server can still be operated by room workers under the condition that the network fails, so that the number of used tools is reduced as much as possible, and the implementation cost is reduced.
Before further describing the embodiments of the present disclosure for achieving the foregoing, referring to fig. 1, a common server architecture is described below, and referring to fig. 1, a server 100 may include a baseboard management Controller 110, a display device interface 120, an input device interface 130, a PCH (platform Controller hub) chip, and a central processor 150, where the baseboard management Controller 110 is respectively in communication connection with the display device interface 120 and the PCH chip 140, and the PCH chip 140 is respectively in electrical connection with the input device interface 130 and the central processor 150.
In implementation, the central processing unit 150 sends the video information corresponding to the operating system interface of the server 100 to the bmc 110 through the PCH chip 140, and outputs the video information to the display device 200 through the display device interface 120 after rendering the video information under bmc control for corresponding display, at this time, a user may input some control instructions through the input device 300 connected to the input device interface 130 and send the control instructions to the central processing unit 150 through the PCH chip 140, and the central processing unit 150 performs unified processing on the control instructions, thereby controlling the operating system of the server 100.
It should be understood that, in the above-described architecture, a user can only control the operating system of the server 100 itself, and if the user wants to control the bmc 110, the user can only remotely connect to the bmc 110 through the client.
In view of the above problems, the inventors of the present disclosure have studied to improve the server 100, and refer to fig. 2 to describe the structure of the server 100 according to the embodiment of the present disclosure, referring to fig. 2, the bmc 110 is electrically connected to the input device interface 130 and the display device interface 120 of the server 100, meanwhile, the display device interface 120 is electrically connected to the external display device 200, and the input device interface 130 is electrically connected to the external input device 300.
In one embodiment, the input device interface 130 is also electrically connected to a PCH chip 140, and the PCH chip 140 is electrically connected to the cpu 150 and the bmc 110, respectively.
In this embodiment, the PCH chip 140 may be responsible for communication between I/O buses, such as PCI bus, USB, LAN, ATA, SATA, audio controller, keyboard controller, real-time clock controller, advanced power management, and the like.
In this embodiment, the central processor 150 may be responsible for managing the bus and general processing (including executing software stored on a storage medium). The central processor 150 may be implemented using one or more general purpose processors and/or special purpose processors. Examples of central processing unit 150 may include a microprocessor, microcontroller, DSP processor, and other circuitry capable of executing software. Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.
As an exemplary embodiment, the cpu 150 may be electrically connected to the PCH chip 140 through a DMI (Direct Media Interface), and the PCH chip 140 may be electrically connected to the bmc 110 through a PCI-E (PCI-Express) bus.
Optionally, the input device 300 may include, but is not limited to, one or more of a keyboard, a trackball, a mouse, a joystick, and the like, which is not particularly limited by the embodiment.
Alternatively, the input device interface 130 may include a USB interface, and the display device interface 120 may include a VGA interface.
It will be appreciated that the configuration shown in fig. 2 is merely illustrative and that server 100 may include more or fewer components than shown in fig. 2 or have a different configuration than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The server management method shown in fig. 3, which is executed by the baseboard management controller 110 shown in fig. 1, is described in detail below with reference to fig. 2. It should be understood that, in other embodiments, the order of some steps in the server management method according to this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The detailed steps of the server management method are as follows:
step S110, a first control signal is acquired.
The first control signal may be used to occur to the bmc 110 in any feasible manner when a user needs to perform operation management on the bmc 110, for example, in an alternative embodiment shown in fig. 2, the bmc 110 may further be externally connected with a control button 400, and the first control signal may be generated and sent to the bmc 110 when the control button 400 receives a first operation of the user, and the bmc 110 acquires the first control signal.
In this embodiment, the specific triggering manner of the first operation is not particularly limited, and may be, for example, triggering when the pressing operation of the control button 400 is continued for a preset time, or triggering when the control button 400 is continuously pressed for a preset number of times (for example, two times or three times) within a preset time.
Alternatively, the control button 400 may be a UID Identification light (UID) button on the server 100, and the UID button may be used to identify the status of the server 100, for example, when the UID button may display the light status of the a-style before receiving the first operation, and when the UID button generates the first control signal after receiving the first operation and transmits the first control signal to the bmc 110, the light status of the B-style may be displayed.
It should be noted that, in other embodiments, the first control signal may also be generated by soft start, for example, when the server 100 is started, the input device 300 connected through the input device interface 130 inputs the first control signal to the PCH chip 140, and the PCH chip 140 sends the first control signal to the central processor 150 for processing and then sends the processed first control signal to the bmc 110. Alternatively, the first control signal may be generated and transmitted by any other device wirelessly connected to the server 100 or directly connected to the bmc 110 through a network, which is not limited in this embodiment.
Step S120, outputting the first video information of the os interface of the bmc 110 to the display device 200 connected to the display device interface 120 through the display device interface 120 according to the first control signal.
In this embodiment, an operating system interface different from the operating system interface of the server 100 is run in the baseboard management controller 110, and after the baseboard management controller 110 acquires the first control signal, the first video information of the operating system interface of the baseboard management controller 110 may be sent to the display device 200 for display according to the first control signal, so that a user may perform operation management on the server 100 through the displayed operating system interface of the baseboard management controller 110, for example, view the hardware health status of the server 100, such as temperature, voltage, fan speed, power supply, and the like, through the operating system interface of the baseboard management controller 110.
Optionally, before further elaborating step S120, referring to fig. 4 in combination, before step S110, the method may further include the following steps:
step S108, receiving the second video information of the os interface of the server 100, which is sent by the cpu 150 through the PCH chip 140.
In step S109, the second video information is output to the display device 200 connected to the display device interface 120 through the display device interface 120.
In this embodiment, before the baseboard management controller 110 acquires the first control signal, the second video information of the operating system interface of the server 100 is output to the display device 200 connected to the display device interface 120, that is, before the baseboard management controller 110 acquires the first control signal, the interface displayed by the display device 200 is only the operating system interface of the server 100.
On the basis, as an embodiment, after acquiring the first control signal, the baseboard management controller 110 may stop outputting the second video information to the display device 200 according to the first control signal, and output the first video information to the display device 200 through the display device interface 120, where an interface displayed by the display device 200 is switched from an operating system interface of the server 100 to an operating system interface of the baseboard management controller 110.
Alternatively, the way for the baseboard management controller 110 to stop outputting the second video information to the display device 200 may be: the bmc 110 stops receiving the second video information of the os interface of the server 100 sent by the cpu 150 through the PCH chip 140, or stops rendering the second video information after receiving the second video information, or stops outputting the second video information to the display device 200 after rendering the second video information. For example, VGA (video Graphics array) driver firmware is configured in the baseboard management controller 110, and the VGA driver firmware can select to stop rendering the second video information or adjust the video information output to the display device interface 120.
As another embodiment, after acquiring the first control signal, the baseboard management controller 110 may further generate target video information according to a preset display ratio from the first video information and the second video information according to the first control signal, and output the target video information to the display device 200 through the display device interface 120, so that the display device 200 displays the first video information and the second video information output by the baseboard management controller 110 simultaneously according to the preset display ratio. In this way, the interface displayed by the display device 200 is switched from the os interface of the server 100 to an interface including the os interface of the bmc 110 and the os interface of the server 100.
For example, if the preset display ratio is 2:1, the os interface of the bmc 110 occupies 2/3 of the whole interface, and the os interface of the server 100 occupies 1/3 of the whole interface.
Based on the above design, at least part of the interfaces displayed by the display device 200 is switched to the operating system interface of the baseboard management controller 110, so that the user can perform operation management on the server 100 through the displayed operating system interface of the baseboard management controller 110.
Step S130, acquiring a server management instruction sent by the input device 300 connected to the input device interface 130, and executing a corresponding operation according to the server management instruction.
In this embodiment, a user may observe the displayed os interface of the bmc 110, and then operate the input device 300 according to actual requirements to send a server management instruction to the bmc 110 through the input device interface 130, and the bmc 110 executes a corresponding operation after receiving the server management instruction.
For example, a user clicks on the operating system interface of the bmc 110 through a mouse to query the temperature of each component (e.g., CPU, memory, hard disk, fan, machine frame, etc.) of the server 100, and then the bmc 110 receives the query request and displays the monitored temperature of each component (e.g., CPU, memory, hard disk, fan, machine frame, etc.) of the server 100.
Therefore, in the embodiment, the server 100 can be quickly operated and managed by using the equipment of the server 100 in the machine room, and the whole process does not need to rely on the network and query the IP address of the server 100, so that the staff in the machine room can still operate the baseboard management controller 110 of the server 100 when the network fails, and meanwhile, the number of tools used is reduced as much as possible, and the implementation cost is reduced.
Optionally, referring to fig. 5, when the user does not need to perform operation management on the bmc 110, the server management method may further include the following steps:
in step S140, a second control signal is obtained.
In this embodiment, the second control signal may be sent when the user does not need to perform operation management on the bmc 110, and may be generated and sent to the bmc 110 when the control button 400 receives a second operation of the user, and the bmc 110 obtains the second control signal. The specific triggering manner of the second operation is not particularly limited, but needs to be different from the triggering manner of the first operation, for example, when the first operation is triggered when the control button 400 is pressed for a preset time, the second operation may be triggered when the control button 400 is pressed for a short time. For another example, the first operation may be triggered when the control button 400 is pressed for the first time, and the second operation may be triggered when the control button 400 is pressed for the second time, so that the first control signal and the second control signal are alternately generated in sequence.
It should be noted that, in other embodiments, the second control signal may also be generated by soft start, for example, when the server 100 is started, the input device 300 connected through the input device interface 130 inputs the second control signal to the PCH chip 140, and the PCH chip 140 sends the second control signal to the central processor 150 for processing and then sends the second control signal to the bmc 110.
Step S150, according to the second control signal, controlling the display device interface 120 to stop outputting the first video information to the display device 200, and outputting the second video information of the operating system interface of the server 100, which is sent by the central processor 150 through the PCH chip 140, to the display device 200 through the display device interface 120.
In this embodiment, after the bmc 110 acquires the second control signal, if the previous receiving state is to stop receiving the second video information of the os interface of the server 100 sent by the cpu 150 through the PCH chip 140, the receiving of the second video information is resumed, or if the previous rendering state is to stop rendering the second video information after receiving the second video information, the rendering of the second video information is resumed, or if the previous outputting state is to stop outputting the second video information to the display device 200 after rendering the second video information, the outputting of the second video information to the display device 200 is resumed. Meanwhile, the display device interface 120 is controlled to stop outputting the first video information to the display device 200, and thus, the interface displayed by the display device 200 is switched to an interface including only the os interface of the server 100 from the os interface of the bmc 110 or an interface including the os interface of the bmc 110 and the os interface of the server 100.
Therefore, the user can conveniently switch the operating system interface of the baseboard management controller 110 and the operating system interface of the server 100 at any time, so as to select whether to perform out-of-band management on the server 100.
Further, referring to fig. 6, an embodiment of the present disclosure further provides a server management apparatus 500, which is applied to the bmc 110. It should be noted that the basic principle and the generated technical effect of the server management apparatus 500 provided in the present embodiment are the same as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding contents in the foregoing method embodiments for a part not mentioned in the present embodiment. The device comprises:
the first control signal obtaining module 530 is configured to obtain a first control signal. It is understood that the first control signal obtaining module 530 can be used to execute the step S110, and for the detailed implementation of the first control signal obtaining module 530, reference can be made to the above-mentioned contents related to the step S110.
A first video information output module 540, configured to output, according to the first control signal, first video information of an operating system interface of the bmc 110 to the display device 200 connected to the display device interface 120 through the display device interface 120. Alternatively, the bmc 110 may be externally connected to a control button 400, and the first control signal is generated and sent to the bmc 110 when the control button 400 receives a first operation. It is understood that the first video information output module 540 can be used to perform the above step S120.
As for a detailed implementation of the first video information output module 540, reference may be made to the contents described above with respect to step S130.
A management instruction obtaining module 550, configured to obtain a server management instruction sent by the input device 300 connected to the input device interface 130, and execute a corresponding operation according to the server management instruction. It is understood that the management instruction obtaining module 550 may be configured to perform the step S120. For detailed implementation of the management instruction acquisition module 550, reference may be made to the above-mentioned contents related to step S130
Optionally, as shown in fig. 7, the server management apparatus 500 may further include:
a second video information receiving module 510, configured to receive second video information of an os interface of the server 100, which is sent by the central processor 150 through the PCH chip 140. It is understood that the second video information receiving module 510 can be used for executing the above step S108. For detailed implementation of the second video information receiving module 510, reference may be made to the contents described above with respect to step S108.
A second video information output module 520, configured to output the second video information to the display device 200 connected to the display device interface 120 through the display device interface 120. It is understood that the second video information output module 520 can be used to perform the above step S109. As for the detailed implementation of the second video information output module 520, reference may be made to the contents described above with respect to step S109.
Optionally, the first video information output module 540 may be specifically configured to stop outputting the second video information to the display device 200 according to the first control signal, and output the first video information to the display device 200 through the display device interface 120. As for a detailed implementation of the first video information output module 540, reference may be made to the contents described above with respect to step S120.
Optionally, the first video information output module 540 may be specifically configured to generate target video information according to a preset display ratio from the first video information and the second video information according to the first control signal, and output the target video information to the display device 200 through the display device interface 120, so that the display device 200 displays the first video information and the second video information output by the baseboard management controller 110 according to the preset display ratio. As for the detailed implementation of the first video information output module 540, reference may be made to the contents described above with respect to step S120.
Optionally, the apparatus may further include a second control signal obtaining module 560 for obtaining a second control signal. It is understood that the second control signal obtaining module 560 may be configured to perform the step S140. For a detailed implementation of the second control signal obtaining module 560, reference may be made to the above description related to step S140.
The second video information output module 520 is further specifically configured to control the display device interface 120 to stop outputting the first video information to the display device 200 according to the second control signal, and output the second video information of the operating system interface of the server 100, which is sent by the central processing unit 150 through the PCH chip 140, to the display device 200 through the display device interface 120. It is understood that the second video information output module 520 can also be used to execute the above step S150. As for a detailed implementation of the second video information output module 520, reference may be made to the above-mentioned contents related to step S150.
Further, corresponding to the server management methods in fig. 3 to fig. 5, the embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored, and the computer program executes the steps of the server management method.
To sum up, the embodiments of the present disclosure provide a server management method, an apparatus, a server, and a readable storage medium, in which a baseboard management controller in the server is electrically connected to an input device interface and a display device interface, and after obtaining a first control signal, according to the first control signal, a first video information of an operating system interface of the baseboard management controller is output to a display device connected to the display device interface through the display device interface, and then a server management instruction sent by an input device connected to the input device interface is obtained, and a corresponding operation is executed according to the server management instruction. Therefore, the server can be operated and managed quickly by using the equipment carried by the server room, the whole process does not need to rely on a network and inquire the IP address of the server, and room workers can still operate the substrate management controller of the server under the condition that the network fails, and meanwhile, the number of used tools is reduced as much as possible, and the implementation cost is reduced.
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
Alternatively, all or part may be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the disclosure are all or partially produced when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as an electronic device, server, data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It will be evident to those skilled in the art that the disclosure is not limited to the details of the foregoing illustrative embodiments, and that the present disclosure may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the disclosure being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (14)

1. A server management method applied to a baseboard management controller in a server, wherein the baseboard management controller is in communication connection with an input device interface and a display device interface of the server, and the method comprises:
acquiring a first control signal;
according to the first control signal, outputting first video information of an operating system interface of the baseboard management controller to display equipment connected with the display equipment interface through the display equipment interface;
and acquiring a server management instruction sent by the input equipment connected with the input equipment interface, and executing corresponding operation according to the server management instruction.
2. The method according to claim 1, wherein the baseboard management controller is externally connected with a control button, and the first control signal is generated and sent to the baseboard management controller when the control button receives the first operation.
3. The server management method according to claim 1, wherein the server further comprises a PCH chip electrically connected to the bmc and a central processing unit electrically connected to the PCH chip; before the step of acquiring the first control signal, the method further includes:
receiving second video information of an operating system interface of the server, which is sent by the central processing unit through the PCH chip;
and outputting the second video information to display equipment connected with the display equipment interface through the display equipment interface.
4. The server management method according to claim 3, wherein the step of outputting, according to the first control signal, first video information of an operating system interface of the baseboard management controller to a display device connected to the display device interface through the display device interface comprises:
and according to the first control signal, stopping outputting the second video information to the display equipment, and outputting the first video information to the display equipment through the display equipment interface.
5. The server management method according to claim 3, wherein the step of outputting, according to the first control signal, first video information of an operating system interface of the baseboard management controller to a display device connected to the display device interface through the display device interface comprises:
and generating target video information according to the first video information and the second video information according to a preset display proportion according to the first control signal, and outputting the target video information to the display equipment through the display equipment interface, so that the display equipment displays the first video information and the second video information output by the substrate management controller according to the preset display proportion.
6. The server management method according to any one of claims 3 to 5, wherein after the step of obtaining the server management instruction sent by the input device connected to the input device interface and executing the corresponding operation according to the server management instruction, the method further comprises:
acquiring a second control signal;
and according to the second control signal, controlling the display device interface to stop outputting the first video information to the display device, receiving second video information of the operating system interface of the server, which is sent by the central processing unit through the PCH chip, and outputting the second video information to the display device through the display device interface.
7. A server management apparatus, applied to a baseboard management controller in a server, wherein the baseboard management controller is communicatively connected to an input device interface and a display device interface of the server, the apparatus comprising:
the first control signal acquisition module is used for acquiring a first control signal;
the first video information output module is used for outputting first video information of an operating system interface of the substrate management controller to display equipment connected with the display equipment interface through the display equipment interface according to the first control signal;
and the management instruction acquisition module is used for acquiring a server management instruction sent by the input equipment connected with the input equipment interface and executing corresponding operation according to the server management instruction.
8. The apparatus according to claim 7, wherein the baseboard management controller is externally connected to a control button, and the first control signal is generated and transmitted to the baseboard management controller when the control button receives the first operation.
9. The apparatus according to claim 7, wherein the server further comprises a PCH chip electrically connected to the bmc and a central processing unit electrically connected to the PCH chip; the device further comprises:
the second video information receiving module is used for receiving second video information of an operating system interface of the server, which is sent by the central processing unit through the PCH chip;
and the second video information output module is used for outputting the second video information to the display equipment connected with the display equipment interface through the display equipment interface.
10. The server management device according to claim 9, wherein the first video information output module is specifically configured to:
and according to the first control signal, stopping outputting the second video information to the display equipment, and outputting the first video information to the display equipment through the display equipment interface.
11. The server management device according to claim 9, wherein the first video information output module is specifically configured to:
and generating target video information according to the first video information and the second video information according to a preset display proportion according to the first control signal, and outputting the target video information to the display equipment through the display equipment interface, so that the display equipment displays the first video information and the second video information output by the substrate management controller according to the preset display proportion.
12. The server management apparatus according to any one of claims 9 to 11, wherein the apparatus further comprises:
the second control signal acquisition module is used for acquiring a second control signal;
the second video information output module is specifically further configured to control the display device interface to stop outputting the first video information to the display device according to the second control signal, and output the second video information of the operating system interface of the server, which is sent by the central processing unit through the PCH chip, to the display device through the display device interface after receiving the second video information.
13. A server, comprising a baseboard management controller and an input device interface and a display device interface both of which are electrically connected to the baseboard management controller, wherein the baseboard management controller comprises the server management apparatus of any one of claims 7-12.
14. A readable storage medium, characterized in that a computer program is stored therein, which when executed implements the server management method of any one of claims 1-6.
CN201811400795.XA 2018-11-22 2018-11-22 Server management method, device, server and readable storage medium Active CN109617712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811400795.XA CN109617712B (en) 2018-11-22 2018-11-22 Server management method, device, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811400795.XA CN109617712B (en) 2018-11-22 2018-11-22 Server management method, device, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN109617712A CN109617712A (en) 2019-04-12
CN109617712B true CN109617712B (en) 2022-09-09

Family

ID=66003791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811400795.XA Active CN109617712B (en) 2018-11-22 2018-11-22 Server management method, device, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN109617712B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347437A (en) * 2019-07-16 2019-10-18 深圳市同泰怡信息技术有限公司 A kind of method and apparatus and equipment adjusting server platform service state
CN111654404B (en) * 2020-06-28 2022-07-12 新华三信息技术有限公司 Intelligent network card management and control method and device
CN112165482B (en) * 2020-09-24 2021-07-27 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and medium
CN114003089A (en) * 2021-09-29 2022-02-01 浪潮电子信息产业股份有限公司 Method, system and device for synchronizing BMC (baseboard management controller) and operating system time

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005222A1 (en) * 2006-06-07 2008-01-03 Lambert Timothy M System and Method for Server Information Handling System Management Through Local I/O Devices
CN101872247B (en) * 2009-04-22 2012-11-28 技嘉科技股份有限公司 Server monitoring device and method
CN102448074A (en) * 2010-09-30 2012-05-09 国际商业机器公司 Method and system for managing server
CN105278968A (en) * 2014-06-05 2016-01-27 宏碁股份有限公司 Server and method for inquiring configuration state of server
CN104598153A (en) * 2015-01-28 2015-05-06 浪潮(北京)电子信息产业有限公司 Method for controlling server and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于IPMI的智能平台管理系统设计与实现;李孟君等;《网络安全技术与应用》;20170915(第09期);全文 *
浅谈BMC管理系统在国产平台服务器中的应用;吴之光等;《信息技术与信息化》;20160225;全文 *

Also Published As

Publication number Publication date
CN109617712A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109617712B (en) Server management method, device, server and readable storage medium
TWI684859B (en) Method for remote system recovery
TWI534708B (en) Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system
EP3255527B1 (en) Remote keyboard-video-mouse technologies
US20170131991A1 (en) System and method for unified firmware managment
US20090132799A1 (en) Systems and Methods for Configuring Out-of-Band Bios Settings
US20110225274A1 (en) Bios parameter virtualization via bios configuration profiles
US10110549B2 (en) Method, server and electronic devices of synchronizing notification messages for electronic devices
US9465761B2 (en) Managing slave devices
US8907609B2 (en) Electronic device and method for monitoring fan
JP5910246B2 (en) Information processing system and virtual address setting method
JP6710790B2 (en) Method and apparatus for operating a smart network interface card
US9979798B2 (en) Thin/zero client provisioning and management using centralized management software
CN106155813B (en) Managing computing devices in a computing system
CN105721534A (en) System and method for network-based iscsi boot parameter deployment
US9009543B2 (en) Computer systems that acquire a plurality of statuses of non-normally operating hard disk drives
US20160291654A1 (en) Systems and methods for thermal adaptation for virtual thermal inputs in a chassis infrastructure
US20140189103A1 (en) System for monitoring servers and method thereof
US10025742B2 (en) JBOD apparatus having BMC module and controlling method for the same
CN108989123A (en) A kind of server configuration method and device
JP2011238073A (en) Server group integrated management system
US20140365758A1 (en) Techniques for booting an information processing system
WO2019227368A1 (en) Mode control method and apparatus, and readable storage medium and electronic device
CN105786659A (en) Remote debugging method and server
JP2014186514A (en) Information processing device, posting method, and posting program

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
GR01 Patent grant
GR01 Patent grant