Method for preventing split brain phenomenon from occurring on distributed replicated block device (DRBD) resource
A technology of disk mirroring and brain splitting, which is applied to the generation of response errors, error detection of redundant data in calculations, digital transmission systems, etc. It can solve problems such as user data loss and failure to guarantee user data security, and achieve prevention Effect of loss of written user data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Embodiment 1: Assume that the network cable connected to DRBD on the DRBD master node is pulled out at a certain moment.
[0040] 1) If the method described in the present invention is not used, at this time, the DRBD nodes lose contact because the network cable is pulled out, and the nodes do not know each other's status, and the DRBD slave node will think that the master node is down and will Become the master node of DRBD by yourself, so that two DRBD master nodes will appear in the cluster at the same time, and user data will be written to two points at the same time without synchronization. Data written to the DRBD device during the failure is at risk of being lost when the network returns to normal.
[0041] 2) In the method described in the present invention (that is, using the modified OCF script of DRBD), when the cluster calls the drbd_monitor function again, the state on the DRBD master node is WFConnetion / Primary ( figure 2 Branch 5), and then call the fun...
Embodiment 2
[0044] Embodiment 2: If the switch connected to the DRBD network is down, that is, the network cables equivalent to the DRBD master and slave nodes are pulled out at the same time, at this time the DRBD master and slave nodes go to figure 2 Branches 5 and 6, call the check_network_status function to find out that there is a problem with the local network. Next, because the master node is to make the slave node standby, and the slave node is to make itself standby, the phenomenon and result of this situation are equivalent to the above Two cases of unplugging the network cable.
[0045] figure 2 The branch 1 and branch 2 are used to deal with the network failure caused by running the command "ifdown DRBD corresponding network card device" on the DRBD master and slave nodes respectively. The user fixes the failure and then manually enables the standby node. After the standby node is enabled, it will go to figure 2 Go up branch 3 or branch 4 as shown.
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