CN109710269A - A kind of list application discrete type clustered deploy(ment) device and method - Google Patents

A kind of list application discrete type clustered deploy(ment) device and method Download PDF

Info

Publication number
CN109710269A
CN109710269A CN201811041266.5A CN201811041266A CN109710269A CN 109710269 A CN109710269 A CN 109710269A CN 201811041266 A CN201811041266 A CN 201811041266A CN 109710269 A CN109710269 A CN 109710269A
Authority
CN
China
Prior art keywords
node
resource
physical
module
application
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
Application number
CN201811041266.5A
Other languages
Chinese (zh)
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.)
Tianyi Electronic Commerce Co Ltd
Original Assignee
Tianyi Electronic Commerce 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 Tianyi Electronic Commerce Co Ltd filed Critical Tianyi Electronic Commerce Co Ltd
Priority to CN201811041266.5A priority Critical patent/CN109710269A/en
Publication of CN109710269A publication Critical patent/CN109710269A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of list application discrete type clustered deploy(ment) device and method.The device includes tag control, detection calculating, resource allocation, counts this four modules of displaying;Tag control module is used under cloud environment, increases tag attributes other than the information such as basic hardware, resource for each physical resource;Computing module is detected, which is first responsible for detecting all physical machine nodes, and calculates remaining available resource according to different detection results;Source distribution module is used to distribute new dummy node to an application, and when there is new physical node to be added in cloud resource pond, which quickly utilizes the physical resource reasonable distribution dummy node to balance the service condition that entire cloud resource mediocre person manages node;Statistics display module can help to assess virtualization scale growth rate at present for showing the case where recent application distributes dummy node and trend;Show the current operating condition of detection computing module.While being distributed on identical physical node by the calculate node that the present apparatus and method can avoid same class from applying in the case where overall situation virtualization, physical node resource is made full use of.

Description

