Skip to content

Removing MongoDB on hypervisors

Prior to v1.6.2, VirtFusion used MongoDB to store local statistics on hypervisors. MongoDB is no longer required and can be removed.

To remove MongoDB from a Debian hypervisor:

apt-get remove -y mongodb-org
rm /etc/apt/sources.list.d/mongodb-org*
rm -rf /home/vf-mongodb
apt update

To remove MongoDB from a AlmaLinux or Rocky Linux hypervisor:

dnf remove -y mongodb-org
rm /etc/yum.repos.d/mongodb-org*
rm -rf /home/vf-mongodb
dnf clean all