CN108337315B - Dispositions method, device, computer equipment and the storage medium of monitoring system - Google Patents

Dispositions method, device, computer equipment and the storage medium of monitoring system Download PDF

Info

Publication number
CN108337315B
CN108337315B CN201810125003.6A CN201810125003A CN108337315B CN 108337315 B CN108337315 B CN 108337315B CN 201810125003 A CN201810125003 A CN 201810125003A CN 108337315 B CN108337315 B CN 108337315B
Authority
CN
China
Prior art keywords
deployment
assembly module
monitoring system
center
assembly
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
CN201810125003.6A
Other languages
Chinese (zh)
Other versions
CN108337315A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810125003.6A priority Critical patent/CN108337315B/en
Priority to PCT/CN2018/084529 priority patent/WO2019153524A1/en
Publication of CN108337315A publication Critical patent/CN108337315A/en
Application granted granted Critical
Publication of CN108337315B publication Critical patent/CN108337315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the present application discloses dispositions method, device, computer equipment and the storage medium of a kind of monitoring system, wherein this method comprises: the corresponding module information of assembly module of monitoring system is obtained, wherein the monitoring system includes multiple assembly modules;Multiple assembly modules are divided by center element group and non-central component group according to default division rule based on the module information;Default deployment region is obtained, wherein the default deployment region includes center deployment region and non-central deployment region;The assembly module for belonging to the non-central component group is deployed in the center deployment region and non-central deployment region according to default deployment rule;And the assembly module for belonging to the center element group is deployed in the center deployment region to complete the deployment to the monitoring system.Be conducive to the distributed storage of data by the monitoring system that the dispositions method is disposed, therefore the method increase the high availability of monitoring system.

Description

