How to recover from drbd split brain.
This document (7021212) is provided subject to the disclaimer at the end of this document.
Environment
SUSE OpenStack Cloud 7
Situation
drbd-overview
0:postgresql/0 Connec/StaAlo Second/Unknow Outdat/DUnkno
1:rabbitmq/0 Connected(2*) Second/Primar UpToDa/UpToDa
Following commands will also show nodes not connected:
On SUSE Cloud6, use : drbdadm cstate
On SUSE Cloud7, use : drbdadm status
Resolution
1. drbdadm disconnect postgresql
2. drbdadm secondary postgresql
3. drbdadm connect --discard-my-data postgresql
On the other node (the split brain survivor), connect to start sync :
drbdadm connect postgresql
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7021212
- Creation Date: 21-Aug-2017
- Modified Date:03-Mar-2020
-
- SUSE Open Stack Cloud
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com