Use the cleanup deploy script tool to perform clean up tasks.
Use the Oracle Database Appliance cleanup deploy script, cleanup.pl for the following activities:
Uninstall Oracle Auto Service Request (Oracle ASR)
Uninstall Oracle Trace File Analyzer (TFA)
Delete Oracle Database Console (dbconsole) files
Uninstall GI and Oracle stack
Reset the Oracle Linux udev rules
Delete Oracle Linux udev rules
Delete users and groups that were created when the appliance was created. For default users and groups, use the DROP USER statement. If you used a custom user name and group name when you deployed the appliance, use -griduser, -dbuser, -groups arguments to pass to the cleanup.pl script.