A cloud hard disk-based database failover method and device
A failover and cloud hard disk technology, applied in the cloud database field, can solve problems such as high cost and overhead, and achieve the effects of improving efficiency, reducing overhead, and simplifying failover.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 2 It is a flow chart of the cloud disk-based database failover method according to Embodiment 1 of the present invention.
[0030] Such as figure 2 As shown, the method includes the following steps:
[0031] Step 201: When it is detected that the cloud host of the user's database instance fails and the database is unavailable, uninstall the cloud hard disk connected to the cloud host and the network bandwidth package of the cloud host;
[0032] Step 202: Bind the network bandwidth package to other available cloud hosts, and mount the cloud hard disk to the cloud host bound to the bandwidth package.
[0033] Before the above step 201, when detecting the cloud host of the database instance, periodic detection may be performed to the cloud host of the database instance to test whether the cloud host of the database instance has failures such as network failure and local hard disk damage.
[0034] When it is detected that the cloud host of the database instance ...
Embodiment 2
[0039] image 3 It is a flow chart of the cloud disk-based database failover method according to Embodiment 2 of the present invention.
[0040] As shown, the method includes the following steps:
[0041] Step 301: Periodically detect whether the cloud host of the database instance fails;
[0042] Step 302: When it is detected that the user's cloud host fails, uninstall the network bandwidth package of the failed cloud host and the cloud disk of the database instance;
[0043] Step 303: apply for a cloud host with the same configuration as the failed cloud host;
[0044] Step 304: delete the corresponding relationship between the failed cloud host and the user account;
[0045] Step 305: establishing a corresponding relationship between a newly applied cloud host and a user account;
[0046] Step 306: Bind the bandwidth package to the applied cloud host, and mount the cloud hard disk to the cloud host bound to the bandwidth package.
[0047] It should be noted that the ab...
Embodiment 3
[0051] Figure 4 It is a structural block diagram of the cloud disk-based database failover device of the present invention.
[0052] Such as Figure 4 As shown, the cloud disk-based database failover device 40 includes the following components:
[0053] The unloading module 41 is used to unload the cloud hard disk connected to the cloud host and the bandwidth package of the cloud host when it is detected that the cloud host of the user's database instance breaks down and the database is unavailable;
[0054] The binding module 42 is configured to bind the bandwidth package to other available cloud hosts, and mount the cloud hard disk to the cloud host bound to the bandwidth package.
[0055] Among them, in order to grasp the running status of the database instance in real time, so that the cloud host can be replaced in time after the cloud host fails, such as Figure 5 As shown, the above-mentioned device 40 may further include a detection module 52 for periodically detect...
PUM
Abstract
Description
Claims
Application Information
- 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