Depending on where in the provision process failure occurs, and the type of failure, extra steps may be required:
- Force Delete of the provision object using the User Interface - The Force Delete option will remove underlying filesystems shared from the Delphix Engine, irrespective of any perceived dependencies on these filesystems. If provisioning fails very early in the process, it is common for the Force Delete option to be the only way to remove an object. This may happen when for example, the wrong password has been entered for the target-side system database user:
- In rare cases, removal of a failed virtual tenant may be required. For example a tenant with the name “TST”.
SELECT * FROM M_DATABASES WHERE DATABASE_NAME=’TST’; ALTER SYSTEM STOP DATABASE TST IMMEDIATE; DROP DATABASE TST DROP BACKUPS;
If the Force Delete option could not unmount the virtual tenant mount points, then the unmount command should be run to remove the stale mount points.
umount -lf /mnt/provision/example