CN105354127A - Cloud management platform based monitoring method - Google Patents
Cloud management platform based monitoring method Download PDFInfo
- Publication number
- CN105354127A CN105354127A CN201510703626.3A CN201510703626A CN105354127A CN 105354127 A CN105354127 A CN 105354127A CN 201510703626 A CN201510703626 A CN 201510703626A CN 105354127 A CN105354127 A CN 105354127A
- Authority
- CN
- China
- Prior art keywords
- management platform
- cloud management
- libvirt
- monitoring
- management
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/301—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is a virtual computing platform, e.g. logically partitioned systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to the technical field of resource object monitoring in a data center, in particular to a cloud management platform based monitoring method. The method comprises the following steps: S101: virtualization setting, enabling a physical machine bios, initiating CPU virtualization support, and installing virtualization software in the physical machine to realize management functions of creation, startup and shutdown of virtual machines; S102: management tool installation, installing a libvirt management tool to realize local and remote management; and S103: data collection, initiating the libvirt, initiating collect monitor api, setting a collection time interval with demands, and storing collected monitoring information in a distributed database mongodb. According to the cloud management platform based monitoring method disclosed by the present invention, virtual machine monitoring information collection can be completed only by calling the libvirt api, thereby reaching a monitoring purpose without adding agents into virtual machines, and greatly reducing a workload of management personnel; and the method is simple and convenient to operate, and improves reliability and accuracy of the monitoring system.
Description
Technical field
The present invention relates to data center resource object monitor technical field, particularly a kind of method for supervising based on cloud management platform.
Background technology
Current, monitoring application based on cloud platform is more and more extensive, also more and more higher to the reliability of business monitoring, because traditional business monitoring only carries out single monitoring for each resource that business is relevant, need artificial going to carry out judging and calculating specific to the ruuning situation of business, resource service condition, direct monitoring business being possessed to high reliability cannot be realized.But in practical application, particularly monitor key, important business, traditional business monitoring mode cannot reach user demand, and monitored results is inaccurate, too unilateral, cannot the using and take situation of effective monitoring resource.
Chinese invention patent application CN103475544A discloses a kind of business monitoring method based on cloud monitoring resource platform, based on the business monitoring subsystem of cloud monitoring resource platform, is the carrier of the method, is responsible for coordinating unit module; Business relies on resource analysis unit, is responsible for type and the feature of analysis business, determines the use amount of every resource that this business relies on and each resource; Business association monitoring parameter analysis and treament unit, be responsible for carrying out multianalysis to the be correlated with monitoring parameter of each resource of business, determine the priority orders that each monitoring parameter relies on and reasonably monitoring data collection frequency, alarm threshold, notification strategy, so realize when the monitoring parameter of a certain association go wrong or alarm time can feed back operation conditions, the health status of this business accurately and really analyze.
Summary of the invention
The technical issues that need to address of the present invention provide a kind of method for supervising based on cloud management platform.
For solving above-mentioned technical matters, the method for supervising based on cloud management platform of the present invention, comprises the following steps,
Step S101: virtual setting, enables physical machine bios, opens the virtual support of cpu, in physical machine, installs virtualization software, realize the establishment of virtual machine, starts, closes management function; ;
Step S102: management tool is installed, installs libvirt management tool, realizes local management and telemanagement;
Step S103: image data, starts libvirt, then starts collectmonitorapi, arrange acquisition time interval as required, the monitor message collected be saved in distributed data base mongodb.
Further, in step S102, libvirt managing virtual machines comprises kvm, xen, hyper-v, esxi.
Further, in step S103, monitor message comprises the load of cpu, cpu idleness, memory usage, disk read and write speed and network interface card flow.
Further, in step S103, distributed data base mongodb adopts json form to preserve.
Further, arrange finger daemon guarprocess in step S103, setup times cycle detection process survival as required, if find collectmonitorapi process dies, guarprocess can start collectmonitorapi process.
Further, in step S102 simultaneously in windows, balloon is installed and drives.
After adopting said method, a kind of method for supervising based on cloud management platform of the present invention, only need can complete collection to virtual machine monitoring information by calling libvirtapi, and then reach the object of monitoring, without the need to adding agency in virtual machine, greatly reduce the workload of managerial personnel, easy and simple to handle, improve reliability and the accuracy of supervisory system simultaneously.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 is the process flow diagram of the method for supervising that the present invention is based on cloud management platform.
Fig. 2 is the structural drawing of the method for supervising that the present invention is based on cloud management platform.
Fig. 3 is libvirt management framework figure in the method for supervising that the present invention is based on cloud management platform.
Embodiment
As shown in Figure 1, the method for supervising based on cloud management platform of the present invention, comprises the following steps,
Step S101: virtual setting, enables physical machine bios, opens the virtual support of cpu, in physical machine, installs virtualization software, realizes the establishment of virtual machine, startup, closedown management function.
Step S102: management tool is installed, installs libvirt management tool, realizes local management and telemanagement.Wherein, connected mode is as follows:
Local connection: qemu: ///system
Long-range connection: qemu+tcp: ///system.
As shown in Figure 3, as shown in the figure, libvirt managing virtual machines comprises qkvm, xen, hyper-v, esxi etc. to libvirt management framework.
Step S103: image data, as shown in Figure 2, start libvirt, then collectmonitorapi is started, wherein api is some predefined functions, object is to provide application program and developer is able to the ability of access one group of routine based on certain software or hardware, and without the need to accessing source code, or understand the details of internal work mechanism.Mostly adopt at present and in virtual machine, add agency to complete this function.Acquisition time interval is set as required, the monitor message collected is saved in distributed data base mongodb.In step S103, monitor message comprises the load of cpu, cpu idleness, memory usage, disk read and write speed and network interface card flow.
Further, in order to the speed improving inquiry and insert, in step S103, distributed data base mongodb adopts json form to preserve.
Further, arrange finger daemon guarprocess in step S103, setup times cycle detection process survival as required, if find collectmonitorapi process dies, guarprocess can start collectmonitorapi process.
Further, inaccurate for window monitor message, in step S102 simultaneously in windows, balloon is installed and drives, the memory information of acquisition windows that can be more accurate.
Although the foregoing describe the specific embodiment of the present invention; but those skilled in the art are to be understood that; these only illustrate; various changes or modifications can be made to present embodiment; and not deviating from principle and the essence of invention, protection scope of the present invention is only defined by the appended claims.
Claims (6)
1. based on a method for supervising for cloud management platform, it is characterized in that, comprise the following steps,
Step S101: virtual setting, enables physical machine bios, opens the virtual support of cpu, in physical machine, installs virtualization software, realize the establishment of virtual machine, starts, closes management function;
Step S102: management tool is installed, installs libvirt management tool, realizes local management and telemanagement;
Step S103: image data, starts libvirt, then starts collectmonitorapi, arrange acquisition time interval as required, the monitor message collected be saved in distributed data base mongodb.
2., according to the method for supervising based on cloud management platform according to claim 1, it is characterized in that:
In step S102, libvirt managing virtual machines comprises kvm, xen, hyper-v, esxi.
3., according to the method for supervising based on cloud management platform according to claim 1, it is characterized in that:
In step S103, monitor message comprises the load of cpu, cpu idleness, memory usage, disk read and write speed and network interface card flow.
4., according to the method for supervising based on cloud management platform according to claim 1, it is characterized in that:
In step S103, distributed data base mongodb adopts json form to preserve.
5., according to the method for supervising based on cloud management platform according to claim 1, it is characterized in that:
Arrange finger daemon guarprocess in step S103, setup times cycle detection process survival as required, if find collectmonitorapi process dies, guarprocess can start collectmonitorapi process.
6., according to the method for supervising based on cloud management platform according to claim 1, it is characterized in that:
In step S102 simultaneously in windows, balloon is installed and drives.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510703626.3A CN105354127A (en) | 2015-10-27 | 2015-10-27 | Cloud management platform based monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510703626.3A CN105354127A (en) | 2015-10-27 | 2015-10-27 | Cloud management platform based monitoring method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105354127A true CN105354127A (en) | 2016-02-24 |
Family
ID=55330101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510703626.3A Pending CN105354127A (en) | 2015-10-27 | 2015-10-27 | Cloud management platform based monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105354127A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656844A (en) * | 2017-09-14 | 2018-02-02 | 深圳市华云中盛科技有限公司 | The method and its system of virtual machine internal monitoring are realized based on virtualization serial ports passage |
CN109117341A (en) * | 2018-08-14 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of monitoring method of virtual machine, device, equipment and medium |
CN110175451A (en) * | 2019-04-23 | 2019-08-27 | 国家电网公司华东分部 | A kind of method for safety monitoring and system based on electric power cloud |
CN110502521A (en) * | 2019-08-28 | 2019-11-26 | 上海寰创通信科技股份有限公司 | A kind of method for building up of file store |
CN112214382A (en) * | 2016-12-16 | 2021-01-12 | 华为技术有限公司 | Alarm method and device |
CN112612571A (en) * | 2020-12-15 | 2021-04-06 | 中国建设银行股份有限公司 | Data acquisition method, system, equipment and storage medium for physical machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520881A (en) * | 2011-12-02 | 2012-06-27 | 中标软件有限公司 | Virtual machine snapshot management method and system of cloud computing platform |
CN102801636A (en) * | 2012-09-05 | 2012-11-28 | 成都国腾实业集团有限公司 | Method for limiting bandwidth of cloud hosting network of cloud computing platform |
CN103414579A (en) * | 2013-07-24 | 2013-11-27 | 广东电子工业研究院有限公司 | Cross-platform monitoring system applicable to cloud computing and monitoring method thereof |
CN104111862A (en) * | 2014-07-17 | 2014-10-22 | 湖南昇云科技有限公司 | Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform |
CN104657250A (en) * | 2014-12-16 | 2015-05-27 | 无锡华云数据技术服务有限公司 | Monitoring method for monitoring performance of cloud host |
-
2015
- 2015-10-27 CN CN201510703626.3A patent/CN105354127A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520881A (en) * | 2011-12-02 | 2012-06-27 | 中标软件有限公司 | Virtual machine snapshot management method and system of cloud computing platform |
CN102801636A (en) * | 2012-09-05 | 2012-11-28 | 成都国腾实业集团有限公司 | Method for limiting bandwidth of cloud hosting network of cloud computing platform |
CN103414579A (en) * | 2013-07-24 | 2013-11-27 | 广东电子工业研究院有限公司 | Cross-platform monitoring system applicable to cloud computing and monitoring method thereof |
CN104111862A (en) * | 2014-07-17 | 2014-10-22 | 湖南昇云科技有限公司 | Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform |
CN104657250A (en) * | 2014-12-16 | 2015-05-27 | 无锡华云数据技术服务有限公司 | Monitoring method for monitoring performance of cloud host |
Non-Patent Citations (2)
Title |
---|
孙福全: "云环境中用量信息采集系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
蔡柳青: "基于MongoDB的云监控设计与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214382A (en) * | 2016-12-16 | 2021-01-12 | 华为技术有限公司 | Alarm method and device |
CN107656844A (en) * | 2017-09-14 | 2018-02-02 | 深圳市华云中盛科技有限公司 | The method and its system of virtual machine internal monitoring are realized based on virtualization serial ports passage |
CN109117341A (en) * | 2018-08-14 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of monitoring method of virtual machine, device, equipment and medium |
CN110175451A (en) * | 2019-04-23 | 2019-08-27 | 国家电网公司华东分部 | A kind of method for safety monitoring and system based on electric power cloud |
CN110502521A (en) * | 2019-08-28 | 2019-11-26 | 上海寰创通信科技股份有限公司 | A kind of method for building up of file store |
CN110502521B (en) * | 2019-08-28 | 2023-05-09 | 上海寰创通信科技股份有限公司 | Method for establishing archive |
CN112612571A (en) * | 2020-12-15 | 2021-04-06 | 中国建设银行股份有限公司 | Data acquisition method, system, equipment and storage medium for physical machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105354127A (en) | Cloud management platform based monitoring method | |
CN109992350B (en) | Migration method and device for virtual machines in resource pool of cloud computing system | |
EP2348448A1 (en) | Method and device for managing security events | |
CN104360878B (en) | A kind of method and device of application software deployment | |
CN104079434A (en) | Device and method for managing physical devices in cloud computing system | |
CN104076903A (en) | Postponing suspend | |
US20070234357A1 (en) | Method, apparatus and system for processor frequency governers to comprehend virtualized platforms | |
US11775407B2 (en) | Diagnosing and mitigating memory leak in computing nodes | |
WO2020232871A1 (en) | Method and device for microservice dependency analysis | |
CN103744727A (en) | Service starting method, device and intelligent equipment | |
CN109062699A (en) | A kind of resource monitoring method, device, server and storage medium | |
CN112306802A (en) | Data acquisition method, device, medium and electronic equipment of system | |
CN103473115A (en) | Virtual machine placing method and device | |
WO2015062217A1 (en) | Connection processing method and device for peripheral in virtual desktop system | |
CN111767199A (en) | Resource management method, device, equipment and system based on batch processing operation | |
US10255127B2 (en) | Optimized diagnostic data collection driven by a ticketing system | |
CN102629231B (en) | A kind of method of Detection task storehouse | |
CN107003828B (en) | Instrumentization of graphics instructions | |
CN103488538A (en) | Application extension device and application extension method in cloud computing system | |
CN103440146A (en) | BIOS updating method based on cloud storage | |
CN106886477B (en) | Method and device for setting monitoring threshold in cloud system | |
CN107368351B (en) | Automatic upgrading and capacity expanding method and device for virtual machine configuration | |
CN115471215B (en) | Business process processing method and device | |
CN110033242B (en) | Working time determining method, device, equipment and medium | |
CN112737835A (en) | Cloud host business management method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160224 |
|
RJ01 | Rejection of invention patent application after publication |