CN106254127B - The Automation arranging method of RabbitMQ cluster service based on virtual platform - Google Patents

The Automation arranging method of RabbitMQ cluster service based on virtual platform Download PDF

Info

Publication number
CN106254127B
CN106254127B CN201610706271.8A CN201610706271A CN106254127B CN 106254127 B CN106254127 B CN 106254127B CN 201610706271 A CN201610706271 A CN 201610706271A CN 106254127 B CN106254127 B CN 106254127B
Authority
CN
China
Prior art keywords
service
cluster
information
definition
instance
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
CN201610706271.8A
Other languages
Chinese (zh)
Other versions
CN106254127A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610706271.8A priority Critical patent/CN106254127B/en
Publication of CN106254127A publication Critical patent/CN106254127A/en
Application granted granted Critical
Publication of CN106254127B publication Critical patent/CN106254127B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation

Abstract

The Automation arranging method for the RabbitMQ cluster service based on virtual platform that the invention discloses a kind of, belong to cluster service field, the technical problem to be solved in the present invention is that the installation configuration flow of RabbitMQ cluster is relatively complex and time consuming, it is substantially all to need to be manually operated, and the maintenance of cluster needs to carry out based on each node, maintaining method is not only cumbersome, more error-prone, the technical solution of use are as follows: this method comprises the following steps: (1), making service installation kit;(2), definition service essential information: the essential information definition serviced in service management platform;(3), service profiles are defined;(4), Service Instance is installed;(5), Service Instance is safeguarded.

Description

The Automation arranging method of RabbitMQ cluster service based on virtual platform
Technical field
The present invention relates to cluster service field, specifically a kind of RabbitMQ cluster service based on virtual platform Automation arranging method.
Background technique
Traditional RabbitMQ cluster installation and deployment process is substantially are as follows: RabbitMQ is based on Erlang language development, first Erlang must be installed;RabbitMQ is installed, and opens RabbitMQ monitoring plug-in unit;RabbitMQ is configured, environment ginseng is such as carried out The plug-in unit list configuration of several configuration, permission, configuration of operating parameter etc.;Hosts is configured, the host name of each node With IP configuration in hosts, so as to be in communication with each other;Synchronous Erlang cookie data;Starter node and composition cluster; Addition strategy.Analyze above-mentioned process to can be found that: the installation configuration flow of RabbitMQ cluster is relatively complex and time consuming, base This whole needs to be manually operated, and the maintenance of cluster needs to carry out based on each node, and maintaining method is not only cumbersome, is easier to out It is wrong.So conventional deployment method is not appropriate for largely constructing cluster instance on virtual platform.
Summary of the invention
Technical assignment of the invention is to provide a kind of Automation of RabbitMQ cluster service based on virtual platform Arranging method is relatively complex and time consuming, the substantially all manual behaviour of needs to solve the installation configuration flow of RabbitMQ cluster Make, and the maintenance of cluster needs to carry out based on each node, maintaining method is not only cumbersome, more error-prone problem.
Technical assignment of the invention realizes in the following manner, the RabbitMQ cluster service based on virtual platform Automation arranging method, this method comprises the following steps:
(1), production service installation kit: the installation kit of RabbitMQ cluster service mainly includes using or relying in service The correlation that the installation file of component and these components are installed, initialize, start, stop, restarting, update, stretch and monitored The configuration file of script and component;During definition services installation kit, carried out using shell, freemarker language a Propertyization processing;
(2), definition service essential information: the essential information definition serviced in service management platform;
(3), service profiles are defined: to the letter of the configuration of the size of service cluster, the role of cluster interior joint and node Breath is defined, and user creates corresponding cluster virtual machine by template of specification when applying for Service Instance;It is fixed to same service Adopted plurality of specifications is for meeting different the needs of being served by under scene;
(4), Service Instance is installed: user carries out the installation of Service Instance in service management platform;Create example when pair Service profiles and access network are selected;It is deleted at any time during creation;After Service Instance starting, user's selection It is started or stoped or it is managed;
(5), Service Instance is safeguarded: user largely safeguards Service Instance in service management platform.
Preferably, definition service essential information includes the following steps: in service management platform in the step (2)
1., creation RabbitMQ definition, mainly the service installation kit made is uploaded;
2., details configuration, including configuration component information, monitoring information and warning information are carried out to service definition;
3., after the completion of configuration, the registration of the mirror image that is serviced;
4., information on services publication, after information on services is issued successfully, the basic function of service be can be used;
More preferably, if the step 4. in service installation kit information change, again upload.
Preferably, the step (3) if in configure service essential information need to change, issued state is switched to call together The state of returning, then is edited, after modification, issuing service information again.
Preferably, in the step (5) user to Service Instance maintenance include online modification cluster service profiles, From basic cluster be upgraded to medium cluster, online modification virtual machine instance configuration information, check that the monitoring of virtual machine instance refers to It marks, check the alarm status of virtual machine and its state is analyzed, is handled.
More preferably, the monitor control index of the virtual machine instance includes that the residual memory space of disk, memory can be used The upper limit and the analysis and modification that reason is carried out to the error message of index.
The Automation arranging method of RabbitMQ cluster service based on virtual platform of the invention has the advantage that
1, it is real to pass through production service installation kit, definition service essential information, definition service profiles, creation virtual machine by the present invention Example is safeguarded example to realize to the automatically dispose and maintenance of cluster service, and the automatic of RabbitMQ cluster is realized Change deployment and maintenance, and can achieve and cluster is once configured, nonexpondable purpose;Pass through production service installation Packet, definition service mount message so that service basic function be able to using;By defining service profiles, keep it further full The demand of sufficient different application scene;User can be convenient and quickly create a variety of virtualization services examples, and have to it The maintenance of effect, maintenance process is not only easy to operate, and error probability it is relatively traditional maintaining method it is much smaller;
2, the present invention is realized by three story frame structures for defining information on services, defining service profiles and instance management The automatically dispose and maintenance of RabbitMQ cluster service;By configuring virtual machine specification and carrying out the definition of node group information, So that plurality of specifications meets the needs of under different application scene;The virtual machine instance of plurality of specifications is created by automation, and right Example carries out the maintenance of easy, easy-operating monitoring, alarm, specification upgrading etc.;
3, the example virtual of deployment automation, the creation of service cluster, user are realized the present invention is based on virtual platform Without the installation configuration surroundings of manually dispose cluster, the Service Instance of a variety of different cluster specifications can be created, and at any time Example is safeguarded, maintaining method is simple and not easy to make mistakes, can be simultaneously reached and is once configured, is used for multiple times to cluster Purpose and account management, configuration, monitoring, the maintenance functions such as alarm can be provided example.
The present invention has the characteristics that design is reasonable, structure is simple, easy to use, multi-purpose content, thus, have and pushes away well Wide use value.
Detailed description of the invention
The following further describes the present invention with reference to the drawings.
Attached drawing 1 is the overall architecture frame of the Automation arranging method of the RabbitMQ cluster service based on virtual platform Figure.
Specific embodiment
Referring to Figure of description and specific embodiment to the RABBITMQ cluster service of the invention based on virtual platform Automation arranging method be described in detail below.
Embodiment:
As shown in Fig. 1, the Automation arranging method of the RabbitMQ cluster service of the invention based on virtual platform, This method comprises the following steps:
(1), production service installation kit: the installation kit of RabbitMQ cluster service mainly includes using or relying in service The correlation that the installation file of component and these components are installed, initialize, start, stop, restarting, update, stretch and monitored The configuration file of script and component;During definition services installation kit, carried out using shell, freemarker language a Propertyization processing;
(2), definition service essential information: the essential information definition serviced in service management platform;It is managed in service Definition service essential information includes the following steps: in platform
1., creation RabbitMQ definition, mainly the service installation kit made is uploaded;
2., details configuration, including configuration component information, monitoring information and warning information are carried out to service definition;
3., after the completion of configuration, the registration of the mirror image that is serviced;
4., information on services publication, after information on services is issued successfully, the basic function of service be can be used;If service installation The information of packet is changed, and is uploaded again;
(3), service profiles are defined: to the letter of the configuration of the size of service cluster, the role of cluster interior joint and node Breath is defined, and user creates corresponding cluster virtual machine by template of specification when applying for Service Instance;It is fixed to same service Adopted plurality of specifications is for meeting different the needs of being served by under scene;It, will if the service essential information of configuration needs to change Issued state switchs to the state of recalling, then is edited, after modification, issuing service information again;
(4), Service Instance is installed: user carries out the installation of Service Instance in service management platform;Create example when pair Service profiles and access network are selected;It is deleted at any time during creation;After Service Instance starting, user's selection It is started or stoped or it is managed;
(5), Service Instance is safeguarded: user largely safeguards Service Instance in service management platform.User couple The maintenance of Service Instance includes the service profiles of online modification cluster, is upgraded to medium cluster, online modification void from basic cluster The configuration information of quasi- machine example, the monitor control index for checking virtual machine instance, the alarm status for checking virtual machine and to its state into Row analysis, processing.The monitor control index of virtual machine instance include the upper limit that the residual memory space of disk, memory can be used and The analysis and modification of reason are carried out to the error message of index.
The present invention includes making the service installation kit of RabbitMQ, the essential information of definition service, configuration service definition Node group specification, creation example, maintenance instance section.It makes the installation kit of service and defines essential information, can achieve service Basic function be able to using purpose;The specification for further configuring service definition can satisfy the demand of different application scene; Virtual platform can be based on by creating example, that is, user, create the virtual machine instance of multiple RabbitMQ cluster services, and During creation, it can simply be safeguarded;Example maintenance, that is, user carries out account pipe to the virtual machine instance of creation The operations such as reason, configuration, monitoring, alarm.This method is without carrying out multiple installation, configuration to RabbitMQ cluster manually, so that it may With it is convenient and effectively establish it is different configuration specifications virtual machine instances and safeguarded.
The technical personnel in the technical field can readily realize the present invention with the above specific embodiments,.But it answers Work as understanding, the present invention is not limited to a kind of above-mentioned specific embodiments.On the basis of the disclosed embodiments, the technology The technical staff in field can arbitrarily combine different technical features, to realize different technical solutions.
Except for the technical features described in the specification, it all is technically known to those skilled in the art.

Claims (5)

1. the Automation arranging method of the RabbitMQ cluster service based on virtual platform, it is characterised in that this method includes such as Lower step:
(1), production service installation kit: the installation kit of RabbitMQ cluster service mainly includes the component for using or relying in service Installation file and these components associated script for installing, initialize, start, stop, restarting, update, stretch and monitoring With the configuration file of component;During definition services installation kit, carried out using shell, freemarker language personalized Processing;
(2), definition service essential information: the essential information definition serviced in service management platform;
(3), service profiles are defined: to the information of the configuration of the size of service cluster, the role of cluster interior joint and node into Row definition, user create corresponding cluster virtual machine by template of specification when applying for Service Instance;It is more to same service definition Kind specification is for meeting different the needs of being served by under scene;
(4), Service Instance is installed: user carries out the installation of Service Instance in service management platform;To service when creating example Specification and access network are selected;It is deleted at any time during creation;After Service Instance starting, user is selected to it It starts or stops or it is managed;
(5), Service Instance is safeguarded: user largely safeguards Service Instance in service management platform.
2. the Automation arranging method of the RabbitMQ cluster service according to claim 1 based on virtual platform, It is characterized in that in the step (2) that in service management platform, definition service essential information includes the following steps:
1., creation RabbitMQ definition, mainly the service installation kit made is uploaded;
2., details configuration, including configuration component information, monitoring information and warning information are carried out to service definition;
3., after the completion of configuration, the registration of the mirror image that is serviced;
4., information on services publication, after information on services is issued successfully, the basic function of service be can be used;
If step 4. in information on services change, again upload.
3. the Automation arranging method of the RabbitMQ cluster service according to claim 1 based on virtual platform, Be characterized in that the step (3) if in configure information on services need to change, issued state is switched into the state of recalling, then carry out Editor, after modification, issuing service information again.
4. the Automation arranging method of the RabbitMQ cluster service according to claim 1 based on virtual platform, Be characterized in that user in the step (5) to the service profiles that the maintenance of Service Instance includes online modification cluster, from baseset Group be upgraded to medium cluster, online modification virtual machine instance configuration information, check virtual machine instance monitor control index, check void The alarm status of quasi- machine is simultaneously analyzed the alarm status of virtual machine, is handled.
5. the Automation arranging method of the RabbitMQ cluster service according to claim 4 based on virtual platform, Be characterized in that the virtual machine instance monitor control index include the upper limit that the residual memory space of disk, memory can be used and The analysis and modification of reason are carried out to the error message of index.
CN201610706271.8A 2016-08-23 2016-08-23 The Automation arranging method of RabbitMQ cluster service based on virtual platform Active CN106254127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610706271.8A CN106254127B (en) 2016-08-23 2016-08-23 The Automation arranging method of RabbitMQ cluster service based on virtual platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610706271.8A CN106254127B (en) 2016-08-23 2016-08-23 The Automation arranging method of RabbitMQ cluster service based on virtual platform

Publications (2)

Publication Number Publication Date
CN106254127A CN106254127A (en) 2016-12-21
CN106254127B true CN106254127B (en) 2019-06-04

Family

ID=57595563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610706271.8A Active CN106254127B (en) 2016-08-23 2016-08-23 The Automation arranging method of RabbitMQ cluster service based on virtual platform

Country Status (1)

Country Link
CN (1) CN106254127B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789341A (en) * 2017-01-20 2017-05-31 郑州云海信息技术有限公司 A kind of method of virtual platform journal file monitoring
CN106909392A (en) * 2017-03-01 2017-06-30 郑州云海信息技术有限公司 The deployment maintenance method of the Codis cluster services based on virtual platform
CN106951246A (en) * 2017-03-15 2017-07-14 郑州云海信息技术有限公司 The method that Codis cluster services component is relied on is solved based on virtual platform
CN107329804B (en) * 2017-07-07 2020-11-17 浪潮云信息技术股份公司 Method for automatically creating and upgrading virtual machine according to configuration
CN107483247B (en) * 2017-08-17 2019-06-28 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN110138577B (en) * 2018-02-08 2021-09-21 腾讯科技(深圳)有限公司 Cluster creation method, first server and readable storage medium
CN108958745B (en) * 2018-06-26 2021-11-26 郑州云海信息技术有限公司 Device and method for deploying Spark cluster on cloud platform
CN108959030A (en) * 2018-07-02 2018-12-07 郑州云海信息技术有限公司 A kind of cluster management method and system
US10917458B2 (en) 2018-11-12 2021-02-09 Pivotal Software, Inc. Message broker configuration
CN109639489A (en) * 2018-12-18 2019-04-16 郑州云海信息技术有限公司 A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium
CN112003929B (en) * 2020-08-21 2022-05-13 苏州浪潮智能科技有限公司 RabbitMQ cluster-based thermal restoration method, system, device and medium
CN112463289A (en) * 2020-10-29 2021-03-09 苏州浪潮智能科技有限公司 Method, system, equipment and medium for realizing application service based on virtual machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259843A (en) * 2013-03-22 2013-08-21 嘉兴安尚云信软件有限公司 Intelligentized PaaS cloud computing platform system
CN103580908A (en) * 2012-08-10 2014-02-12 百度在线网络技术(北京)有限公司 Server configuration method and system
CN105159736A (en) * 2015-10-23 2015-12-16 武汉大学 Establishment method of SaaS software deployment scheme supporting performance analysis

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130325796A1 (en) * 2012-06-05 2013-12-05 Michael Basnight System and Method for Integrating Databases in a Cloud Environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580908A (en) * 2012-08-10 2014-02-12 百度在线网络技术(北京)有限公司 Server configuration method and system
CN103259843A (en) * 2013-03-22 2013-08-21 嘉兴安尚云信软件有限公司 Intelligentized PaaS cloud computing platform system
CN105159736A (en) * 2015-10-23 2015-12-16 武汉大学 Establishment method of SaaS software deployment scheme supporting performance analysis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于开源云技术的高可用Web应用云研究";黄俊等;《软件导刊》;20140228;全文 *

Also Published As

Publication number Publication date
CN106254127A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106254127B (en) The Automation arranging method of RabbitMQ cluster service based on virtual platform
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN105227344B (en) Software defined network simulation system and method based on OpenStack
CN104079657B (en) Configurable clustered deploy(ment) device and method based on template
RU2646336C1 (en) Method, device and system for implementation of virtualized network management
CN106130850B (en) Intelligent access method for private line user
CN105786691A (en) Automatic integration testing device, method and system of mobile terminal
CN107483243A (en) A kind of automatic deployment method and equipment of OpenStack platforms
CN106230713A (en) A kind of intelligent gateway
CN105959302A (en) Terminal management framework and method
CN103152756B (en) Automation configuration method for wireless local area network access controller (WLAN AC)
CN105007180B (en) A kind of Distributed C CMTS management method
CN113359525A (en) Intelligent cloud control system and control method thereof
CN106878095B (en) Network configuration method based on scenario distributed simulation
CN107632877A (en) VDI and VOI framework virtual machine emerging systems and startup method
CN113515267A (en) PaaS platform based on industrial Internet of things
CN106301855A (en) A kind of NMS dispositions method, device and NMS
CN102752135A (en) Method for realizing configuration of network devices
CN106020857A (en) Automatic disposition method used for Oracle Real Application Cluster database cluster
CN102866674A (en) Movie hall light curtain control system and movie hall light curtain control method on basis of digital cinema management system
CN107329804A (en) It is a kind of automatically created according to configuration, the method for upgrading virtual machine
CN107749867B (en) Method and system for realizing self-organization of data center/cluster system
TW202205191A (en) Integrated intelligent building management system
CN106909392A (en) The deployment maintenance method of the Codis cluster services based on virtual platform
CN102724076B (en) North orientation population parameter processing method and processing 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
GR01 Patent grant
GR01 Patent grant