Supercharge Your Innovation With Domain-Expert AI Agents!

Python-based MongoDB cluster deployment method and system

A cluster deployment and cluster technology, applied in the Internet field, can solve problems such as complex operation steps, huge manpower consumption, etc., and achieve the effects of reducing installation abnormalities, facilitating later use and maintenance, and improving the success rate of deployment

Pending Publication Date: 2021-08-10
SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application aims at the problem that in the prior art, during the deployment of MongoDB clusters, the staff manually installs and configures MongoDB, the operation steps are complicated and the manpower is huge, and a method and system for deploying MongoDB clusters based on Python are provided for To a certain extent, it solves the problem of complex operation steps and huge manpower consumption in the deployment of MongoDB cluster in the existing technology

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
  • Python-based MongoDB cluster deployment method and system
  • Python-based MongoDB cluster deployment method and system
  • Python-based MongoDB cluster deployment method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0035] figure 1 A schematic flow diagram of the Python-based MongoDB cluster deployment method shown in the embodiment of this application, as shown in figure 1 As shown, a Python-based MongoDB cluster deployment method provided by the embodiment of this application includes:

[0036] S101. Obtain cluster type information and database version information;

[0037] Before deploying the MongoDB cluster, first obtain the cluster type information and database version information through the preset system, which can be obtained from the preset device, or stored in the system in advance, and used as a reference for downloading related installation packages in accordance with.

[0038] S102. Allocate a server in a preset host pool based on the cluster type information and database version information, and download an installation package to a specified directory of the server; wherein, the number of the server is at least one;

[0039] Specifically, based on the above mongodb clus...

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 Python-based MongoDB cluster deployment method and system. The method comprises the following steps: acquiring cluster type information and database version information through a preset system; distributing a server in a preset host pool based on the cluster type information and the database version information, and downloading an installation package to a specified directory of the server, wherein the number of the server is at least one; then, pre-checking each server, and judging whether each server is available or not; and after the server is confirmed to be available, installing the installation package according to the preset node role information of each server, and modifying the related configuration file to complete deployment. Thus, through the preset system, one-button mongodb cluster deployment can be realized, time and manpower are saved, and through pre-check, server installation abnormity can be reduced, and the deployment success rate can be improved. And meanwhile, by recording deployment process information and checking a deployment result, the accuracy of deployment and installation is improved.

Description

technical field [0001] This application relates to the field of Internet technologies, and in particular to a Python-based MongoDB cluster deployment method and system. Background technique [0002] With the growth of the company's business volume and the expansion of business types, more and more MongoDB databases are used. The traditional manual deployment of MongoDB clusters has complex configurations, lengthy delivery processes, and no unified deployment standards. When deploying a MongoDB cluster, the staff manually installs and configures MongoDB by downloading the rpm installation package or source code package. At this time, if deploying a fragmented cluster, you need to install and configure more than a dozen MongoDB nodes. The operation steps are complicated and cost a lot manpower. Contents of the invention [0003] This application aims at the problem that in the prior art, during the deployment of MongoDB clusters, the staff manually installs and configures M...

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): G06F9/50G06F8/71
CPCG06F9/5027G06F8/71
Inventor 谭延赞
Owner SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More