A server management method, system and device
By obtaining server architecture information and installation package templates to determine the installation package of the monitoring software, the problem of the monitoring software installation in the existing technology that the monitoring software installation requires the termination of server business, real-time installation is achieved, and user experience and data security are improved.
Patent Information
- Application Number
- CN202210868206.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-07-22
AI Technical Summary
In the prior art, the installation process of monitoring software requires the server and monitoring software to be repackaged, resulting in the server business being terminated, reducing user experience and data security.
By obtaining the server's architecture information when receiving the installation instructions, determining the installation package of the monitoring software based on the installation package template, and sending it to the server for installation, avoiding the production of virtual machine images and real-time installation.
Improves user experience and server data security, ensuring that monitoring software can be installed during operation of the server business.
Smart Images

Figure CN115048117B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of management, and particularly to a server management method, system and device. Background Art
[0002] With the continuous expansion of the scale of the Internet market, some enterprises choose to use bare metal servers on the cloud in pursuit of extreme performance. Bare metal servers are similar to dedicated servers on the cloud and can also be called physical servers. This type of server has no virtualization overhead and is more powerful in performance, but has the drawback of complex operation and maintenance. Therefore, some fault problems may occur during the use of the server, so it is necessary to monitor the server in real time. In the prior art, the installation process of the monitoring software is realized through virtual machine images. When the monitoring software needs to be added to the virtual machine image, the server and the monitoring software need to be repackaged and then the monitoring software is installed on the server. Therefore, the server needs to be additionally packaged when installing the monitoring software, so the business of the server must be terminated. The installation of the monitoring software in the virtual machine image cannot be executed on the basis of the running business of the server, which reduces the user experience and the data security of the server. Summary of the Invention
[0003] The purpose of the present invention is to provide a server management method, system and device. When receiving an installation instruction, the present application can install the monitoring software for the server in real time, determine the installation package suitable for the server monitoring software according to the architecture information and the installation package template, and control the server to install the installation package, without the need to make a virtual machine image and perform the installation in real time, which improves the user experience and the data security of the server.
[0004] To solve the above technical problems, the present invention provides a server management method, which is applied to the processor of a computer device. The server management method includes:
[0005] When receiving an installation instruction, obtain the architecture information of the server, where the architecture information includes the manufacturer, operating system type and address information of the server;
[0006] Determine the installation package of the monitoring software suitable for the server according to the architecture information and the installation package template, and the processor pre-stores the installation package of the monitoring software;
[0007] Send the installation package to the server and control the server to install the installation package.
[0008] Preferably, when receiving an installation instruction, obtaining the architecture information of the server includes:
[0009] Obtain the installation information corresponding to the installation instruction in the database;
[0010] Use the installation information as the architecture information of the server.
[0011] Preferably, receiving an installation instruction includes:
[0012] Receiving an installation package selection instruction input by a user;
[0013] Using the installation package selection instruction as the installation instruction.
[0014] Preferably, obtaining installation information corresponding to the installation instruction in a database includes:
[0015] Invoking an installation information acquisition tool, and obtaining, based on the installation information acquisition tool, the installation information corresponding to the installation instruction in the database.
[0016] Preferably, before invoking the installation information acquisition tool and obtaining, based on the installation information acquisition tool, the installation information corresponding to the installation instruction in the database, it further includes:
[0017] Invoking a packaging tool and packaging the installation information acquisition tool based on the packaging tool.
[0018] Preferably, when receiving the installation instruction, obtaining architecture information of a server includes:
[0019] When receiving user information, an operating system type of the server, and address information sent by a user, determining whether there is incorrect information in the user information, the operating system type of the server, and the address information;
[0020] If not, determining that an information input instruction of the user is received;
[0021] Using the information input instruction of the user as the installation instruction.
[0022] Preferably, after sending the installation package to the server and controlling the server to install the installation package, it further includes:
[0023] Receiving usage information of the server;
[0024] Judging a current working state of the server according to the usage information.
[0025] Preferably, receiving the usage information of the server includes:
[0026] Invoking a database feedback information acquisition tool and obtaining, through the database feedback information acquisition tool, the usage information of the server in the database.
[0027] To solve the above technical problems, the present invention further provides a server management system, which is applied to a processor of a computer device, and the server management system includes:
[0028] A first processing unit, configured to obtain architecture information of a server when receiving an installation instruction, where the architecture information includes the manufacturer of the server, the type of operating system, and address information;
[0029] An installation package determination unit, configured to determine an installation package of monitoring software applicable to the server according to the architecture information and an installation package template, where the installation package of the monitoring software is pre-stored in the processor;
[0030] A second processing unit, configured to send the installation package to the server and control the server to install the installation package.
[0031] To solve the above technical problems, the present invention further provides a server management device, including:
[0032] A memory, configured to store a computer program;
[0033] A processor, configured to execute the computer program to implement the steps of the above-mentioned server management method.
[0034] The present application provides a server management method, system, and device. When receiving an installation instruction, obtain the architecture information of the server, where the architecture information includes the manufacturer of the server, the type of operating system, and address information; determine an installation package of monitoring software applicable to the server according to the architecture information and an installation package template, where the installation package of the monitoring software is pre-stored in the processor; send the installation package to the server and control the server to install the installation package. The present application can install the monitoring software for the server in real time when receiving the installation instruction, determine the installation package of the monitoring software applicable to the server according to the architecture information and the installation package template, and control the server to install the installation package, without the need to make a virtual machine image, maintain the business of the server during the installation of the monitoring software, and perform the installation in real time, improving the user experience and the data security of the server. Description of the Drawings
[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the prior art and the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0036] Figure 1 A flowchart of a server management method provided by the present invention;
[0037] Figure 2 A schematic diagram of obtaining monitoring software and obtaining server information based on the monitoring software provided by the present invention;
[0038] Figure 3Another schematic diagram for obtaining a monitoring software and obtaining server information based on the monitoring software provided by the present invention;
[0039] Figure 4 Schematic structural diagram of a server management device provided by the present invention. Detailed implementation manners
[0040] The core of the present invention is to provide a server management method, system and device. When receiving an installation instruction, the present application can install a monitoring software for the server in real time, determine an installation package suitable for the server monitoring software according to the architecture information and the installation package template, and control the server to install the installation package, without the need to make a virtual machine image and perform the installation in real time, improving the user experience and the data security of the server.
[0041] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0042] Please refer to Figure 1 , Figure 1 A flowchart of a server management method provided by the present invention. This method is applied to the processor of a computer device, and the method includes:
[0043] S11: When receiving an installation instruction, obtain the architecture information of the server, where the architecture information includes the manufacturer of the server, the type of operating system, and the address information;
[0044] In the prior art, the installation process of monitoring software is implemented through virtual machine images. When the monitoring software needs to be added to the virtual machine image, the server and the monitoring software need to be repackaged and then the monitoring software is installed on the server. Therefore, the server needs to be repackaged additionally when installing the monitoring software, so the server's business must be terminated. The installation of the monitoring software in the virtual machine image cannot be executed on the basis of the server's business operation, which reduces the user experience and the data security of the server. This application proposes a method for real-time controlling the installation package. First, after receiving the user's installation instruction, the processor of the computer device obtains the architecture information of the server based on the installation instruction. The architecture information of the server refers to some important parameters of the server, that is, based on these parameters, the specifications required for the monitoring software of the server to be installed can be known. The architecture information may include the manufacturer information, operating system type, and address information of the server. Of course, the architecture information may include but is not limited to the above information, and the architecture information can be modified and adjusted according to the actual situation to facilitate the more stable and reliable installation of the monitoring software of the server.
[0045] Select the external server that needs to inject the monitoring agent on the CMP front-end page. At this time, that is, after the processor receives the installation instruction and obtains the manufacturer information, operation type information, and address information of the server, the important information for finally determining the installation package of the vacuum software is obtained, so as to facilitate the execution of subsequent steps. The CMP front-end page can be a cloud management platform. The cloud management platform has many advantages and is suitable for the solution implemented by this method. However, the front-end page here is not limited to the CMP front-end page and can also be other operation pages, as long as it can obtain the architecture information of the server after receiving the user's installation instruction. Users can select different front-end pages for the above operations according to actual needs or the differences of their own computer devices, which improves the flexibility of the solution and also improves the user experience and the applicable scope of this solution.
[0046] It should be noted that the cloud management platform, that is, the cloud management platform, refers to storing data and providing data operation space on the network. This is a third-party management platform in cloud computing. It takes advantage of the convenience and speed to help enterprise staff use their own files and query business data in different scenarios, etc. This can bring more convenient operations to the enterprise and help the enterprise handle work problems anytime and anywhere.
[0047] S12: Determine the installation package of the monitoring software applicable to the server according to the architecture information and the installation package template. The processor pre-stores the installation package of the monitoring software.
[0048] In the previous step, after obtaining the architecture information, according to the specific information within the architecture information corresponding to the pre-stored installation package template, the information can be corresponded with the installation package template to determine the installation package that can be selected for these information. The processor will pre-store the installation package of the monitoring software, so it can be directly retrieved after determination. It should be noted that referring to the CMP front-end page in the previous part, the specific execution of the CMP front-end page is the CMP module. The template and the installation package of the monitoring software will be stored in the CMP module, and this storage is pre-storage. No additional operations are required during actual use. This pre-storage method can also improve the reliability of the solution. In addition, the installation package template can also be pre-stored in the ICOS module. The ICOS module is equivalent to the control operation module of this solution, providing a prerequisite for users to select different methods to obtain the installation package of the monitoring software in the subsequent process, increasing the flexibility and reliability of the solution.
[0049] It should be noted that the installation package template can be telegraf_emplate or other templates, and no additional limitations are imposed here.
[0050] S13: Send the installation package to the server and control the server to install the installation package.
[0051] When controlling the installation of the installation package, the installation package of the monitoring software can be remotely sent to the server, and according to the tool for controlling the installation of the installation package, the installation package of the monitoring software can be directly installed, and the installation package of the monitoring software is installed on the server. The whole process is automated, and the installation process will not stop the business running on the server. In the existing technology, the method of packing the installation package and the server through the virtual machine image cannot be carried out when the server business is running. Therefore, this solution greatly improves the security of the server and the user experience.
[0052] It should be noted that the monitoring software used in this solution can be Telegraf. Telegraf is a very popular metric collection software open-sourced by InfluxData. It has received tens of thousands of Stars on GitHub. With the help of the community, it has more than 200 collection plugins and more than 40 export plugins, covering almost all monitoring items, such as machine monitoring, service monitoring, and even hardware monitoring. Using Telegraf can greatly improve the reliability of monitoring.
[0053] It should be noted that the application object of this solution can be, but is not limited to, bare metal servers (Bare Metal Server). Bare metal servers are similar to dedicated physical servers on the cloud. On the basis of being elastic and flexible, they have high-performance computing capabilities. The computing performance is no different from that of traditional physical machines, and they have the characteristics of secure physical isolation.
[0054] Generally speaking, the present application provides a server management method. When receiving an installation instruction, the architecture information of the server is obtained, where the architecture information includes the manufacturer of the server, the type of operating system, and address information; according to the architecture information and the installation package template, an installation package of the monitoring software applicable to the server is determined, and the installation package of the monitoring software is pre-stored in the processor; the installation package is sent to the server and the server is controlled to install the installation package. The present application can install the monitoring software for the server in real time when receiving the installation instruction. According to the architecture information and the installation package template, the installation package of the monitoring software applicable to the server can be determined and the server is controlled to install the installation package. There is no need to make a virtual machine image, and the business of the server is maintained during the installation of the monitoring software, and the installation is carried out in real time, improving the user experience and the data security of the server.
[0055] Based on the above embodiments:
[0056] Please refer to Figure 2 and Figure 3 , Figure 2 which is a schematic diagram of obtaining the monitoring software and obtaining server information based on the monitoring software provided by the present invention, Figure 3 which is another schematic diagram of obtaining the monitoring software and obtaining server information based on the monitoring software provided by the present invention.
[0057] As a preferred embodiment, when receiving an installation instruction, the architecture information of the server is obtained, including:
[0058] Obtain the installation information corresponding to the installation instruction in the database;
[0059] Use the installation information as the architecture information of the server.
[0060] When receiving an installation instruction, the installation instruction includes important information of the server, such as the manufacturer information of the server, the address information of the server, etc. The processor will obtain the information of the server stored in the database. The stored server information is not unique, and the information in the database is not unique. Information of different types of servers can be stored. According to the information of the target server corresponding to the installation instruction, the installation information corresponding to the server is obtained from the database, and the installation information can be used as the architecture information of the server. The whole process is automated, improving the feasibility of the solution, the degree of automation and the processing efficiency.
[0061] Specifically, first, obtain the InfluxDB information required by the Telegraf configuration file. Here, the database used is InfluxDB, but it is not limited to this type of database and can also be other databases. This database is located in the ICOS module. The CMP module generates the installation package of Telegraf according to the returned information of the ICOS module and the template, and returns it to the user. The user can obtain the installation package and install the monitoring agent in the application system according to the instruction document, which improves the reliability of the solution.
[0062] As a preferred embodiment, receiving the installation instruction includes:
[0063] Receiving the installation package selection instruction input by the user;
[0064] Regarding the installation package selection instruction as the installation instruction.
[0065] The user can select the manual installation label on the CMP front-end page and click to download the installation package. That is, the installation instruction is the installation package selection instruction input by the user. This method can greatly improve the user experience and the processing efficiency of the solution. The user no longer needs to input other additional information. When the user wants to select a certain monitoring software or a certain model of monitoring software, the user can manually click the icon of the installation package of the monitoring software on the CMP front-end page of the computer device. After the installation package is selected by the user, from the perspective of the processor, the installation package selection instruction of the user will be received. The selected installation package includes the configuration information required by the installation package template. Regarding the installation package selection instruction as the installation instruction is convenient for executing the subsequent installation process of the monitoring software, which improves the automation degree of the solution, and also improves the processing efficiency and the processing speed of the user.
[0066] As a preferred embodiment, obtaining the installation information corresponding to the installation instruction in the database includes:
[0067] Invoking the installation information acquisition tool to obtain the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool.
[0068] When the user selects the manual installation label on the CMP front-end page and clicks to download the installation package, the actual process of the processor of the computer device is as follows: call the ironic interface of the ICOS module to obtain the influxDB information, and then generate the telegraf installation package according to the template based on the information returned by the ICOS module, and return it to the user. The ironic interface refers to the installation information acquisition tool. Based on the installation information acquisition tool, obtain the installation information corresponding to the installation instruction in the database. The calling process is executed by the CMP front-end page, that is, executed by the CMP module. After the CMP module is executed, due to a certain span between the CMP module and the ICOS module, it is necessary to obtain the information of influxDB, that is, obtain the information of the database. The CMP module generates the installation package of the monitoring software according to the database information returned by the ICOS module and the installation package template. The whole process is automated, improving the automation degree and processing efficiency of the solution.
[0069] As a preferred embodiment, before calling the installation information acquisition tool and obtaining the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool, it further includes:
[0070] Call the encapsulation tool and encapsulate the installation information acquisition tool based on the encapsulation tool.
[0071] After the user selects the manual installation label on the CMP front-end page and clicks to download the installation package, first forward the request to the ibaremetal module through the CMP gateway. The ibaremetal module is the encapsulation tool. After calling the encapsulation tool and encapsulating the installation information acquisition tool based on the encapsulation tool, the installation information acquisition tool can implement the information acquisition function. The ibaremetal calls the ironic interface of the ICOS module to obtain the influxDB information required by the telegraf configuration file. The ibaremetal generates the telegraf installation package according to the information returned by the ICOS module and the template, and returns it to the user. The whole process is automated, improving the automation degree of the solution.
[0072] As a preferred embodiment, when receiving the installation instruction, obtain the architecture information of the server, including:
[0073] When receiving the user information, the operating system type and address information of the server sent by the user, determine whether there is incorrect information in the user information, the operating system type and address information of the server;
[0074] If not, determine that the information input instruction of the user is received;
[0075] Take the information input instruction of the user as the installation instruction.
[0076] In this solution, in addition to the user manually clicking on the installation package of the monitoring software, the user can also choose not to select a specific installation package, but instead input their user information, the type of the server operating system, and the address information of the server. Then, the method adopted by this solution will automatically select the installation package suitable for this server. Compared with manually clicking to select the installation package, this method provides an additional option for the user, making the management of the entire process more reliable and reasonable, and making the management process of this solution more convenient. At the same time, for the user, since they need to input their user information, it can improve their own reliability and security. Moreover, the system automatically matches the installation package of the monitoring software for the user, which can provide a monitoring software more suitable for the target server, providing more reliable support for monitoring the parameters of this server in the future. Among them, the user information can include the username and password, etc., which can be, but is not limited to, the username and password, and can also be other identification information that can uniquely represent the user identity, greatly increasing the management security and reliability of this system, as well as the security and reliability during the user's usage process.
[0077] Specifically, on the CMP front-end page, select the external server that needs to inject the monitoring agent, and input the IP of the external server application system, the user, the password, and the operating system type. The CMP gateway forwards the request to the ibaremetal module, and ibaremetal calls the ironic interface of ICOS to initiate a monitoring injection request. ironic uses the paramiko module to remotely log in to the external server application system according to the IP, the user, and the password, obtain the server CPU architecture information, and generate a telegraf installation package matching the external server based on the architecture information through the telegraf template stored in ICOS. ironic remotely transfers the generated telegraf installation package to the external application server and sets telegraf to start automatically when the system boots.
[0078] As a preferred embodiment, after sending the installation package to the server and controlling the server to install the installation package, it further includes:
[0079] Receiving the usage information of the server;
[0080] Judging the current working state of the server according to the usage information.
[0081] Generally speaking, for this solution, it realizes the cloudification of external servers that have already been in service through the management method. It realizes the unified management and allocation of server resources, and can monitor the performance of physical servers and evaluate their resource occupancy rates without affecting the existing services (without reinstalling the system and without restarting the machine). It mainly includes the following steps:
[0082] Step 1. The operation and maintenance administrator manages external physical servers in the IncloudOS interface, and the ironic module of ICOS adds a record to the node table.
[0083] Step 2. The operation administrator assigns the external servers managed by the operation and maintenance administrator to the VDC administrator / user, and the CMP layer creates a false record in the database and associates it with the record in the ironic node table of the ICOS layer.
[0084] Step 3. Generate a custom telegraf installation package according to the telegraf template and remotely install it on the target server and start the service manually or automatically.
[0085] Step 4. telegraf reports data to the cloud platform monitoring module to complete bare metal monitoring.
[0086] The present invention is mainly applied to solve the problem that for some special business requirements or some hardware that is not easy to be virtualized, it is considered to use the bare metal method to go to the cloud. For the physical servers that have already been on business and go to the cloud, it is necessary to be able to perform unified management and allocation, without reinstalling the system, without restarting the machine, and be able to monitor the performance of the physical server and evaluate its resource occupancy rate. The technology of the present invention is implemented in the following way: the external physical servers that have already been on business are connected to the cloud platform through the management method to realize unified management of resources, and a custom monitoring agent plugin is automatically injected without the user's perception to realize the performance monitoring of the external physical servers.
[0087] In the era of cloud computing, with the continuous expansion of the Internet market scale, a large number of heterogeneous resources are unifiedly managed through the cloud platform. Some enterprises choose to use bare metal servers on the cloud in order to pursue extreme performance. Compared with virtual machines, physical machines have no virtualization overhead and are more powerful in performance, but there are disadvantages such as slow deployment cycle and complex operation and maintenance. Therefore, being able to solve the operation and maintenance of bare machines is a problem that needs to be faced. In some specific scenarios, users need more hardware access rights and higher machine performance. For example, high-performance computing services, database host services, etc. The traditional industry practice is to place physical servers in the computer room. For this reason, InCloud OS provides bare metal services, directly providing users with exclusive physical server resources to meet the feasibility and efficiency of users' specific needs. For the physical servers that have already been on business, InCloud OS also provides the management of bare metal services, and InCloud OS can realize unified management and allocation of external servers, monitor the performance of physical servers, evaluate their resource occupancy rate and other functions without reinstalling the system and without restarting the machine.
[0088] The ultimate goal, in addition to reasonably installing the monitoring software, is to use the installed monitoring software to receive the usage information of the target server, and judge the current working state of the server based on the usage information of the target server. If the working state is good, no warning information needs to be sent. If the current working state is not good, corresponding log records or warnings can be provided accordingly. The whole process is automated, which improves the processing efficiency and reliability of the solution. At the same time, the specific usage of the server is displayed in real time, which also improves the user experience, so that the user can make corresponding adjustments or maintenance according to the usage information.
[0089] The prompt module for sending warning information can be, but is not limited to, a voice prompt module, a text display module, a lighting module, etc. As long as it can send a warning corresponding to the problem when there is a problem with the usage information of the server, it can improve the flexibility of the solution and the user experience.
[0090] As a preferred embodiment, receiving the usage information of the server includes:
[0091] Call the database feedback information acquisition tool and obtain the usage information of the server in the database through the database feedback information acquisition tool.
[0092] Finally, the usage information of the server is obtained through the database of the ICOS module. It is necessary to call the database feedback information acquisition tool in the CMP module. Through the database feedback information acquisition tool, the current usage information of the target server in the database can be obtained, so as to judge the current usage situation.
[0093] The database feedback information acquisition tool can be, but is not limited to, ipluto, and other acquisition tools can also be used, and no additional limitations are made here.
[0094] Specifically, after the telegraf service is started, the monitoring information of the application server is reported to the InfluxDB of ICOS. The CMP monitoring module ipluto collects the monitoring data stored in the InfluxDB, and the monitoring module displays the monitoring data on the front-end page through the gateway, so that the user can view the data in real time, improving the user experience.
[0095] Combined with the hint module in the previous step, further illustrate that if there are problems with some unimportant parameters in the usage information of the target server collected, a lower-level alarm can be provided, the log file can be recorded, and the lighting module representing this level can be controlled to emit light. If there are problems with the main parameters that have a serious impact, it indicates that the current usage situation of the server is not optimistic. Different-level voice prompts can be issued by the hint module, etc., which can be selected according to the actual situation, improving the flexibility of the solution and the user experience.
[0096] To solve the above technical problems, the present invention also provides a server management system, which is applied to the processor of a computer device. The server management system includes:
[0097] A first processing unit, configured to obtain the architecture information of the server when receiving an installation instruction, where the architecture information includes the manufacturer of the server, the type of operating system, and the address information;
[0098] An installation package determination unit, configured to determine an installation package of the monitoring software applicable to the server according to the architecture information and the installation package template, and the processor pre-stores the installation package of the monitoring software;
[0099] A second processing unit, configured to send the installation package to the server and control the server to install the installation package.
[0100] Among them, the first processing unit includes:
[0101] An installation information acquisition unit, configured to acquire the installation information corresponding to the installation instruction in the database;
[0102] An architecture information determination unit, configured to use the installation information as the architecture information of the server.
[0103] Among them, the first processing unit includes:
[0104] An installation package selection instruction receiving unit, configured to receive an installation package selection instruction input by the user;
[0105] A first installation instruction determination unit, configured to use the installation package selection instruction as the installation instruction.
[0106] Among them, the installation information acquisition unit includes:
[0107] Call an installation information acquisition tool to acquire the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool.
[0108] Wherein, before invoking the installation information acquisition tool to obtain the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool, the following steps are further included:
[0109] Invoke the encapsulation tool and encapsulate the installation information acquisition tool based on the encapsulation tool.
[0110] Wherein, the first processing unit includes:
[0111] A judgment unit, configured to judge whether there is incorrect information in the user information, the operating system type of the server, and the address information when receiving the user information, the operating system type of the server, and the address information sent by the user. If not, trigger the information input instruction receiving unit;
[0112] The information input instruction receiving unit is configured to receive the information input instruction of the user;
[0113] A second installation instruction determination unit, configured to use the information input instruction of the user as the installation instruction.
[0114] Wherein, after the second processing unit, the following steps are further included:
[0115] A usage information receiving unit, configured to receive the usage information of the server;
[0116] A current working state determination unit, configured to judge the current working state of the server according to the usage information.
[0117] Wherein, the usage information receiving unit includes:
[0118] Invoke the database feedback information acquisition tool and obtain the usage information of the server in the database through the database feedback information acquisition tool.
[0119] For the introduction of the server management system provided by this solution, please refer to the embodiments of the above server management method, which will not be elaborated here.
[0120] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a server management device provided by the present invention.
[0121] To solve the above technical problems, the present invention further provides a server management device, including:
[0122] A memory 1, configured to store a computer program;
[0123] A processor 2, configured to execute the computer program to implement the steps of the above-mentioned server management method.
[0124] For the introduction of the server management device provided by this solution, please refer to the embodiments of the above server management method, which will not be elaborated here.
[0125] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0126] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0127] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A server management method, characterized in that, A processor applied to a computer device, and the server management method includes: When receiving an installation instruction, obtain the architecture information of the server, where the architecture information includes the manufacturer of the server, the type of operating system, and address information; the server is a bare metal server that has been put into service, and the bare metal server is connected to the cloud platform through a managed method; Determine the installation package of the monitoring software applicable to the server according to the architecture information and the installation package template, and the processor pre-stores the installation package of the monitoring software; Remotely send the installation package to the server, and remotely install the installation package to the server according to the tool for controlling the installation of the installation package; the services running on the server during the installation process will not stop; Receive the usage information of the server through the installed monitoring software; Judge the current working state of the server according to the usage information to realize the performance monitoring of the bare metal server; Among them, when receiving an installation instruction, obtaining the architecture information of the server includes: Obtain the installation information corresponding to the installation instruction in the database; among them, according to the information of the target server in the installation instruction, obtain the installation information corresponding to the server from the database; Use the installation information as the architecture information of the server; Among them, obtaining the installation information corresponding to the installation instruction in the database includes: Call the installation information acquisition tool, and obtain the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool; Among them, before calling the installation information acquisition tool and obtaining the installation information corresponding to the installation instruction in the database based on the installation information acquisition tool, it further includes: Call the encapsulation tool and encapsulate the installation information acquisition tool based on the encapsulation tool; Among them, determining the installation package of the monitoring software applicable to the server according to the architecture information and the installation package template includes: Determine the installation package template corresponding to the architecture information, and determine the installation package of the monitoring software applicable to the server according to the architecture information and the corresponding installation package template, and retrieve the installation package.
2. The server management method according to claim 1, characterized in that Receiving an installation instruction includes: Receive the installation package selection instruction input by the user; Use the installation package selection instruction as the installation instruction.
3. The server management method according to claim 1, characterized in that When receiving an installation instruction, obtaining the architecture information of the server includes: When receiving the user information, the operating system type of the server, and the address information sent by the user, judge whether there is incorrect information in the user information, the operating system type of the server, and the address information; If not, determine that the information input instruction of the user is received; Use the information input instruction of the user as the installation instruction.
4. The server management method according to claim 1, wherein, Receiving the usage information of the server includes: Call the database feedback information acquisition tool and obtain the usage information of the server in the database through the database feedback information acquisition tool.
5. A server management system, characterized in that, A processor applied to a computer device, and the server management system includes: A first processing unit, configured to obtain architecture information of a server when receiving an installation instruction, where the architecture information includes the manufacturer of the server, the type of operating system, and address information; the server is a bare metal server that has been put into service, and the bare metal server is accessed to a cloud platform in a managed manner; An installation package determination unit, configured to determine an installation package of a monitoring software applicable to the server according to the architecture information and an installation package template, where the installation package of the monitoring software is pre-stored in the processor; A second processing unit, configured to remotely send the installation package to the server and remotely install the installation package to the server according to a tool for controlling the installation of the installation package; the services running on the server during the installation process will not stop; A usage information receiving unit, configured to receive usage information of the server through the installed monitoring software; A current working state determination unit, configured to determine the current working state of the server according to the usage information, so as to implement performance monitoring of the bare metal server; Wherein, the first processing unit includes: An installation information acquisition unit, configured to acquire installation information corresponding to the installation instruction in a database; An architecture information determination unit, configured to use the installation information as the architecture information of the server; Wherein, the installation information acquisition unit includes: Invoking an installation information acquisition tool to acquire installation information corresponding to the installation instruction in the database based on the installation information acquisition tool; Wherein, before invoking the installation information acquisition tool to acquire installation information corresponding to the installation instruction in the database based on the installation information acquisition tool, it further includes: Invoking a packaging tool and packaging the installation information acquisition tool based on the packaging tool; Wherein, the installation package determination unit is specifically configured to: determine an installation package template corresponding to the architecture information, determine an installation package of a monitoring software applicable to the server according to the architecture information and the corresponding installation package template, and retrieve the installation package.
6. A server management device, characterized in that, It includes: A memory, configured to store a computer program; A processor, configured to execute the computer program to implement the steps of the server management method according to any one of claims 1 to 4 above.
Citation Information
Patent Citations
Test method, monitoring platform, electronic equipment and storage medium
CN113760768A