Unlock instant, AI-driven research and patent intelligence for your innovation.

Container-based cluster migration method and device

A cluster and container technology, applied in the computer field, can solve problems such as data loss and achieve the effect of preventing data loss

Pending Publication Date: 2019-06-07
AEROSPACE INFORMATION
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a container-based cluster migration method, which can solve the problem of data loss during cluster migration in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Container-based cluster migration method and device
  • Container-based cluster migration method and device
  • Container-based cluster migration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] refer to figure 1 The embodiment of the present invention provides a container-based cluster migration method, the method is applied to a server, and the server application includes a Kafka cluster and / or a zookeeper cluster; the method includes:

[0057] Step 101, judging the cluster type contained in the current server application;

[0058]...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a container-based cluster migration method and device. The method is applied to a server, and the server application comprises a Kafka cluster and / or a zookeeper cluster. The method comprises the steps of judging a cluster type contained in a current server application; when the cluster type is a Kafka cluster and a zookeeper cluster, executing the following steps: deploying a new zookeeper node container according to the zookeeper cluster to be migrated; deleting all Kafka node containers in the Kafka cluster to be migrated, and updating a node list of the zookeeper cluster in the new Kafka cluster according to the new zookeeper node container; deploying a new Kafka node container according to the Kafka cluster to be migrated, and migrating data in the Kafka node container in the Kafka cluster to be migrated to the new Kafka node container; and informing the zookeeper cluster of the change of the Kafka cluster. According to the container-based cluster migrationmethod and device provided by the embodiment of the invention, the problem of data loss during cluster migration in the prior art can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a container-based cluster migration method and device. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all action streaming data in consumer-scale websites, usually in the form of clusters. Zookeeper is a distributed application coordination service, which is often used to solve the distributed consistency problem of Kafka clusters, and also appears in the form of clusters. [0004] Docker container is a hot technology in recent years. Developers can package applications into a portable container, and then publish them to any popular Linux machine, and can also realize virtualization....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
Inventor 陈怡博黄洁华张盼王申
Owner AEROSPACE INFORMATION