CN112468329B - Method, device, equipment and readable medium for batch grouping management of servers - Google Patents

Method, device, equipment and readable medium for batch grouping management of servers Download PDF

Info

Publication number
CN112468329B
CN112468329B CN202011267703.2A CN202011267703A CN112468329B CN 112468329 B CN112468329 B CN 112468329B CN 202011267703 A CN202011267703 A CN 202011267703A CN 112468329 B CN112468329 B CN 112468329B
Authority
CN
China
Prior art keywords
hosts
relay point
host
command
clusters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011267703.2A
Other languages
Chinese (zh)
Other versions
CN112468329A (en
Inventor
韩颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011267703.2A priority Critical patent/CN112468329B/en
Publication of CN112468329A publication Critical patent/CN112468329A/en
Application granted granted Critical
Publication of CN112468329B publication Critical patent/CN112468329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/231Hierarchical techniques, i.e. dividing or merging pattern sets so as to obtain a dendrogram
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/46Cluster building

Abstract

The invention discloses a method for batch grouping management of servers, which comprises the following steps: detecting the distance between any two hosts through a route tracking command; dividing all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts; selecting a host from each host cluster as a relay point; and sending the command to the relay point, and issuing the command to other hosts in the host cluster by the relay point. The invention also discloses a device for batch grouping management of the servers, computer equipment and a readable storage medium. According to the invention, the server is divided into a plurality of groups by using a hierarchical clustering algorithm according to the network condition, one host in each group is selected as the relay point, the management program sends the task to the relay point, and the task is continuously issued to other hosts by the relay point, so that the delay caused by overlarge load of the management host or network reasons is effectively reduced, and the efficiency of managing the hosts in batches is improved.

Description

Method, device, equipment and readable medium for batch grouping management of servers
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a readable medium for batch grouping management of servers.
Background
With the development of the technology, the size of the data center becomes larger and larger, and the operation and maintenance scene of the operation and maintenance personnel also becomes extremely complex. The workload of operation and maintenance personnel is reduced by the presence of various operation and maintenance tools such as an alarm, saltstack, puppet and the like, but large time consumption is still caused when large-scale remote host management is carried out.
After investigation, several factors which easily cause time consumption are summarized: firstly, the management host has overlarge load or insufficient bandwidth, and when the number of hosts needing to run tasks in batches is too large, the management program can only issue the tasks in batches, so that the time required by running the management tasks is prolonged; secondly, loops may exist in the network, and if loops exist in the complex network, data packets can be continuously sent and checked, so that the overall network speed is influenced, the issuing of tasks or files is influenced, and delay is caused; third, network cable problems or hardware failures, etc.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a readable medium for batch group management of servers, where servers are divided into a plurality of groups by using a hierarchical clustering algorithm according to a network condition, and one host in each group is selected as a relay point, and a management program sends a task to the relay point, and then the task is continuously issued to other hosts by the relay point, so as to effectively reduce delay caused by an excessive load of a management host or a network reason, and improve efficiency of batch management of the hosts.
Based on the above object, an aspect of the embodiments of the present invention provides a method for batch group management of servers, including the following steps performed at a maintenance device: detecting the distance between any two hosts through a route tracking command; dividing all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts; selecting one host from each host cluster as a relay point; and sending the command to the relay point, and issuing the command to other hosts in the host cluster by the relay point.
In some embodiments, further comprising: and receiving the final processing result returned by the relay point, wherein the final processing result is obtained by combining the processing results of the other hosts received by the relay point.
In some embodiments, detecting the distance between any two hosts through the traceroute command includes: obtaining the return time of sending the ICMP packet for three times between any two hosts through the routing tracking command, and calculating the average value of the return time; the distance between the two hosts is represented based on the average.
In some embodiments, dividing all hosts into a preset number of host clusters by a hierarchical clustering algorithm based on the distance between any two hosts comprises: combining two hosts/clusters with the closest distance into a cluster to obtain a plurality of clusters, and judging whether the number of the obtained clusters is greater than a preset number or not; if the obtained number of clusters is larger than the preset number, recalculating the distance between the clusters and returning to the previous step; and if the obtained cluster number is not more than the preset number, determining that all the hosts are divided into the host clusters with the preset number.
In some embodiments, selecting a host in each host cluster as a relay point comprises: and randomly selecting one host in each host cluster as a relay point.
In some embodiments, selecting a host as the relay point in each host cluster comprises: and selecting one host in each host cluster as a relay point according to the CPU utilization rate and/or the memory utilization rate and/or the IO utilization rate of the server.
In some embodiments, sending the command to the relay point comprises: sending a command for acquiring the state, configuration and performance information of the server to the relay point; and/or sending a command for deploying and installing the server to the relay point; and/or sending commands for upgrading, configuring and inspecting the server firmware to the relay point.
In another aspect of the embodiments of the present invention, an apparatus for batch grouping management of servers is further provided, including: the route tracking module is configured to detect the distance between any two hosts through a route tracking command; the clustering module is configured for dividing all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts; a relay point selecting module configured to select one host from each host cluster as a relay point; and the management module is configured to send a command to the relay point, and the relay point issues the command to other hosts in the host cluster.
In some embodiments, the system further includes a processing module configured to analyze and display a final processing result returned by the relay, where the final processing result is obtained by combining processing results of other hosts received by the relay.
In some embodiments, the route tracing module is further configured to: obtaining the return time of sending the ICMP packet for three times between any two hosts through the routing tracking command, and calculating the average value of the return time; the distance between the two hosts is represented based on the average.
In some embodiments, the clustering module is further configured to: merging two hosts/clusters with the closest distance into one cluster to obtain a plurality of clusters, and judging whether the number of the obtained clusters is greater than a preset number or not; if the obtained number of clusters is larger than the preset number, recalculating the distance between the clusters and returning to the previous step; and if the obtained cluster number is not more than the preset number, determining that all the hosts are divided into the host clusters with the preset number.
In some embodiments, the select relay module is further configured to: and randomly selecting one host in each host cluster as a relay point.
In some embodiments, the select relay module is further configured to: and selecting one host in each host cluster as a relay point according to the CPU utilization rate and/or the memory utilization rate and/or the IO utilization rate of the server.
In some embodiments, the management module is further configured to: sending a command for acquiring the state, configuration and performance information of the server to the relay point; and/or sending a command for deploying and installing the server to the relay point; and/or sending commands for upgrading, configuring and inspecting the server firmware to the relay point.
In another aspect of the embodiments of the present invention, there is provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method.
In another aspect of the embodiments of the present invention, a computer-readable storage medium is further provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the server is divided into a plurality of groups by using a hierarchical clustering algorithm according to the network condition, one host in each group is selected as a relay point, and a management program firstly sends scripts for executing tasks, acquiring results and the like and files to be transmitted to the relay point and then continuously sends the scripts and the files to be transmitted to other hosts by the relay point. The method has the advantages that delay caused by overlarge load of the management host or network reasons is effectively reduced, the efficiency of managing the hosts in batches is improved, and the effect is more obvious particularly when tasks of large files needing to be transmitted, such as large number of managed hosts, complex network structure, installation and the like, are required.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for batch grouping management of servers according to the present invention;
FIG. 2 is a diagram illustrating an embodiment of an apparatus for batch grouping management of servers according to the present invention;
FIG. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention;
FIG. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above object, a first aspect of the embodiments of the present invention provides an embodiment of a method for batch grouping management of servers. Fig. 1 is a schematic diagram illustrating an embodiment of a method for batch group management of a server according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps performed at the maintenance device side:
s01, detecting the distance between any two hosts through a route tracking command;
s02, dividing all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts;
s03, respectively selecting one host from each host cluster as a relay point; and
and S04, sending a command to the relay point, and issuing the command to other hosts in the host cluster by the relay point.
In this embodiment, a management program is used to access the data center, and perform batch management on the servers in the data center. The grouping algorithm uses a hierarchical clustering grouping algorithm to divide all the hosts into K groups according to tresert data among the hosts as a basis for measuring network delay among the hosts. One host is selected from each group as a relay point, and the management program firstly sends scripts of task execution, result acquisition and the like and files to be transmitted to the relay point and then the relay point continuously issues the scripts and the files to be transmitted to each managed host.
In this embodiment, the purpose of the clustering and grouping algorithm is to group the hosts in the network with the least latency required for the interconnection of the managed hosts. Hierarchical clustering is a clustering algorithm, and has two modes of top-down splitting and bottom-up merging, and we use the mode of bottom-up merging here. It may divide the samples in the data set into several disjoint subsets according to distance, each subset being a cluster. Hierarchical clustering has the advantage of flexible selection of the number of clusters and the cluster centers. When a batch task is issued, the management program issues the task and the management script to the relay point, and then the relay point sends the task and the management script to other managed hosts of each cluster, so that the time for task execution and file transmission is greatly shortened.
In some embodiments of the invention, further comprising: and receiving the final processing result returned by the relay point, wherein the final processing result is obtained by combining the processing results of the other hosts received by the relay point.
In this embodiment, when receiving the return values of other managed hosts, the relay points return the results to the management program in a unified manner, and merge, analyze and display the results.
In some embodiments of the invention, detecting the distance between any two hosts through the traceroute command comprises: obtaining the return time of sending the ICMP packet for three times between any two hosts through the routing tracking command, and calculating the average value of the return time; the distance between the two hosts is represented based on the average.
The Tracert command is a network command for detecting the number of routing nodes, and may list the routing nodes that the packet passes through and its delay per hop in the IP network, where the fields include the time to live, the return time of the ICMP packet sent three times, and the routing nodes that pass through. In this embodiment, the average of the return times of three times an ICMP packet is sent is used to measure the distance between two hosts.
In some embodiments of the present invention, dividing all hosts into a preset number of host clusters by a hierarchical clustering algorithm based on the distance between any two hosts comprises: merging two hosts/clusters with the closest distance into one cluster to obtain a plurality of clusters, and judging whether the number of the obtained clusters is greater than a preset number or not; if the obtained number of clusters is larger than the preset number, recalculating the distance between the clusters and returning to the previous step; and if the obtained cluster number is not more than the preset number, determining that all the hosts are divided into the host clusters with the preset number.
In this embodiment, a hierarchical clustering grouping algorithm and Tracert data are used to construct a grouping model for managed hosts. If there are m managed hosts, then assume the unlabeled dataset as
Figure BDA0002776718220000061
The task of the algorithm is to cluster the data sets into k clusters C = C 1 ,C 2 ,…C k . Each sample in the data set is first treated as a cluster. Collecting Tracert data among clusters, calculating the average value of the return time of the ICMP packet sent three times, taking the average value as a parameter for measuring the distance between two clusters, and recording the average value as dist (x) i ,x j ). The two samples whose data points are closest to each other are merged, assumed to be u. The distance between clusters is recalculated. The calculation method of the distance from u to each other cluster is as follows: the average of the distances of the other clusters to each sample in u is calculated. And selecting the two clusters with the minimum distance again for combination. Constantly repeating the calculationThe distances are merged into clusters until the data points are divided into K groups. The selection of K is crucial to the grouping result, and may even result in poor operation result, so it should be generally selected by operation and maintenance personnel.
In some embodiments of the present invention, selecting a host in each host cluster as a relay point comprises: and randomly selecting one host in each host cluster as a relay point.
In this embodiment, one host is arbitrarily selected from each cluster as a relay point of the cluster. And accessing the management program to a management center, and performing batch host management according to the constructed packet model. When there is a batch management task, the management program firstly constructs scripts of task execution, result acquisition and the like, and sends the scripts and files to be issued to each relay point. And each relay point sends the task execution script and the task execution file to other managed hosts of the cluster according to the script content.
In some embodiments of the present invention, selecting a host in each host cluster as a relay point comprises: and selecting one host in each host cluster as a relay point according to the CPU utilization rate and/or the memory utilization rate and/or the IO utilization rate of the server.
In this embodiment, one host is selected as a relay point of each cluster in each cluster according to parameters such as a CPU utilization rate, a memory utilization rate, and an I/O utilization rate of the server. And accessing the management program into a management center, and performing batch host management according to the constructed packet model. When there are batch management tasks, the management program firstly constructs scripts for task execution, result acquisition and the like, and sends the scripts and files to be issued to each relay point. And each relay point sends the task execution script and the task execution file to other managed hosts of the cluster according to the script content.
In some embodiments of the invention, sending a command to the relay point comprises: sending a command for acquiring the state, configuration and performance information of the server to the relay point; and/or sending a command for deploying and installing the server to the relay point; and/or sending commands for upgrading, configuring and polling the server firmware to the relay point.
In this embodiment, the batch management of the servers is completed by using a management program for managing the servers of the data center, the servers of the whole data center can be browsed, information such as the state, configuration, performance and the like of the servers can be acquired through the management program, and operations such as batch deployment, installation, firmware upgrade, firmware configuration, routing inspection and the like can be performed on the servers.
It should be particularly noted that, the steps in the embodiments of the method for server batch group management described above may be mutually intersected, replaced, added, or deleted, and therefore, these methods for server batch group management, which are transformed by reasonable permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides an apparatus for batch grouping management of servers. Fig. 2 is a schematic diagram illustrating an embodiment of an apparatus for server batch group management according to the present invention. As shown in fig. 2, the embodiment of the present invention includes the following modules: a route tracing module S11 configured to detect a distance between any two hosts through a route tracing command; the clustering module S12 is configured to divide all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts; a relay point selecting module S13 configured to select one host from each host cluster as a relay point; and the management module S14 is configured to send a command to the relay point, and the relay point issues the command to other hosts in the host cluster.
In some embodiments of the present invention, the relay node further includes a processing module configured to analyze and display a final processing result returned by the relay node, where the final processing result is obtained by merging processing results of other hosts received by the relay node.
In some embodiments of the invention, the route tracing module S11 is further configured to: obtaining the return time of sending the ICMP packet three times between any two hosts through the routing tracking command, and calculating the average value of the return time; the distance between the two hosts is represented based on the average.
In some embodiments of the invention, the clustering module S12 is further configured to: merging two hosts/clusters with the closest distance into one cluster to obtain a plurality of clusters, and judging whether the number of the obtained clusters is greater than a preset number or not; if the obtained number of clusters is larger than the preset number, recalculating the distance between the clusters and returning to the previous step; and if the obtained number of clusters is not more than the preset number, determining that all the hosts are divided into the host clusters with the preset number.
In some embodiments of the present invention, the select relay module S13 is further configured to: and randomly selecting one host in each host cluster as a relay point.
In some embodiments of the present invention, the select relay module S13 is further configured to: and selecting one host in each host cluster as a relay point according to the CPU utilization rate and/or the memory utilization rate and/or the IO utilization rate of the server.
In some embodiments of the invention, the management module S14 is further configured to: sending a command for acquiring the state, configuration and performance information of the server to the relay point; and/or sending a command for deploying and installing the server to the relay point; and/or sending commands for upgrading, configuring and inspecting the server firmware to the relay point.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, the embodiment of the present invention includes the following means: at least one processor S21; and a memory S22, the memory S22 storing computer instructions S23 executable on the processor, the instructions when executed by the processor implementing the steps of the above method.
The invention also provides a computer readable storage medium. FIG. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer-readable storage medium stores S31 a computer program S32 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as those skilled in the art can understand, all or part of the processes in the methods of the embodiments described above can be implemented by instructing relevant hardware by a computer program, and the program of the method for server batch group management can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), or a Random Access Memory (RAM). The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments corresponding thereto.
Furthermore, the methods disclosed according to embodiments of the invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the above embodiments of the present invention are merely for description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also combinations between technical features in the above embodiments or in different embodiments are possible, and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (7)

