Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic deployment method and device based on MySQL cluster and related equipment

A cluster and preset file technology, applied in the field of data processing, can solve problems such as error-prone, low deployment efficiency, cumbersome procedures, etc., to reduce complexity, promote rapid development, and improve deployment efficiency.

Active Publication Date: 2021-07-20
深圳赛安特技术服务有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that the prior art has at least the following technical problems: since the master and slave of the database service are distributed on multiple different servers, it is necessary to run The maintenance personnel log in to each server one after another, and install and deploy services on each server separately. The deployment work requires the operation and maintenance personnel to have high professional skills, and the process is cumbersome and error-prone, and the deployment efficiency is low.

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
  • Automatic deployment method and device based on MySQL cluster and related equipment
  • Automatic deployment method and device based on MySQL cluster and related equipment
  • Automatic deployment method and device based on MySQL cluster and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0055]Many specific details are set forth in the following description to facilitate a full understanding of the application, and the described embodiments are part of, rather than all of, the embodiments of the application. 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] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill...

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 relates to a data processing technology, and provides an automatic deployment method and device based on a MySQL cluster, computer equipment and a storage medium. The method comprises the steps of determining a master server, and obtaining a target slave server set located in the same MySQL cluster as the master server; establishing heartbeat connection between the master server and each target slave server in the target slave server set; receiving and analyzing a first heartbeat packet sent by the target slave server to the master server, obtaining an installation data directory corresponding to the target slave server, and the installation data directory being used for deploying a preset file; sending a second heartbeat packet to the target slave server, the second heartbeat packet carrying the preset file, and deploying the preset file to the installation data directory; when it is monitored that deployment of the preset file is completed, obtaining target state information of the main server; and automatically synchronizing the state information in the target slave server according to the target state information. The deployment efficiency can be improved, and rapid development of a smart city is promoted.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a MySQL cluster-based automatic deployment method, device, computer equipment, and computer-readable storage medium. Background technique [0002] The MySQL master-slave replication function is the basis for building large-scale and high-performance applications. It distributes MySQL data to multiple servers. The mechanism is to copy the data of a MySQL host to other hosts. To ensure data security, when the master database server is abnormal, it can switch to the slave database to continue working to avoid data loss, and can also separate reads and writes to improve the efficiency of the database. [0003] In the process of realizing the present invention, the inventor found that the prior art has at least the following technical problems: Since the master and slave of the database service are distributed on multiple different servers, it is necessary for th...

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
IPC IPC(8): G06F11/14G06F11/30G06F16/27G06F16/21
CPCG06F11/1461G06F11/1464G06F11/3055G06F11/3006G06F16/27G06F16/21G06F2201/80
Inventor 胡维其
Owner 深圳赛安特技术服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products