My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

Replacing SBD device in a running Pacemaker cluster

This document (7021158) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise High Availability Extension 11 Service Pack 3
SUSE Linux Enterprise High Availability Extension 11 Service Pack 4

Situation

In a cluster SBD (Storage Based Death) is being used for fencing and it is needed to switch from one SAN/Storage vendor/solution to another which in turn results in the need to use a completely new LUN for the SBD.

Resolution

Note that this procedure doesn't require cluster downtime.

1. Initialize SBD metadata on the new fencing device:

n4:~ # sbd -d /dev/disk/by-id/scsi-1494554000000000053ce5a88d47f0701d05896628d3ec6b1 create
Initializing device /dev/disk/by-id/scsi-1494554000000000053ce5a88d47f0701d05896628d3ec6b1
Creating version 2.1 header on device 4 (uuid: fbfb8767-bc0b-40c3-8cee-a99136e448d2)
Initializing 255 slots on device 4
Device /dev/disk/by-id/scsi-1494554000000000053ce5a88d47f0701d05896628d3ec6b1 is initialized.


If more than one SBD device is used, repeat the command above for the additional new devices.

2. Source SBD config file:

source /etc/sysconfig/sbd


3. Exit the SBD process:

n4:~ # sbd -d $SBD_DEVICE -D $SBD_OPTS message LOCAL exit

4. Edit the SBD config file and replace the SBD_DEVICE variable with your new device:

vim /etc/sysconfig/sbd

5. Source the SBD config file again with updated data:

n4:~ # source /etc/sysconfig/sbd

6. Start SBD process in watch mode:

sbd -d $SBD_DEVICE -D $SBD_OPTS watch

7. Repeat the procedure on the other node(s).

Cause

Storage/LUN replacement.

Additional Information

Do not apply this TID on SLES 12 or higher as the SBD process will then end up in a user slice.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:7021158
  • Creation Date:02-AUG-17
  • Modified Date:15-JAN-20
    • SUSESUSE Linux Enterprise High Availability Extension
< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center