How to recreate SBD partition in a SUSE HA cluster.
This document (7018194) is provided subject to the disclaimer at the end of this document.
1. Put the cluster into maintenance mode
# crm configure property maintenance-mode=true
2. Stop the stonith sbd primitive in the cluster.
3. Check the /etc/sysconfig/sbd configuration file to see which device and options are currently used.
4. Stop sbd on all nodes and all devices: sbd –d <device> message LOCAL exit
Verify that the sbd processes are no longer running. These processes will be gone after running the command.
# ps -eaf | grep sbd
root 8695 1 0 13:11 pts/0 00:00:00 sbd: inquisitor
root 8696 8695 0 13:11 pts/0 00:00:00 sbd: watcher: /dev/sdb1 - slot: 0 - uuid: 47c245cb-2c80-49b5-9d1d-c2ec246c2f0a
root 8699 8695 0 13:11 pts/0 00:00:01 sbd: watcher: Pacemaker
5. Create the new sbd partition/s on one of the nodes. Make sure you use same device that's in /etc/sysconfig/sbd
Example: # sbd -d /dev/sdb1 -1 30 -4 60 create
Note: If the device is different than before, you will need to update the /etc/sysconfig/sbd on each node with the new device.
6. Restart the sbd processes with the options defined in the /etc/sysconfig/sbd on all nodes in the cluster.
# sbd –d <device> watch -P
Verify that the same processes were restarted as we saw in step 3.
7. Start the stonith primitive in the cluster.
8. Put the cluster back to normal mode.
# crm configure property maintenance-mode=false
When using the SLES11 method on SLES12, the sbd processes would not stop properly if you needed to stop pacemaker service for any reason.
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:7018194
- Creation Date: 26-Oct-2016
- Modified Date:19-Oct-2022
- SUSE Linux Enterprise High Availability Extension
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com