cs_show_cluster_transition(8)
π cs_show_cluster_transition β the ClusterTools2 manual, but make it make sense
okay bestie, so this page is cs_show_cluster_transition(8) β that's the man page name, and it lives in the ClusterTools2 family, and I'm about to explain the whole thing to you like we're texting at 1am. let's go π«Ά
β¨ NAME β¨
cs_show_cluster_transition β it goes digging through log files looking for cluster transition patterns. that's the whole gig. no cap.
β¨ SYNOPSIS β¨
cs_show_cluster_transition [OPTION]
literally just the command, and optionally an option. that's it. slay.
β¨ DESCRIPTION β¨
okay so cs_show_cluster_transition searches your log files for crmd cluster transition patterns. but bestie, hear me on this one β crmd only writes to the log on the DC node. so likeβ¦ one node. the designated coordinator one. don't go looking on the other nodes and act surprised, i warned you π
every single cluster state transition is triggered by an event. any change of the cluster state? that's an event. the cluster also generates events on a regular base β f.e. every 900 seconds. and the normal state of the cluster is IDLE. like the cluster's default setting is just chilling. iconic honestly πΈ
currently known states are:
S_IDLE
S_POLICY_ENGINE
S_TRANSITION_ENGINE
S_STARTING
S_PENDING
S_ELECTION
S_INTEGRATION
S_FINALIZE_JOIN
S_NOT_DC
(yes, the original really does spell it "Currrently" β i'm keeping the energy but just so you know these are the states π)
β¨ OPTIONS β¨
--helpβ shows help. the classic "what does this do again" button π--versionβ shows version. for when you gotta know what you're running.--errorβ showscrmderrors. the messy parts. the drama. π₯
β¨ EXIT STATUS β¨
0β successful program execution. we ate. π>0β usage, syntax or execution errors. something went sideways, not the vibe π
β¨ EXAMPLES β¨
just run it, bestie:
# cs_show_cluster_transition
or if you wanna be picky about what you see β filter for DC and for o.*line:
# cs_show_cluster_transition | grep -e "DC" -e "o.*line"
β¨ FILES β¨
/usr/sbin/cs_show_cluster_transitionβ the program itself. the main character π/etc/ClusterTools2/cs_show_cluster_transitionβ the configuration./etc/corosync/corosync.confβ the corosync configuration, which maybe defines the log file. maybe. it's giving mystery π¦/etc/products.d/β the directory with product identification files./var/log/messagesβ the default log file. the one it actually looks at by default, iykyk.
β¨ BUGS β¨
okay this is the part where we keep it real π
currently SLES11 SP1 and SP2 are handled correctly. for SLES11 SP3 and SP4 only a sub-set of patterns is shown, because fields differ. and β big one β only /var/log/messages is parsed correctly. the optional corosync log has a different format, so likeβ¦ yeah. π
feedback is welcome, please use the project page at: https://build.opensuse.org/package/show?package=ClusterTools2&project=home%3Afmherschel
β¨ SEE ALSO β¨
go read these too, they're all connected π§
cs_show_error_patterns(8), cs_show_cluster_patterns(8), ptest(8), crm_attribute(8), crm_simulate(8), grep(1), syslog(8), logrotate(8), ClusterTools2(7), and http://www.clusterlabs.org/man/
β¨ COPYRIGHT β¨
(c) 2011-2014 L.Pinne, Germany.
cs_show_cluster_transition comes with ABSOLUTELY NO WARRANTY. for details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html β
and that's the whole page, bestie π β this version was rendered from the 03 Aug 2014 edition of the cs_show_cluster_transition(8) man page, part of ClusterTools2. mwah, go read your logs π
π¦ where this page comes from
- opensuse-leap 16.0: ClusterTools2 3.1.3-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms