CN106254127A - Automatic deployment method of RabbitMQ cluster service based on virtualization platform - Google Patents

Automatic deployment method of RabbitMQ cluster service based on virtualization platform Download PDF

Info

Publication number
CN106254127A
CN106254127A CN201610706271.8A CN201610706271A CN106254127A CN 106254127 A CN106254127 A CN 106254127A CN 201610706271 A CN201610706271 A CN 201610706271A CN 106254127 A CN106254127 A CN 106254127A
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.)
Granted
Application number
CN201610706271.8A
Other languages
Chinese (zh)
Other versions
CN106254127B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic deployment method of RabbitMQ cluster service based on a virtualization platform, which belongs to the field of cluster service and aims to solve the technical problems that the installation and configuration process of a RabbitMQ cluster is relatively complex and time-consuming, basically all the installing and configuration process needs manual operation, the maintenance of the cluster needs to be carried out based on each node, the maintenance method is not only complicated, and is easy to make mistakes, and the adopted technical scheme is as follows: the method comprises the following steps: (1) making a service installation package; (2) defining service basic information: defining basic information of the service on a service management platform; (3) defining a service specification; (4) installing a service instance; (5) and service instance maintenance.

Description

The Automation arranging method of RabbitMQ cluster service based on virtual platform
Technical field
The present invention relates to cluster service field, a kind of RabbitMQ cluster service based on virtual platform Automation arranging method.
Background technology
Traditional RabbitMQ cluster installation and deployment flow process is substantially: RabbitMQ is based on Erlang language development, first Erlang must be installed;RabbitMQ is installed, and opens RabbitMQ monitoring plug-in unit;Configuration RabbitMQ, as carried out environment ginseng The configuration of number, the plug-in unit list configuration of permission, the configuration etc. of operational factor;Configuration hosts, the host name of each node It is arranged in hosts with IP, in order to can be in communication with each other;Synchronize Erlang cookie data;Starter node also forms cluster; Add strategy.Analyze above-mentioned flow process it appeared that: the installation configuration flow of RabbitMQ cluster is relatively complex and time consuming, base This all needs manual operation, and the maintenance of cluster needs to carry out based on each node, and maintaining method is the most loaded down with trivial details, is more easy to out Wrong.So conventional deployment method is not appropriate for substantial amounts of structure cluster instance on virtual platform.
Summary of the invention
The technical assignment of the present invention is to provide the Automation of a kind of RabbitMQ cluster service based on virtual platform Arranging method, the installation configuration flow solving RabbitMQ cluster is relatively complex and time consuming, and substantially all needs are manually grasped Making, and the maintenance of cluster needs to carry out based on each node, maintaining method is the most loaded down with trivial details, more error-prone problem.
The technical assignment of the present invention realizes in the following manner, RabbitMQ cluster service based on virtual platform Automation arranging method, the method comprises the steps:
(1) service installation kit, is made: the installation kit of RabbitMQ cluster service mainly includes the assembly using or relying in service Install file and these assemblies installs, initialize, start, stop, restarting, updates, the flexible and associated script that monitors Configuration file with assembly;During definition service installation kit, shell, freemarker language is used to carry out personalization Process;
(2), definition service essential information: carry out the essential information definition serviced in service management platform;
(3), definition service profiles: the information of the configuration of size, the role of cluster interior joint and the node of service cluster is entered Row definition, user apply for Service Instance time with specification for the corresponding cluster virtual machine of template establishment;Many to same service definition Plant specification for meeting the demand that difference is served by under scene;
(4), Service Instance is installed: user, in service management platform, carries out the installation of Service Instance;To service during establishment example Specification and access network select;At any time it is deleted during establishment;After Service Instance starts, user selects it Start or stop or it is managed;
(5), Service Instance is safeguarded: user carries out substantial amounts of maintenance to Service Instance in service management platform.
As preferably, in described step (2), in service management platform, definition service essential information comprises the steps:
1., create the definition of RabbitMQ, mainly the service installation kit made is uploaded;
2., service definition is carried out details configuration, including configuration component information, monitoring information and warning information;
3., configured after, the mirror image registration carrying out servicing;
4., information on services issue, after information on services is issued successfully, the basic function of service can use;
More preferably, if described step 4. in service installation kit information change, again upload.
As preferably, described step (3) if in the service essential information of configuration need to change, then issued state is transferred to and calling together The state of returning, then edit, after amendment, issuing service information again.
As preferably, in described step (5) user the maintenance of Service Instance is included online modification cluster service profiles, From basis, cluster is upgraded to medium cluster, the configuration information of online modification virtual machine instance, checks that the monitoring of virtual machine instance refers to Mark, check the alarm status of virtual machine and its state is analyzed, processes.
More preferably, the monitor control index of described virtual machine instance includes what the residual memory space of disk, internal memory can use The upper limit and the error message to index carry out analysis and the amendment of reason.
The Automation arranging method of the RabbitMQ cluster service based on virtual platform of the present invention has the advantage that
1, the present invention by make service installation kit, definition service essential information, definition service profiles, create virtual machine instance, Example is safeguarded, and realizing the automatization to cluster service disposes and safeguard, it is achieved that the Automation of RabbitMQ cluster Administration and safeguarding, and can reach cluster is once configured, nonexpondable purpose;By making service installation kit, determining Justice service mount message so that the basic function of service is used;By definition service profiles so that it is meet difference further The demand of application scenarios;User can facilitate and quickly create multiple virtualization services example, and effectively ties up it Protecting, maintenance process the most easily operates, and the relatively conventional maintaining method of error probability is much smaller;
2, the present invention is by definition information on services, definition service profiles and three story frame structures of instance management, it is achieved The automatization of RabbitMQ cluster service disposes and safeguards;By configuring virtual machine specification and carrying out the definition of node group information, Plurality of specifications is made to meet the demand under different application scene;The virtual machine instance of plurality of specifications is created by automatization, and right Example carries out the maintenance of the aspects such as simplicity, easy-operating monitoring, alarm, specification upgrading;
3, the present invention based on virtual platform realize service cluster dispose automatization, the example virtual of establishment, user without Manually dispose the installation configuration surroundings of cluster, just can create the Service Instance of multiple different cluster specification, and at any time to reality Example is safeguarded, maintaining method is simple and the most error-prone, can be simultaneously reached cluster is once configured, nonexpondable mesh And example can be provided account management, configure, monitor, the maintenance function such as alarm.
The present invention has the features such as reasonable in design, simple in construction, easy to use, one-object-many-purposes, thus, have and well push away Wide use value.
Accompanying drawing explanation
The present invention is further described below in conjunction with the accompanying drawings.
Accompanying drawing 1 is the overall architecture frame of the Automation arranging method of RabbitMQ cluster service based on virtual platform Figure.
Detailed description of the invention
With reference to Figure of description and the specific embodiment RABBITMQ cluster service based on virtual platform to the present invention Automation arranging method be described in detail below.
Embodiment:
As shown in Figure 1, the Automation arranging method of the RabbitMQ cluster service based on virtual platform of the present invention, should Method comprises the steps:
(1) service installation kit, is made: the installation kit of RabbitMQ cluster service mainly includes the assembly using or relying in service Install file and these assemblies installs, initialize, start, stop, restarting, updates, the flexible and associated script that monitors Configuration file with assembly;During definition service installation kit, shell, freemarker language is used to carry out personalization Process;
(2), definition service essential information: carry out the essential information definition serviced in service management platform;Put down in Service Management On platform, definition service essential information comprises the steps:
1., create the definition of RabbitMQ, mainly the service installation kit made is uploaded;
2., service definition is carried out details configuration, including configuration component information, monitoring information and warning information;
3., configured after, the mirror image registration carrying out servicing;
4., information on services issue, after information on services is issued successfully, the basic function of service can use;If service installation kit Information is changed, and again uploads;
(3), definition service profiles: the information of the configuration of size, the role of cluster interior joint and the node of service cluster is entered Row definition, user apply for Service Instance time with specification for the corresponding cluster virtual machine of template establishment;Many to same service definition Plant specification for meeting the demand that difference is served by under scene;If the service essential information of configuration needs to change, then will issue State transfers the state of recalling to, then edits, after amendment, and issuing service information again;
(4), Service Instance is installed: user, in service management platform, carries out the installation of Service Instance;To service during establishment example Specification and access network select;At any time it is deleted during establishment;After Service Instance starts, user selects it Start or stop or it is managed;
(5), Service Instance is safeguarded: user carries out substantial amounts of maintenance to Service Instance in service management platform.User is to service The maintenance of example includes the service profiles of online modification cluster, from basis, cluster is upgraded to medium cluster, online modification virtual machine The configuration information of example, check the monitor control index of virtual machine instance, check the alarm status of virtual machine and its state carried out point Analysis, process.The monitor control index of virtual machine instance includes the upper limit that the residual memory space of disk, internal memory can use and to finger Target error message carries out analysis and the amendment of reason.
The present invention includes that the essential information making the service installation kit of RabbitMQ, definition services, configuration service define Node group specification, create example, safeguard EXAMPLEPART.Make installation kit and the definition essential information of service, service can be reached The purpose that used of basic function;The specification of configuration service definition can meet the demand of different application scene further; Create example i.e. user and based on virtual platform, can create the virtual machine instance of multiple RabbitMQ cluster service, and During establishment, it simply can be safeguarded;Example maintenance i.e. user carries out account pipe to the virtual machine instance created Manage, configure, monitor, the operation such as alarm.The method is without manually carrying out installation repeatedly, configuration to RabbitMQ cluster, so that it may Configure the virtual machine instance of specification with convenient and effective difference of setting up and safeguard.
By detailed description of the invention above, described those skilled in the art can readily realize the present invention.But should Working as understanding, the present invention is not limited to above-mentioned a kind of detailed description of the invention.On the basis of disclosed embodiment, described technology The technical staff in field can the different technical characteristic of combination in any, thus realize different technical schemes.
In addition to the technical characteristic described in description, it is the known technology of those skilled in the art.

