VMware Cloud Community
ss2184
Contributor
Contributor

Remove Tier 0 & Tier 1 from Edge cluster through SDDC

Recently i have deployed a edge cluster Via SDDC GUI and it created successfully . However , In case if i want to delete few entities such as Tier-0 Tier -1 from the Edge cluster through SDDC, 

How should we delete those entities through SDDC for the existing Edge cluster since i don't want to point to Tier0 or Tier1  . Also i dont have option to uncheck during initial setup through SDDC GUI. 

Please let me know . Thanks 

 

Labels (1)
Reply
0 Kudos
5 Replies
shank89
Expert
Expert

I'm not entirely clear on what you are trying to achieve, but the level of customization you are requesting doesn't exit.

There is the following script https://kb.vmware.com/s/article/78635 that will remove what was deployed, I have not looked into whether you can delete specific gateways with this script.

You could try the custom deployment in the wizard, but still not for what you want.  The alternative is to deploy using NSX and not SDDC Manager, the down side is SDDC Manager will not be aware of the Edge cluster.

Shashank Mohan

VCIX-NV 2022 | VCP-DCV2019 | CCNP Specialist

https://lab2prod.com.au
LinkedIn https://www.linkedin.com/in/shankmohan/
Twitter @ShankMohan
Author of NSX-T Logical Routing: https://link.springer.com/book/10.1007/978-1-4842-7458-3
Reply
0 Kudos
ss2184
Contributor
Contributor

Thanks for your response .Shashank

I dont want to remove the entire Edge cluster through SDDC . the following article will cleanup entire information . But i am looking to cleanup the below one in the edge cluster through SDDC . 

  • Tier-1 gateway.

  • Tier-0 router

  • and i want to keep rest all the information in NSXT
  • Edge cluster.

  • Edge node VMs.

  • Edge uplink segments.

  • VLAN-backed transport zones created for the edge deployment.

  • vCenter portgroups created for the edge deployment.

  • Resource pool, if one was created as part of edge deployment.

  • VMware SDDC Manager inventory records of the edge deployment

  • or is there way to create EC with custom form factor through SDDC ? Thanks in advance 
Reply
0 Kudos
shank89
Expert
Expert

As mentioned, the workflow doesn't offer the flexibility you require, I have listed your options already.

Shashank Mohan

VCIX-NV 2022 | VCP-DCV2019 | CCNP Specialist

https://lab2prod.com.au
LinkedIn https://www.linkedin.com/in/shankmohan/
Twitter @ShankMohan
Author of NSX-T Logical Routing: https://link.springer.com/book/10.1007/978-1-4842-7458-3
Tags (1)
Reply
0 Kudos
AbbedSedkaoui
Enthusiast
Enthusiast

Hey there

Just to quickly develop on Shank saying "it doesn't exist", it is that NSX Edge Cluster doesn't exist without Tier-0 gateway interface.

As for Tier-1 gateway, if you're willing to use API since VCF API 4.5, there is an introduced optional property to allow you to not create the Tier-1 gateway at Edge Cluster creation.

https://developer.vmware.com/apis/vcf/latest/data-structures/EdgeClusterCreationSpec/

tier1Unhosted Introduced Optional
Select whether Tier-1 being created per this spec is hosted on the new Edge cluster or not (default value is false, meaning hosted)

For the examples of ec creation API call:

https://developer.vmware.com/apis/vcf/latest/nsx-t-edge-clusters/

You have to first check the prerequisites of the cleaner Knowledge Base article 78635 Shank posted and clean before creation of an ec with the same names entities

so to recap in order
Reverse back any changes made on the ec after its creation through SDDC manager
Remove the ec with the Cleanup script (note you got to copy extract it on SDDC manager /home/vcf and make executable "remove_edge_cluster.sh" and in ./cleanup/*.py, and load the two environment variables for credentials)
Create the ec with API using "tier1Unhosted" : true

You will have an edge cluster without t1-gateway created.

I hope it answer your question and if so please mark it answered.

Cheers,
Abbed Sedkaoui
http://strivevirtually.net
https://www.linkedin.com/in/abbed-sedkaoui-678718151

Reply
0 Kudos
shank89
Expert
Expert

It sounds like the ask is to dissociate all NSX related data outside of just having the Edge cluster deployed in SDDC Manager.  Still not entirely clear on the why, but for this amount of flexibility its easier to just deploy from NSX Manager.  

These are all the things that the OP wants to remove from SDDC AFAIK, which seems kind of pointless to deploy from SDDC Manager in the first place.

  • Tier-1 gateway.

  • Tier-0 router

  • and i want to keep rest all the information in NSXT
  • Edge cluster.

  • Edge node VMs.

  • Edge uplink segments.

  • VLAN-backed transport zones created for the edge deployment.

  • vCenter portgroups created for the edge deployment.

  • Resource pool, if one was created as part of edge deployment.

  • VMware SDDC Manager inventory records of the edge deployment

  • or is there way to create EC with custom form factor through SDDC ? Thanks in advance 
Shashank Mohan

VCIX-NV 2022 | VCP-DCV2019 | CCNP Specialist

https://lab2prod.com.au
LinkedIn https://www.linkedin.com/in/shankmohan/
Twitter @ShankMohan
Author of NSX-T Logical Routing: https://link.springer.com/book/10.1007/978-1-4842-7458-3