Scroll to navigation

cs_show_cluster_transition(8) ClusterTools2 cs_show_cluster_transition(8)

NAME

cs_show_cluster_transition - search log files for cluster transition patterns

SYNOPSIS

cs_show_cluster_transition [OPTION]

DESCRIPTION

cs_show_cluster_transition searches log files for crmd cluster transition patterns. Please note that crmd writes to log on the DC node only.

All cluster state transitions are triggered by an event. Any change of the cluster state is an event. The cluster also generates events on a regular base, f.e. every 900 seconds. Normal state of the cluster is IDLE.

Currrently 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

OPTIONS

--help show help.

--version show version.

--error show crmd errors.

EXIT STATUS

0 Successful program execution.
>0 Usage, syntax or execution errors.

EXAMPLES

# cs_show_cluster_transition

# cs_show_cluster_transition | grep -e "DC" -e "o.*line"

FILES

/usr/sbin/cs_show_cluster_transition
the program itself.
/etc/ClusterTools2/cs_show_cluster_transition
the configuration.
/etc/corosync/corosync.conf
the corosync configuration, maybe defining log file.
/etc/products.d/
the directory with product identification files.
/var/log/messages
the default log file.

BUGS

Currently SLES11 SP1 and SP2 are handled correctly. For SLES11 SP3 and SP4 only a sub-set of patterns is shown, because fields differ. Only /var/log/messages is parsed correctly. The optional corosync log has a different format. Feedback is welcome, please use the project page at
https://build.opensuse.org/package/show?package=ClusterTools2&project=home%3Afmherschel

SEE ALSO

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),
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

03 Aug 2014