Claims (5)

1. the Automation arranging method of RabbitMQ cluster service based on virtual platform, it is characterised in that the method include as Lower step:
(1) service installation kit, is made: the installation kit of RabbitMQ cluster service mainly includes the assembly using or relying in service Install file and these assemblies installs, initialize, start, stop, restarting, updates, the flexible and associated script that monitors Configuration file with assembly;During definition service installation kit, shell, freemarker language is used to carry out personalization Process;
(2), definition service essential information: carry out the essential information definition serviced in service management platform;
(3), definition service profiles: the information of the configuration of size, the role of cluster interior joint and the node of service cluster is entered Row definition, user apply for Service Instance time with specification for the corresponding cluster virtual machine of template establishment;Many to same service definition Plant specification for meeting the demand that difference is served by under scene;
(4), Service Instance is installed: user, in service management platform, carries out the installation of Service Instance;To service during establishment example Specification and access network select;At any time it is deleted during establishment;After Service Instance starts, user selects it Start or stop or it is managed;
(5), Service Instance is safeguarded: user carries out substantial amounts of maintenance to Service Instance in service management platform.
The Automation arranging method of RabbitMQ cluster service based on virtual platform the most according to claim 1, its It is characterised by described step (2) that definition service essential information comprises the steps: in service management platform
1., create the definition of RabbitMQ, mainly the service installation kit made is uploaded;
2., service definition is carried out details configuration, including configuration component information, monitoring information and warning information;
3., configured after, the mirror image registration carrying out servicing;
4., information on services issue, after information on services is issued successfully, the basic function of service can use;
The Automation arranging method of RabbitMQ cluster service based on virtual platform according to claim 2, it is special If levying the information being to service during described step is 4. installation kit to change, again upload.
The Automation arranging method of RabbitMQ cluster service based on virtual platform the most according to claim 1, its Be characterised by described step (3) if in configuration service essential information need change, then transfer issued state to recalling state, then Edit, after amendment, issuing service information again.
The Automation arranging method of RabbitMQ cluster service based on virtual platform the most according to claim 1, its It is characterised by described step (5) that user includes the service profiles of online modification cluster, from baseset to the maintenance of Service Instance Group is upgraded to medium cluster, the configuration information of online modification virtual machine instance, checks the monitor control index of virtual machine instance, checks void Its state is also analyzed, processes by the alarm status of plan machine.
The Automation arranging method of RabbitMQ cluster service based on virtual platform the most according to claim 5, its Be characterised by the upper limit that the monitor control index of described virtual machine instance includes that the residual memory space of disk, internal memory can use and Error message to index carries out analysis and the amendment of reason.
CN201610706271.8A 2016-08-23 2016-08-23 Automatic deployment method of RabbitMQ cluster service based on virtualization platform Active CN106254127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610706271.8A CN106254127B (en) 2016-08-23 2016-08-23 Automatic deployment method of RabbitMQ cluster service based on virtualization platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610706271.8A CN106254127B (en) 2016-08-23 2016-08-23 Automatic deployment method of RabbitMQ cluster service based on virtualization platform

