Note:

Delete a Workload Cluster from an Oracle Cloud VMware Solution SDDC

Introduction

This tutorial details the process of deleting a workload cluster from an existing Oracle Cloud VMware Solution SDDC. Remember that this process involves permanent removal of resources, so ensure you have thoroughly migrated all data and confirmed application functionality before proceeding. This empowers you to manage your SDDC resources efficiently and optimize your cloud environment.

Objectives

Prerequisites

Task 1: Validate and Remove Workload Cluster in vCenter and NSX Manager

  1. Log in to vCenter and locate workload cluster.

    1. Access the vCenter server using your credentials.

    2. Navigate to Hosts and Clusters.

    3. Identify and select the specific workload cluster you intend to delete.

    vCenter Select Cluster to Delete

  2. Validate the NSX Manager health.

    1. Access the NSX Manager associated with your SDDC.

    2. Verify the overall health of your environment to ensure a stable platform before proceeding.

    NSX Manager - Cluster Health

  3. Migrate virtual machines (VMs) and data.

    1. Power down and migrate all virtual machines (VMs) currently residing on the workload cluster you are deleting.

    2. Transfer any other data stored on the related datastores to a different location within your SDDC. This ensures all hosts enter maintenance mode successfully.

    vCenter - Migrate all VMs and Data from hosts

  4. Put hosts in maintenance mode.

    1. Select each host belonging to the workload cluster you are deleting.

    2. Individually put each host into maintenance mode. Verify that all hosts have successfully transitioned to maintenance mode before proceeding.

    vCenter - Enter Maintenance Mode

    Note: Failure to ensure all hosts enter maintenance mode successfully can lead to data loss and application downtime. This is a critical step, so double-check the status of each host before moving forward.

  5. Move each host one by one out of the workload cluster and place them under the data center.

    vCenter - Most Host 1 from Cluster to Data center

    vCenter - Most All Hosts from Cluster to Data center

  6. Removing the hosts from the cluster should automatically trigger the deletion of NSX components from these hosts.

    NSX Manager - Remove NSX from hosts

  7. Within NSX Manager, check the Other Nodes section. The previously removed hosts should now be listed there.

    NSX Manager - Hosts Not Configured

  8. Validate and confirm that everything is migrated and operational.

    Note: This is a critical step. Double-check that all your applications are operational and all data has been successfully migrated away from the workload cluster. This includes any non-VM data like ISO images.

  9. Disconnect and remove the hosts.

    1. Click OK to proceed to disconnect the first host from vCenter.

      vCenter - Disconnect Host

    2. Repeat this process for all remaining hosts that were previously put into maintenance mode.

      vCenter - Disconnect All Hosts

  10. Once disconnected, remove all hosts from the vCenter inventory.

    vCenter - Remove 1 host from inventory

    vCenter - Remove all hosts from inventory

  11. Perform additional clean up tasks related to the retired workload cluster.

    1. Delete the empty vCenter cluster (since all hosts are removed).

      vCenter - Delete vCenter Cluster

    2. If the workload cluster is a standard shape cluster, delete the empty datastore cluster.

      vCenter - VMFS Datastore Cluster

    3. Delete the corresponding distributed switch.

      vCenter - Delete vDS

    4. Within NSX Manager, delete the transport node profile associated with the retired cluster.

    5. Delete the IP pool used for the workload cluster’s VXLAN Tunnel End Point (VTEP) IP.

    6. Delete the uplink profile associated with the cluster.

  12. After completing the clean up steps, verify that both vCenter and NSX Manager environments are stable and healthy.

Task 2: Delete the Workload Cluster from OCI Console

  1. Log in to the OCI Console, navigate to your SDDC and select the workload cluster you want to delete.

    OCI Console - SDDC Details Page

  2. On the cluster details page, carefully confirm that you have selected the correct cluster for deletion.

    OCI Console - Cluster Details Page

  3. Click Terminate Cluster to begin the process of deleting all resources associated with this specific cluster.

    Note: This action is irreversible. All resources, including ESXi hosts and OCI block volumes linked to the Virtual Machine File System (VMFS) datastore, will be deleted.

  4. A confirmation window will appear. Ensure the following checkboxes are selected.

    • Terminating Networking resources: Deletes the Virtual Cloud Network (VCN) components such as subnet and VLANs and their respective route tables and security list or NSGs.

      Note: If you have created any custom security rules or OCI private DNS entries for the cluster, make sure to delete them beforehand to ensure successful deletion.

    • Deleting datastore resources: Remove all block volume attachments and then delete all the block volumes created during the creation of the cluster.

      Note: Any additional volumes added as day 2 operations, need to be cleaned up prior to this step. Else deselect this option and delete volumes manually after the termination of the cluster.

  5. Confirm deletion and monitor the status.

    1. Double-check the cluster name displayed for deletion to ensure accuracy.

    2. Click Terminate all to commence the deletion process.

      OCI Console - Terminate Cluster Progress

    3. Monitor the status within the OCI Console to track the deletion progress.

      OCI Console - Terminate Cluster Complete

  6. Once the deletion is complete, the SDDC view should display your management cluster and any remaining workload clusters. Verify that the SDDC status is Active.

    OCI Console - SDDC Details Page Final

As covered in this tutorial, scaling-in resources within your SDDC is a straighforward process. For a deeper dive into the solution or if you have any specific questions, refer to the official Oracle Cloud VMware Solution documentation.

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.