Delete the Resources and Stack

You can delete the resources and stack your created for Oracle WebLogic Server for OKE.

  1. Access the administration compute instance for your domain.
  2. Run the following command:
    /u01/shared/scripts/lcm/ -d <DB Admin Password>

    This drops the Repository Configuration Utility (RCU) schema repositories from the database for a JRF-Enabled domain.

  3. Run the following command to delete the resources:
    /u01/shared/scripts/lcm/ -p <OCIR Auth Token> -l

    This deletes the OCIR repos created during provisioning and the OCI Load Balancer associated with the internal and external ingress services.

  4. Click the navigation menu Navigation Menu icon, select Developer Services. Under the Resource Manager group, click Stacks.
  5. Click the stack you want to delete.
  6. Click Terraform Actions, and then select Destroy.
  7. When prompted for confirmation, click Destroy.
  8. Periodically monitor the progress of the Destroy job until it is finished.

    If an email address is associated with your user profile, you will receive an email notification.

    Ensure that all the resources of the stack are deleted successfully.

  9. Click Delete Stack.