Publications (2)

Publication Number Publication Date
CN106254127A true CN106254127A (en) 2016-12-21
CN106254127B 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 Automatic deployment method of RabbitMQ cluster service based on virtualization platform

Country Status (1)

Country Link
CN (1) CN106254127B (en)

Cited By (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
CN107329804A (en) * 2017-07-07 2017-11-07 郑州云海信息技术有限公司 It is a kind of automatically created according to configuration, the method for upgrading virtual machine
CN107483247A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN108959030A (en) * 2018-07-02 2018-12-07 郑州云海信息技术有限公司 A kind of cluster management method and system
CN108958745A (en) * 2018-06-26 2018-12-07 郑州云海信息技术有限公司 A kind of device and method in cloud platform deployment Spark cluster
CN109639489A (en) * 2018-12-18 2019-04-16 郑州云海信息技术有限公司 A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium
CN110138577A (en) * 2018-02-08 2019-08-16 腾讯科技(深圳)有限公司 Cluster creation method, first server and readable storage medium storing program for executing
WO2020102077A1 (en) * 2018-11-12 2020-05-22 Pivotal Software, Inc. Message broker configuration
CN112003929A (en) * 2020-08-21 2020-11-27 苏州浪潮智能科技有限公司 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 (4)

* 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
US20130325796A1 (en) * 2012-06-05 2013-12-05 Michael Basnight System and Method for Integrating Databases in a Cloud Environment
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

Patent Citations (4)

* 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
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应用云研究"", 《软件导刊》 *

Cited By (17)

* 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
CN107329804A (en) * 2017-07-07 2017-11-07 郑州云海信息技术有限公司 It is a kind of automatically created according to configuration, the method for upgrading virtual machine
CN107483247B (en) * 2017-08-17 2019-06-28 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN107483247A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN110138577A (en) * 2018-02-08 2019-08-16 腾讯科技(深圳)有限公司 Cluster creation method, first server and readable storage medium storing program for executing
CN110138577B (en) * 2018-02-08 2021-09-21 腾讯科技(深圳)有限公司 Cluster creation method, first server and readable storage medium
CN108958745A (en) * 2018-06-26 2018-12-07 郑州云海信息技术有限公司 A kind of device and method in cloud platform deployment Spark cluster
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
WO2020102077A1 (en) * 2018-11-12 2020-05-22 Pivotal Software, Inc. Message broker configuration
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
CN112003929A (en) * 2020-08-21 2020-11-27 苏州浪潮智能科技有限公司 RabbitMQ cluster-based thermal restoration method, system, device 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

Also Published As

Publication number Publication date
CN106254127B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN106254127A (en) Automatic deployment method of RabbitMQ cluster service based on virtualization platform
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
RU2646336C1 (en) Method, device and system for implementation of virtualized network management
CN1407441A (en) System and method for automatic management computer service and programmable device
CN101860545A (en) System and method for implementing automatic configuration of equipment
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN105227344A (en) Based on software defined network analogue system and the method for OpenStack
CN103593207A (en) High-speed automatic cluster system deployment method using virtual disk
CN103235725A (en) Linux-based rapid deployment method for Oracle database in cloud computing
CN101136770A (en) Automatically updating method and apparatus for telecom multi-branch network management system
CN103580908A (en) Server configuration method and system
CN107483243A (en) A kind of automatic deployment method and equipment of OpenStack platforms
CN104793970A (en) Online upgrade method based on FTP
CN103490929B (en) Manufacturing and implement method for multi-adaptive firmware of server
CN105430096A (en) Automatic installation method and device for parallel file system
CN110098952A (en) A kind of management method and device of server
CN105959302A (en) Terminal management framework and method
CN102624557A (en) Method for automatic check, configuration and backup for client-side equipment configuration
CN104407906A (en) System and method for custom installation of computer software
CN106708573A (en) System and method used for automatic installation of Hadoop cluster
CN106980493A (en) Firmware management method and apparatus
CN112035435B (en) MySQL master-slave cluster installation and deployment method and cluster system
CN109117089A (en) The method and device of RAID and deployment system is automatically created based on BMC
CN103152756A (en) Automation configuration method for wireless local area network access controller (WLAN AC)
CN107968816A (en) A kind of method that cloud platform is built using mobile terminal

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