A kind of list application discrete type clustered deploy(ment) device and method
Technical field
The present invention relates to the transmission control unit and method of the digital information in large-scale cloud environment O&M field, especially one Kind is single to apply discrete type clustered deploy(ment) device and method.
Background technique
It establishes under the cloud environment of certain scale, automatic deployment and resilient expansion may be implemented in portion of techniques at present. Such as: Chinese invention ublic specification of application (patent application number: CN201310471865.1) discloses a kind of dialogue-based cloud Calculate Web application automatic elastic extended method under environment, comprising: a) deployment of Web application system;B) sentenced with resource quantity It is disconnected;C) increase resource quota quantity;D) obtains instantaneous session connection number;E) comparison of instantaneous session connection number;F) it calculates average Session connection number;G) comparison of average session connection number;H) judgement of surplus resources;I) increase Web Application Server;J) it applies The judgement of number of servers;K) Web Application Server is deleted.Web application automatic elastic extended method of the invention, by instantaneous Session connection number and average session connection number, it is more to session number in the Web application system and certain time interval of high concurrent or Less Web application system cluster carries out dynamic expansion and reduction operation, realizes dialogue-based Web application system dynamic and adjusts It is whole, improve the adaptability of Web application system.
But universal some problems existing for current this kind of technology, such as when an application needs while distributing multiple virtual sections When point, traditional method is to choose physical node directly from physical resource pool to carry out virtualization operations and distribute to application, This multiple dummy node that will lead to the application is all dispensed on the same physical node, if physical hardware is caused to be asked Entire cluster is unavailable when topic;In addition when selection physical node has been assigned with more virtual resource, load is also very high Reusing node distribution dummy node will lead to this physical node and disaster sexual abnormality occurs.Object corresponding to virtual machine nodes It is uncontrollable to manage node, in the uncontrollable situation such as physical node failure, it is integrally unavailable to will lead to application service.These problems exist Maintenance work amoun, work complexity is caused to reply while rising, the risk of entire O&M availability decline is got higher.
Summary of the invention
The purpose of the present invention is to provide a kind of list application discrete type clustered deploy(ment) device and method, mainly solve existing side Method chooses physical node directly from physical resource pool and carries out virtualization operations and distribute to application, this will lead to the more of the application A dummy node is all dispensed on the same physical node, if leading to physical hardware, entire cluster is unavailable when something goes wrong The technical issues of, and this is reused when selection physical node has been assigned with more virtual resource, load is also very high Node distribution dummy node will lead to this physical node and the technical issues of disaster sexual abnormality occurs;It can by the present apparatus and method While being distributed on identical physical node with the calculate node for avoiding same class from applying in the case where overall situation virtualization, fill Divide and utilizes physical node resource.
In order to solve the above technical problems, the present invention adopts the following technical scheme:
A kind of list application discrete type clustered deploy(ment) device, it is characterised in that: it includes tag control, detection calculating, resource Distribution, statistics show this four modules;Wherein:
1) it tag control module: is used under cloud environment, for each physical resource in addition to basic hardware, resource etc. Increase tag attributes outside information;Wherein: single label mainly includes two information, first be Apply Names, second be section Dotted state
2) detect computing module: the module is first responsible for detecting all physical machine nodes, and according to different Detection result calculates remaining available resource;
3) resource distribution module: for distributing new dummy node to an application, and working as has new physical node to be added In cloud resource pond, which quickly utilizes the physical resource reasonable distribution dummy node to balance entire cloud resource mediocre person and manages node Service condition;
4) it counts display module: for showing the case where recent application distributes dummy node and trend, can help to assess Virtualization scale growth rate at present;Show the current operating condition of detection computing module.
A kind of list application discrete type clustered deploy(ment) method, it is characterised in that: apply discrete type collection using list as described above Group's deployment is implemented, it includes the following steps:
A, using tag control module under cloud environment, for each physical resource in addition to basic hardware, resource etc. Increase tag attributes outside information;Wherein: single label mainly includes two information, first be Apply Names, second be section Dotted state
B, all physical machine nodes are detected using detection computing module, and is calculated according to different detection results Remaining available resource;
C, new dummy node is distributed to an application using resource distribution module, specifically there are following steps:
C1, first according to detection calculate as a result, statistics at present there are also surplus resources can be used for distribute physical node collection Close A;
C2, it is counted and is sorted for the quantity using label that physical node in set A includes, and choose label The physical node of minimum number is as a set B;
C3, selection has distributed resource a least physical node at present in set B, has distributed money if there is more The identical physical node in source then randomly chooses one.
The list application discrete type clustered deploy(ment) method, it is characterised in that: when there is new physical node that cloud resource is added Chi Zhong, the resource distribution module quickly can balance entire cloud resource mediocre person using the physical resource reasonable distribution dummy node and manage The service condition of node, specific steps include:
D1, the quantity that mean virtual node on each physical node is calculated according to detection calculated result;
The most physical node of D2, selection dummy node quantity, and the node of extra average is moved into new physics section Point in;It repeats the step and reaches average value until increasing the dummy node number on physical node newly.
By above structure, the present invention has the advantage that
After carrying out discrete type deployment to application using apparatus of the present invention and method, application is improved in the case where transporting environment O&M environment The utilization rate of physical resource can also be improved while availability.And for weight after physical node fault restoration in daily management The efficiency of the work such as new deployment dummy node has a distinct increment in terms of deployment level, very simply, for physical node and virtually Node is without invasive.
Detailed description of the invention
Fig. 1 is single module rack composition for applying discrete type clustered deploy(ment) device of the invention.
Fig. 2 is that list of the invention applies resource distribution module-Xin Jia in discrete type clustered deploy(ment) method to apply dummy node stream Cheng Tu.
Fig. 3 is of the invention single using resource distribution module-Xin Jia physical node flow chart in discrete type clustered deploy(ment) method.
Specific embodiment
Such as Fig. 1, a kind of list application discrete type clustered deploy(ment) device is completely real according to the associated description of technical solution at present Existing, the first stage has been applied to implement in the related deployment of sweet orange cloud application region.
The present apparatus mainly has tag control, detection calculating, resource allocation, statistics to show this four modules;
1) tag control module:
A) under cloud environment, label category is increased other than the information such as basic hardware, resource for each physical resource Property
B) single label mainly includes two information, first be Apply Names, second be node state
Tag ID Application ID Node state position
2) computing module is detected:
A) module is first responsible for detecting all physical machine nodes, and detection is largely divided into following components:
I. according to virtualization type selection detection mode, (present apparatus supports the vcenter controller of vmware, docker Swarm controller).
Ii. whether the configuring condition and record of detecting objects reason node, detection target have distributed the resource that uses at present With the consistent of record.
B) remaining available resource is calculated according to different detection results.
3) resource distribution module:
When a) distributing new dummy node to an application, mainly there are following steps, such as Fig. 2:
I. first according to detection calculate as a result, statistics at present there are also surplus resources can be used for distribute physical node set A。
Ii. it is directed to and the quantity using label that physical node in set A includes is counted and sorted, and choose label The physical node of minimum number is as a set B
Iii. selection has distributed resource a least physical node at present in set B, has distributed if there is more The identical physical node of resource then randomly chooses one.
B) when there is new physical node to be added in cloud resource pond, which quickly utilizes the physical resource reasonable distribution virtual The entire cloud resource mediocre person of node balance manages the service condition of node, such as Fig. 3:
I. the quantity of mean virtual node on each physical node is calculated according to detection calculated result
Ii. the most physical node of selection dummy node quantity, and the node of extra average is moved into new physics section Point in.It repeats the step and reaches average value until increasing the dummy node number on physical node newly.
4) display module is counted
A) the case where showing recent application distribution dummy node and trend can help to assess current virtualization scale growth Speed
B) the current operating condition of detection computing module is shown, for example whether there is resource usage record and actual detection knot The different exception of fruit
The above description of this invention and application be it is illustrative, be not wishing to limit the scope of the invention to above-mentioned implementation In example;Without departing from the scope and spirit of the present invention, can to embodiments disclosed herein carry out it is other deformation and Change.