Dispositions method, device, computer equipment and the storage medium of monitoring system
Technical field
This application involves field of computer technology more particularly to a kind of dispositions method of monitoring system, device, computer to set Standby and storage medium.
Background technique
Currently, there is the monitoring system of many O&Ms in the market, such as Zabbix monitoring system and Open-falcon prison Control system.The assembly module quantity of these monitoring systems is more, generally comprises a assembly module nearly more than 30.Disposing these prisons It when control system, needs to guarantee the high availability of each assembly module, just can ensure that the operational efficiency and monitoring of entire monitoring system Quality.However in the deployment way of existing monitoring system, some management tools are mostly used to carry out the monitoring system simple It efficiently disposes, such as Ansible tool etc., but this simple deployment way reduces the system availability of monitoring system And monitoring efficiency, O&M complexity is improved, is not able to satisfy demand of the client to monitoring system.
Summary of the invention
This application provides a kind of dispositions method of monitoring system, device, computer equipment and storage mediums, it is intended to improve The availability of monitoring system.
In a first aspect, this application provides a kind of dispositions methods of monitoring system comprising:
The corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring system includes multiple assembly moulds Block;
Based on the module information according to default division rule by multiple assembly modules be divided into center element group and Non-central component group;
Default deployment region is obtained, wherein the default deployment region includes center deployment region and non-central deployment area Domain;
The assembly module for belonging to the non-central component group is deployed in center deployment area according to default deployment rule Domain and non-central deployment region;And
The assembly module for belonging to the center element group is deployed in the center deployment region to complete to the monitoring The deployment of system.
Second aspect, this application provides a kind of deployment devices of monitoring system comprising:
Information acquisition unit, the corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring is System includes multiple assembly modules;
Component clustering unit, for being drawn multiple assembly modules according to default division rule based on the module information It is divided into center element group and non-central component group;
Area acquisition unit, for obtaining default deployment region, wherein the default deployment region includes center deployment area Domain and non-central deployment region;
First deployment unit, for the assembly module of the non-central component group will to be belonged to according to default deployment rule deployment In the center deployment region and non-central deployment region;And
Second deployment unit, for the assembly module for belonging to the center element group to be deployed in the center deployment region To complete the deployment to the monitoring system.
The third aspect, present invention also provides a kind of computer equipments comprising memory, processor and is stored in described On memory and the computer program that can run on the processor, the processor realize the application when executing described program The dispositions method of the described in any item monitoring systems provided.
Fourth aspect, present invention also provides a kind of storage mediums, wherein the storage medium is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute the application when being executed by a processor The dispositions method of the described in any item monitoring systems provided.
The dispositions method of the embodiment of the present application divides assembly module according to the module information of the assembly module of monitoring system For center component group and non-central component group, the assembly module of the non-central component group will be belonged to according to default deployment regular portion Administration is in the center deployment region and non-central deployment region;And the assembly module for belonging to the center element group is deployed in The center deployment region is to complete the deployment to the monitoring system.The deployment at three ground, two center may be implemented in the dispositions method Mode, this deployment way are conducive to the distributed storage of data, and then improve the availability of monitoring system.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of the dispositions method for monitoring system that one embodiment of the application provides;
Fig. 2 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 3 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 4 is the deployment effect diagram of the monitoring system;
Fig. 5 is a kind of schematic block diagram of the deployment device for monitoring system that one embodiment of the application provides;
Fig. 6 is a kind of schematic block diagram for computer equipment that one embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, Fig. 1 is a kind of exemplary flow of the dispositions method for monitoring system that one embodiment of the application provides Figure.As shown in Figure 1, the dispositions method includes step S101~S106.
S101, the corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring system includes multiple groups Part module.
In the present embodiment, which is that the monitoring system of secondary development is carried out based on Open-falcon monitoring system System, which includes multiple assembly modules, and each assembly module completes different functions, such as Agent assembly module, is born Duty acquisition machine performance data;Transfer assembly module is responsible for data forwarding service etc., and different assembly modules have different function It can and complete different tasks.
Wherein, the module information includes the identification information of assembly module, assembly function information and api interface information etc..
S102, multiple assembly modules are divided into according to default division rule by center element based on the module information Group and non-central component group.
In the present embodiment, all components module is drawn according to the module information of the assembly module of the monitoring system Point, it is specifically divided into center element group and non-central component group, for example belong to the assembly module of the center element group and include The assembly modules such as config-server, redis, mysql, alarm, sender, pa-portal and query-proxy;Belong to The assembly module of the non-central component group include transfer, graph, hbs, query, config-proxy, meta and The assembly modules such as gitlab.The division of the center element group and non-central component group is convenient to deposit monitoring data progress distribution Storage, to improve the availability of monitoring system.
In the present embodiment, multiple assembly modules are divided into according to default division rule based on the module information Center element group and non-central component group, specifically according to the assembly function information and api interface information in the module information The assembly module is divided.
In an embodiment, such as in the present embodiment, as shown in Fig. 2, step S102 includes sub-step: S102a to S102d.
S102a, judge whether the assembly module needs centrally stored information, Yi Jigen according to the assembly function information Judge whether the assembly module needs to expose unified api interface according to the api interface information;If S102b, the assembly mould Block needs centrally stored information, then the assembly module is divided into the center element group;If S102c, the assembly module It needs to expose unified api interface, then the assembly module is divided into the center element group;And if S102d, described group Part module does not need centrally stored information and does not need to expose unified api interface, then is divided into the assembly module described Non-central component group.
For example, alarm assembly module and redis assembly module are required to centralized management alarm data, it is therefore desirable to concentrate Store information;Mysql assembly module is used to centrally stored configuration data, it is also desirable to centrally stored information;Therefore, the alarm Assembly module, redis assembly module and mysql assembly module belong to the center element group.Web assembly module needs to provide Page access and API Access, therefore to expose unified api interface;Query-proxy assembly module need unified entrance for Query performance data, therefore also to expose unified api interface;So web assembly module and query-proxy assembly module Belong to the center element group.
For another example, the transfer assembly module of process performance data forwarding filtering, the graph group that performance data is stored Part module alerts the judge assembly module of judgement, is responsible for the query assembly module of the performance data inquiry in the region, Yi Jiti For the meta assembly module that agent version issues, these assembly modules are substantially distributed deployment, each region individual tubes Reason, therefore centrally stored information had not both been needed, it does not need to expose unified api interface yet, so transfer, graph, The assembly modules such as judge, query and meta belong to the non-central component group.
S103, default deployment region is obtained, wherein the default deployment region includes center deployment region and non-central portion Affix one's name to region.
Wherein, which is the region that user needs to dispose the monitoring system, and setting takes on the area Monitoring system, is deployed in the server in the region by business device, realizes the monitoring to other internet products.The default deployment area Domain is specifically as follows national several areas in one, several cities city etc. or company's difference Office.
In the present embodiment, which includes center deployment region and non-central deployment region, wherein in this Heart deployment region includes Shenzhen and Shanghai, which can be the areas such as Guangzhou, Langfang or Qingdao.It needs to illustrate , which can also be used as non-central deployment region, for example, as shown in figure 4, Shenzhen, Shanghai and Langfang are It is non-center deployment region and center deployment region, thus for three, two centers, specific three ground refer to the default deployment region Shenzhen, Shanghai and Langfang, two centers refer to Shenzhen and Shanghai.
S104, the assembly module for belonging to the non-central component group is deployed in the central part according to default deployment rule Affix one's name to region and non-central deployment region.
In the present embodiment, which is according to the multiple assembly modules belonged in the non-central component group Function predetermined deployment rule, purpose to belong to the deployment logic of the assembly module of non-central component group more Rationally, function division is more clear.
Specifically, the assembly module for belonging to the non-central component group is deployed in the center according to default deployment rule Deployment region and non-central deployment region are will to belong to the assembly module of the non-central component group according to logic of propositions subregion portion Administration is in the center deployment region and non-central deployment region.
In the present embodiment, the logic of propositions subregion specifically includes: available area, common service area and Yun Guanqu.Such as Fig. 3 Shown, step S104 includes: sub-step S104a and S104b.
S104a, preset relation table is obtained, wherein the preset relation table includes the component for belonging to the non-central component group The corresponding relationship of module and the available area, common service area and cloud area under control;S104b, will be belonged to according to the preset relation table The assembly module of the non-central component group, which respectively corresponds, is deployed in the available area, common service area and Yun Guanqu.
Specifically, which uses three-tier architecture, is divided into available area, common service area and cloud pipe from below to up Area.It is disposed according to the function of assembly module, the assembly module with different function is deployed in different zones.It can be by default The assembly module that relation table setting belongs to the non-central component group is corresponding with the available area, common service area and cloud area under control The different assembly modules for belonging to the non-central component group can be respectively corresponded portion according to the corresponding relationship in deployment by relationship Administration is in the available area, common service area and Yun Guanqu.
For example, the corresponding assembly module that host information is acquired and reported is deployed in available area, such as: agent module Component acts on behalf of forwarding capability and is deployed in common service area;Gateway assembly module and proxy assembly module are process performance number According to, alarm data or issues instruction and be deployed in cloud area under control;Transfer, judge, graph, redis, mysql and alarm etc. Assembly module is also deployed in cloud area under control.The assembly module for belonging to the non-central component group is deployed according to logic of propositions subregion The center deployment region and non-central deployment region, so that the function division of monitoring system is more clear;Also have simultaneously more Good safety.
Specifically, the deploying cloud host computer of user provides infrastructure service in available area, common service area for the available area, such as supervises Control, deployment, yum (installation software service), ntp (time synchronization service) and dns (domain name resolution service) etc..Cloud is disposed in cloud area under control The central node systematic difference of platform.Therefore and user has directly interactive platform service to be placed on the public clothes close to available area Be engaged in area, and the kernel service of cloud platform itself is placed on cloud area under control, and thus security isolation is more preferable, one logic of intermediate more increases The host of separation layer, user cannot directly and the core system of cloud platform does interaction, therefore facilitates the peace of increase system in this way Quan Xing, such core system are not readily susceptible to direct attack and unauthorized access from user area.
It should be noted that can be according to above-mentioned dispositions method by container cluster management system in specific deployment (Kubernetes, abbreviation K8s) disposes the assembly module of the non-central component group of the monitoring system, naturally it is also possible to It is disposed using other management systems, such as Ansible management system.
S105, the assembly module for belonging to the center element group is deployed in the center deployment region to complete to described The deployment of monitoring system.
It in the present embodiment, is that the multiple assembly modules for belonging to the center element group are deployed in center deployment region, For example dispose Shenzhen Central District and Shanghai center.The container cluster management system (Kubernetes, letter specifically can also be used Claim K8s) it is disposed.
Referring to figure 4., Fig. 4 is the deployment effect signal using the monitoring system of the dispositions method deployment in the present embodiment Figure.Non-central deployment region and center deployment region include cloud area under control, common service area and available area, the logic point in Fig. 4 Area is used to dispose the assembly module for belonging to non-central component group, and center deployment region, which is also used to dispose, in Fig. 4 belongs to center element The assembly module of group, the assembly module for belonging to center element group are not disposed by the way of logical partition.
In the present embodiment, the default deployment region includes two center deployment regions and at least one non-central deployment Region, two center deployment regions are respectively creation data center and area, disaster-tolerant backup data center.As shown in figure 4, specific Data center and the non-central deployment region such as Shanghai area, disaster-tolerant backup data center and Shenzhen, Shanghai and Langfang are generated for Shenzhen.Belong to Logical partition is all made of in Shenzhen, Shanghai and Langfang in the assembly module of non-central component group to be disposed, and center is belonged to The assembly module of component group is only deployed at Shenzhen and generates data center and Shanghai area, disaster-tolerant backup data center.
Assembly module is divided by the dispositions method of above-described embodiment according to the module information of the assembly module of monitoring system Center element group and non-central component group, then the assembly module of the non-central component group will be belonged to according to default deployment regular portion Administration is in the center deployment region and non-central deployment region;And the assembly module for belonging to the center element group is deployed in The center deployment region is to complete the deployment to the monitoring system.The deployment at three ground, two center may be implemented in the dispositions method Mode, this deployment way are conducive to the distributed storage of data, and improve the high availability of monitoring system.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram of the deployment device of monitoring system provided by the embodiments of the present application. The deployment device 400 of the monitoring system can be installed in server.As shown in figure 5, the deployment device 400 of monitoring system wraps It includes: information acquisition unit 401, component clustering unit 402, area acquisition unit 403, the first deployment unit 404 and the second deployment Unit 405.
Information acquisition unit 401, the corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring System includes multiple assembly modules.
Component clustering unit 402, for based on the module information according to default division rule by multiple assembly moulds Block is divided into center element group and non-central component group.
Specifically, component clustering unit 402, comprising: component judgment sub-unit 4021, first divides subelement 4022, the Two divide subelement 4023 and third division subelement 4024.
Wherein, component judgment sub-unit 4021, for whether judging the assembly module according to the assembly function information Centrally stored information is needed, and judges whether the assembly module needs to expose unified API according to the api interface information Interface;First divides subelement 4022, if needing centrally stored information for the assembly module, the assembly module is drawn It is divided into the center element group;Second divides subelement 4023, connects if needing to expose unified API for the assembly module Mouthful, then the assembly module is divided into the center element group;And third divides subelement 4024, if being used for the component Module does not need centrally stored information and does not need to expose unified api interface, then is divided into the assembly module described non- Center element group.
Area acquisition unit 403, for obtaining default deployment region, wherein the default deployment region includes center deployment Region and non-central deployment region.
First deployment unit 404, for the assembly module of the non-central component group will to be belonged to according to default deployment rule It is deployed in the center deployment region and non-central deployment region.
Wherein, the first deployment unit 404, specifically for the assembly module of the non-central component group will be belonged to according to default Logical partition is deployed in the center deployment region and non-central deployment region.
Specifically, the first deployment unit 404, comprising: relation table obtains subelement 4041 and deployment of components subelement 4042. Wherein, relation table obtains subelement 4041, for obtaining preset relation table, wherein the preset relation table is described non-including belonging to The corresponding relationship of the assembly module of center element group and the available area, common service area and cloud area under control;Deployment of components subelement 4042, for the assembly module for belonging to the non-central component group is respectively corresponded according to the preset relation table be deployed in it is described Available area, common service area and Yun Guanqu.
Second deployment unit 405 is disposed for the assembly module for belonging to the center element group to be deployed in the center Region is to complete the deployment to the monitoring system.
It is apparent to those skilled in the art that for convenience of description and succinctly, the prison of foregoing description The specific work process of the deployment device and unit of control system, can refer to corresponding processes in the foregoing method embodiment, herein It repeats no more.
In several embodiments provided herein, it should be understood that the deployment device of disclosed monitoring system and Method may be implemented in other ways.For example, the deployment Installation practice of monitoring system described above is only to show Meaning property.For example, the division of each unit, only a kind of logical function partition, can there is other division in actual implementation Mode.Such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, or It does not execute.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in FIG. 6 It calculates and is run on machine equipment.
Referring to Fig. 6, Fig. 6 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer 700 equipment of equipment can be server.
Referring to Fig. 6, which includes processor 720, memory and the net connected by system bus 710 Network interface 750, wherein memory may include non-volatile memory medium 730 and built-in storage 740.
The non-volatile memory medium 730 can storage program area 731 and computer program 732.The computer program 732 It is performed, processor 720 may make to execute a kind of dispositions method of monitoring system.
The processor 720 supports the operation of entire computer equipment 700 for providing calculating and control ability.
The built-in storage 740 provides environment for the operation of the computer program in non-volatile memory medium, the computer When program is executed by processor 720, processor 720 may make to execute a kind of dispositions method of monitoring system.
The network interface 750 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage Solution, structure shown in Fig. 6, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side The restriction for the computer equipment 700 that case is applied thereon, specific computer equipment 700 may include more than as shown in the figure Or less component, perhaps combine certain components or with different component layouts.
Wherein, the processor 720 is for running program code stored in memory, to realize following steps:
The corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring system includes multiple assembly moulds Block;
Based on the module information according to default division rule by multiple assembly modules be divided into center element group and Non-central component group;
Default deployment region is obtained, wherein the default deployment region includes center deployment region and non-central deployment area Domain;
The assembly module for belonging to the non-central component group is deployed in center deployment area according to default deployment rule Domain and non-central deployment region;And
The assembly module for belonging to the center element group is deployed in the center deployment region to complete to the monitoring The deployment of system.
In one embodiment, processor 720 execute it is described will belong to the assembly module of the non-central component group according to When default deployment rule is deployed in the center deployment region and non-central deployment region, following steps are specifically executed:
The assembly module for belonging to the non-central component group is deployed in center deployment area according to logic of propositions subregion Domain and non-central deployment region.
In one embodiment, the logic of propositions subregion specifically includes: available area, common service area and Yun Guanqu, processing The assembly module for belonging to the non-central component group described is deployed in the center according to logic of propositions subregion executing by device 720 When deployment region and non-central deployment region, following steps are specifically executed:
Obtain preset relation table, wherein the preset relation table include belong to the assembly module of the non-central component group with The corresponding relationship of the available area, common service area and cloud area under control;And
The assembly module for belonging to the non-central component group respectively corresponded according to the preset relation table be deployed in it is described Available area, common service area and Yun Guanqu.
In one embodiment, the module information includes assembly function information and api interface information, and processor 720 is being held Row is described to be divided into center element group and non-for multiple assembly modules according to default division rule based on the module information When center element group, following steps are specifically executed:
Judge whether the assembly module needs centrally stored information according to the assembly function information, and according to described Api interface information judges whether the assembly module needs to expose unified api interface;
If the assembly module needs centrally stored information, the assembly module is divided into the center element group;
If the assembly module needs to expose unified api interface, the assembly module is divided into the central set Part group;And
If the assembly module does not need centrally stored information and does not need to expose unified api interface, by described group Part module is divided into the non-central component group.
It should be appreciated that in the embodiment of the present application, processor 720 can be central processing unit (Central ProcessingUnit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or The processor is also possible to any conventional processor etc..
It will be understood by those skilled in the art that 700 structure of computer equipment shown in Fig. 6 is not constituted and is set to computer Standby 700 restriction may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, be Relevant hardware can be instructed to complete by computer program, program can be stored in a storage medium, the storage medium For computer readable storage medium.In the embodiment of the present invention, which be can be stored in the storage medium of computer system, and It is executed by least one processor in the computer system, to realize including that the process of the embodiment of above-mentioned each method such as walks Suddenly.
The computer readable storage medium can be magnetic disk, CD, USB flash disk, mobile hard disk, random access memory The various media that can store program code such as (RandomAccess Memory, RAM), magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the embodiment of the present application device can be combined, divided and deleted according to actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, terminal or the network equipment etc.) execute each embodiment the method for the application whole or Part steps.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with right It is required that protection scope subject to.

