A server management method, device, equipment and computer storage medium
By implementing the communication between the server management standard protocol interface and the small-scale server on the service management device, verifying the certificate and performing power control, the existing technology problems of high complexity of small-scale server management and high resource occupation are solved, and flexible management and Efficient server management.
Patent Information
- Application Number
- CN202111165589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Existing server management solutions are not suitable for small-scale server management, are highly complex, and occupy a lot of resources. In particular, the functions of XClarity Administrator are complicated to use and require additional resource deployment.
By determining the number of managed servers after the management license authentication of the service management device is successful, and communicating with these servers through the server management standard protocol interface, unified management is achieved, and certificate verification and power control of the local management system are supported, reducing resources. Occupancy and complexity.
It achieves flexible management of small-scale servers without occupying additional resources, simplifies the management process, and improves practicality and management efficiency.
Smart Images

Figure CN113849377B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of device management, and in particular to a server management method, apparatus, device and computer storage medium. Background Art
[0002] With the rapid development of information technology and the computer industry, servers are widely used in people's production and life today. In some large data centers or cloud computing bases, tens of thousands or even hundreds of thousands of servers are deployed. Therefore, the management performance of servers is very important.
[0003] Currently, many organizations are increasingly inclined to develop large-scale server management solutions, which not only require additional resources to deploy XClarity Administrator, but also require paid features to support unified deployment, and the features are complex to use. However, for small-scale server management needs, existing solutions are not very suitable. Summary of the invention
[0004] The present application proposes a server management method, apparatus, device and computer storage medium, which can realize flexible management of small-scale servers without occupying additional resources, thereby improving practicality.
[0005] To achieve the above purpose, the technical solution of this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a server management method, which is applied to a service management device, and the method includes:
[0007] When the management license authentication of the service management device is successful, the number of managed servers is determined; wherein each managed server supports a unified local management system to implement management functions;
[0008] When the number meets a preset range, the service management device is connected to the managed servers in the number through a server management standard protocol interface to achieve unified management of the managed servers in the number.
[0009] In some embodiments, the method further comprises:
[0010] Detecting whether the service management device has a management license certificate;
[0011] If it is detected that the service management device has a management license certificate, it is determined that the management license authentication of the service management device is successful.
[0012] In some embodiments, after determining the number of managed servers, the method further includes:
[0013] Determining whether the unified local management system implementation certificate of the managed server is valid;
[0014] If the unified local management system implementation certificate of the managed server is valid, receiving the management configuration information returned by the managed server;
[0015] If the unified local management system implementation certificate of the managed server is invalid, management failure information returned by the managed server is received.
[0016] In some embodiments, the management configuration information returned by the managed server includes at least one of the following:
[0017] Certificate information of the managed server;
[0018] Account information of the managed server;
[0019] Event subscription information of the managed server.
[0020] In some embodiments, the unified management of the number of managed servers includes:
[0021] Determine a number of target servers among the number of managed servers; wherein each target server supports a unified local management system to implement management functions and the unified local management system implements a valid certificate;
[0022] Sending power control instructions to the plurality of target servers through the server management standard protocol interface to implement power control of the plurality of target servers; and
[0023] The status information sent by the plurality of target servers is received through the server management standard protocol interface to implement status monitoring of the plurality of target servers.
[0024] In some embodiments, the status information includes at least one of the following: hardware configuration information, resource occupancy information, temperature information, power consumption information, and health status information.
[0025] In some embodiments, the service management device is obtained by upgrading the management function of the managed server through a unified local management system.
[0026] In a second aspect, an embodiment of the present application provides a server management device, including:
[0027] A determination module is configured to determine the number of managed servers when the management license authentication of the service management device is successful; wherein each managed server supports a unified local management system to implement management functions;
[0028] The management module is configured to communicate with the number of managed servers through the server management standard protocol interface of the service management device when the number meets a preset range, so as to achieve unified management of the number of managed servers.
[0029] In a third aspect, an embodiment of the present application provides a service management device, including:
[0030] A memory for storing computer programs that can be run on the processor;
[0031] A processor is used to execute the server management method as described in any one of the first aspects when running the computer program.
[0032] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by at least one processor, the server management method as described in any one of the first aspects is implemented.
[0033] The server management method, device, equipment and computer storage medium provided in the embodiment of the present application determine the number of managed servers when the management license authentication of the service management device is successful; wherein each managed server supports a unified local management system to implement management functions; when the number meets the preset range, the service management device communicates with the managed servers of the number through the server management standard protocol interface to achieve unified management of the managed servers of the number. In this way, for server management, not only can flexible management of small-scale servers be achieved, but also no additional resources are required, the implementation complexity is low, thereby improving practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A flow chart of a server management method provided in an embodiment of the present application;
[0035] Figure 2 A detailed flow chart of a server management method provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of the structure of a server management system provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of the structure of another server management system provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the structure of a server management device provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a specific hardware structure of a service management device provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of the composition structure of a service management device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0043] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. It should also be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second\third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0044] In the related technologies, most of them use the highly complex and resource-intensive XClarity Administrator to provide batch deployment functions for a large number of servers, including operating system (OS) installation, server configuration and firmware update, among which OS installation and server configuration are paid functions.
[0045] Existing solutions require additional resources to deploy XClarity Administrator; however, XClarity Administrator is too large, and the unified deployment function is a paid item, which is not user-friendly and flexible enough for Server Message Block (SMB) users; in addition, XClarity Administrator is relatively complex to use, and users need a certain amount of time to learn and master it, which has a high learning cost. For users who have purchased a small number of servers, there is currently a lack of flexible and simple unified management solutions.
[0046] Based on this, the embodiment of the present application provides a server management method, the basic idea of which is: when the management license authentication of the service management device is successful, the number of managed servers is determined; wherein each managed server supports a unified local management system to implement management functions; when the number meets the preset range, the server management standard protocol interface of the service management device is used to communicate and connect with the managed servers of the number to achieve unified management of the managed servers of the number. In this way, for server management, not only can flexible management of small-scale servers be achieved, but also no additional resources are required, the implementation complexity is low, and the practicality is improved.
[0047] Embodiment 1
[0048] See also Figure 1 , which shows a flow chart of a server management method provided by an embodiment of the present application, such as Figure 1 As shown, the method may include:
[0049] S101: When the management license authentication of the service management device is successful, the number of managed servers is determined; wherein each managed server supports a unified local management system to implement management functions.
[0050] It should be noted that the unified local management system can be any management system with server management capabilities. For example, the unified local management system can be XCC (Lenovo XClarity Controller), through which the local machine can be monitored and managed. Specifically, each server corresponds to an XCC, and the XCC can obtain specific parameters of the corresponding managed server, such as hardware configuration information, resource usage information, temperature information, power consumption information, and health status information.
[0051] It should also be noted that, in order to determine whether the management license authentication of the service management device is successful, the embodiment of the present application may detect whether there is a management license certificate. Therefore, in some embodiments, the method may also include:
[0052] Detecting whether the service management device has a management license certificate;
[0053] If it is detected that the service management device has a management license certificate, it is determined that the management license authentication of the service management device is successful.
[0054] It should be noted that whether the management license authentication of the service management device is successful can be determined by checking whether the service management device has a license certificate (i.e., License). If a license certificate exists, it means that the service manager has the ability to manage other unified local management systems. If no license certificate exists, it means that it does not have the ability to manage other unified local management systems.
[0055] Furthermore, when the service management device does not have the ability to manage other unified local management systems, the user can purchase and import the corresponding license to enable the service management device to have the ability to manage other unified local management systems, that is, the management license authentication is successful.
[0056] It should also be noted that the license involved in the management license authentication is to expand the permissions of the service management device. Users can expand the permissions of the unified local management system by importing the corresponding license into the unified local management system, so that it has the ability to manage other unified local management systems, thereby realizing flexible management of small-scale servers.
[0057] It should also be noted that the specific method provided here for the management license authentication for serving the management device, as well as the processing method after the authentication fails, can upgrade the unified local management system, thereby achieving the effect of one device managing multiple servers.
[0058] In this way, the management license of the service management device is checked first, and when the management license authentication of the service management device is successful, the number of managed servers that need to be uniformly managed is determined; wherein each managed server supports a unified local management system to implement management functions.
[0059] S102: When the number meets a preset range, the service management device is communicated with the managed servers of the number through a server management standard protocol interface to achieve unified management of the managed servers of the number.
[0060] It should be noted that the server management method provided in the embodiment of the present application is mainly used in application scenarios where the number of managed servers is small. For example, taking 20 servers as the demarcation point, when the number of managed servers is less than 20, the service management device provided in the embodiment of the present application can be used to manage a smaller number of servers. In addition, when the number of managed servers is greater than 20, the embodiment of the present application can use multiple service management devices to superimpose to manage a larger number of servers, and if resource space permits, a more mature server management solution can also be selected. For example, XClarity Administrator can be selected to manage the server.
[0061] It should also be noted that the server management standard protocol interface (i.e., Redfish interface) as an architecture, protocol and data expression method needs to be scalable in order to support multiple servers from independent XCC to service management devices. The goal of unified server management can be achieved by using currently widely used protocols and standards. The server management standard protocol interface also needs to be as simple as possible, and the preset effect can be achieved by using as few operations as possible in the service management device.
[0062] Furthermore, in some embodiments, after determining the number of managed servers, the method may further include:
[0063] Determining whether the unified local management system implementation certificate of the managed server is valid;
[0064] If the unified local management system implementation certificate of the managed server is valid, receiving the management configuration information returned by the managed server;
[0065] If the unified local management system implementation certificate of the managed server is invalid, management failure information returned by the managed server is received.
[0066] It should be noted that judging whether the unified local management system implementation certificate of the managed server is valid can specifically be to detect whether the unified local management system can successfully obtain the relevant status information of the corresponding server. If the unified local management system implementation certificate is valid, it can be said that the unified local management system can successfully obtain the relevant status information of the corresponding server, that is, the unified local management system is in a normal state for the management of the corresponding server. If the unified local management system implementation certificate is invalid, it can be said that the server's own management has a fault, and the engineer should be prompted to intervene to find out the problem and solve the problem of invalid certificate in time.
[0067] Furthermore, if the unified local management system implementation certificate is valid, then the management configuration information of the server corresponding to the unified local management system needs to be uploaded to the service management device, that is, the server management authority corresponding to the unified local management system is moved to the service management device, thereby realizing unified management of multiple servers.
[0068] It should also be noted that since the server's management configuration information is self-signed and uploaded to the service management device, the unified local management system corresponding to the server can naturally gain the trust of the service management device when uploading the server status information, thereby realizing unified management of the server.
[0069] Based on the above embodiments, a method for verifying the validity of certificates during server management is provided here to ensure the effectiveness of the server's own management; centralized management is carried out on this basis, which can effectively avoid the problem of centralized management failure caused by problems with the unified local management system, and can detect problems early and solve them as soon as possible.
[0070] In some embodiments, the management configuration information returned by the managed server may include at least one of the following:
[0071] Certificate information of the managed server;
[0072] Account information of the managed server;
[0073] Event subscription information of the managed server.
[0074] Specifically, the service management device can import the certificate information of the managed server; and / or, the service management device can store the account information (including account number and password, etc.) of the XCC of the managed server; and / or, the service management device can send event subscription information to the managed server to achieve the transfer of server management authority. In this way, the service management device can receive the server status information sent by the unified local management system, and the status management information may include hardware configuration information, resource occupancy information, temperature information, power consumption information, health status information, etc.
[0075] The above embodiment provides specific management configuration information sent by the managed server to the service management device, realizes the transfer of server management authority, and provides an authority trust basis for the unified management of the server; in the subsequent server management, the managed server sends the subscribed server status information to the service management device through the unified local management system, so that the service management device can receive the real-time status information of the server.
[0076] It should also be noted that the managed servers that can be managed by the service management device need to support a unified local management system to implement management functions and the unified local management system implementation certificate is valid. At this time, these managed servers are managed uniformly through the server management standard protocol interface. Therefore, in some embodiments, the unified management of the number of managed servers may include:
[0077] Determine a number of target servers among the number of managed servers; wherein each target server supports a unified local management system to implement management functions and the unified local management system implements a valid certificate;
[0078] Sending power control instructions to the plurality of target servers through the server management standard protocol interface to implement power control of the plurality of target servers; and
[0079] The status information sent by the plurality of target servers is received through the server management standard protocol interface to implement status monitoring of the plurality of target servers.
[0080] It should be noted that several target servers among the number of managed servers are determined by realizing whether the certificate is valid through a unified local management system. When the unified local management system realizes that the certificate is valid, the corresponding server is determined to be the target server. The target server can realize self-management of server status information, which is a prerequisite for realizing unified management.
[0081] It should also be noted that by sending power control instructions to the several target servers through the server management standard protocol interface, power control of the several target servers can be achieved. The specific power control can be an on instruction or an off instruction, which can solve the problem of excessive workload and time-consuming and labor-intensive manual power control during decentralized management of servers.
[0082] At the same time, the status information sent by the several target servers is received through the server management standard protocol interface to realize status monitoring of the several target servers. Specifically, according to the event subscription information issued by the service management device, the unified local management system sends the corresponding event subscription information to the service management device, and the event subscription information is uniformly managed by the service management device.
[0083] The above-mentioned embodiments provide a specific method for unified management of servers, thereby enabling flexible management of small-scale servers, which may specifically include management such as power control and status monitoring.
[0084] In some embodiments, for the status information sent by the target server, in an embodiment of the present application, the status information may include at least one of the following: hardware configuration information, resource occupancy information, temperature information, power consumption information, and health status information.
[0085] It should be noted that the status information may be different for different users and can be set according to specific circumstances, as long as the status information that needs to be managed uniformly can be obtained by the unified local management system. Specifically, event subscription information can be sent to the unified local management system through the service management device according to the needs. After the authority transfer is successful, the unified local management system will send the corresponding status information to the service management device.
[0086] In addition, in some embodiments, the service management device may be obtained by upgrading the management function of the managed server through a unified local management system.
[0087] It should be noted that the upgrade of the service management device can be specifically to select any one of the managed servers, and upgrade the unified local management system to the service management device by purchasing and importing the corresponding license. For example, any XCC can be selected, and then the XCC can be upgraded to XCCLite Manager (i.e., the service management device in the aforementioned embodiment) by purchasing and importing the corresponding license, thereby achieving the purpose of managing other XCCs through XCC Lite Manager.
[0088] In this way, when the number meets the preset range, the server management standard protocol interface of the service management device can be used to communicate with the managed servers of the number, specifically, XCC Lite Manager can be connected to XCC through Redfish (i.e., the server management standard protocol interface in the above embodiment) to achieve unified management of the managed servers of the number, thus achieving flexible management of small-scale servers.
[0089] It should also be noted that the Redfish server can be a terminal side that provides Redfish services to the management client, and manages at least one server based on the Redfish protocol. Among them, Redfish is a management standard based on the Hyper Text Transfer Protocol over SecureSocket Layer (HTTPs) service, and uses the Representational State Transfer (RESTful, abbreviated as REST) interface to achieve device management.
[0090] This embodiment provides a server management method, in which the number of managed servers is determined when the management license authentication of the service management device is successful; each managed server supports a unified local management system to implement management functions; when the number meets a preset range, the service management device communicates with the managed servers of the number through the server management standard protocol interface to achieve unified management of the managed servers of the number. In this way, for server management, not only can flexible management of small-scale servers be achieved, but also no additional resources are required, the implementation complexity is low, and the practicality is improved.
[0091] Embodiment 2
[0092] See also Figure 2 , which shows a detailed flow chart of a server management method provided in an embodiment of the present application, taking XCC and XCC Lite Manager as examples, such as Figure 2 As shown, the method may include:
[0093] S201: Select an XCC as a service management device XCC Lite Manager.
[0094] Specifically, an XCC is selected from the unified local service management systems XCC corresponding to all managed servers, and a corresponding license is imported into the XCC, and the XCC after the license is imported is used as the service management device XCC LiteManager.
[0095] S202: Determine whether the XCC Lite Manager has a license.
[0096] It should be noted that if the judgment result is yes, then step S203 can be executed; otherwise, the license needs to be re-imported.
[0097] S203: Determine whether the number of managed servers is greater than 20.
[0098] It should be noted that if the judgment result is yes, then step S204 can be executed; if the judgment result is no, then step S205 can be executed.
[0099] S204: If the number of managed servers is greater than 20, XClarity Administrator is used for management.
[0100] Specifically, when resources and space allow, use XClarity Administrator for management. If resources and space do not allow, multiple XCC Lite Managers can be selected to be superimposed to jointly manage the server.
[0101] S205: If the number of managed servers is less than 20, obtain an implementation certificate of XCC.
[0102] S206: Determine whether the XCC implementation certificate is valid.
[0103] It should also be noted that if the judgment result is yes, then step S207 can be executed; if the judgment result is no, then step S208 can be executed.
[0104] S207: If the implementation certificate of the XCC is valid, the XCC Lite Manager receives the certificate information, account information and event subscription information from the XCC.
[0105] Specifically, XCC Lite Manager imports the certificate information of the managed server; and / or XCC LiteManager stores the account information of the unified local management system of the managed server; and / or XCC receives the event subscription success information sent by the managed server, so as to realize the authority handover of server management between XCC and XCC Lite Manager.
[0106] S208: If the implementation certificate of the XCC is invalid, a management failure message is returned.
[0107] S209: The XCC sends the server status information to the XCC Lite Manager, and the XCC Lite Manager sends the power control information to the XCC.
[0108] Specifically, the server status information includes event subscription information and resource occupancy information. Other server status information may also be subscribed according to different requirements, which is not limited here. Exemplarily, the XCC Lite Manager sends power control information to the XCC, and the XCC controls the corresponding server power on or off.
[0109] It should be noted that in the embodiment of the present application, the XCC License management function is used to identify whether the XCC has the ability to manage other XCCs. Users can upgrade the XCC to XCC LiteManager by purchasing and importing the corresponding License.
[0110] It should also be noted that the certificate information of the managed XCC is imported so that the entire management and monitoring system is established under a security mechanism based on a trust certificate. XCC Lite Manager saves the account and password information of the managed XCC. In the subsequent management and monitoring process, the Redfish Request it sends must contain the trust certificate and the account and password information to get a correct response from XCC. XCC Lite Manager needs to complete the event subscription of the managed XCC through the event subscription function provided by the Redfish interface; after completing the subscription, the managed XCC can actively send related events to the XCC Lite Manager.
[0111] In a specific implementation, see Figure 3 , which shows a schematic diagram of the composition structure of a server management system provided by an embodiment of the present application. Figure 3As shown, the server management system includes a service management device 301, a storage device 302, an XCC 303 (ie, the unified local management system described in the above embodiment) and a Redfish interface, wherein:
[0112] The service management device 301 is connected to multiple XCCs 303 via a Redfish interface, so as to realize centralized management of the multiple XCCs 303 .
[0113] The storage device 302 is connected to the service management device 301 and is used to store the account information of the XCC implementation certificates of the managed servers corresponding to each of the multiple XCCs 303 .
[0114] XCC 303 is connected to service management device 301 via Redfish interface, and is used to send status information of the corresponding server. Specifically, the status information includes at least one of the following: hardware configuration information, resource occupancy information, temperature information, power consumption information and health status information; and, upon receiving power control information from service management device 301, controls the power switch of the corresponding server.
[0115] In addition, the service management device 301 also requires the storage device 302 to transfer authority with the service management device 301 to achieve storage of information related to the managed server in the service management device 301 , and the service management device 301 can also view the data in the storage device 302 .
[0116] As for the Redfish interface, it can connect the service management device 301 and the XCC 303 to achieve a communication connection between the service management device 301 and the XCC 303.
[0117] In the above implementation, users do not need to deploy other management tools. They can monitor and manage other servers in a unified manner by logging in to the XCC upgraded to XCCLite Manager. They only need to upgrade the XCC License to implement the extended functions of XCC Lite Manager. Users no longer need to log in to the XCC page of each server to manage multiple servers in a unified manner. Based on the Redfish interface, the implementation difficulty is relatively low.
[0118] In another specific implementation, see Figure 4 , which shows a schematic diagram of the composition structure of another server management system provided by an embodiment of the present application. Figure 4 As shown in the figure, the functional comparison between the advanced management device (XClarity Administrator) and the service management device (XCC Lite Manager) is as follows:
[0119] Advanced management equipment provides batch deployment capabilities for large numbers of servers. In addition to resource usage information, event subscription information, and power control functions, it can also include OS installation, server configuration, and firmware updates. OS installation and server configuration are paid functions and require more resources, so they are not suitable for the management of small-scale servers.
[0120] The service management device described in the embodiment of the present application is aimed at the management needs of a small number of servers. The license can limit the number of servers managed uniformly to within 10-20 (depending on the use of XCC resources in the specific implementation). Remote batch deployment and configuration functions are not provided. For firmware updates, the firmware update can be completed by jumping to the managed XCC Web interface using existing functions; by extending the XCC function, other managed servers supporting XCC are uniformly managed on a server based on the Redfish interface, event (Event) and health status monitoring are realized, and power control is performed; and the functions of batch deployment of operating systems, batch firmware updates and batch settings are not described in detail in the embodiment of the present application.
[0121] This embodiment provides a server management method, and the specific implementation of the above embodiment is described in detail through the above embodiment. It can be seen that through the technical solution of the above embodiment, by expanding the existing XCC function, other servers supporting XCC are uniformly managed on one server based on Redfish, Event and health status monitoring are realized, and power control is performed. In this way, flexible management of small-scale servers is realized, and users do not need to deploy other management tools. They can uniformly monitor and manage other servers by logging in to the XCC upgraded to XCC Lite Manager; they only need to upgrade the XCC License to realize the extended functions of XCC Lite Manager, and users no longer need to log in to the XCC page of each server to uniformly manage multiple servers.
[0122] Embodiment 3
[0123] Based on the same inventive concept as the above embodiments, see Figure 5 , which shows a schematic diagram of the composition structure of a server management device 50 provided in an embodiment of the present application. Figure 5 As shown, the server management device 50 may include: a determination module 501 and a management module 502; wherein,
[0124] Determine module 501, configured to determine the number of managed servers when the management license authentication of the service management device is successful; wherein each managed server supports a unified local management system to implement management functions.
[0125] The management module 502 is configured to communicate with the number of managed servers through the server management standard protocol interface of the service management device when the number meets a preset range, so as to achieve unified management of the number of managed servers.
[0126] In some embodiments, the determination module 501 is further configured to detect whether the service management device has a management license certificate; and if it is detected that the service management device has a management license certificate, determine that the management permission authentication of the service management device is successful.
[0127] In some embodiments, the determination module 501 is also configured to determine whether the unified local management system implementation certificate of the managed server is valid; and, if the unified local management system implementation certificate of the managed server is valid, receive the management configuration information returned by the managed server; and, if the unified local management system implementation certificate of the managed server is invalid, receive the management failure information returned by the managed server.
[0128] In some embodiments, the management configuration information returned by the managed server may include at least one of the following: certificate information of the managed server; account information of the managed server; and event subscription information of the managed server.
[0129] In some embodiments, the management module 502 is specifically configured to determine a number of target servers among the number of managed servers; wherein each target server supports a unified local management system to implement management functions and the unified local management system implementation certificate is valid; and, through the server management standard protocol interface, power control instructions are sent to the number of target servers to implement power control of the number of target servers; and, through the server management standard protocol interface, status information sent by the number of target servers is received to implement status monitoring of the number of target servers.
[0130] In some embodiments, the status information includes at least one of the following: hardware configuration information, resource occupancy information, temperature information, power consumption information, and health status information.
[0131] In some embodiments, the service management device may be obtained by upgrading the management function of the managed server through a unified local management system.
[0132] It can be understood that in this embodiment, a "unit" can be a part of a circuit, a part of a processor, a part of a program or software, etc., and of course it can also be a module, or it can be non-modular. Moreover, the components in this embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional module.
[0133] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0134] Therefore, this embodiment provides a computer storage medium, which stores a server management program. When the server management program is executed by at least one processor, the steps of the method described in any one of the above embodiments are implemented.
[0135] Based on the above-mentioned composition of the server management device 50 and the computer storage medium, see Figure 6 , which shows a specific hardware structure diagram of a service management device provided in an embodiment of the present application. Figure 6 As shown in FIG. 6 , the service management device 60 may include: a communication interface 601, a memory 602, and a processor 603; each component is coupled together via a bus system 604. It is understood that the bus system 604 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 604 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 604 is not described in detail. Figure 6 Various buses are labeled as bus system 604. Among them, the communication interface 601 is used for receiving and sending signals in the process of sending and receiving information between other external network elements;
[0136] A memory 602, used to store a computer program that can be run on the processor 603;
[0137] The processor 603 is configured to execute, when running the computer program:
[0138] When the management license authentication of the service management device is successful, the number of managed servers is determined; each managed server supports a unified local management system to implement management functions.
[0139] When the number meets a preset range, the service management device is connected to the managed servers in the number through a server management standard protocol interface to achieve unified management of the managed servers in the number.
[0140] It can be understood that the memory 602 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0141] The processor 603 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 603. The above processor 603 may be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 602, and the processor 603 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.
[0142] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0143] For software implementation, the techniques described herein can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0144] Optionally, as another embodiment, the processor 603 is further configured to execute the steps of the method described in any one of the aforementioned embodiments when running the computer program.
[0145] In some embodiments, see Figure 7 , which shows a schematic diagram of the composition structure of a service management device 70 provided in an embodiment of the present application. Figure 7 As shown, the service management device 70 at least includes the server management apparatus 50 described in any one of the aforementioned embodiments.
[0146] In the embodiment of the present application, for the service management device 70, when the management license authentication is successful, the number of managed servers is determined; each managed server supports a unified local management system to implement management functions; when the number meets the preset range, the service management device 70 communicates with the number of managed servers through the server management standard protocol interface, and unified management of the number of managed servers can be achieved. In this way, not only can flexible management of small-scale servers be achieved, but also no additional resources are required, the implementation complexity is low, and the practicality is improved.
[0147] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0148] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0149] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0150] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0151] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0152] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A server management method, applied to a service management device, the method include: Detecting whether the service management device has a management license certificate; If it is detected that the service management device has a management license certificate, determining that the management license authentication of the service management device is successful; When the management license authentication of the service management device is successful, the number of managed servers is determined; wherein each managed server supports a unified local management system to implement management functions; When the number meets the preset range, the server management standard protocol interface of the service management device is connected to the managed servers of the number to achieve unified management of the managed servers of the number; the server management standard protocol interface is scalable; When the number does not meet the preset range, multiple service management devices are superimposed to achieve unified management of the number of managed servers.
2. The method according to claim 1, after determining the number of managed servers, the method further include: Determining whether the unified local management system implementation certificate of the managed server is valid; If the unified local management system implementation certificate of the managed server is valid, receiving the management configuration information returned by the managed server; If the unified local management system implementation certificate of the managed server is invalid, management failure information returned by the managed server is received.
3. The method according to claim 2, wherein the management configuration information returned by the managed server includes at least one of the following: Certificate information of the managed server; Account information of the managed server; Event subscription information of the managed server.
4. The method according to claim 2, wherein the number of managed servers are managed in a unified manner. include: Determine a number of target servers among the number of managed servers; wherein each target server supports a unified local management system to implement management functions and the unified local management system implements a valid certificate; Sending power control instructions to the plurality of target servers through the server management standard protocol interface to implement power control of the plurality of target servers; and The status information sent by the plurality of target servers is received through the server management standard protocol interface to implement status monitoring of the plurality of target servers. 5 . The method according to claim 4 , wherein the status information comprises at least one of the following: hardware configuration information, resource occupancy information, temperature information, power consumption information, and health status information.
6. According to the method according to any one of claims 1 to 5, the service management device is obtained by upgrading the management function of the managed server through a unified local management system.
7. A server management device, include: A determination module configured to detect whether a management license certificate exists in the service management device; If it is detected that the service management device has a management license certificate, determining that the management license authentication of the service management device is successful; The determination module is further configured to determine the number of managed servers when the management license authentication of the service management device is successful; wherein each managed server supports a unified local management system to implement management functions; The management module is configured to communicate with the number of managed servers through the server management standard protocol interface of the service management device when the number meets the preset range, so as to achieve unified management of the number of managed servers; the server management standard protocol interface is scalable; and it is also configured to achieve unified management of the number of managed servers by superimposing multiple service management devices when the number does not meet the preset range.
8. A service management device, include: A memory for storing computer programs that can be run on the processor; A processor, configured to execute the server management method according to any one of claims 1 to 6 when running the computer program.
9. A computer storage medium storing a computer program, wherein the computer program, when executed by at least one processor, implements the server management method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Server management method and system
CN112199197A
