Viewing File: /usr/lib/python2.7/site-packages/sos/plugins/corosync.pyc

ó
ŃKjc@s‰ddlmZmZmZmZddlZddlZdefd„ƒYZdeefd„ƒYZ	deeefd„ƒYZ
dS(	i˙˙˙˙(tPlugintRedHatPlugintDebianPlugintUbuntuPluginNtCorosynccBs2eZdZdZdZdZd„Zd„ZRS(s Corosync cluster engine
    tcorosynctclusterc	Csü|jdddgƒ|jdddddd	d
dgƒ|jdƒd
}tjj|ƒsddSd}yatd
ƒO}xE|D]=}tj||ƒrƒ|jtj	||ƒj
dƒƒqƒqƒWWdQXWn*tk
r÷}|jd||fƒnXdS(Ns
/etc/corosyncs/var/lib/corosync/fdatas/var/log/cluster/corosync.logscorosync-quorumtool -lscorosync-quorumtool -sscorosync-cpgtoolscorosync-cfgtool -sscorosync-blackboxscorosync-objctl -ascorosync-cmapctlscorosync-cmapctl -m statsskillall -USR2 corosyncs/etc/corosync/corosync.confs ^\s*(logging.)?logfile:\s*(\S+)$iscould not read from %s: %s(
t
add_copy_spectadd_cmd_outputtexec_cmdtostpathtexiststopentretmatchtsearchtgrouptIOErrort	_log_warn(tselft
corosync_conftpatterntftlinete((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pytsetups2



3cCs|jdddƒdS(Nscorosync-objctls(.*fence.*\.passwd=)(.*)s\1******(tdo_cmd_output_sub(R((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pytpostproc:s(R(R(t__name__t
__module__t__doc__tplugin_nametprofilestpackagesRR(((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyRs	$tRedHatCorosynccBseZd„ZRS(cCstt|ƒjƒdS(N(tsuperR#R(R((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyRDs(RRR(((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyR#BstDebianCorosynccBseZd„ZdZRS(cCstt|ƒjƒdS(N(R$R%R(R((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyRJss/usr/sbin/corosync(s/usr/sbin/corosync(RRRtfiles(((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyR%Hs	(tsos.pluginsRRRRtos.pathR
RRR#R%(((s8/usr/lib/python2.7/site-packages/sos/plugins/corosync.pyt<module>	s
"4
Back to Directory File Manager