CN106909392A - The deployment maintenance method of the Codis cluster services based on virtual platform - Google Patents

The deployment maintenance method of the Codis cluster services based on virtual platform Download PDF

Info

Publication number
CN106909392A
CN106909392A CN201710117243.7A CN201710117243A CN106909392A CN 106909392 A CN106909392 A CN 106909392A CN 201710117243 A CN201710117243 A CN 201710117243A CN 106909392 A CN106909392 A CN 106909392A
Authority
CN
China
Prior art keywords
service
definition
codis
information
installation kit
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
CN201710117243.7A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710117243.7A priority Critical patent/CN106909392A/en
Publication of CN106909392A publication Critical patent/CN106909392A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of deployment maintenance method of the Codis cluster services based on virtual platform, comprises the following steps:Step 1, service definition;Service definition includes definition service installation kit and definition service essential information;Definition service installation kit includes defining installation kit bibliographic structure and configuration file, compressed package, codis orders, script;Definition service essential information specific steps:Step 11:Newly-built service definition;Step 12:Configuration service is defined;Step 13:Registration mirror image;After the completion of configuration, the mirror image registration for being serviced;Step 14:Issuing service is defined;Again the definition of issuing service;If the information for servicing installation kit is changed, return to step 11 and upload issue again;Step 2, defines service profiles;Service profiles include virtual machine size and the node group information definition in Codis cluster services;Step 3, instance management;Instance management includes creating virtual machine instance and Example maintenance.

Description

