cs_sum_base_config(8)
π cs_sum_base_config(8) β ClusterTools2's checksum bestie π
πΈ NAME πΈ
cs_sum_base_config β calculate checksums for common configuration and system parameters π
β¨ SYNOPSIS β¨
cs_sum_base_config [OPTION]
π¦ DESCRIPTION π¦
okay so bestie, cs_sum_base_config calculates MD5 checksums for common configuration and system parameters. By default it mostly checks files and parameters that are expected to be identical on all nodes of one cluster. The output can be used to find differences between two or more cluster nodes. Or it can be stored and re-used later to check for changes. π
π Root moment: please call this script as root. no cap.
π OPTIONS π
--helpβ show help. π«Ά--versionβ show version. β--writecfgβ show some internal variables. π--filesβ checksum base config files only. π--callsβ checksum base calls only. π--appsβ checksum applications config files and calls only. π§--mightβ checksum files that might not be cloned. π
π EXAMPLES π
- Write checksums for common base config files of an node to a file.
# cs_sum_base_config -f >$HOSTNAME.txt
- Find differences between nodep and nodeq. Check base config files as well as common base system parameters and applications configuration.
# cs_sum_base_config >nodep.txt
# cs_sum_base_config -a >>nodep.txt
# ssh root@nodeq cs_sum_base_config >nodeq.txt
# ssh root@nodeq "cs_sum_base_config -a" >>nodeq.txt
# diff node[pq].txt
- Do not checksum whole file, but only non-comment lines. Edit configuration.
# vi /etc/ClusterTools2/cs_sum_base_config
Remove file name from CONF_FILES, e.g.
:dd /etc/sysctl.conf
Add script to CONF_CALLS, e.g.
:i
Β΄/usr/bin/grep -v "^#" /etc/sysctl.confΒ΄
:wq
# cs_sum_base_config | grep "/etc/sysctl.conf"
π EXIT STATUS π
0β Successful program execution. π>0β Usage, syntax or execution errors. π
π§ FILES π§
/usr/sbin/cs_sum_base_configβ the program itself. π/etc/ClusterTools2/cs_sum_base_configβ the configuration. π
π BUGS π
- The number of files is limited to the maximum number of arguments for a shell loop. π΅βπ«
- Single quotes
"'"are not allowed in calls. π - Time is read from
hwclock, but not compared to system time. β° - Some files are checked for later re-use, e.g.
initiatorname.iscsi. This leads to few fals-positives when comparing two nodes. π«
Feedback is welcome, please mail to feedback@suse.com π
π₯ SEE ALSO π₯
π COPYRIGHT π
(c) 2011-2019 L.Pinne, Germany.
cs_sum_base_config comes with ABSOLUTELY NO WARRANTY.
For details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html
okay that's the whole page, bestie! π«Ά This cs_sum_base_config(8) page is from ClusterTools2, dated 01 Nov 2019. Go checksum those nodes and slay. π
π¦ 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