CN115525511A - Server management method, system, electronic device and storage medium - Google Patents

Server management method, system, electronic device and storage medium Download PDF

Info

Publication number
CN115525511A
CN115525511A CN202211211267.6A CN202211211267A CN115525511A CN 115525511 A CN115525511 A CN 115525511A CN 202211211267 A CN202211211267 A CN 202211211267A CN 115525511 A CN115525511 A CN 115525511A
Authority
CN
China
Prior art keywords
management controller
management
server
slave
baseboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211211267.6A
Other languages
Chinese (zh)
Inventor
李小庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211211267.6A priority Critical patent/CN115525511A/en
Publication of CN115525511A publication Critical patent/CN115525511A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored

Abstract

The embodiment of the invention provides a server management method, a system, electronic equipment and a storage medium, which are applied to a main substrate management controller, wherein the method comprises the following steps: and receiving first operation state data obtained from the monitoring server of the baseboard management controller, and sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller executes management operation aiming at the server according to the first management instruction. In the embodiment of the invention, on one hand, the cost of the substrate management controller can be reduced by adopting a simplified version of the slave substrate management controller, so that the configuration cost of the server is reduced, and on the other hand, the function of the substrate management controller is completed by the cooperation of the master substrate management controller and the slave substrate management controller, so that the situation that the substrate management controller cannot respond or cannot run in time due to the fact that a plurality of tasks are processed by one substrate management controller at the same time in the busy process can be avoided, and the stability of the substrate management controller is improved.

Description