Claims (9)

1. a kind of dispositions method of monitoring system characterized by comprising
The corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring system includes multiple assembly modules;
Based on the module information according to default division rule by multiple assembly modules be divided into center element group and it is non-in Heart component group;
Default deployment region is obtained, wherein the default deployment region includes center deployment region and non-central deployment region;
By the assembly module for belonging to the non-central component group according to default deployment rule be deployed in the center deployment region and Non-central deployment region;And
The assembly module for belonging to the center element group is deployed in the center deployment region to complete to the monitoring system Deployment;
Wherein, the module information includes assembly function information and api interface information;
It is described based on the module information according to default division rule by multiple assembly modules be divided into center element group with Non-central component group, comprising:
Judge whether the assembly module needs centrally stored information according to the assembly function information, and according to the API Interface message judges whether the assembly module needs to expose unified api interface;
If the assembly module needs centrally stored information, the assembly module is divided into the center element group;
If the assembly module needs to expose unified api interface, the assembly module is divided into the center element group; And
If the assembly module does not need centrally stored information and does not need to expose unified api interface, by the assembly mould Block is divided into the non-central component group.
2. the dispositions method of monitoring system according to claim 1, which is characterized in that described to belong to described non-central group The assembly module of part group is deployed in the center deployment region and non-central deployment region according to default deployment rule, comprising:
By the assembly module for belonging to the non-central component group according to logic of propositions subregion be deployed in the center deployment region and Non-central deployment region.
3. the dispositions method of monitoring system according to claim 2, which is characterized in that the logic of propositions subregion specifically wraps It includes: available area, common service area and Yun Guanqu;
It is described by the assembly module for belonging to the non-central component group logically subregion be deployed in the center deployment region and Non-central deployment region, comprising:
Obtain preset relation table, wherein the preset relation table include belong to the assembly module of the non-central component group with it is described The corresponding relationship of available area, common service area and cloud area under control;And
Being respectively corresponded the assembly module for belonging to the non-central component group according to the preset relation table to be deployed in described can use Area, common service area and Yun Guanqu.
4. the dispositions method of monitoring system according to claim 1, which is characterized in that the default deployment region includes two A center deployment region and at least one non-central deployment region, two center deployment regions are respectively creation data center Area and area, disaster-tolerant backup data center.
5. a kind of deployment device of monitoring system characterized by comprising
Information acquisition unit, the corresponding module information of assembly module for obtaining monitoring system, wherein the monitoring system packet Include multiple assembly modules;
Component clustering unit, for being divided into multiple assembly modules according to default division rule based on the module information Center element group and non-central component group;
Area acquisition unit, for obtaining default deployment region, wherein the default deployment region include center deployment region and Non-central deployment region;
First deployment unit, for the assembly module for belonging to the non-central component group to be deployed in institute according to default deployment rule State center deployment region and non-central deployment region;And
Second deployment unit, for the assembly module for belonging to the center element group to be deployed in the center deployment region with complete The deployment of the pairs of monitoring system;
Wherein, the module information includes assembly function information and api interface information;
The component clustering unit includes:
Component judgment sub-unit, for judging whether the assembly module needs centrally stored letter according to the assembly function information Breath, and judge whether the assembly module needs to expose unified api interface according to the api interface information;
First divides subelement, if needing centrally stored information for the assembly module, the assembly module is divided into The center element group;
Second divides subelement, if needing to expose unified api interface for the assembly module, the assembly module is drawn It is divided into the center element group;And
Third divides subelement, if not needing centrally stored information for the assembly module and not needing to expose unified API The assembly module is then divided into the non-central component group by interface.
6. the deployment device of monitoring system according to claim 5, which is characterized in that the first deployment unit is specifically used for By the assembly module for belonging to the non-central component group according to logic of propositions subregion be deployed in the center deployment region and it is non-in Heart deployment region.
7. the deployment device of monitoring system according to claim 6, which is characterized in that the logic of propositions subregion specifically wraps It includes: available area, common service area and Yun Guanqu;
First deployment unit, comprising:
Relation table obtains subelement, for obtaining preset relation table, wherein the preset relation table is described non-central including belonging to The corresponding relationship of the assembly module of component group and the available area, common service area and cloud area under control;
Deployment of components subelement, for being distinguished the assembly module for belonging to the non-central component group according to the preset relation table Correspondence is deployed in the available area, common service area and Yun Guanqu.
8. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, the processor is realized when executing the computer program as in Claims 1-4 The dispositions method of described in any item monitoring systems.
9. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, and the computer program includes Program instruction, described program instruction execute the processor as described in claim any one of 1-4 Monitoring system dispositions method.
CN201810125003.6A 2018-02-07 2018-02-07 Dispositions method, device, computer equipment and the storage medium of monitoring system Active CN108337315B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810125003.6A CN108337315B (en) 2018-02-07 2018-02-07 Dispositions method, device, computer equipment and the storage medium of monitoring system
PCT/CN2018/084529 WO2019153524A1 (en) 2018-02-07 2018-04-26 Deployment method and apparatus for monitoring system, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810125003.6A CN108337315B (en) 2018-02-07 2018-02-07 Dispositions method, device, computer equipment and the storage medium of monitoring system