Claims (3)

1. a kind of list application discrete type clustered deploy(ment) device, it is characterised in that: it includes tag control, detection calculates, resource is divided Match, count this four modules of displaying;Wherein:
1) it tag control module: is used under cloud environment, for each physical resource in addition to information such as basic hardware, resources Outer increase tag attributes;Wherein: single label mainly includes two information, first be Apply Names, second be node shape State
2) detect computing module: the module is first responsible for detecting all physical machine nodes, and according to different detections As a result remaining available resource is calculated;
3) it resource distribution module: for distributing new dummy node to an application, and is provided when there is new physical node that cloud is added In the pond of source, which quickly balances entire cloud resource mediocre person using the physical resource reasonable distribution dummy node and manages making for node Use situation;
4) it counts display module: for showing the case where recent application distributes dummy node and trend, can help to assess at present Virtualization scale growth rate;Show the current operating condition of detection computing module.
2. a kind of list application discrete type clustered deploy(ment) method, it is characterised in that: discrete using single application as described in claim 1 Formula clustered deploy(ment) is implemented, it includes the following steps:
A, using tag control module under cloud environment, for each physical resource in addition to information such as basic hardware, resources Outer increase tag attributes;Wherein: single label mainly includes two information, first be Apply Names, second be node shape State
B, all physical machine nodes are detected using detection computing module, and residue is calculated according to different detection results Available resources;
C, new dummy node is distributed to an application using resource distribution module, specifically there are following steps:
C1, first according to detection calculate as a result, statistics at present there are also surplus resources can be used for distribute physical node set A;
C2, it is counted and is sorted for the quantity using label that physical node in set A includes, and choose number of labels Least physical node is as a set B;
C3, selection has distributed resource a least physical node at present in set B, has distributed resource phase if there is more Same physical node then randomly chooses one.
3. list application discrete type clustered deploy(ment) method according to claim 2, it is characterised in that: when there is new physical node It is added in cloud resource pond, which quickly can balance entire cloud using the physical resource reasonable distribution dummy node and provide Source mediocre person manages the service condition of node, and specific steps include:
D1, the quantity that mean virtual node on each physical node is calculated according to detection calculated result;
The most physical node of D2, selection dummy node quantity, and the node of extra average is moved in new physics node; It repeats the step and reaches average value until increasing the dummy node number on physical node newly.
CN201811041266.5A 2018-09-07 2018-09-07 A kind of list application discrete type clustered deploy(ment) device and method Pending CN109710269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811041266.5A CN109710269A (en) 2018-09-07 2018-09-07 A kind of list application discrete type clustered deploy(ment) device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811041266.5A CN109710269A (en) 2018-09-07 2018-09-07 A kind of list application discrete type clustered deploy(ment) device and method

