HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/cman.cpython-36.opt-1.pyc
3

-�_g �@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@s0eZdZdZdZdZd
ZdZdd�Zd	d
�Z	dS)�Cmanz,cman based Red Hat Cluster High Availability�cman�cluster�luci�
clusterlib�/etc/cluster/cluster.confcCs>|jddddddddd	g	�|jd
ddd
ddddddg
�dS)Nz/etc/cluster.confz/etc/clusterz/etc/sysconfig/clusterz/etc/sysconfig/cmanz/var/log/clusterz/etc/fence_virt.confz/var/lib/luci/data/luci.dbz/var/lib/luci/etcz
/var/log/lucizcman_tool serviceszcman_tool nodeszcman_tool statuszccs_tool lsnodez
mkqdisk -Lzgroup_tool dumpzfence_tool dumpzfence_tool ls -nZclustatz&rg_test test /etc/cluster/cluster.conf)Z
add_copy_specZadd_cmd_output)�self�r�/usr/lib/python3.6/cman.py�setups*z
Cman.setupcCs2xtd�D]}|j|dd�q
W|jddd�dS)Nz/etc/cluster/cluster.conf*z.(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")z\1"***"z/var/lib/luci/etc/.*\.iniz(.*secret\s*=\s*)\S+z\1******)rZdo_file_subZdo_path_regex_sub)rZcluster_confrrr
�postproc3s
z
Cman.postprocN)r)rrr	)r
)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesrrrrrr
r
srN)rZsos.report.pluginsrrrrrrr
�<module>	s