COROSYNC-BLACKBOX(8)

πŸ’– COROSYNC-BLACKBOX πŸ’–

ok so bestie, this is corosync-blackbox β€” it lives in the System Manager's Manual section (that's section 8, the big-girl admin section, iykyk) and it's genuinely the most ✨ dramatic ✨ little script in the whole cluster. no cap.


✨ NAME ✨

corosync-blackbox β€” dump the live "flight data" straight outta the corosync "blackbox", like a plane crash investigation but make it cluster. πŸ›«πŸ’€


🌸 SYNOPSIS 🌸

corosync-blackbox

that's it. no flags, no args, no notes. she takes zero options and she serves anyway. main character energy fr fr. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: corosync-blackbox pokes corosync and tells it to write its "flight data" out to a file. then it runs qb-blackbox, which prints all that data out for you to read. that's the whole vibe. πŸŽ€

like literally: trigger the dump, then replay the dump. two steps, one command, iconic behaviour.


🌈 EXAMPLES 🌈

wanna see the current "flight data"? say less, bestie:

$ corosync-blackbox
Starting replay: head [74205] tail [0]
rec=[1] Log Message=Corosync Cluster Engine ('1.2.1'): started
and ready to provide service.
[...]
rec=[2607] Log Message=Delivering MCAST message with seq a to
pending delivery queue
rec=[2608] Log Message=downlist received left_list: 2
rec=[2609] Log Message=chosen downlist from node r(0)
ip(192.168.100.11)
Finishing replay: records found [2609]

see how it starts with Starting replay: head [74205] tail [0], spits out every rec=[...] line, and then closes with Finishing replay: records found [2609]? that's the whole flight recorder arc, beginning to end. obsessed. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're the friend group:


πŸ’œ AUTHOR πŸ’œ

Angus Salkeld wrote this one. legend behaviour. 🫢


ok that's the whole page, bestie!! this beauty is from the System Manager's Manual, dated 2010-05-30, and it answers to the name COROSYNC-BLACKBOX(8). go dump some flight data, you got this πŸ’–βœ¨πŸ¦‹πŸŒΈπŸŽ€