KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/share/system-config-lvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/system-config-lvm/Cluster.pyo
mň
ßKRc@sqdklZlZlZlZlZlZdkTdkZdk	Zdk	l
Z
dkZdfd„ƒYZdS((sexecWithCapturesexecWithCaptureErrorStatussexecWithCaptureStatussexecWithCaptureProgresss"execWithCaptureErrorStatusProgresssexecWithCaptureStatusProgress(t*N(sminidomtClustercBsVtZdZdZdZdZd„Zd„Zd„Z	d„Z
d„Zd„ZRS(NcCsdS(N((tself((t'/usr/share/system-config-lvm/Cluster.pyt__init__scCs|iƒdS(Ni(Rt_Cluster__get_info(R((Rtget_namescCs|iƒdS(Ni(RR(R((Rt
get_lock_typescCs|iƒdS(Ni(RR(R((Rt
get_nodes_numscCsÜytidƒi}WndSnXtidjo*ti|jotititi	fSn
|t_y:t
itdƒi
dƒƒi}|idƒ}d}d}xË|iD]Ŕ}|itiiijoĄ|idjo
d}qp|idjo
d}qp|idjoY|}xP|iD]A}|itiiijo"|id	jo|d
7}qdq#q#Wqpq°q°W|djo|t_|t_|t_	nWn"dt_dt_dt_	nXtititi	fS(Ns/etc/cluster/cluster.confi€–˜tnametdlmitcmantgulmtclusternodestclusternodei(NNN(toststattst_mtimetmtimetNoneRtcluster_conf_mtimetcluster_nametcluster_lockt
cluster_nodestminidomtparseStringtfiletreadt
firstChildtc_conftgetAttributeR	tlockt	nodes_numt
childNodestnodetnodeTypetxmltdomtNodetELEMENT_NODEtnodeNametnodes(RR"R R	RRR)R((Rt
__get_infosF 	!



"
				
cCs|iƒdjotSnyWddg}td|ƒ\}}}|djo"|i	dƒdjot
SqqnWnnXy€d}
ti
|
tiƒtjo
d}
n|
dg}t|
|ƒ\}}}|djotSnd}d}|iƒ}xÎ|D]Ć}	|	iƒ}t|ƒd	joqn|dd
jot|dƒ}n&|ddjot|dƒ}nt|ƒd
joqn|ddjo%|ddjot|d	ƒ}qqW|djp
|djo
d‚n||jSWntSnXdS(Ns/sbin/magma_tooltquorumitQuoratei˙˙˙˙s/sbin/cman_tools/usr/sbin/cman_tooltstatusisQuorum:isTotal_votes:itTotalsvotes:s&Unable to retrieve cluster quorum info(RRRtFalsetargstexecWithCaptureErrorStatustotetstfindtTruetcman_tool_pathRtaccesstX_OKR+tvotest
splitlinestlinestlinetsplittwordstlentint(RR3R+R0R<R:R2R4R?R=R7((RtrunningFsN


"
(
t__name__t
__module__RRRRRRRRRRRB(((RR
s					'(
texecutetexecWithCaptureR1texecWithCaptureStatustexecWithCaptureProgresst"execWithCaptureErrorStatusProgresstexecWithCaptureStatusProgresstCommandErrorR$txml.domRRR(
R$RHR1RRIRGRRJRFR((Rt?s+		
	

Anon7 - 2021