cs_clear_sbd_devices(8)

πŸ“¦ version 3.1.3, in opensuse-leap 16.0

πŸ’… cs_clear_sbd_devices β€” bestie edition ✨

okay so real talk, this is a page from ClusterTools2 β€” cs_clear_sbd_devices(8) β€” and honestly? it's giving "small tool, big save." 🫢


🌸 NAME 🌸

cs_clear_sbd_devices β€” clears the reset message on SBD devices πŸ’–


✨ SYNOPSIS ✨

cs_clear_sbd_devices [ --help | --version ]

cs_clear_sbd_devices [ --all | --local ]

cs_clear_sbd_devices --node NODE

πŸ’œ DESCRIPTION πŸ’œ

So cs_clear_sbd_devices clears the reset message on SBD devices. that's the whole vibe. πŸ’…

and like, why do you even need this? because sometimes a node gets fenced 😭 (yes, fenced, as in shot in the cluster face) and then you're gonna want to bring it back into the cluster β€” and this lil tool is what clears the reset message so that can actually happen. no cap.


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” shows help. that's it. that's the option. πŸ¦‹
  • --version β€” shows the version. iconic of it.
  • --all β€” clears all reset nodes on all devices. going full scorched-earth, love that for you πŸ”₯
  • --local β€” clears the local node on all devices. just you, bestie, no one else 🫢
  • --node NODE β€” clears node NODE on all devices. targeted. main character energy πŸ‘‘

🌈 EXAMPLES 🌈

  • clear all reset nodes on all SBD devices:
# cs_clear_sbd_devices --all
  • clear the local node ($HOSTNAME) on all SBD devices:
# cs_clear_sbd_devices --local

🌟 EXIT STATUS 🌟

  • 0 β€” successful program execution. slay. βœ…
  • >0 β€” usage, syntax or execution errors. πŸ’€ something went sideways.

πŸ“ FILES πŸ“

  • /usr/sbin/cs_clear_sbd_devices β€” the program itself. the moment. the icon.
  • /etc/sysconfig/sbd β€” the SBD configuration. the blueprint. πŸ“œ

πŸ™ˆ BUGS πŸ™ˆ

okay so, full honesty: currently only Linux hostnames are handled. if Corosync node IDs are used on SBD, then those nodes are not found β€” not me forgetting them, it's just a whole thing 😭

feedback is welcome!! please use the project page at https://build.opensuse.org/package/show?package=ClusterTools2&project=home%3Afmherschel β€” they genuinely wanna hear from you 🫢


πŸ’– SEE ALSO πŸ’–

cs_make_sbd_devices(8), cs_show_sbd_devices(8), stonith_sbd(7), sbd(8), ClusterTools2(7), https://www.suse.com/support/kb/doc.php?id=7016305

iykyk πŸ‘€


(c) 2020 L.Pinne, Germany.

cs_clear_sbd_devices comes with ABSOLUTELY NO WARRANTY β€” like, none, zero, don't come for them πŸ’€

for details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html


⚠️ quick reminder bestie: that "ABSOLUTELY NO WARRANTY" is in all caps for a reason. read it and believe it. πŸ™

okay that's the whole page!! written up as of 14 Sep 2020, from ClusterTools2 β€” go clear those reset messages and be free, you absolute legend πŸ§šπŸ’«πŸ’œ

πŸ“¦ where this page comes from