CN113849367A - Server, management method, device and system thereof, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113849367A
CN113849367A CN202110982989.0A CN202110982989A CN113849367A CN 113849367 A CN113849367 A CN 113849367A CN 202110982989 A CN202110982989 A CN 202110982989A CN 113849367 A CN113849367 A CN 113849367A
Authority
CN
China
Prior art keywords
management
mode
server
management mode
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110982989.0A
Other languages
Chinese (zh)
Other versions
CN113849367B (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.)
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 CN202110982989.0A priority Critical patent/CN113849367B/en
Publication of CN113849367A publication Critical patent/CN113849367A/en
Application granted granted Critical
Publication of CN113849367B publication Critical patent/CN113849367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a server and a management method, device and system thereof, an electronic device and a readable storage medium. When a trigger signal for switching the management mode is detected, a target management object and a target management mode of a server to be managed are obtained by analyzing the trigger signal; acquiring a current management mode of a target management object; and switching the management mode of the target management object from the current management mode to a target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode, so that a user can locally monitor the target management object through the user graphic interface and/or the management interface. The method and the device can flexibly adopt a remote out-of-band management mode and/or a local management mode to control the server based on the application scene.

Description

Server, management method, device and system thereof, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a server, a management method, an apparatus, a system, an electronic device, and a readable storage medium thereof.
Background
The management mode of the server comprises an out-of-band management mode and a local management mode, the out-of-band management mode manages the server through an out-of-band management controller such as BMC (baseboard management controller), the out-of-band management does not need to log in an operating system and a configuration interface of managed equipment, the work and the safety of the server cannot be influenced, and the method is an important means for improving the management efficiency of the computer. Most servers now manage network devices, server devices such as minicomputers, servers, workstations, and power systems in a computer room in a remote out-of-band management manner. For example, in server design, a small lcd screen is sometimes disposed on the front panel or the rear panel, and the lcd screen is used for displaying simple information such as system power on/off status, management network IP (Internet Protocol) address, and the like to a user. In the related art, the display screen is directly connected to a BMC (Baseboard management Controller), and the BMC directly controls the display of the display screen. However, as the performance of the server is continuously improved, the heat dissipation requirement of the server is also continuously improved, and the chassis embedded display undoubtedly forms a serious obstacle to the heat dissipation of the server.
Along with the development of intelligent scenes and the popularization of intelligent equipment, the types of servers are continuously increased, the servers also face more and more complex use scenes, the servers are not limited in a machine room, the traditional remote out-of-band management is not suitable for each scene of the servers, and the local management also becomes an indispensable requirement of the servers. The local management mode is a mode of operating or executing a management program on the local computer to manage the local computer, management control information and data information are transmitted by using a unified physical channel, and the server can be controlled conveniently, safely and independently. Although the in-band BMC command under the OS (operating system) can implement partial local monitoring, the login user and the password of the OS are generally managed by a service, and the operation and maintenance staff only manage the out-of-band user password of the BMC, so the operation and maintenance cannot directly perform local management. In addition, when the operation and maintenance personnel perform local management, the operation and maintenance personnel often need to carry external equipment such as serial port equipment, which not only brings inconvenience to the operation and maintenance personnel, but also increases the local management cost.
Disclosure of Invention
The application provides a server, a management method, a management device, a management system, electronic equipment and a readable storage medium thereof, which realize that a remote out-of-band management mode and/or a local management mode are flexibly adopted to control the server based on an application scene.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an embodiment of the present invention provides a server management method, including:
when a trigger signal for switching the management mode is detected, a target management object and a target management mode of the server to be managed are obtained by analyzing the trigger signal;
acquiring a current management mode of the target management object;
and switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode so as to locally monitor the target management object through the user graphic interface and/or the management interface.
Optionally, the step of switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user interface and/or a management interface according to the type of the target management mode includes:
the current management mode is a remote out-of-band management mode, and the target management mode is a local management mode and a remote out-of-band management mode;
and switching the management mode of the target management object to the local management mode and the remote out-of-band management mode, and providing a user graphical interface and/or a management interface for a local user.
Optionally, the step of switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user interface and/or a management interface according to the type of the target management mode includes:
the current management mode is a remote out-of-band management mode, and the target management mode is a local management mode;
and switching the management mode of the target management object to the local management mode, and providing a user graphical interface and/or a management interface for a local user.
Optionally, after determining whether to provide a graphical user interface and/or a management interface according to the type of the target management manner, the method further includes:
when a task execution instruction is received in the process of managing the target management object based on the target management mode;
judging whether the execution of the task execution instruction needs to call a cooperative management object;
if the task execution instruction needs to call a cooperative management object, acquiring a current management mode of the cooperative management object;
if the current management mode of the collaborative management object is different from the target management mode, switching the management mode of the collaborative management object to the target management mode;
and executing corresponding tasks based on the cooperative management object and the target management object.
Optionally, before the detecting the trigger signal for switching the management mode, the method further includes:
judging whether a switching command and/or a physical trigger signal is received;
and if the switching command and/or the physical trigger signal are/is received, judging that the trigger signal of the switching management mode exists.
Another aspect of an embodiment of the present invention provides a server management apparatus, including:
the trigger module is used for analyzing the trigger signal to obtain a target management object and a target management mode of the server to be managed when the trigger signal for switching the management mode is detected;
the acquisition module is used for acquiring the current management mode of the target management object;
and the switching module is used for switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode so as to locally monitor the target management object through the user graphic interface and/or the management interface.
An embodiment of the present invention further provides an electronic device, which includes a processor, and the processor is configured to implement the steps of the server management method according to any one of the foregoing items when executing the computer program stored in the memory.
An embodiment of the present invention further provides a readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the steps of the server management method according to any one of the foregoing items.
The embodiment of the invention also provides a server management system, which comprises a server to be managed, the electronic equipment, the local input/output module and the remote out-of-band management module;
the local input and output module and the remote out-of-band management module are both connected with the electronic equipment;
and each management object of the server to be managed is connected to the electronic equipment so as to perform local management and/or remote out-of-band management on each management object through the local input and output module and the remote out-of-band management module based on the electronic equipment.
The embodiment of the invention finally provides a server, which comprises the server management device, the mode selector switch, the local input/output module and the remote out-of-band management module;
the mode switch is connected with the server management device and is arranged on the server shell; the mode switch is used for sending a server management mode switching instruction input by a user to the server management device as a trigger signal for switching the current management object management mode;
the local input and output module and the remote out-of-band management module are both connected with the server management device; the server management device, the local input/output module and the remote out-of-band management module are all integrated in a server mainboard, so that local management and/or remote out-of-band management can be performed on each management object of the server through the local input/output module and the remote out-of-band management module.
The technical scheme provided by the application has the advantages that the management mode of each management object of the server is switched according to the trigger signal, the switching of local management and remote out-of-band management of various firmware and various information of the server can be realized, and a user can flexibly adopt the remote out-of-band management mode and/or the local management mode to control the server based on an application scene so as to meet various requirements of customers and enhance the adaptability and the practicability of the server. The server is locally monitored by providing the graphical interface management function and the management interface function, a network environment is not required to be accessed, external equipment is not required to be accessed, operation and maintenance can be realized under the conditions of no business operating system password authority, no external serial port equipment and the like, the server is more convenient for a user to manage, normal use of the user is not influenced, and the use experience of the user can be effectively improved. In addition, the embodiment of the invention also provides a corresponding implementation device, electronic equipment and a readable storage medium for the server management method, so that the method has higher practicability, and the device, the electronic equipment and the readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a server management method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another server management method according to an embodiment of the present invention;
fig. 3 is a structural diagram of an embodiment of a server management device according to an embodiment of the present invention;
fig. 4 is a block diagram of an embodiment of an electronic device according to the present invention;
fig. 5 is a structural diagram of a specific embodiment of a server management system according to an embodiment of the present invention;
fig. 6 is a block diagram of a specific implementation of a server according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of the embodiments of the present invention, various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a server management method according to an embodiment of the present invention, where the embodiment of the present invention may include the following:
s101: when a trigger signal for switching the management mode is detected, a target management object and a target management mode of the server to be managed are obtained by analyzing the trigger signal.
The trigger signal of this embodiment is used to switch the management mode of the management object in the server to be managed from the current management mode to another management mode, and the trigger signal for switching the management mode by the user may be various, and may be triggered by a physical or interface command mode, and the signal is directly transmitted to the execution subject of this embodiment. The trigger signal includes, but is not limited to, a physical mode, a system command mode, and the like, the physical mode is implemented by, for example, a key mode or a pin connection mode, and the system command mode is implemented by issuing a specified command to the target interface. Correspondingly, the process may be to determine whether a handover command and/or a physical trigger signal is received; and if receiving the switching command and/or the physical trigger signal, judging that the trigger signal of the switching management mode exists. As shown in fig. 2, the Management objects of the server to be managed include, but are not limited to, Basic firmware such as BIOS (Basic Input Output System), BMC (baseboard Management Controller), RMC (Rack Management Controller), CPLD (complex programmable logic device), switches, environment devices, information of a complete machine cabinet, Basic information of the server, such as an RMC Management interface and a BMC Management page, internal environment information, and external environment information. The management mode can be a local management mode, a remote out-of-band management mode, a local management mode and a remote out-of-band management mode. The local management mode of the embodiment is a local network-free and device-free management mode, that is, when a user performs local management, the user does not need to access a network environment or other external devices such as serial devices, so that different information and different management platforms respectively realize the switching between local network-free and device-free management and remote out-of-band management, and different user requirements and various use scenes are met.
S102: and acquiring the current management mode of the target management object.
The target management object may be one or more of the management objects in the server to be managed, and in order to distinguish other management objects, the management object currently executing the management mode switching operation is referred to as the target management object in this step.
S103: and switching the management mode of the target management object from the current management mode to a target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode so as to locally monitor the target management object through the user graphic interface and/or the management interface.
In order to implement local management and/or remote out-of-band management, the execution subject of the present embodiment and a module implementing local input and output functions, such as a local input and output module, and a module implementing remote services, such as a remote out-of-band management module, are required to be implemented, as shown in fig. 2. The local input/output module is connected with a VGA (Video Graphics Array) interface and/or a USB interface, and provides services of a graphical interface management platform and an intelligent platform management interface for local monitoring of the server, the graphical interface management platform is used for providing an interface for executing management operation for a user, and the intelligent platform interface can provide various command interfaces for a Linux platform. The embodiment can use the server as the minimum granularity and also use one whole cabinet as the minimum granularity, so that the user can directly and locally check the running state of the machine, the management equipment and the like, the network environment does not need to be accessed, the external equipment does not need to be accessed, only one screen is needed, the operation and maintenance can realize the monitoring of the local whole machine or the whole cabinet under the condition without the business OS password permission, and the normal use of the upper-layer software of the user is not influenced. The remote out-of-band management module provides web services or other out-of-band management services over a network. Therefore, monitoring means in multiple aspects such as BIOS, BMC, RMC management interfaces, server basic information, environment information and the like are realized, unified management is carried out on a control platform where an execution subject is located in the embodiment through the output of a traditional VGA interface, independent setting is carried out, and all management monitoring can be carried out through local wireless equipment-free management or remote out-of-band management. As an optional implementation manner, the implementation process of this step may be that if the current management manner is a remote out-of-band management manner, the target management manner is a local management manner and a remote out-of-band management manner; the management mode of the target management object can be switched to a local management mode and a remote out-of-band management mode, and a user graphical interface and/or a management interface are provided for a local user. If the current management mode is a remote out-of-band management mode, the target management mode is a local management mode; the management mode of the target management object can be switched to a local management mode, and a user graphical interface and/or a management interface are provided for a local user.
In the technical scheme provided by the embodiment of the invention, the management mode of each management object of the server is switched according to the trigger signal, so that the switching of local management and remote out-of-band management of various firmware and various information of the server can be realized, and a user can flexibly adopt the remote out-of-band management mode and/or the local management mode to control the server based on an application scene so as to meet various requirements of customers and enhance the adaptability and the practicability of the server. The server is locally monitored by providing the graphical interface management function and the management interface function, a network environment is not required to be accessed, external equipment is not required to be accessed, operation and maintenance can be realized under the conditions of no business operating system password authority, no external serial port equipment and the like, the server is more convenient for a user to manage, normal use of the user is not influenced, and the use experience of the user can be effectively improved.
It should be noted that, in the present application, there is no strict sequential execution order among the steps, and as long as a logical order is met, the steps may be executed simultaneously or according to a certain preset order, and fig. 1 and fig. 2 are only schematic manners, and do not represent only such an execution order.
It is understood that multiple functional modules may be involved in cooperating with each other when performing the same task, and the multiple functional modules may involve multiple management objects, such as BMC and BIOS, which need to cooperate with each other, such as BMC and environment device may cooperate with each other to display internal and external environment information on a management interface of the BMC, and so on. Based on the above embodiment, the present application may further include:
when a task execution instruction is received in the process of managing the target management object based on the target management mode; judging whether the execution of the task execution instruction needs to call a cooperative management object; if the execution of the task execution instruction needs to call the cooperative management object, acquiring the current management mode of the cooperative management object; if the current management mode and the target management mode of the collaborative management object are different, switching the management mode of the collaborative management object to the target management mode; and executing corresponding tasks based on the cooperative management object and the target management object.
In this embodiment, there may be a plurality of target management objects and a plurality of cooperative management objects, which do not affect the implementation of the present application. The embodiment can access a plurality of firmware, signals of the whole cabinet, external environment information and the like of the server, carry out unified management and independent setting, realize switching of remote out-of-band control or local management control, and each module can be managed independently and can also be operated cooperatively so as to meet different user requirements and use scenes, increase the maintenance means of the server and improve the market competitiveness of the server.
In order to make the technical solution of the present application more clearly understood by those skilled in the art, the present application takes a target management object as BMC as an example, a computer program package for implementing the foregoing embodiments is referred to as a control platform, and a control platform, a server and each functional module such as a local output/input module and a remote out-of-band management module are referred to as a monitoring switching system, which may include the following contents:
the monitoring switching system carries out local and remote control switching of BMC signals through the control platform, the BMC is connected with the control platform, the control platform directly controls whether BMC management is local output or remote output, the control platform selects a BMC monitoring mode by receiving a trigger signal, the control signal is triggered by physics and/or a command, and the control module divides the BMC into a local management mode, a remote out-of-band control mode or both monitoring management according to the signals. The local user uses the local display mode to output the console interface and the interface service, and the user directly operates the server to check the server information and manage the equipment. The remote user controls the out-of-band management module through the network, and uses web service or other remote monitoring means to realize remote management. Similarly, a plurality of firmware, whole cabinet signals, RMC and external environment information of the server, such as temperature, humidity, air pressure and the like, are accessed to the control platform in the same way to switch management modes, and each module can be managed independently or operated cooperatively.
The control platform accesses information such as a plurality of firmware of the server, signals of the whole cabinet, external environment and the like, unified management is carried out on the control platform, the control platform is independently arranged, and each module can be independently managed and can also be cooperatively operated; all management monitoring can be realized through local wireless network and external access equipment management. Different information and different management platforms respectively realize the switching of local management and remote out-of-band management; the method and the system meet various requirements of clients, enhance the adaptability of the server and improve the market competitiveness of the server.
The embodiment of the invention also provides a corresponding device for the server management method, thereby further ensuring that the method has higher practicability. Wherein the means can be described separately from the functional module point of view and the hardware point of view. In the following, the server management apparatus provided by the embodiment of the present invention is introduced, and the server management apparatus described below and the server management method described above may be referred to correspondingly.
Based on the angle of the functional module, referring to fig. 3, fig. 3 is a structural diagram of a server management device according to an embodiment of the present invention, in a specific implementation manner, where the device may include:
the triggering module 301 is configured to, when a triggering signal for switching the management mode is detected, obtain a target management object and a target management mode of the server to be managed by analyzing the triggering signal.
An obtaining module 302, configured to obtain a current management manner of the target management object.
The switching module 303 is configured to switch the management mode of the target management object from the current management mode to the target management mode, and determine whether to provide a graphical user interface and/or a management interface according to the type of the target management mode, so as to locally monitor the target management object through the graphical user interface and/or the management interface.
Optionally, in some embodiments of this embodiment, the switching module 303 may be configured to use a current management mode as a remote out-of-band management mode, and use a target management mode as a local management mode and a remote out-of-band management mode; and switching the management mode of the target management object to a local management mode and a remote out-of-band management mode, and providing a user graphical interface and/or a management interface for a local user.
As an optional implementation manner in parallel with the foregoing embodiment, the switching module 303 may further be configured to: the current management mode is a remote out-of-band management mode, and the target management mode is a local management mode; and switching the management mode of the target management object to a local management mode, and providing a user graphical interface and/or a management interface for a local user.
Optionally, in other embodiments of this embodiment, the apparatus may further include a cooperative operation module, configured to determine whether the execution instruction of the task needs to call the cooperative management object; if the execution of the task execution instruction needs to call the cooperative management object, acquiring the current management mode of the cooperative management object; if the current management mode and the target management mode of the collaborative management object are different, switching the management mode of the collaborative management object to the target management mode; and executing corresponding tasks based on the cooperative management object and the target management object.
Optionally, in some other embodiments of this embodiment, the apparatus may further include a trigger module, for example, configured to determine whether a handover command and/or a physical trigger signal is received; and if receiving the switching command and/or the physical trigger signal, judging that the trigger signal of the switching management mode exists.
The functions of the functional modules of the server management apparatus according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the description related to the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment flexibly adopts a remote out-of-band management mode and/or a local management mode to control the server based on the application scene.
The server management apparatus mentioned above is described from the perspective of a functional module, and further, the present application also provides an electronic device described from the perspective of hardware. Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic device includes a memory 40 for storing a computer program; a processor 41, configured to implement the steps of the server management method according to any of the above embodiments when executing the computer program.
The processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 41 may also be a controller, a microcontroller, a microprocessor or other data processing chip, and the like. The processor 41 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 41 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 41 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high speed random access memory as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. The memory 40 may in some embodiments be an internal storage unit of the electronic device, for example a hard disk of a server. The memory 40 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 40 may also include both an internal storage unit and an external storage device of the electronic device. The memory 40 can be used for storing application software installed in the electronic device and various data, such as: the code of the program that executes the vulnerability handling method, etc. may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 40 is at least used for storing a computer program 401, wherein after being loaded and executed by the processor 41, the computer program can implement the relevant steps of the server management method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 40 may also include an operating system 402, data 403, and the like, and the storage manner may be a transient storage or a permanent storage. Operating system 402 may include, among other things, Windows, Unix, Linux, and the like. The data 403 may include, but is not limited to, data corresponding to server management results, and the like.
In some embodiments, the electronic device may further include a display 42, an input/output interface 43, a communication interface 44, alternatively referred to as a network interface, a power supply 45, and a communication bus 46. The display 42 and the input/output interface 43, such as a Keyboard (Keyboard), belong to a user interface, and the optional user interface may also include a standard wired interface, a wireless interface, and the like. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, as appropriate, is used for displaying information processed in the electronic device and for displaying a visualized user interface. The communication interface 44 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between an electronic device and other electronic devices. The communication bus 46 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not intended to be limiting of the electronic device and may include more or fewer components than those shown, such as sensors 47, for example, to perform various functions.
The functions of the functional modules of the electronic device according to the embodiments of the present invention may be specifically implemented according to the method in the above method embodiments, and the specific implementation process may refer to the description related to the above method embodiments, which is not described herein again.
Therefore, the embodiment flexibly adopts a remote out-of-band management mode and/or a local management mode to control the server based on the application scene.
It is to be understood that, if the server management method in the above embodiments is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrically erasable programmable ROM, a register, a hard disk, a multimedia card, a card type Memory (e.g., SD or DX Memory, etc.), a magnetic Memory, a removable magnetic disk, a CD-ROM, a magnetic or optical disk, and other various media capable of storing program codes.
Based on this, the embodiment of the present invention further provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor, and the steps of the server management method according to any one of the above embodiments are provided.
In order to meet different user requirements, this embodiment may encapsulate a computer program corresponding to the implementation of the foregoing method embodiment as a control platform, or may directly embed the computer program in a server motherboard, and based on the foregoing embodiment, the present application further provides a server management system and a server, which may include:
referring to fig. 5, the server management system may include a server 501 to be managed, an electronic device 502 according to the above embodiment, a local input output module 503, and a remote out-of-band management module 505. Local input output module 503 and remote out-of-band management module 505 may both be connected to electronic device 502; each management object of the server to be managed 501 is connected to the electronic device 502, so as to perform local management and/or remote out-of-band management on each management object through the local input and output module 503 and the remote out-of-band management module 505 based on the electronic device 502.
Referring to fig. 6, the server may include a server management apparatus 601, a mode switch 602, a local input output module 603, and a remote out-of-band management module 604. The mode switch 602 can be connected with the server management device 601, and the mode switch 602 is installed on the server shell; the mode switch 602 is configured to send a server management mode switching instruction input by a user to the server management apparatus as a trigger signal for switching the current management object management mode; the local input/output module 603 and the remote out-of-band management module 604 are both connected to the server management apparatus 601; the server management apparatus 601, the local input output module 603 and the remote out-of-band management module 604 are all integrated in a server motherboard to perform local management and/or remote out-of-band management on each management object of the server through the local input output module 603 and the remote out-of-band management module 604.
The functions of the functional modules in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment flexibly adopts a remote out-of-band management mode and/or a local management mode to control the server based on the application scene.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For hardware including devices and electronic equipment disclosed by the embodiment, the description is relatively simple because the hardware includes the devices and the electronic equipment correspond to the method disclosed by the embodiment, and the relevant points can be obtained by referring to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. 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.
The server, the management method, the management device, the management system, the electronic device and the readable storage medium thereof provided by the present application are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A server management method, comprising:
when a trigger signal for switching the management mode is detected, a target management object and a target management mode of the server to be managed are obtained by analyzing the trigger signal;
acquiring a current management mode of the target management object;
and switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode so as to locally monitor the target management object through the user graphic interface and/or the management interface.
2. The server management method according to claim 1, wherein the process of switching the management mode of the target management object from the current management mode to the target management mode and determining whether to provide a user interface and/or a management interface according to the type of the target management mode includes:
the current management mode is a remote out-of-band management mode, and the target management mode is a local management mode and a remote out-of-band management mode;
and switching the management mode of the target management object to the local management mode and the remote out-of-band management mode, and providing a user graphical interface and/or a management interface for a local user.
3. The server management method according to claim 1, wherein the process of switching the management mode of the target management object from the current management mode to the target management mode and determining whether to provide a user interface and/or a management interface according to the type of the target management mode includes:
the current management mode is a remote out-of-band management mode, and the target management mode is a local management mode;
and switching the management mode of the target management object to the local management mode, and providing a user graphical interface and/or a management interface for a local user.
4. The server management method according to any one of claims 1 to 3, wherein after determining whether to provide a graphical user interface and/or a management interface according to the type of the target management mode, the method further comprises:
when a task execution instruction is received in the process of managing the target management object based on the target management mode;
judging whether the execution of the task execution instruction needs to call a cooperative management object;
if the task execution instruction needs to call a cooperative management object, acquiring a current management mode of the cooperative management object;
if the current management mode of the collaborative management object is different from the target management mode, switching the management mode of the collaborative management object to the target management mode;
and executing corresponding tasks based on the cooperative management object and the target management object.
5. The server management method according to claim 4, wherein before the detecting the trigger signal for switching the management mode, the method further comprises:
judging whether a switching command and/or a physical trigger signal is received;
and if the switching command and/or the physical trigger signal are/is received, judging that the trigger signal of the switching management mode exists.
6. A server management apparatus, comprising:
the trigger module is used for analyzing the trigger signal to obtain a target management object and a target management mode of the server to be managed when the trigger signal for switching the management mode is detected;
the acquisition module is used for acquiring the current management mode of the target management object;
and the switching module is used for switching the management mode of the target management object from the current management mode to the target management mode, and determining whether to provide a user graphic interface and/or a management interface according to the type of the target management mode so as to locally monitor the target management object through the user graphic interface and/or the management interface.
7. An electronic device comprising a processor and a memory, the processor being configured to implement the steps of the server management method according to any one of claims 1 to 5 when executing a computer program stored in the memory.
8. A readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the server management method according to any one of claims 1 to 5.
9. A server management system comprising a server to be managed, the electronic device of claim 7, a local input output module, and a remote out-of-band management module;
the local input and output module and the remote out-of-band management module are both connected with the electronic equipment;
and each management object of the server to be managed is connected to the electronic equipment so as to perform local management and/or remote out-of-band management on each management object through the local input and output module and the remote out-of-band management module based on the electronic equipment.
10. A server comprising the server management apparatus of claim 7, a mode switcher, a local input output module, and a remote out-of-band management module;
the mode switch is connected with the server management device and is arranged on the server shell; the mode switch is used for sending a server management mode switching instruction input by a user to the server management device as a trigger signal for switching the current management object management mode;
the local input and output module and the remote out-of-band management module are both connected with the server management device; the server management device, the local input/output module and the remote out-of-band management module are all integrated in a server mainboard, so that local management and/or remote out-of-band management can be performed on each management object of the server through the local input/output module and the remote out-of-band management module.
CN202110982989.0A 2021-08-25 2021-08-25 Server, management method, device and system thereof, electronic equipment and storage medium Active CN113849367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110982989.0A CN113849367B (en) 2021-08-25 2021-08-25 Server, management method, device and system thereof, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110982989.0A CN113849367B (en) 2021-08-25 2021-08-25 Server, management method, device and system thereof, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113849367A true CN113849367A (en) 2021-12-28
CN113849367B CN113849367B (en) 2023-07-14