The deployment maintenance method of the Codis cluster services based on virtual platform
Technical field
The invention belongs to the Codis cluster services field of virtual platform, and in particular to a kind of based on virtual platform The deployment maintenance method of Codis cluster services.
Background technology
Codis is a distributed Redis solution, for the application on upper strata, is connected to Codis Proxy Do not distinguished significantly with the Redis Server for connecting primary, upper layer application can be used as the Redis using unit, Codis bottoms can process the work such as the forwarding of request, non-stop-machine Data Migration, the everything of all back, for above Client for be transparent, can be simply considered that back connection is the infinitely great Redis services of internal memory. Codis is made up of four parts:Codis Proxy, Codis Dashboard, Codis Redis, ZooKeeper or Etcd.
Traditional Codis installation procedures can substantially be summarized as:
The 1st, go is installed, and configures the environmental variance of go;Gcc is installed.
The 2nd, Codis is installed and the environmental variance of codis is configured, whether correctly to installation is tested.
The 3rd, jdk, zookeeper are installed and corresponding environmental variance and configuration file is configured, while starting zookeeper
4th, the configuration file of Codis is changed, is performed and is started dashboard, initialization slots, start redis, create group And the operation such as addition redis, startup proxy wherein.
Analysis more than relies on more software it can be found that traditional Codis installation processes are not only complicated, because This installation process is very easy to error;The maintenance of cluster is carried out based on each node, and difficulty is larger;This manually dispose method is complete Be not suitable for carrying out building for the Codis cluster instances of different size in virtual platform entirely.
This is prior art weak point.Therefore, for drawbacks described above of the prior art, there is provided one kind is based on virtualization The deployment maintenance method of the Codis cluster services of platform, is necessary.
The content of the invention
It is an object of the present invention to be directed to above-mentioned manually dispose method be completely unsuitable for carrying out different rule in virtual platform A kind of defect built of the Codis cluster instances of lattice, there is provided deployment maintenance of the Codis cluster services based on virtual platform Method, to solve above-mentioned technical problem.
To achieve the above object, the present invention provides following technical scheme:
A kind of deployment maintenance method of the Codis cluster services based on virtual platform, comprises the following steps:
Step 1, service definition;
Service definition includes definition service installation kit and definition service essential information;
Definition service installation kit includes defining installation kit bibliographic structure and configuration file, compressed package, Codis orders, script;
Definition service essential information specific steps:
Step 11:Newly-built service definition;
The definition of Codis cluster services is created, the service installation kit that will be defined carries out upload issue;
The virtual platform script that uses of detection whether meet basic demand, installation kit file format it is whether correct;
Step 12:Configuration service is defined;
After uploading successfully, installation kit is set to the state of recalling, line detail configuration is entered to service definition;
Step 13:Registration mirror image;After the completion of configuration, the mirror image registration for being serviced;
Step 14:Issuing service is defined;
Again the definition of issuing service;
If the information for servicing installation kit is changed, return to step 11 and upload issue again;
Step 2, defines service profiles;
Service profiles include virtual machine size and the node group information definition in Codis cluster services;
If the service essential information of configuration needs to change, issued state is switched to recall, return to step 12;
Step 3, instance management;
Instance management includes creating virtual machine instance and Example maintenance;
User's selection specification, selection intervene network, editor's instance name to create example;Creating process instance can delete or repair It is multiple, after installation, example can be started, stopped and be restarted, can also manage;
Example maintenance includes specification upgrading, the management of IP white lists, monitoring and alerts;
User safeguards on server admin platform to Service Instance.
Further, entered using shell, freemarker, python language during service installation kit defined in step 1 Row personalisation process.
Further, the script for being configured in step 1 is installed, initializes, starts, stops, restarting, update, stretched including component Contracting, monitoring, the script of upgrading.
Further, entering line detail configuration to service definition in step 12 includes information on services, module information, example letter Breath, monitoring information, warning information.
Further, the node group information definition in step 2 includes the configuration information of the role of node and node.
Further, the specification upgrading in step 3 is included from small-sized cluster upgrade to medium-sized cluster.
Further, the IP white lists management in step 3 refers to setting IP white lists, only allows the user in IP white lists to make With.
Further, the monitoring in step 3 i.e. monitoring virtual machine index include the residual memory space of disk, internal memory can SC service ceiling, and index error message is analyzed and changed.
Further, alarm includes checking virtual machine alarm status in step 3, to warning information analysis, treatment.
Further, Example maintenance is additionally included in the configuration information changed that line changes virtual machine instance in step 3.
The beneficial effects of the present invention are:The present invention is based on virtual platform, realizes the automatically dispose of Codis clusters Safeguard, and can reach it is once configured, nonexpondable purpose.By making service installation kit, Codis is carried out Service definition so that the basic function of service is used;By defining the service profiles of different scales, make it further full The demand of sufficient different application scene;User can conveniently and quickly create various virtualization services examples, and have to it The maintenance of effect, maintenance process is not only simple and convenient, and the relatively conventional maintaining method of error probability is much smaller.
Additionally, design principle reliability of the present invention, simple structure, with application prospect widely.
As can be seen here, compared with prior art, with prominent substantive distinguishing features and significant progress, it is implemented the present invention Beneficial effect be also obvious.
Brief description of the drawings
Fig. 1 is flow chart of the invention.
Specific embodiment:
To enable that the purpose of the present invention, feature, advantage are more obvious and understandable, it is embodied below in conjunction with the present invention Accompanying drawing in example, is clearly and completely described to the technical scheme in the present invention.
As shown in figure 1, the present invention provides a kind of deployment maintenance method of the Codis cluster services based on virtual platform, Comprise the following steps:
Step 1, service definition;
Service definition includes definition service installation kit and definition service essential information;
Definition service installation kit includes defining installation kit bibliographic structure and configuration file, compressed package, Codis orders, script;Definition During service installation kit personalisation process is carried out using shell, freemarker, python language;The script of configuration includes The script that component is installed, initialized, starting, stopping, restarting, updating, stretching, monitoring, upgrading;
Definition service essential information specific steps:
Step 11:Newly-built service definition;
The definition of Codis cluster services is created, the service installation kit that will be defined carries out upload issue;
Whether the script freemaker that virtual platform detection simultaneously is used meets basic demand, the file format of installation kit is It is no correct;
Step 12:Configuration service is defined;
After uploading successfully, installation kit is set to the state of recalling, line detail configuration is entered to service definition;Line detail is entered to service definition Configuration includes information on services, module information, example information, monitoring information, warning information;
Step 13:Registration mirror image;After the completion of configuration, the mirror image registration for being serviced;
Step 14:Issuing service is defined;
Again the definition of issuing service;
If the information for servicing installation kit is changed, return to step 11 and upload issue again;
Step 2, defines service profiles;
Service profiles include virtual machine size and the node group information definition in Codis cluster services;Node group information definition bag Include the role of node and the configuration information of node;
If the service essential information of configuration needs to change, issued state is switched to recall, return to step 12;
Step 3, instance management;
Instance management includes creating virtual machine instance and Example maintenance;
User's selection specification, selection intervene network, editor's instance name to create example;Creating process instance can delete or repair It is multiple, after installation, example can be started, stopped and be restarted, can also manage;
Example maintenance includes specification upgrading, the management of IP white lists, monitoring and alerts;Be additionally included in line modification virtual machine instance can Modification configuration information;
Specification upgrading is capable of achieving from small-sized cluster upgrade to medium-sized cluster;The management of IP white lists refers to setting IP white lists, only allows User in IP white lists uses;Monitoring i.e. monitoring virtual machine index includes that the residual memory space of disk, internal memory can be used The upper limit is simultaneously analyzed and changed to index error message;Alarm includes checking virtual machine alarm status, to warning information analysis, place Reason;
User safeguards on server admin platform to Service Instance.
Embodiments of the invention are illustrative and not restrictive, and above-described embodiment is only to aid in understanding the present invention, because This is every by those skilled in the art's technology according to the present invention the invention is not restricted to the embodiment described in specific embodiment Other specific embodiments that scheme draws, also belong to the scope of protection of the invention.

