A topical subject at the moment is that of how to ensure Virtual Server disks are being securely erased when a Virtual Server or one of its disks is destroyed.
OnApp Cloud provides two ways to clean VS data when deleting or migrating a VS's disk. By default, OnApp Cloud will format the physical disk space used by a virtual server when that VS's virtual disk is deleted, or when the VS disk is migrated to another data store.
You can also choose to zero out a VS's disk (filling it with zeroes) with the change detailed below which will then take effect for operations queued both via the UI as well as the API.
Note that this method will likely have a noticeable impact on deletion times and the load placed on the Data Store whilst disks are being filled with zeros as it is a far more IO intensive operation.
Important - if you enable thin provisioning at the SAN side for LVM DataStores, you may need to enable this option for space reclamation to happen successfully. Please discuss with your SAN vendor for their recommendation.
To enable this behaviour:
1. Log in via SSH to your Control Panel server
2. Open the following configuration file for editing:
3. Set the wipe_out_disk_on_destroy parameter from false to true:
4. Restart the OnApp service:
service onapp restart
5. Now when deleting disks you would see something along the lines of the following in the logs:
Running: dd if=/dev/zero of=/dev/onapp-cmd7y65etpxii8/hkct05vbu21fma bs=4M count=256 conv=notrunc oflag=direct