1. A method for server batch grouping management is characterized by comprising the following steps:
obtaining the return time of sending the ICMP packet for three times between any two hosts through a route tracking command, calculating the average value of the return time, and representing the distance between the two hosts based on the average value;
based on the distance between any two hosts, dividing all hosts into a preset number of host clusters by a hierarchical clustering algorithm;
selecting one host in each host cluster as a relay point according to the CPU utilization rate and/or the memory utilization rate and/or the IO utilization rate of the server; and
and sending a command to the relay point, and sending the command to other hosts in the host cluster by the relay point.
2. The method for server batch group management according to claim 1, further comprising:
and analyzing and displaying the final processing result returned by the relay point, wherein the final processing result is obtained by combining the processing results of the other hosts received by the relay point.
3. The method of server batch grouping management according to claim 1, wherein the dividing all hosts into a preset number of host clusters by a hierarchical clustering algorithm based on the distance between any two hosts comprises:
combining two hosts/clusters with the closest distance into a cluster to obtain a plurality of clusters, and judging whether the number of the obtained clusters is greater than a preset number or not;
if the obtained number of clusters is larger than the preset number, recalculating the distance between the clusters and returning to the previous step;
and if the obtained cluster number is not more than the preset number, determining that all the hosts are divided into the host clusters with the preset number.
4. The method of server batch packet management according to claim 1, wherein sending a command to the relay point comprises:
sending a command for acquiring the state, configuration and performance information of the server to the relay point; and/or
Sending a command for deploying and installing a server to the relay point; and/or
And sending commands for upgrading, configuring and inspecting the server firmware to the relay point.
5. An apparatus for batch grouping management of servers, comprising:
the route tracking module is configured for obtaining the return time of three times of ICMP packet transmission between any two hosts through a route tracking command, calculating the average value of the return time, and representing the distance between the two hosts based on the average value;
the clustering module is configured and used for dividing all the hosts into a preset number of host clusters through a hierarchical clustering algorithm based on the distance between any two hosts;
a relay point selecting module configured to select one host as a relay point in each host cluster according to a CPU utilization rate and/or a memory utilization rate and/or an IO utilization rate of a server; and
and the management module is configured to send a command to the relay point, and the relay point issues the command to other hosts in the host cluster.
6. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202011267703.2A 2020-11-13 2020-11-13 Method, device, equipment and readable medium for batch grouping management of servers Active CN112468329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011267703.2A CN112468329B (en) 2020-11-13 2020-11-13 Method, device, equipment and readable medium for batch grouping management of servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011267703.2A CN112468329B (en) 2020-11-13 2020-11-13 Method, device, equipment and readable medium for batch grouping management of servers

Publications (2)

Publication Number Publication Date
CN112468329A CN112468329A (en) 2021-03-09
CN112468329B true CN112468329B (en) 2023-01-06

Family

ID=74826143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011267703.2A Active CN112468329B (en) 2020-11-13 2020-11-13 Method, device, equipment and readable medium for batch grouping management of servers

Country Status (1)

Country Link
CN (1) CN112468329B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397606B (en) * 2022-01-21 2023-08-15 上海交通大学 Transmission system for transformer oil state information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972228A (en) * 2019-11-08 2020-04-07 华南农业大学 Clustering routing method based on cognitive wireless sensor network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715243B (en) * 2009-10-21 2011-12-14 南京邮电大学 Wireless sensor network hierarchical cluster-based routing method
CN110083475B (en) * 2019-04-23 2022-10-25 新华三信息安全技术有限公司 Abnormal data detection method and device
CN110827924A (en) * 2019-09-23 2020-02-21 平安科技(深圳)有限公司 Clustering method and device for gene expression data, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972228A (en) * 2019-11-08 2020-04-07 华南农业大学 Clustering routing method based on cognitive wireless sensor network

Also Published As

Publication number Publication date
CN112468329A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN111181801B (en) Node cluster testing method and device, electronic equipment and storage medium
US10389596B2 (en) Discovering application topologies
US9634902B1 (en) Bloom filter index for device discovery
US8589530B2 (en) Method and system for managing a distributed network of network monitoring devices
US10027553B2 (en) Distributed system for self updating agents and analytics
US8443078B2 (en) Method of determining equivalent subsets of agents to gather information for a fabric
US11159403B1 (en) Systems and methods of network monitoring for supercomputers and supercomputer nodes
US8667113B2 (en) Bitmap network management object change detection approach
CN106055452B (en) The method and apparatus for creating interchanger log template
WO2022134725A1 (en) Large-scale k8s cluster monitoring method, apparatus, device, and readable medium
CN112769605B (en) Heterogeneous multi-cloud operation and maintenance management method and hybrid cloud platform
CN109039787A (en) log processing method, device and big data cluster
CN112468329B (en) Method, device, equipment and readable medium for batch grouping management of servers
CN114244683A (en) Event classification method and device
CN108337163B (en) Method and apparatus for aggregating links
US10911329B2 (en) Path and cadence optimization for efficient data collection from devices
CN115827380A (en) Cloud platform monitoring method and cloud platform monitoring system
CN108306780B (en) Cloud environment-based virtual machine communication quality self-optimization system and method
US10848371B2 (en) User interface for an application performance management system
CN113364681B (en) Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
CN111176950A (en) Method and equipment for monitoring network card of server cluster
CN112422349B (en) Network management system, method, equipment and medium for NFV
CN111106974B (en) Method and device for testing lossless network performance
US11362881B2 (en) Distributed system for self updating agents and provides security
WO2024088025A1 (en) Automated 5gc network element management method and apparatus based on multi-dimensional data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant