Skip to main content

Uninstalling and or reinstalling

Remove everything

sudo su
systemctl stop mariadb cmon cmon-ssh cmon-events cmon-cloud
dnf remove \
    clustercontrol* \
    s9s* \
    mariadb* \
    httpd*

rm -Rf /var/lib/mysql/
rm -Rf /var/lib/cmon/
rm -rf /var/log/cmon*
rm -Rf /etc/s9s.conf
rm -rf /etc/cmon*
rm -rf /etc/default/cmon
rm -rf /etc/prometheus/
rm -rf /usr/share/cmon/
rm -Rf /root/.s9s
rm -rf /root/s9s_tmp/
rm -rf /tmp/s9s_tmp.local.root/
rm -rf /tmp/ccsetup.conf
rm -rf /tmp/drop.sql

Change machine ID in HyperVisor and regenerate it

cat /etc/machine-id
f80*****f63b462fa14548b2b8df54c6
rm -f /etc/machine-id
systemd-machine-id-setup --commit --print
cat /etc/machine-id
472*****bf8943dc8285516244b73e8b

or modify several bytes in the file

vi /etc/machine-id 
cat /etc/machine-id 
4724c3a8bf8943dc8285516244b73eAA

Resinstall and open dashboard in private browser window

In registration window, give different credentials.