This section discusses about disabling the Controller and SEs.

VMs and their corresponding images can be cleared using the following commands:

virsh undefine vm-name 
virsh destroy vm-name

At the root directory:

rm -rf /var/lib/libvirt/images/vm-name.qcow2 
 rm -rf vm-name 

The rm -rf vm-name command will delete the local folder created in root directory for the relevant VM.

Note:
  1. If at anytime if one sees the disk space of the host getting exhausted it might be due to the N number of qcow2’s being used in /var/lib/libvirt/images/ as part of the VM’s creation. Clear up any unused ones by deleting the respective VM and deleting the respective qcow2 image alongwith.

  2. Please ensure to manually cleanup (force-delete) the stale SE entries present in the Controller GUI post destroying SE VMs.