CN112612571A - Data acquisition method, system, equipment and storage medium for physical machine - Google Patents
Data acquisition method, system, equipment and storage medium for physical machine Download PDFInfo
- Publication number
- CN112612571A CN112612571A CN202011475750.6A CN202011475750A CN112612571A CN 112612571 A CN112612571 A CN 112612571A CN 202011475750 A CN202011475750 A CN 202011475750A CN 112612571 A CN112612571 A CN 112612571A
- Authority
- CN
- China
- Prior art keywords
- physical machine
- acquisition
- data
- acquisition process
- performance data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 190
- 238000013480 data collection Methods 0.000 claims abstract description 7
- 230000002159 abnormal effect Effects 0.000 claims description 31
- 238000012545 processing Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 abstract description 11
- 238000007726 management method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000013523 data management Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3068—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data format conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present disclosure provides a data collection method, system, device and storage medium for a physical machine. The data acquisition method comprises the following steps: acquiring a physical machine list needing data acquisition through an acquisition process; determining a corresponding performance data index set for each physical machine in the physical machine list through the acquisition process; constructing the performance data index set into a performance index list of the physical machine list through the acquisition process; acquiring performance data of the physical machine based on the performance index list through the acquisition process; detecting a state of the collection process through a daemon process, and restarting the collection process when detecting that the collection process abnormally terminates. According to the data acquisition method, the state of the acquisition process is guaranteed through the daemon process, so that continuous acquisition of physical machine performance data is achieved, and a reliable foundation is provided for capacity management and fault analysis.
Description
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a data acquisition method, system, device, and storage medium for a physical machine.
Background
ESXi is a virtualization hypervisor of the VMware vSphere virtualization product that functions to provide a virtualization layer that abstracts the processor, memory, storage, and network connection resources of a physical host and then allocates them to multiple virtual machines. The physical host provided with the ESxi virtualization management program is called an ESxi physical machine for short, and the ESxi physical machine is managed through a centralized management platform vCenter Server.
In the VMware virtualization environment, the performance data has important values for resource pool capacity management, resource pool resource use condition monitoring and resource pool fault analysis.
At present, performance data information of various performance indexes of an ESxi physical machine can be collected through a platform vCenter Server for centrally managing a VMware vSphere environment, and the performance data information is stored in a database of the ESxi physical machine. However, using the vCenter Server's performance graph function to view ESxi physical machine performance data, only the ESxi host's performance data can be stored at different specified intervals, such as:
1) real-time (store past 1 hour of data), data frequency 20 seconds, number of samples 180;
2) the past day, data frequency 5 minutes, sample number 288;
3) the past week, data frequency 30 minutes, sample number 336;
4) the past month, data frequency was 2 hours, and the number of samples was 360;
therefore, when the vCenter Server is used for viewing ESxi host performance data, the real-time data can only view data within 1 hour, and data exceeding 1 day can only view data of a past week, but the data acquisition interval of the past week is 30 minutes, the granularity is too coarse, peak data cannot be seen in most cases (the peak value generally has short duration, and peak value data cannot be acquired when the acquisition interval is too large), and the data acquisition interval of the past month is larger, so that the performance condition of a physical machine cannot be accurately represented.
It can be seen that the vCenter Server performance graph is used for checking performance data, and the performance condition of the ESXi host in a period of historical time cannot be accurately mastered due to overlarge intervals among collected data samples, which is not beneficial to effective capacity management and fault analysis.
Disclosure of Invention
In order to solve the problems or partial problems in the prior art, embodiments of the present invention provide a data acquisition method, system, device, and storage medium for a physical machine, which ensure the state of an acquisition process through a daemon process, thereby implementing continuous acquisition of performance data of the physical machine and providing a reliable basis for capacity management and fault analysis.
According to a first aspect of the present invention, an embodiment of the present invention provides a data collection method for a physical machine, where an ESXi virtualization management program is installed in the physical machine, and the method includes: acquiring a physical machine list needing data acquisition through an acquisition process; determining a corresponding performance data index set for each physical machine in the physical machine list through the acquisition process; constructing the performance data index set into a performance index list of the physical machine list through the acquisition process; acquiring performance data of the physical machine based on the performance index list through the acquisition process; detecting a state of the collection process through a daemon process, and restarting the collection process when detecting that the collection process abnormally terminates.
According to the embodiment of the invention, the state of the acquisition process is detected through the daemon process, and the acquisition process is restarted when the acquisition process is abnormally terminated, so that the data acquisition process can be ensured not to be interrupted, and the continuous acquisition of the physical machine performance data is realized.
In some embodiments of the invention, the collection process collects the performance data at regular intervals.
According to the embodiment of the invention, the performance data is acquired at the set time interval, and the performance data acquisition at various acquisition intervals can be realized, so that more accurate performance data can be acquired based on the fine-grained acquisition time interval, and further, the capacity management and the fault analysis can be effectively carried out.
In some embodiments of the invention, the data acquisition method further comprises: and carrying out formatting treatment and/or unit conversion on the collected performance data through the collection process.
In some embodiments of the invention, the data acquisition method further comprises: acquiring abnormal information in the performance data acquisition process through the acquisition process; and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process.
According to the embodiment of the invention, the abnormal information acquired in the acquisition process is recorded and used for checking the abnormal condition of the acquisition process, so that the stable operation of the acquisition process can be ensured.
In some embodiments of the invention, the performance data comprises at least one of: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage.
According to a second aspect of the present invention, an embodiment of the present invention provides a data acquisition system for a physical machine, where an ESXi virtualization management program is installed in the physical machine, and the system includes: the physical machine list acquisition module is used for acquiring a physical machine list needing data acquisition through an acquisition process; the performance index list acquisition module is used for determining a corresponding performance data index set for each physical machine in the physical machine list through the acquisition process; the performance index list acquisition module is further used for constructing the performance data index set into a performance index list of the physical machine list through the acquisition process; the performance data acquisition module is used for acquiring the performance data of the physical machine based on the performance index list through the acquisition process; and the process daemon module is used for detecting the state of the acquisition process through a daemon process and restarting the acquisition process when the abnormal termination of the acquisition process is detected.
According to the embodiment of the invention, the state of the acquisition process is detected through the daemon process, and the acquisition process is restarted when the acquisition process is abnormally terminated, so that the data acquisition process can be ensured not to be interrupted, and the continuous acquisition of the physical machine performance data is realized.
In some embodiments of the invention, the collection process collects the performance data at regular intervals.
According to the embodiment of the invention, the performance data is acquired at the set time interval, and the performance data acquisition at various acquisition intervals can be realized, so that more accurate performance data can be acquired based on the fine-grained acquisition time interval, and further, the capacity management and the fault analysis can be effectively carried out.
In some embodiments of the invention, the data acquisition system further comprises: and the data processing module is used for carrying out formatting processing and/or unit conversion on the acquired performance data through the acquisition process.
In some embodiments of the invention, the data acquisition system further comprises an exception handling module for performing the following operations: acquiring abnormal information in the performance data acquisition process through the acquisition process; and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process.
According to the embodiment of the invention, the abnormal information acquired in the acquisition process is recorded and used for checking the abnormal condition of the acquisition process, so that the stable operation of the acquisition process can be ensured.
In some embodiments of the invention, the performance data comprises at least one of: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage.
According to a third aspect of the present invention, an embodiment of the present invention provides a computer storage medium having computer-readable instructions stored thereon, which, when executed by a processor, cause a computer to perform the following operations: the operation includes the steps included in the data acquisition method according to any one of the above embodiments.
According to a fourth aspect of the present invention, the present invention provides a computer device including a memory and a processor, the memory being used for storing one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, can implement the data acquisition method according to any one of the above embodiments.
As can be seen from the above description, the data acquisition method, system, storage medium, and device for a physical machine according to the embodiments of the present invention detect the state of the acquisition process through the daemon process, and restart the acquisition process when the acquisition process is abnormally terminated, so that continuous acquisition of performance data of the physical machine can be achieved, and a reliable basis is provided for capacity management and fault analysis.
Drawings
FIG. 1 is a schematic flow diagram of a data collection method for a physical machine according to one embodiment of the invention;
FIG. 2 is a schematic flow diagram of a data collection method for a physical machine according to another embodiment of the invention;
FIG. 3 is a schematic flow diagram of a method for collecting performance data of a physical machine through a collection process in FIG. 2;
FIG. 4 is an architecture diagram of a data acquisition system for a physical machine, according to one embodiment of the invention.
Detailed Description
Various aspects of the invention are described in detail below with reference to the figures and the detailed description. Well-known modules, units and their interconnections, links, communications or operations with each other are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any manner in one or more implementations. It will be understood by those skilled in the art that the various embodiments described below are illustrative only and are not intended to limit the scope of the present invention. It will also be readily understood that the modules or units or processes of the embodiments described herein and illustrated in the figures can be combined and designed in a wide variety of different configurations.
Fig. 1 is a schematic flow chart diagram of a data acquisition method for a physical machine according to an embodiment of the present invention. The physical machine is provided with an ESxi virtualization management program.
As shown in fig. 1, in one embodiment of the present invention, the method may include: step S11, step S12, step S13, step S14, and step S15, which are specifically described below.
In step S11, a list of physical machines that need to be acquired by the acquisition process is obtained.
In step S12, a corresponding set of performance data indicators is determined for each physical machine in the list of physical machines by the collection process.
In step S13, the performance data index set is constructed as a performance index list of the physical machine list by the collection process.
In step S14, performance data of the physical machine is collected based on the performance index list by the collection process. In alternative embodiments, the collected performance data includes, but is not limited to, one or more of the following: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage. The memory usage includes, but is not limited to: the host computer memory resource allocation method comprises the following steps of memory utilization rate, memory balloons (used for relieving the situation of the shortage of the host computer memory resources by adjusting the size of virtual machine memory allocation when the host computer memory resources are in shortage), swap out rate, swap in rate and swap use situation.
In step S15, the state of the acquisition process is detected by a daemon process, and when it is detected that the acquisition process terminates abnormally, the acquisition process is restarted.
By adopting the method of the embodiment of the invention, the state of the acquisition process is detected through the daemon process, and the acquisition process is restarted when the acquisition process is abnormally terminated, so that the data acquisition process can be ensured not to be interrupted, the continuous acquisition of the physical machine performance data is realized, and a reliable basis is provided for capacity management and fault analysis.
In an alternative embodiment, the collection process collects the performance data at regular time intervals. Therefore, performance data can be acquired according to set time intervals, configurable performance data acquisition of various acquisition intervals can be realized, more accurate performance data can be acquired based on fine-grained acquisition time intervals, and effective capacity management and fault analysis can be further performed based on accurate performance data. Alternatively, the minimum interval of the predetermined time interval is 20s, and a time interval of 20s or more can be freely set. Wherein, 20s is the minimum time interval defined by the VMware performance data acquisition interface, that is, the data is updated only once in 20 seconds.
In another optional embodiment, the collected performance data is formatted and/or unit converted by the collection process. The collected performance data can be converted into data with a uniform format and standard units, and subsequent performance data application is facilitated.
In other optional embodiments, obtaining, by the collection process, abnormal information in the collection process of the performance data; and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process. The abnormal information acquired in the acquisition process is recorded and used for checking the abnormal conditions of the acquisition process, so that the stable operation of the acquisition process can be guaranteed.
Fig. 2 is a schematic flow chart diagram of a data acquisition method for a physical machine according to another embodiment of the invention. The physical machine is provided with an ESxi virtualization management program.
As shown in fig. 2, in another embodiment of the present invention, the data collection method implements performance data collection and processing of a physical machine by starting a collection process and a daemon process. The performance data of the physical machine is acquired through the acquisition process, the acquired performance data is processed, the performance data after the data processing is carried out, in addition, log recording is carried out on the acquisition information and the abnormal information acquired in the data acquisition process, and abnormal condition investigation is carried out based on the abnormal information. The daemon process detects the state of the acquisition process, and when the daemon process detects that the acquisition process is abnormally terminated, the daemon process pulls up the acquisition process again, so that the data acquisition process is prevented from being abnormally interrupted; when the collection process is normal, the daemon process continues to monitor the state of the collection process.
Optionally, the acquired information and the abnormal information in the acquisition process are stored through the configurable storage time, so that backtracking is facilitated.
FIG. 3 is a schematic flow diagram of the method of FIG. 2 for collecting performance data of a physical machine via a collection process.
As shown in fig. 3, the method for collecting performance data of a physical machine through a collection process may include: step S31, step S32, step S33, step S34, and step S35. The method comprises the steps of developing a performance data acquisition program of an ESxi physical machine (namely, a physical machine provided with an ESxi virtualization management program) by utilizing a VMware Web Service API (developer interface), calling a performance data management interface by connecting a vCenter Server (platform for centrally managing a VMware vSphere environment), and realizing continuous fine-grained acquisition and storage of ESxi physical machine performance data under the management of the vCenter Server.
The above steps are specifically described below.
In step S31, connect vCenter Server, call performance data management interface, and acquire vCenter
List of ESXi physical machines managed by the Server.
In step S32, for each physical machine in the physical machine list, a corresponding PerfQuerySpec (performance data index set) is constructed, and then perfqueryspecs of all physical machines are combined into a list, so as to obtain a PerfQuerySpec list of all physical machines. Wherein, the PerfQuerySpec defines an instance needing to acquire performance data and various performance indexes needing to acquire the instance.
In step S33, a QueryPerf (performance query method) of a performance manager interface in the vSphere Web Services API is called to obtain performance data of the ESXi physical machine, specifically, the perfquerypec list in step S32 is used as an entry parameter of the QueryPerf to obtain performance data corresponding to all ESXi physical machines.
In step S34, the performance data is acquired according to the acquisition time interval set in the Sleep function (a delay function).
In step S35, the loop continues to execute step S34 to collect performance data, and the collection is ended when there is an abnormality.
By adopting the method of the embodiment of the invention, the performance data of the ESxi physical machine can be continuously acquired in fine granularity by setting the acquisition time interval and circularly executing the step S34, thereby providing a reliable basis for capacity management and fault analysis.
FIG. 4 is an architecture diagram of a data acquisition system for a physical machine, according to one embodiment of the invention. The physical machine is provided with an ESxi virtualization management program.
As shown in fig. 4, the data acquisition system includes:
and a physical machine list acquiring module 410, configured to acquire a physical machine list that needs to be subjected to data acquisition through an acquisition process.
A performance index list obtaining module 420, configured to determine, by the acquisition process, a corresponding performance data index set for each physical machine in the physical machine list; and the collection process is further used for constructing the performance data index set into a performance index list of the physical machine list.
And a performance data acquisition module 430, configured to acquire, by the acquisition process, performance data of the physical machine based on the performance index list. Wherein the acquisition process acquires the performance data at regular time intervals.
In alternative embodiments, the collected performance data includes, but is not limited to, one or more of the following: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage. The memory usage includes, but is not limited to: the host computer memory resource allocation method comprises the following steps of memory utilization rate, memory balloons (used for relieving the situation of the shortage of the host computer memory resources by adjusting the size of virtual machine memory allocation when the host computer memory resources are in shortage), swap out rate, swap in rate and swap use situation.
A data processing module 440, configured to perform formatting and/or unit conversion on the acquired performance data through the acquisition process.
An exception handling module 450, configured to obtain, through the acquisition process, exception information in the acquisition process of the performance data; and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process.
The process daemon module 460 is configured to detect a state of the collection process through a daemon process, and restart the collection process when it is detected that the collection process terminates abnormally.
By adopting the data acquisition system provided by the embodiment of the invention, the performance data of the ESxi physical machine can be continuously acquired in a fine-grained manner by setting the acquisition time interval and starting the daemon process, so that a reliable basis is provided for capacity management and fault analysis. In addition, the abnormal information acquired in the acquisition process is recorded, and the abnormal condition of the acquisition process is checked, so that the stable operation of the acquisition process can be guaranteed.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by combining software and a hardware platform. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments.
Correspondingly, the embodiment of the invention also provides a computer readable storage medium, on which computer readable instructions or a program are stored, and when the computer readable instructions or the program are executed by a processor, the computer is enabled to execute the following operations: the operation includes the steps included in the data acquisition method according to any of the above embodiments, and details are not repeated here. Wherein the storage medium may include: such as optical disks, hard disks, floppy disks, flash memory, magnetic tape, etc.
In addition, the embodiment of the present invention further provides a computer device including a memory and a processor, where the memory is used for storing one or more computer instructions or programs, and when the one or more computer instructions or programs are executed by the processor, the data acquisition method according to any one of the above embodiments can be implemented. The computer device may be, for example, a server, a desktop computer, a notebook computer, or the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention. Therefore, the protection scope of the present invention should be subject to the claims.
Claims (12)
1. A data acquisition method for a physical machine is characterized in that an ESxi virtualization management program is installed in the physical machine;
the data acquisition method comprises the following steps:
acquiring a physical machine list needing data acquisition through an acquisition process;
determining a corresponding performance data index set for each physical machine in the physical machine list through the acquisition process;
constructing the performance data index set into a performance index list of the physical machine list through the acquisition process;
acquiring performance data of the physical machine based on the performance index list through the acquisition process;
detecting a state of the collection process through a daemon process, and restarting the collection process when detecting that the collection process abnormally terminates.
2. The data collection method of claim 1, wherein the collection process collects the performance data at specified time intervals.
3. The data acquisition method of claim 2, further comprising:
and carrying out formatting treatment and/or unit conversion on the collected performance data through the collection process.
4. The data acquisition method of claim 3, further comprising:
acquiring abnormal information in the performance data acquisition process through the acquisition process;
and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process.
5. The data acquisition method of claim 4, wherein the performance data comprises at least one of: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage.
6. A data acquisition system for a physical machine is characterized in that an ESxi virtualization management program is installed in the physical machine;
wherein the data acquisition system comprises:
the physical machine list acquisition module is used for acquiring a physical machine list needing data acquisition through an acquisition process;
the performance index list acquisition module is used for determining a corresponding performance data index set for each physical machine in the physical machine list through the acquisition process;
the performance index list acquisition module is further used for constructing the performance data index set into a performance index list of the physical machine list through the acquisition process;
the performance data acquisition module is used for acquiring the performance data of the physical machine based on the performance index list through the acquisition process;
and the process daemon module is used for detecting the state of the acquisition process through a daemon process and restarting the acquisition process when the abnormal termination of the acquisition process is detected.
7. The data acquisition system of claim 6 wherein the acquisition process acquires the performance data at specified time intervals.
8. The data acquisition system of claim 7, further comprising:
and the data processing module is used for carrying out formatting processing and/or unit conversion on the acquired performance data through the acquisition process.
9. The data acquisition system of claim 8, further comprising an exception handling module to:
acquiring abnormal information in the performance data acquisition process through the acquisition process;
and carrying out log recording on the abnormal information through the acquisition process, and checking the abnormal condition of the acquisition process.
10. The data acquisition system of claim 9, wherein the performance data includes at least one of: CPU ready time, CPU utilization rate, network card number of packet receiving error, packet sending error, packet receiving loss, packet sending loss, flow receiving, flow sending, packet receiving, packet sending, memory read delay, write delay, utilization rate, memory usage.
11. A computer storage medium storing computer software instructions for execution by a processor to implement a data acquisition method as claimed in any one of claims 1 to 5.
12. A computer device comprising a memory and a processor;
wherein the memory is configured to store one or more computer instructions that are executed by the processor to implement the data acquisition method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011475750.6A CN112612571A (en) | 2020-12-15 | 2020-12-15 | Data acquisition method, system, equipment and storage medium for physical machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011475750.6A CN112612571A (en) | 2020-12-15 | 2020-12-15 | Data acquisition method, system, equipment and storage medium for physical machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112612571A true CN112612571A (en) | 2021-04-06 |
Family
ID=75234052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011475750.6A Pending CN112612571A (en) | 2020-12-15 | 2020-12-15 | Data acquisition method, system, equipment and storage medium for physical machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112612571A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354127A (en) * | 2015-10-27 | 2016-02-24 | 北京天华星航科技有限公司 | Cloud management platform based monitoring method |
CN106302149A (en) * | 2016-08-30 | 2017-01-04 | 成都科来软件有限公司 | A kind of method and device based on service logic many-to-many communication path analysis |
CN109710497A (en) * | 2017-10-25 | 2019-05-03 | 北京京东尚科信息技术有限公司 | Collecting method and system |
WO2019233047A1 (en) * | 2018-06-07 | 2019-12-12 | 国电南瑞科技股份有限公司 | Power grid dispatching-based operation and maintenance method |
CN111597065A (en) * | 2020-05-12 | 2020-08-28 | 京东数字科技控股有限公司 | Method and device for collecting equipment information |
-
2020
- 2020-12-15 CN CN202011475750.6A patent/CN112612571A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354127A (en) * | 2015-10-27 | 2016-02-24 | 北京天华星航科技有限公司 | Cloud management platform based monitoring method |
CN106302149A (en) * | 2016-08-30 | 2017-01-04 | 成都科来软件有限公司 | A kind of method and device based on service logic many-to-many communication path analysis |
CN109710497A (en) * | 2017-10-25 | 2019-05-03 | 北京京东尚科信息技术有限公司 | Collecting method and system |
WO2019233047A1 (en) * | 2018-06-07 | 2019-12-12 | 国电南瑞科技股份有限公司 | Power grid dispatching-based operation and maintenance method |
CN111597065A (en) * | 2020-05-12 | 2020-08-28 | 京东数字科技控股有限公司 | Method and device for collecting equipment information |
Non-Patent Citations (2)
Title |
---|
张伟龙;吕明;胡宏;杜宝珠;张捷;: "MySQL数据库服务器监控***设计与实现", 工业控制计算机, no. 12, 25 December 2019 (2019-12-25), pages 22 - 24 * |
黄骁飞、白晓颖、苑丽杰: "异构云平台性能监控与分析研究", 计算机科学, vol. 40, no. 11, 30 November 2013 (2013-11-30), pages 147 - 151 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10268564B2 (en) | Dynamic tracing using ranking and rating | |
US8732530B2 (en) | System and method for self-diagnosis and error reporting | |
US9389936B2 (en) | Monitoring the responsiveness of a user interface | |
US10095598B2 (en) | Transaction server performance monitoring using component performance data | |
US7702783B2 (en) | Intelligent performance monitoring of a clustered environment | |
US11093349B2 (en) | System and method for reactive log spooling | |
US20120137101A1 (en) | Optimizing memory management of an application running on a virtual machine | |
US20080282104A1 (en) | Self Healing Software | |
US20100017583A1 (en) | Call Stack Sampling for a Multi-Processor System | |
US8489941B2 (en) | Automatic documentation of ticket execution | |
US8631280B2 (en) | Method of measuring and diagnosing misbehaviors of software components and resources | |
US8903923B2 (en) | Methods and apparatus for system monitoring | |
US20220058103A1 (en) | Dynamic post-change computing-system evaluation | |
CN111857555B (en) | Method, apparatus and program product for avoiding failure events for disk arrays | |
WO2017215557A1 (en) | Method and device for collecting performance monitor unit (pmu) events | |
US9600523B2 (en) | Efficient data collection mechanism in middleware runtime environment | |
US20100042996A1 (en) | Utilization management | |
US11526413B2 (en) | Distributed tracing of huge spans for application and dependent application performance monitoring | |
US10372572B1 (en) | Prediction model testing framework | |
WO2017079220A2 (en) | Full duplex distributed telemetry system | |
CN106021054A (en) | Method and apparatus for testing upgrading and downgrading stability of BMC | |
CN112306802A (en) | Data acquisition method, device, medium and electronic equipment of system | |
US8676968B2 (en) | Determining information about a computing system | |
CN113656174A (en) | Resource allocation method, system, computer device and storage medium | |
US20170109258A1 (en) | Smart logging of trace data for storage systems |
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 |