# Replace SBD device in cluster

**URL:** <https://forums.suse.com/t/replace-sbd-device-in-cluster/24203>\
**Category:** SLES High Availability Extension\
**Created:** [July 26, 2013, 2:50am UTC](https://forums.suse.com/t/replace-sbd-device-in-cluster/24203 "2013-07-26T02:50:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdschwarz](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mdschwarz](https://forums.suse.com/u/mdschwarz)\
**Post date:** [July 26, 2013, 2:50am UTC](https://forums.suse.com/t/replace-sbd-device-in-cluster/24203/1 "2013-07-26T02:50:56Z")

</div>

I am needing to rebuild the array that contains the SBD device in the production cluster. My preference is to be able to do this online without taking the cluster down or at least only a rolling reboot. I do have 2 SBD devices running and am rebuilding only 1 of them.

From looking at /etc/init.d/openais, here are my thoughts to accomplish this:

[CODE]crm resource stop p\_stonith\_sbd  
On each node:  
sbd -d /dev/mapper/mpath0 -d /dev/mapper/mpath1 -D -W -P message LOCAL exit

\< Remove multipath device, reconfigure array, reattach \>

sbd -d /dev/mapper/mpath0 -d /dev/mapper/mpath1 -1 30 -4 60 create  
On each node:  
sbd -d /dev/mapper/mpath0 -d /dev/mapper/mpath1 -D -W -P watch  
crm resource start p\_stonith\_sbd[/CODE]

Does this look like a reasonable approach that will work?

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![ediazrod](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@ediazrod](https://forums.suse.com/u/ediazrod)\
**Post date:** [July 29, 2013, 1:38pm UTC](https://forums.suse.com/t/replace-sbd-device-in-cluster/24203/2 "2013-07-29T13:38:43Z")

</div>

Did you think put you sbd resouce in is-managed??? but I thing that you approach is correct

did you have one enviroment test? Regards!

---

<div class="post-metadata">

**Author:** ![rovshanpashayevibm](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rovshanpashayevibm](https://forums.suse.com/u/rovshanpashayevibm)\
**Post date:** [July 26, 2018, 12:24pm UTC](https://forums.suse.com/t/replace-sbd-device-in-cluster/24203/3 "2018-07-26T12:24:36Z")

</div>

Hello,

Check [https://www.suse.com/support/kb/doc/?id=7021158](https://www.suse.com/support/kb/doc/?id=7021158)