Claims (10)

1. a kind of deployment maintenance method of the Codis cluster services based on virtual platform, it is characterised in that, including following step Suddenly:
Step 1, service definition;
Service definition includes definition service installation kit and definition service essential information;
Definition service installation kit includes defining installation kit bibliographic structure and configuration file, compressed package, Codis orders, script;
Definition service essential information specific steps:
Step 11:Newly-built service definition;
The definition of Codis cluster services is created, the service installation kit that will be defined carries out upload issue;
The virtual platform script that uses of detection whether meet basic demand, installation kit file format it is whether correct;
Step 12:Configuration service is defined;
After uploading successfully, installation kit is set to the state of recalling, line detail configuration is entered to service definition;
Step 13:Registration mirror image;
After the completion of configuration, the mirror image registration for being serviced;
Step 14:Issuing service is defined;
Again the definition of issuing service;
If the information for servicing installation kit is changed, return to step 11 and upload issue again;
Step 2, defines service profiles;
Service profiles include virtual machine size and the node group information definition in Codis cluster services;
If the service essential information of configuration needs to change, issued state is switched to recall, return to step 12;
Step 3, instance management;
Instance management includes creating virtual machine instance and Example maintenance;
User's selection specification, selection intervene network, editor's instance name to create example;
Example maintenance includes specification upgrading, the management of IP white lists, monitoring and alerts;
User safeguards on server admin platform to Service Instance.
2. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is to carry out personalized place using shell, freemarker, python language during service installation kit defined in step 1 Reason.
3. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that the script configured in step 1 is installed, initializes, starts, stops, restarting, update, stretches, monitors, upgraded including component Script.
4. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that entering line detail configuration to service definition in step 12 includes information on services, module information, example information, monitoring information, announcement Alert information.
5. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that the node group information definition in step 2 includes the configuration information of the role of node and node.
6. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that the specification upgrading in step 3 is included from small-sized cluster upgrade to medium-sized cluster.
7. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that the IP white lists management in step 3 refers to setting IP white lists, only allows the user in IP white lists to use.
8. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that the monitoring in step 3 i.e. monitoring virtual machine index includes residual memory space, the usable upper limit of internal memory of disk, and Index error message is analyzed and is changed.
9. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, its feature It is that alarm includes checking virtual machine alarm status in step 3, to warning information analysis, treatment.
10. a kind of deployment maintenance method of the Codis cluster services based on virtual platform as claimed in claim 1, it is special Levy and be, Example maintenance is additionally included in the configuration information changed that line changes virtual machine instance in step 3.
CN201710117243.7A 2017-03-01 2017-03-01 The deployment maintenance method of the Codis cluster services based on virtual platform Pending CN106909392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710117243.7A CN106909392A (en) 2017-03-01 2017-03-01 The deployment maintenance method of the Codis cluster services based on virtual platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710117243.7A CN106909392A (en) 2017-03-01 2017-03-01 The deployment maintenance method of the Codis cluster services based on virtual platform

