Master-slave server system application method and system thereof
A technology of a server system and an application method, which is applied to the application method of a master-slave server system and the field of the system, can solve the problems that the master server cannot provide services, and achieve the effect of ensuring non-interruption and continuity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] see figure 1 Shown is a specific embodiment of the application method of a master-slave server system described in this application, including:
[0043] Step 101, the database sentinel server (DBSentinel) monitors the working conditions of the master database server and multiple slave database servers, and generates an available database server cluster list; if it is found that the master database server is unavailable, then select an available from the database server cluster From the database server, be promoted as the new primary database server; if one or more are found to be unavailable from the database server, then one or more unavailable slave database servers will be deleted from the list of database server clusters;
[0044] Step 102, database monitoring server (DBMonitor) obtains available main database server and from database server cluster list from DBSentinel, and described list is saved in Zookeeper;
[0045] Step 103, the cluster server obtains the list ...
Embodiment 2
[0054] On the basis of Embodiment 1, the present invention also provides a master-slave server system capable of implementing the method of Embodiment 1, see figure 2 , the system includes master database server 10, multiple slave database servers 20, database sentinel server (DBSentinel) 30, database monitoring server (DBMonitor) 40, Zookeeper50, cluster server 60,
[0055] The above-mentioned master database server 10 and the slave data server 20 are used to provide service data to the cluster server 60;
[0056] The above-mentioned DBSentinel30 is used to monitor the working conditions of the master database server 10 and a plurality of slave database servers 20, and generate an available database server cluster list; if it is found that the master database server 10 is unavailable, then select an available slave from the database server cluster The database server is promoted as a new master database server; if one or more are found to be unavailable from the database ser...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com