Publications (2)

Publication Number Publication Date
CN108337315A CN108337315A (en) 2018-07-27
CN108337315B true CN108337315B (en) 2019-10-08

Family

ID=62928340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810125003.6A Active CN108337315B (en) 2018-02-07 2018-02-07 Dispositions method, device, computer equipment and the storage medium of monitoring system

Country Status (2)

Country Link
CN (1) CN108337315B (en)
WO (1) WO2019153524A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451047B (en) * 2018-12-13 2021-05-18 深圳前海微众银行股份有限公司 Data transmission method, device, equipment and storage medium of monitoring alarm system
CN110012088B (en) * 2019-03-29 2022-05-24 浪潮云信息技术股份公司 Kubernets-based Redis master-slave cluster automatic deployment scheme
CN110413286B (en) * 2019-07-31 2023-08-22 创新先进技术有限公司 Application deployment method, device and equipment
CN113238928B (en) * 2021-04-23 2022-05-06 杭州电子科技大学 End cloud collaborative evaluation system for audio and video big data task
CN113596185A (en) * 2021-06-23 2021-11-02 阿里巴巴新加坡控股有限公司 Domain name resolution method, device, equipment and machine readable medium based on available area

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8301759B2 (en) * 2008-10-24 2012-10-30 Microsoft Corporation Monitoring agent programs in a distributed computing platform
CN102724057B (en) * 2012-02-23 2017-03-08 北京市计算中心 A kind of distributed levelization autonomous management method towards cloud computing platform
CN105739412B (en) * 2016-04-16 2018-06-15 淘电(佛山)物联网信息技术有限公司 Has the power scheduling device based on technology of Internet of things of remote monitoring function
CN105975378A (en) * 2016-05-11 2016-09-28 国网江苏省电力公司 Distributed layering autonomous monitoring and management system facing supercomputer

