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

Method and device for deploying database example, and computer equipment

A database and function technology, applied in the field of database deployment, can solve problems such as cumbersome deployment process and low deployment efficiency

Active Publication Date: 2018-01-19
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method, device and computer equipment for deploying a database instance, which are used to solve the problems in the prior art that when deploying a database, it is necessary to log in to the target server for manual operation inspection and Configuration, etc., the cumbersome deployment process leads to technical problems of low deployment efficiency

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
  • Method and device for deploying database example, and computer equipment
  • Method and device for deploying database example, and computer equipment
  • Method and device for deploying database example, and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] This embodiment provides a method for deploying database instances, such as figure 1 As shown, the method includes:

[0047] S101. Receive configuration parameters of the current instance of the database, and judge whether the configuration parameters are correct based on preset parameter standards;

[0048] In this step, before receiving the configuration parameters of the current instance of the database, the log needs to be initialized with a preset log module. In order to query the process of instance installation at any time in the future.

[0049] Specifically, using the loading logging module of python to perform modularized log setting, while the log is displayed on the web page in real time, the archiving of the installation log can be guaranteed. The python is an interpreted, object-oriented, high-level programming language with dynamic data types.

[0050] Here, the database may include: a Redis database, a mysql database, etc.; this embodiment is describe...

Embodiment 2

[0074] Corresponding to Embodiment 1, this embodiment provides an apparatus for deploying a database instance, such as figure 2 As shown, the device includes: a first judgment unit 21, a transmission unit 22, a second judgment unit 23, an installation unit 24 and a configuration unit 25; wherein,

[0075] Before receiving the configuration parameters of the current instance of the database, the first judging unit 21 also needs to use a preset log module to initialize a log. In order to query the process of instance installation at any time in the future.

[0076] Specifically, the first judging unit 21 uses the loading logging module of python to perform modularized log setting, which can ensure the archiving of the installation log while the log is displayed on the web page in real time. The python is an interpreted, object-oriented, high-level programming language with dynamic data types.

[0077] Here, the database may include: a Redis database, a mysql database, etc.; t...

Embodiment 3

[0098] This embodiment also provides a computer device for deploying database instances, such as image 3 As shown, the computer device includes: a radio frequency (Radio Frequency, RF) circuit 310, a memory 320, an input unit 330, a display unit 340, an audio circuit 350, a WiFi module 360, a processor 370, and a power supply 380 and other components. Those skilled in the art can understand that, image 3 The structure of the computer device shown in the computer device does not constitute a limitation to the computer device, and may include more or less components than those shown in the illustration, or combine some components, or arrange different components.

[0099] Combine below image 3 A detailed introduction to each component of computer equipment:

[0100] The RF circuit 310 can be used for receiving and sending signals, especially, after receiving the downlink information of the base station, the processor 370 processes it. Generally, the RF circuit 310 includes...

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 provides a method and device for deploying a database example, and computer equipment. The method comprises the following steps: receiving a configuration parameter of the current database example, and judging whether the configuration parameter is correct based on a preset parameter standard; if the configuration parameter is determined to be correct, calling a medium file transferfunction, and transferring a medium file and an installation script file corresponding to the current example to a target server by using the medium file transfer function; calling a management tool Saltstack to remotely run the installation script file, and using the installation script file to judge whether the target server satisfies installation conditions; if the target server satisfies the installation conditions, installing the medium file in the target server; and based on the configuration parameter, remotely configuring the database.

Description

technical field [0001] The invention belongs to the technical field of database deployment, and in particular relates to a method, device and computer equipment for deploying a database instance. Background technique [0002] In the prior art, when deploying a database, write a deployed shell script, then run the script on the server, check the running log after completion, and then manually add accounts, set parameters, configure master-slave, and monitor alarms. [0003] It can be seen that in the prior art, when deploying a database, it is necessary to log in to the target server for operation check and configuration, etc., and the deployment process is cumbersome and inefficient. Contents of the invention [0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method, device and computer equipment for deploying a database instance, which are used to solve the problems in the prior art that when deploying a database,...

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): G06F17/30G06F9/445
Inventor 陈阳陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD