Changing the name of a running cluster is not recommended. If you must do it, use the following procedure.

  1. Stop NCP.
  2. Download the cleanup script to delete NSX-T resources.

    For resources created using Manager mode, download nsx_cleanup.py. For resources created using Policy mode, download nsx_policy_cleanup.py.

  3. Run the cleanup script.
  4. Start NCP with the new cluster name.
  5. Re-create the pods.