Also Published As

Publication number Publication date
CN108337315A (en) 2018-07-27
WO2019153524A1 (en) 2019-08-15

Similar Documents

Publication Publication Date Title
CN108337315B (en) Dispositions method, device, computer equipment and the storage medium of monitoring system
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
CN104715001B (en) The method and system of write operation is performed for the shared resource in the cluster to data handling system
CN104170323B (en) Fault handling method and device, system based on network function virtualization
CN110210696A (en) A kind of emergency communication Command Management System
CN104168333B (en) The working method of PROXZONE service platforms
CN103677967B (en) A kind of remote date transmission system of data base and method for scheduling task
CN104360878B (en) A kind of method and device of application software deployment
CN102135929B (en) Distributed fault-tolerant service system
CN107229520A (en) Data center operating system
CN108363653A (en) Dispositions method, device, computer equipment and the storage medium of monitoring system
EP2923271A2 (en) Scaling computing clusters
JP2017503421A (en) Network function virtualized NFV failure management apparatus, device, and method
CA2975242A1 (en) System, virtualization control apparatus, method for controlling a virtualization control apparatus, and program
CN109032837A (en) The method and apparatus of data backup
CN108616429A (en) A kind of reconnection method and equipment of Push Service
CN102968457B (en) Database method for switching between and system
CN102843259A (en) Middleware self-management hot backup method and middleware self-management hot backup system in cluster
CN106681861A (en) New environment isolation configuration data management method and system
CN109799998A (en) OpenStack cluster configuration and batch dispositions method and system
CN109600430A (en) A kind of data managing method, system and electronic equipment and storage medium
CN116760705B (en) Multi-tenant platform isolation management system and method based on comprehensive energy management system
CN109582459A (en) The method and device that the trustship process of application is migrated
US11099827B2 (en) Networking-device-based hyper-coverged infrastructure edge controller system
CN114448686B (en) Cross-network communication device and method based on micro-service

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