Server management method, system, electronic device and storage medium
Technical Field
The present invention relates to the field of server technologies, and in particular, to a server management method, a server management system, an electronic device, and a computer-readable storage medium.
Background
A Baseboard Management Controller (BMC) is generally disposed in a storage server or a computing server, and the BMC has a main function of monitoring, controlling and managing the server.
In the current stage, there are two configuration modes of the baseboard management controller, one is to configure a BMC on each server, and the BMC on each server is used for monitoring, controlling and managing the server, but this may cause the cost of the server to be too high; the other is that a plurality of servers are configured with a BMC, and the BMC is used for monitoring, controlling and managing the plurality of servers at the same time, however, the BMC is used for monitoring, controlling and managing the plurality of servers at the same time, and the situation that the plurality of servers cannot respond or run in time easily occurs in a busy process, so that the stability is poor.
Disclosure of Invention
Embodiments of the present invention provide a server management method, a server management system, an electronic device, and a computer-readable storage medium, so as to solve the problems that a cost of a server is too high due to configuring one BMC on each server, and a stability of the BMC is poor due to the fact that the BMC monitors, controls, and manages multiple servers at the same time.
The embodiment of the invention discloses a server management method, which is applied to a master substrate management controller, wherein the master substrate management controller is in communication connection with slave substrate management controllers positioned in a plurality of servers, the slave substrate management controllers are simplified version substrate management controllers used for monitoring running state data of the servers and executing management instructions, and the method comprises the following steps:
receiving first running state data obtained by monitoring the server from the substrate management controller;
sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller executes management operation aiming at the server according to the first management instruction; the first management instruction comprises a first management instruction triggered based on the first running state data and an acquired first management instruction for the server.
Optionally, the method further comprises:
monitoring second operation state data of equipment where the main base plate management controller is located;
executing management operation aiming at the equipment where the main base plate management controller is located according to a second management instruction; the second management instruction comprises a second management instruction triggered based on the second running state data and an acquired second management instruction for the device where the main substrate management controller is located.
Optionally, the master baseboard management controller is configured in a terminal device, and the master baseboard management controller in the terminal device is in communication connection with the slave baseboard management controller in the server through a switch; or the like, or, alternatively,
the server is a rack server, the main substrate management controller is configured on a main substrate management controller chip on the rack, and the main substrate management controller chip is in communication connection with the slave substrate management controller in the rack server through a switch.
Optionally, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes:
when the server is determined to be abnormal according to the first running state data, a first management instruction is generated based on the abnormality and is sent to the slave baseboard management controller in the server, so that the slave baseboard management controller controls a functional module in the server to process the abnormality according to the first management instruction.
Optionally, after the determining that the server operates abnormally according to the first operation state data, the method further includes:
and recording the abnormality through a fault log, and sending an alarm to a worker.
Optionally, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes:
acquiring a first management instruction aiming at the server;
and sending the first management instruction to the slave baseboard management controller in the server so that the slave baseboard management controller controls the functional module in the server according to the first management instruction.
Optionally, after receiving the first operation state data obtained by monitoring the server from the baseboard management controller, the method further includes:
and storing the first operation state data.
The embodiment of the invention also discloses a server management system, which comprises a main substrate management controller and a plurality of servers, wherein the main substrate management controller is in communication connection with the slave substrate management controller positioned in the servers, and the slave substrate management controller is a simplified version substrate management controller used for monitoring the running state data of the servers and executing the management instructions; wherein the content of the first and second substances,
the slave base plate management controller is used for monitoring first running state data of the server and sending the first running state data to the master base plate management controller;
the master baseboard management controller is used for sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller can execute management operation aiming at the server based on the first management instruction; the first management instruction comprises a first management instruction triggered based on the first running state data and an acquired first management instruction for the server.
Alternatively,
the main substrate management controller is also used for monitoring second running state data of equipment where the main substrate management controller is located; executing management operation aiming at the equipment where the main base plate management controller is located according to a second management instruction; the second management instruction comprises a second management instruction triggered by the second running state data and an acquired second management instruction for the device where the main substrate management controller is located.
Optionally, the master baseboard management controller is configured in a terminal device, and the master baseboard management controller in the terminal device is in communication connection with the slave baseboard management controller in the server through a switch; or the like, or, alternatively,
the server is a rack server, the main substrate management controller is configured on a main substrate management controller chip on the rack, and the main substrate management controller chip is in communication connection with the slave substrate management controller in the rack server through a switch.
Optionally, the master baseboard management controller is configured to, when it is determined that the server operates abnormally according to the first operating state data, generate a first management instruction based on the abnormality, and send the first management instruction to the slave baseboard management controller in the server;
and the slave substrate management controller is used for controlling a functional module in the server to process the exception according to the first management instruction.
Optionally, after the determining that the server operates abnormally according to the first operating state data, the method further includes:
and the main substrate management controller is also used for recording the abnormity through a fault log and sending an alarm to a worker.
Optionally, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes:
the main base plate management controller is used for acquiring a first management instruction aiming at the server; and sending the first management instruction to the slave baseboard management controller in the server so that the slave baseboard management controller controls the functional module in the server according to the first management instruction.
Optionally, after receiving the first operation state data obtained by monitoring the server from the baseboard management controller, the method further includes:
and the main substrate management controller is used for storing the first running state data.
The embodiment of the invention also discloses electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method according to the embodiment of the present invention when executing the program stored in the memory.
Also disclosed is a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform a method according to an embodiment of the invention.
The embodiment of the invention has the following advantages: the method comprises the steps that a simplified slave base plate management controller is configured in a server, the slave base plate management controller is used for monitoring first running state data of the server and executing a first management instruction, other complex logic control, management and other functions are completed by a master base plate management controller, monitoring and management of a plurality of servers are realized through cooperation of a normal master base plate management controller and a plurality of simplified slave base plate management controllers, on one hand, the cost of the base plate management controller can be reduced through the simplified slave base plate management controller, so that the configuration cost of the servers is reduced, on the other hand, the functions of the base plate management controller are completed through cooperation of the master base plate management controller and the slave base plate management controllers, the master base plate management controller realizes the complex logic control, management and other functions, the slave base plate management controller realizes the server monitoring and management instruction execution functions, so that the situation that the base plate management controller cannot respond in time or cannot run due to the fact that a plurality of tasks are processed by one base plate management controller simultaneously in the busy process can be avoided, and the stability of the base plate management controller is improved.
Drawings
FIG. 1 is a flow chart of steps of a server management method provided in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a main board management controller configured in a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a main board management controller configured on a rack according to an embodiment of the present invention;
FIG. 4 is a flow chart of steps of another server management method provided in embodiments of the present invention;
fig. 5 is a block diagram of a server management system provided in an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device provided in the embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of a server management method provided in an embodiment of the present invention is shown, where the server management method is applied to a master baseboard management controller, the master baseboard management controller is communicatively connected to a slave baseboard management controller located in a plurality of servers, and the slave baseboard management controller is a simplified baseboard management controller configured to monitor operating state data of the servers and execute management instructions, where the server management method may specifically include the following steps:
step 101: and receiving first running state data obtained by monitoring the server from the substrate management controller.
The Baseboard Management Controller (BMC) is a Baseboard management platform, and does not depend on other hardware (such as a CPU (central processing Unit) and a memory) on a management System, or on a BIOS (Basic Input System, basic Output and Input System) and an OS (Operating System, OS for short). The baseboard management controller is connected with each functional module in the server, monitors the running state of each functional module in real time, and can perform corresponding adjustment work to ensure that the server is in a healthy state.
The master substrate management controller is a normal substrate management controller and has functions of normal monitoring, complex logic control, management, log recording and the like, while the slave substrate management controller is a simplified substrate management controller, partial functions of a monitoring server, an instruction execution function and the like in the BMC are reserved, and other functions such as complex logic control, management, log recording and the like are removed, so that the cost of the slave substrate management controller is reduced.
The master baseboard management controller is in communication connection with the slave baseboard management controllers in the plurality of servers at the same time, for example, the communication connection may be achieved through a wireless network or a wired network, which is not limited in the embodiment of the present invention.
The first operation status data of the server may include temperature (graphics card temperature, CPU temperature, memory temperature, and the like), voltage, current, computational resource occupancy, memory occupancy, and the like, and the slave bmc may specifically monitor the first operation status data of the server through a sensor (e.g., a temperature sensor) and/or a monitoring module (e.g., a voltage detection module).
Specifically, the slave baseboard management controller installed in the server monitors the operation state of the server through the sensor and/or the monitoring module at every preset time interval, so as to obtain first operation state data such as temperature, voltage, current, computing resource occupancy rate and memory occupancy rate, and sends the first operation state data to the master baseboard management controller, so that the master baseboard management controller manages the server.
Step 102: and sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller executes management operation aiming at the server according to the first management instruction.
The first management instruction comprises a first management instruction triggered based on the first running state data and an acquired first management instruction for the server.
The Management instruction may include an IPMI (Intelligent Platform Management Interface) Management instruction, such as a command to set a class: ipmitool power on, ipmitool power off, ipmitool chassis policy always-on, ipmitool chassis policy always-off; query class commands: ipomitool sdr list, ipmitool lan print 1; remote management: KVM (kernel-based virtual machine) login, and the like.
Specifically, there are two cases where the master baseboard management controller sends a first management instruction to the slave baseboard management controller, the first case is that after the master baseboard management controller receives first operation state data about the server sent by the slave baseboard management controller, the master baseboard management controller triggers the first management instruction according to the first operation state data, sends the first management instruction to the slave baseboard management controller, and the slave baseboard management controller performs a management operation for the server according to the first management instruction.
The second method is that the master baseboard management controller obtains a first management instruction for the server initiated by a worker, if the worker directly operates the device where the master baseboard management controller is located to initiate the first management instruction, or the worker remotely initiates the first management instruction to the device where the master baseboard management controller is located through the mobile terminal, after obtaining the first management instruction, the master baseboard management controller sends the first management instruction to the slave baseboard management controller in the corresponding server, and the slave baseboard management controller executes the management operation for the server according to the first management instruction.
In the embodiment of the invention, a simplified slave base plate management controller is configured in a server, the slave base plate management controller is used for monitoring first running state data of the server and executing a first management instruction, other complex logic control, management and other functions are completed by a master base plate management controller, and the monitoring and management of a plurality of servers are realized by matching a normal master base plate management controller with a plurality of simplified slave base plate management controllers.
On the basis of the above-described embodiment, a modified embodiment of the above-described embodiment is proposed, and it is to be noted herein that, in order to make the description brief, only the differences from the above-described embodiment are described in the modified embodiment.
In an optional embodiment of the present invention, further comprising: monitoring second operation state data of equipment where the main base plate management controller is located; executing management operation aiming at the equipment where the main substrate management controller is located according to a second management instruction; the second management instruction comprises a second management instruction triggered based on the second running state data and an acquired second management instruction for the device where the main substrate management controller is located.
The master substrate management controller can manage the server where the slave master substrate management controller is located through the slave substrate management controller, and can also directly monitor, control and manage the equipment where the master substrate management controller is located.
The device where the main substrate management controller is located may be a server, a mobile terminal, and the like, which is not limited in the embodiment of the present invention.
Specifically, the master baseboard management controller monitors the operation state of the device where the master baseboard management controller is located through the sensor and the monitoring module at preset intervals, so that second operation state data such as temperature, voltage, current, resource occupancy rate and memory occupancy rate are obtained.
When the second operation state data is obtained, a second management instruction is triggered based on the second operation state data, or a second management instruction initiated by a worker and directed to the device where the main substrate management controller is located is obtained, for example, the worker directly operates the device where the main substrate management controller is located to initiate the second management instruction, or the worker remotely initiates the second management instruction. Then, the main substrate management controller executes management operation for the device where the main substrate management controller is located according to the second management instruction.
In an optional embodiment of the present invention, the master baseboard management controller is configured in a terminal device, and the master baseboard management controller in the terminal device is communicatively connected to the slave baseboard management controller in the server through a switch; or, the server is a rack server, the master baseboard management controller is configured on a master baseboard management controller chip on the rack, and the master baseboard management controller chip is in communication connection with the slave baseboard management controller in the rack server through a switch.
Specifically, the main board management controller may be configured in the terminal device or on a main board management controller chip on the rack server rack. As an example, referring to fig. 2, a schematic structural diagram of a master baseboard management controller configured in a terminal device according to an embodiment of the present invention is shown, where a fat BMC (master baseboard management controller) is configured in a PC (Personal Computer) Computer, a plurality of thin BCMs (slave baseboard management controllers) are respectively configured in a plurality of servers, and the fat BMC and the thin BCM realize local area network connection through a switch, so as to realize monitoring, control and management of the plurality of servers through cooperation of the fat BMC and the thin BCM.
Referring to fig. 3, a schematic structural diagram of a host board management controller configured on a rack according to an embodiment of the present invention is shown. The fat BMC can be configured on a main substrate management controller chip on the rack, the thin BCMs are configured in the servers respectively, and the fat BMC and the thin BCMs are connected through a local area network through the switch, so that the fat BMC and the thin BCMs are matched to monitor, control and manage the servers.
In an optional embodiment of the present invention, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes: when the server is determined to be abnormal according to the first running state data, a first management instruction is generated based on the abnormality and is sent to the slave baseboard management controller in the server, so that the slave baseboard management controller controls a functional module in the server to process the abnormality according to the first management instruction.
Specifically, after the main baseboard management controller receives first operation state data about the server sent from the baseboard management controller, whether the first operation state data are normal or not is detected, and if the main baseboard management controller determines that data abnormality exists in the first operation state data, a first management instruction is generated based on the abnormality. For example, when the temperature of the CPU is greater than a preset temperature threshold, the voltage is greater than a preset voltage threshold, the occupancy rate of the computing resource is greater than a preset resource occupancy threshold, or the occupancy rate of the memory is greater than a preset memory occupancy threshold, it may be determined that data abnormality exists in the first operating state data, and a corresponding first management instruction is triggered based on the abnormal data, where the first management instruction is used to improve the abnormality.
And then sending the first management instruction to the slave baseboard management controller, and controlling the functional module in the server to process the abnormity according to the first management instruction by the slave baseboard management controller. For example, the functional modules of the server may include a power module, a storage module, a fan module, and the like, and the slave bmc controls the functional modules in the server according to the first management instruction, so as to improve the abnormality through the functional modules.
Taking the monitor of the display card temperature as an example, the master baseboard management controller monitors the display card temperature in all servers in a circulating manner. For the temperature of the display card on the equipment where the master base plate management controller is located, the master base plate management controller can directly call a program to read, for the temperature of the display card of the server corresponding to the slave base plate management controller managed by the master base plate management controller, the slave base plate management controller can monitor the server where the slave base plate management controller is located, the temperature of the display card in the server is obtained, and the temperature of the display card is fed back to the master base plate management controller.
The temperature data of all server display cards has just been mastered to main substrate management controller, can judge the health status of each server display card operation according to these temperature data, when the temperature of discovery display card is greater than predetermined temperature threshold, confirm that the display card temperature appears unusually this moment, trigger management instruction, if appear unusual display card when being located the equipment at main substrate management controller place, main substrate management controller directly opens the fan module or increase fan module's the rotational speed on the equipment at place based on management instruction, in order to cool down the display card, the realization improves unusually. If the abnormal display card is located in the server, the master substrate management controller sends the management instruction to the corresponding slave substrate management controller, and the slave substrate management controller can start a fan module of the server or increase the rotating speed of the fan module according to the management instruction so as to cool the display card. In addition, the principle of the memory temperature monitoring and the CPU temperature monitoring is the same as the above.
In the above embodiment, the master baseboard management controller and the slave baseboard management controller are used to monitor the operating state data of the server, and when it is determined that data abnormality exists in the operating state data, a management instruction corresponding to the abnormality is triggered, and then the function module in the server is controlled based on the management instruction, so that the abnormality is improved, and normal operation of the server is ensured.
In an optional embodiment of the present invention, after the determining that the server operates abnormally according to the first operation state data, the method further includes: and recording the abnormality through a fault log, and sending an alarm to a worker.
Specifically, when the server is determined to be abnormally operated according to the first operation state data, the abnormal operation is recorded through the fault log, so that a worker can search and analyze the position and the reason of the abnormal/fault based on the fault log, and meanwhile, when the server is determined to be abnormally operated, an alarm can be output through the equipment where the main base board management controller is located, for example, the equipment where the main base board management controller is located gives an audible and visual prompt, or when the worker is not beside the equipment where the main base board management controller is located, the alarm and the abnormal operation are sent to a mobile terminal (such as a mobile phone and a PAD) of the worker, so that the worker can conveniently maintain the server.
In an optional embodiment of the present invention, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes: acquiring a first management instruction aiming at the server; and sending the first management instruction to the slave baseboard management controller in the server so that the slave baseboard management controller controls the functional module in the server according to the first management instruction.
Specifically, the master baseboard management controller may directly obtain a first management instruction initiated by a worker, for example, the worker directly operates a device where the master baseboard management controller is located to initiate the first management instruction, or the worker remotely initiates the first management instruction to the device where the master baseboard management controller is located through a mobile terminal, after obtaining the first management instruction, the master baseboard management controller sends the first management instruction to a slave baseboard management controller in a corresponding server, and the slave baseboard management controller controls a function module in the server according to the first management instruction.
Taking the example that the worker starts all the servers through the management tool ipmitool, the worker initiates an ipmitool power on instruction to the main substrate management controller to start all the servers. After receiving the management instruction, the master baseboard management controller starts up the equipment, then forwards the management instruction to each slave baseboard management controller, and after receiving the management instruction, the slave baseboard management controller starts up the server.
In addition, the worker can also start a single server through the management tool ipmitool, for example, the worker initiates a command of ipmitool power on id = BMC number to the main baseboard management controller, and the main baseboard management controller confirms which baseboard management controller the worker wants to operate according to the parameter of 'id = BMC number'; if the master base plate management controller is self-contained, the server of the master base plate management controller is directly started; if the management command is the slave baseboard management controller, the management command is forwarded to the slave baseboard management controller, and the slave baseboard management controller receives the management command and then starts up a server of the slave baseboard management controller.
Furthermore, the way in which the staff closes all or a single server via the administration tool ipmitool is similar to that described above.
The working personnel can also check all sensor data of a single baseboard management controller through the management tool ipmitool, if the working personnel initiates an 'ipmitool sdr list id = BMC number' instruction to the main baseboard management controller, and the main baseboard management controller confirms which baseboard management controller the working personnel wants to operate according to the parameter of 'id = BMC number'; if the master base plate management controller is the master base plate management controller, returning the sensor data of the master base plate management controller; if the slave baseboard management controller is used, the sensor data corresponding to the slave baseboard management controller is returned.
In the above embodiment, through the cooperation of the master substrate management controller and the slave substrate management controller, the working personnel can monitor and control all the servers through the management instructions, and the working personnel can manage the servers conveniently.
In an optional embodiment of the present invention, after receiving the first operation status data obtained by monitoring the server from the baseboard management controller, the method further includes: and storing the first operation state data.
Specifically, after the master baseboard management controller receives first operating state data obtained from the baseboard management controller monitoring server, the first operating state data is cached locally, and therefore working personnel can inquire the operating state data of the server conveniently.
For a better understanding of embodiments of the present invention, reference is made to fig. 4 for an exemplary illustration.
Step 401, designing the lean BMC (from the baseboard management controller). Simplifying the hardware configuration of the traditional BMC, reserving partial functions such as monitoring in the traditional BMC software, and removing other software functions. The lean-BMC is code that only executes the monitoring server and executes management instructions, leaving complex logic control and management functions to the fat BMC.
Step 402, design fat BMC (master baseboard management controller). The system has the functions of hardware configuration of the traditional BMC, logic control in BMC software, log recording and the like. So-called fat BMC, which is actually software. The fat BMC may run on a PC computer or be configured on a BMC chip.
At step 403, the lean BMC is managed by the fat BMC, which is configured to form a local area network via Ethernet.
At step 404, the fat BMC may continuously monitor all server-related key component data, such as temperature, voltage, current, etc. For the server data of the fat BMC, the fat BMC can directly collect the server data; for data of the lean-BMC server, the fat-BMC issues an instruction to the lean-BMC requesting the lean-BMC to collect relevant data, and the lean-BMC collects data of its own server after receiving the request and feeds back the data to the fat-BMC.
A worker may manage either lean-BMC alone or lean-BMC together with the fat-BMC, step 405. The management command is delivered by the fat BMC to the thinning-BMC via the ethernet, such as to turn on a healthy light.
In the embodiment of the invention, a simplified version of slave base plate management controller is configured in a server, the slave base plate management controller is used for monitoring the running state data and executing management instructions of the server, other complex logic control, management and other functions are completed by a master base plate management controller, and the monitoring and management of a plurality of servers are realized by the cooperation of a normal master base plate management controller and a plurality of simplified version of slave base plate management controllers.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a server management system provided in an embodiment of the present invention is shown, including a master baseboard management controller 100 and several servers 200, where the master baseboard management controller 100 is communicatively connected to a slave baseboard management controller 300 located in the servers 200, and the slave baseboard management controller 300 is a reduced version baseboard management controller for monitoring operation state data of the servers 200 and executing management instructions; wherein the content of the first and second substances,
the slave baseboard management controller 300 is configured to monitor first operation state data of the server 200, and send the first operation state data to the master baseboard management controller 100;
the master baseboard management controller 100 is configured to send a first management instruction to the slave baseboard management controller 300, so that the slave baseboard management controller 300 performs a management operation for the server 200 based on the first management instruction; the first management instruction comprises a first management instruction triggered based on the first operation state data and an acquired first management instruction for the server 200.
Alternatively,
the main substrate management controller is also used for monitoring second running state data of equipment where the main substrate management controller is located; executing management operation aiming at the equipment where the main base plate management controller is located according to a second management instruction; the second management instruction comprises a second management instruction triggered by the second running state data and an acquired second management instruction for the device where the main substrate management controller is located.
Optionally, the master baseboard management controller is configured in a terminal device, and the master baseboard management controller in the terminal device is in communication connection with the slave baseboard management controller in the server through a switch; or the like, or, alternatively,
the server is a rack-mounted server, the master baseboard management controller is configured on a master baseboard management controller chip on the rack, and the master baseboard management controller chip is in communication connection with the slave baseboard management controller in the rack-mounted server through a switch.
Optionally, the master baseboard management controller is configured to, when it is determined that the server operates abnormally according to the first operating state data, generate a first management instruction based on the abnormality, and send the first management instruction to the slave baseboard management controller in the server;
and the slave substrate management controller is used for controlling a functional module in the server to process the exception according to the first management instruction.
Optionally, after the determining that the server operates abnormally according to the first operating state data, the method further includes:
and the main substrate management controller is also used for recording the abnormity through a fault log and sending an alarm to a worker.
Optionally, the sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to execute a management operation for the server according to the first management instruction includes:
the main base plate management controller is used for acquiring a first management instruction aiming at the server; and sending the first management instruction to the slave baseboard management controller in the server so that the slave baseboard management controller controls the functional module in the server according to the first management instruction.
Optionally, after receiving the first operation state data obtained by monitoring the server from the baseboard management controller, the method further includes:
and the main base plate management controller is used for storing the first running state data.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In addition, an embodiment of the present invention further provides an electronic device, including: the processor, the memory, and the computer program stored in the memory and capable of running on the processor, when executed by the processor, implement each process of the above-mentioned data acquisition method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the data acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 606, memory 609, processor 610, and power 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any other suitable object or attachment). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or nearby, the touch operation can be transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 can provide a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby integrally monitoring the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A server management method applied to a master baseboard management controller, wherein the master baseboard management controller is in communication connection with a slave baseboard management controller located in a plurality of servers, and the slave baseboard management controller is a reduced version baseboard management controller for monitoring operation state data of the servers and executing management instructions, the method comprising:
receiving first running state data obtained by monitoring the server from the substrate management controller;
sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller executes management operation aiming at the server according to the first management instruction; the first management instruction comprises a first management instruction triggered based on the first running state data and an acquired first management instruction for the server.
2. The method of claim 1, further comprising:
monitoring second operation state data of equipment where the main base plate management controller is located;
executing management operation aiming at the equipment where the main base plate management controller is located according to a second management instruction; the second management instruction comprises a second management instruction triggered based on the second running state data and an acquired second management instruction for the device where the main substrate management controller is located.
3. The method according to claim 1 or 2, wherein the master baseboard management controller is configured in a terminal device, and the master baseboard management controller in the terminal device is in communication connection with the slave baseboard management controller in the server through a switch; or the like, or, alternatively,
the server is a rack server, the main substrate management controller is configured on a main substrate management controller chip on the rack, and the main substrate management controller chip is in communication connection with the slave substrate management controller in the rack server through a switch.
4. The method of claim 1, wherein sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to perform a management operation for the server according to the first management instruction comprises:
when the server is determined to be abnormal according to the first running state data, a first management instruction is generated based on the abnormality and is sent to the slave baseboard management controller in the server, so that the slave baseboard management controller controls a functional module in the server to process the abnormality according to the first management instruction.
5. The method of claim 4, further comprising, after the determining that the server is operating abnormally according to the first operating state data:
and recording the abnormality through a fault log, and sending an alarm to a worker.
6. The method of claim 1, wherein sending the first management instruction to the slave baseboard management controller to cause the slave baseboard management controller to perform a management operation for the server according to the first management instruction comprises:
acquiring a first management instruction aiming at the server;
and sending the first management instruction to the slave baseboard management controller in the server so that the slave baseboard management controller controls the functional module in the server according to the first management instruction.
7. The method of claim 1, wherein after receiving the first operating state data obtained from the baseboard management controller monitoring the server, further comprising:
and storing the first operation state data.
8. The server management system is characterized by comprising a master baseboard management controller and a plurality of servers, wherein the master baseboard management controller is in communication connection with slave baseboard management controllers positioned in the servers, and the slave baseboard management controllers are simplified baseboard management controllers used for monitoring running state data of the servers and executing management instructions; wherein, the first and the second end of the pipe are connected with each other,
the slave base plate management controller is used for monitoring first running state data of the server and sending the first running state data to the master base plate management controller;
the master baseboard management controller is used for sending a first management instruction to the slave baseboard management controller so that the slave baseboard management controller can execute management operation aiming at the server based on the first management instruction; the first management instruction comprises a first management instruction triggered based on the first running state data and an acquired first management instruction for the server.
9. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing a program stored on the memory, implementing the method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon instructions, which when executed by one or more processors, cause the processors to perform the method of any one of claims 1-7.
CN202211211267.6A 2022-09-30 2022-09-30 Server management method, system, electronic device and storage medium Pending CN115525511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211211267.6A CN115525511A (en) 2022-09-30 2022-09-30 Server management method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211211267.6A CN115525511A (en) 2022-09-30 2022-09-30 Server management method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115525511A true CN115525511A (en) 2022-12-27