Family

ID=78976235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110982989.0A Active CN113849367B (en) 2021-08-25 2021-08-25 Server, management method, device and system thereof, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113849367B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500216A (en) * 2022-01-18 2022-05-13 深圳市创智成科技股份有限公司 Device and method for remote management and maintenance through network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980294A (en) * 2014-04-09 2015-10-14 中国移动通信集团设计院有限公司 Mainframe management method, device and related mainframe management system
CN105786302A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Management controller and management control method
CN109408192A (en) * 2018-11-07 2019-03-01 郑州市景安网络科技股份有限公司 A kind of Linux server management method and relevant apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980294A (en) * 2014-04-09 2015-10-14 中国移动通信集团设计院有限公司 Mainframe management method, device and related mainframe management system
CN105786302A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Management controller and management control method
CN109408192A (en) * 2018-11-07 2019-03-01 郑州市景安网络科技股份有限公司 A kind of Linux server management method and relevant apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500216A (en) * 2022-01-18 2022-05-13 深圳市创智成科技股份有限公司 Device and method for remote management and maintenance through network
CN114500216B (en) * 2022-01-18 2023-09-22 深圳市创智成科技股份有限公司 Device and method for remote management and maintenance through network

Also Published As

Publication number Publication date
CN113849367B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US20080005222A1 (en) System and Method for Server Information Handling System Management Through Local I/O Devices
CN114866424B (en) Server management method, device, system, electronic equipment and readable storage medium
CN106506484B (en) Data backup method, device and system
US10699668B1 (en) Configurable video redirection in a data center
CN114254304A (en) Container security intrusion detection method and device, computer equipment and storage medium
US20240007346A1 (en) Method and Apparatus for Monitoring Application Service, Electronic Device, and Readable Storage Medium
US11308002B2 (en) Systems and methods for detecting expected user intervention across multiple blades during a keyboard, video, and mouse (KVM) session
CN113849367B (en) Server, management method, device and system thereof, electronic equipment and storage medium
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN113765712A (en) Server management method and device, electronic equipment and readable storage medium
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN116723198A (en) Multi-node server host control method, device, equipment and storage medium
CN116401109A (en) Control method, device and medium of chassis management system
CN109936528B (en) Monitoring method, device, equipment and system
KR20200059433A (en) Server managing Method, Server, and Recording medium using User Specialized Operating Mechanism on BMC environment
CN109543420B (en) Permission configuration method and device based on sud, electronic equipment and storage medium
CN114218001A (en) Fault repairing method and device, electronic equipment and readable storage medium
CN107274589B (en) Access method and system of financial self-service terminal hardware equipment and terminal equipment
CN117873297A (en) Server, computing unit control method and device thereof, electronic equipment and medium
CN116627682B (en) Remote industrial information detection method and device based on shared memory
CN114443439B (en) ARM server-based control method, ARM server-based control device, ARM server-based control equipment and storage medium
CN117056154A (en) Method, system, device and medium for detecting network port function of intelligent network card
CN113572687B (en) High-order router self-adaptive parallel starting method based on event-driven mechanism
CN111610935B (en) Access control method, device, equipment and medium
US20240028776A1 (en) Input/output (i/o) attack prevention system and method of using the same

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