This procedure describes how to unstretch a vSAN cluster.
Prerequisites
Procedure
- Get the ID of the cluster you are unstretching.
- In the navigation pane, click .
- In the API Explorer, navigate to APIs for managing clusters and click GET /v1/clusters.
- Click Execute.
- Click Download to download the JSON file.
- Open the JSON file and copy the the cluster ID for SDDC-Cluster1.
- Prepare the JSON request body.
- Click Patch /v1/clusters/id.
- Under ClusterUpdateSpec field, click Cluster Update Data ClusterUpdateSpec{ ... }.
- Click Download to download the JSON file.
- Edit the downloaded JSON file so that it contains only the unstretch information similar to the example below.
{ "clusterUnstretchSpec": {} }
- Run the unstretch cluster API.
- For the ClusterUpdateSpec field, update the cluster UID (you retrieved this in step 1) and unstretch JSON file with the payload you prepared in step 2.
- Click Execute.
The unstretch cluster task is displayed in the SDDC Manager task panel.
- Monitor the unstretch cluster task till it is completed.
All hosts from stretched cluster are removed from the unstretched cluster and the cluster is converted to a standard vSAN cluster.