Family

ID=84702587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211211267.6A Pending CN115525511A (en) 2022-09-30 2022-09-30 Server management method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115525511A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112474A (en) * 2023-10-23 2023-11-24 湖南博匠信息科技有限公司 Universal trusted substrate management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112474A (en) * 2023-10-23 2023-11-24 湖南博匠信息科技有限公司 Universal trusted substrate management method and system
CN117112474B (en) * 2023-10-23 2024-01-02 湖南博匠信息科技有限公司 Universal trusted substrate management method and system

Similar Documents

Publication Publication Date Title
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN111143005A (en) Application sharing method, electronic equipment and computer readable storage medium
US20210326479A1 (en) Permission Management Method and Terminal Device
CN109995862B (en) Resource scheduling method and terminal
CN115589361A (en) Management equipment firmware updating method and device, electronic equipment and storage medium
CN115525511A (en) Server management method, system, electronic device and storage medium
CN108810284B (en) Mode switching method of camera and electronic equipment
CN114428546A (en) Background application cleaning method and device, storage medium and terminal equipment
EP3696987A1 (en) Information processing method for radio frequency device, and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN108170310B (en) Touch screen control method and mobile terminal
CN111310165B (en) Account switching or registering method and electronic equipment
CN116610508A (en) Heat dissipation test method and device, electronic equipment and storage medium
CN111131930A (en) Device resource control method, first electronic device, and computer-readable storage medium
CN111309390A (en) Method for acquiring configuration information and electronic equipment
CN110995816B (en) Sharing method and electronic device
CN115543459A (en) Server memory configuration method and device, electronic equipment and readable storage medium
CN109542315B (en) Control method and system of mobile terminal
CN115567395B (en) Master-slave node determination method and device, electronic equipment and storage medium
CN115617280B (en) Method and device for optimizing management of temporary directory, electronic equipment and storage medium
CN117519334A (en) Temperature control method and device for server, electronic equipment and storage medium
CN115509334A (en) Hard disk power supply system, method, electronic device and storage medium
CN115509579A (en) Firmware version information updating method and device, electronic equipment and storage medium
CN113902514A (en) Iris-based medicine purchasing method and device, storage medium and electronic equipment
CN110990803A (en) Manipulation method, first electronic device, second electronic device, and medium

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