Publications (1)

Publication Number Publication Date
CN109710269A true CN109710269A (en) 2019-05-03

Family

ID=66253766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811041266.5A Pending CN109710269A (en) 2018-09-07 2018-09-07 A kind of list application discrete type clustered deploy(ment) device and method

Country Status (1)

Country Link
CN (1) CN109710269A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110018A (en) * 2010-12-23 2011-06-29 山东中创软件工程股份有限公司 Method and system for treating cloud application
CN102567080A (en) * 2012-01-04 2012-07-11 北京航空航天大学 Virtual machine position selection system facing load balance in cloud computation environment
AU2012276003A1 (en) * 2011-06-29 2013-12-05 Microsoft Technology Licensing, Llc Virtual machine migration tool
CN107562531A (en) * 2016-06-30 2018-01-09 华为技术有限公司 A kind of data balancing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176773B2 (en) * 2011-06-29 2015-11-03 Microsoft Technology Licensing, Llc Virtual machine migration tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110018A (en) * 2010-12-23 2011-06-29 山东中创软件工程股份有限公司 Method and system for treating cloud application
AU2012276003A1 (en) * 2011-06-29 2013-12-05 Microsoft Technology Licensing, Llc Virtual machine migration tool
CN102567080A (en) * 2012-01-04 2012-07-11 北京航空航天大学 Virtual machine position selection system facing load balance in cloud computation environment
CN107562531A (en) * 2016-06-30 2018-01-09 华为技术有限公司 A kind of data balancing method and device

Similar Documents

Publication Publication Date Title
CN109062658B (en) Scheduling method, device, medium, equipment and system for realizing computing resource servitization
CN103336722B (en) A kind of CPU resources of virtual machine monitoring and dynamic allocation method
CN105391797B (en) Cloud Server load-balancing method and device based on SDN
Rabbani et al. On achieving high survivability in virtualized data centers
CN107908479A (en) A kind of node resource distribution method and device
CN106133693B (en) Moving method, device and the equipment of virtual machine
CN105025095A (en) Cluster framework capable of realizing cloud computing flexible service
CN106453564A (en) Elastic cloud distributed massive request processing method, device and system
CN107025139A (en) A kind of high-performance calculation Scheduling Framework based on cloud computing
WO2020168356A3 (en) Systems and methods for cloud migration readiness
CN105404549B (en) Scheduling virtual machine system based on yarn framework
CN108900434A (en) Data collection distribution method and device
CN102724313A (en) Clustering bridge operation safety monitoring system based on cloud computation
CN109936593A (en) A kind of method and system of message distribution
CN110071965A (en) A kind of data center management system based on cloud platform
CN106598559A (en) Rapid deployment method and system of cloud platform
CN109471725A (en) Resource allocation methods, device and server
CN106385330A (en) Network function virtualization composer realization method and device
CN109657965A (en) A kind of service resource allocation method, device, storage medium and processor
CN104253859B (en) Centralized dispatching resource allocation load balancing apparatus and method
CN105553732A (en) Distributed network simulation method and system
CN109710269A (en) A kind of list application discrete type clustered deploy(ment) device and method
CN105653347B (en) A kind of server, method for managing resource and virtual machine manager
CN104778125B (en) A kind of EMS memory management process and system
CN107203256A (en) Energy-conservation distribution method and device under a kind of network function virtualization scene

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190503

RJ01 Rejection of invention patent application after publication