Publications (1)

Publication Number Publication Date
CN106909392A true CN106909392A (en) 2017-06-30

Family

ID=59186013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710117243.7A Pending CN106909392A (en) 2017-03-01 2017-03-01 The deployment maintenance method of the Codis cluster services based on virtual platform

Country Status (1)

Country Link
CN (1) CN106909392A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483247A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN112463289A (en) * 2020-10-29 2021-03-09 苏州浪潮智能科技有限公司 Method, system, equipment and medium for realizing application service based on virtual machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129356A1 (en) * 2001-01-05 2002-09-12 International Business Machines Corporation Systems and methods for service and role-based software distribution
CN102932408A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Management method and platform of server cluster
CN103761103A (en) * 2014-01-26 2014-04-30 曙光云计算技术有限公司 Method and system for defining and instantiating cloud computing platform service
CN105159736A (en) * 2015-10-23 2015-12-16 武汉大学 Establishment method of SaaS software deployment scheme supporting performance analysis
CN106254127A (en) * 2016-08-23 2016-12-21 浪潮电子信息产业股份有限公司 Automatic deployment method of RabbitMQ cluster service based on virtualization platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129356A1 (en) * 2001-01-05 2002-09-12 International Business Machines Corporation Systems and methods for service and role-based software distribution
CN102932408A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Management method and platform of server cluster
CN103761103A (en) * 2014-01-26 2014-04-30 曙光云计算技术有限公司 Method and system for defining and instantiating cloud computing platform service
CN105159736A (en) * 2015-10-23 2015-12-16 武汉大学 Establishment method of SaaS software deployment scheme supporting performance analysis
CN106254127A (en) * 2016-08-23 2016-12-21 浪潮电子信息产业股份有限公司 Automatic deployment method of RabbitMQ cluster service based on virtualization platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483247A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN107483247B (en) * 2017-08-17 2019-06-28 郑州云海信息技术有限公司 A kind of multi-level service configuration management method based on cloud platform
CN112463289A (en) * 2020-10-29 2021-03-09 苏州浪潮智能科技有限公司 Method, system, equipment and medium for realizing application service based on virtual machine

Similar Documents

Publication Publication Date Title
US7293201B2 (en) System and method for active diagnosis and self healing of software systems
CN104094226B (en) Use the application or driving on deployment configuration Automatic Update of File client device
CN104094256B (en) Deployment driving or application on the client device with write-in filter
CN108462746B (en) Container deployment method and framework based on openstack
CN101416175B (en) Creating templates of offline resources
CN104137065B (en) Disposed on a client device using XML configuration file and update application and drive formula
CN106254127B (en) Automatic deployment method of RabbitMQ cluster service based on virtualization platform
WO2011153803A1 (en) Method and device for deploying and monitoring of database synchronization
WO2021072861A1 (en) Application service processing method and apparatus, and terminal and storage medium
CN106506191A (en) The automatically dispose serviced based on virtual platform Redis and maintaining method
CN107608681A (en) Installation method of operating system, device and server
CN107436775A (en) The method and device of business release is installed on virtual machine
CN103067445A (en) Method and device of software upgrading of distributed system
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN106201527A (en) A kind of Application Container framework of logic-based subregion
CN111427624A (en) Method, device and system for batch automatic deployment and configuration of servers
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN106909392A (en) The deployment maintenance method of the Codis cluster services based on virtual platform
US20210405604A1 (en) Efficient controller data generation and extraction
CN106874027A (en) A kind of transportation industry quality of data monitoring platform based on plug-in unit mode
CN114201263A (en) Edge application management method based on cloud computing
CN103246544B (en) virtual hardware driving method
CN104461757A (en) Method and device for restoring virtual machines
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN102053845A (en) Electronic device for automatically and continuously mounting operating system and related method and system thereof

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

Application publication date: 20170630