When troubleshooting N-VDS to VDS migration, a specific set of data must be gathered at the time of the event. This article details what documentation is required and how to gather it prior to opening a support request with Broadcom.
VMware NSX
The N-VDS has been deprecated since VMware NSX 4.0.0.1 (NSX N-VDS Host Switch support), prior to upgrading to VMware NSX 4.x, you must migrate the N-VDS to DVS.
The migration can be done in one of 3 ways:
Details on each method can be found in the VMware NSX-T administration guide under section Migrate Host Switch to vSphere Distributed Switch
Using the command line to migrate, available commands from NSX CLI Guide:
vds-migrate precheck #VDS migration precheck
vds-migrate show-topology #VDS show topology
vds-migrate apply-topology #VDS apply topology
vds-migrate esxi-cluster-id #ESXi Cluster Id
vds-migrate esxi-cluster-name #ESXi Cluster Name
vds-migrate tn-list #VDS migration tn list
vds-migrate delete-topology #VDS delete topology
vds-migrate disable-migrate #Disable NVDS to VDS migration
vds-migrate precheck
-vds-migrate show-topology
vds-migrate apply-topology
vds-migrate esxi-cluster-name <cluster-name>
vds-migrate esxi-cluster-name workload-cluster
vds-migrate tn-list /opt/tnid
vds-migrate tn-list /root/tnid maintenance-timeout 15
POST https://<nsx-mgr>/api/v1/nvds-urt/precheck
PUT /policy/api/v1/infra/nvds-urt/precheck
{ "precheck_id": "########-####-####-####-############" }
GET https://<nsx-mgr>/api/v1/nvds-urt/status-summary/<precheck-id>
GET /policy/api/v1/infra/nvds-urt/status-summary/<precheck-id>
{
"precheck_id": "########-####-####-####-############",
"precheck_status": "PENDING_TOPOLOGY",
"precheck_issue": [
{
"component": "Uplink profile",
"objid": "nsxvswitch1",
"warning": "Found inconsistent profiles: [########-####-####-####-############, ########-####-####-####-############]. Uplink profile mismatch. Mtu mismatch. ",
"recommendation": "Keep profiles consistent among transport nodes in the same NVDS",
"_protection": "NOT_PROTECTED"
}
]
}
GET https://<nsx-mgr>/api/v1/nvds-urt/topology/<precheck-id>
GET /policy/api/v1/infra/nvds-urt/topology/<precheck-id>
{
"topology": [
{
"nvds_id": "########-####-####-####-############",
"nvds_name": "nsxvswitch1",
"compute_manager_topology": [
{
"compute_manager_id": "########-####-####-####-############",
"dvswitch": [
{
"data_center_id": "datacenter-4",
"vds_name": "VDS-nsxvswitch1-datacenter-4-0",
"vmknic": [],
"transport_node_id": [
"########-####-####-####-############"
],
"id": "########-####-####-####-############",
"_protection": "NOT_PROTECTED"
},
{
"data_center_id": "datacenter-4",
"vds_name": "VDS-nsxvswitch1-datacenter-4-1",
"vmknic": [],
"transport_node_id": [
"########-####-####-####-############"
],
"id": "########-####-####-####-############",
"_protection": "NOT_PROTECTED"
},
{
"data_center_id": "datacenter-22",
"vds_name": "VDS-nsxvswitch1-datacenter-22-2",
"vmknic": [],
"transport_node_id": [
"########-####-####-####-############",
"########-####-####-####-############"
],
"id": "########-####-####-####-############",
"_protection": "NOT_PROTECTED"
}
]
}
],
"id": "########-####-####-####-############",
"_protection": "NOT_PROTECTED"
}
]
}
POST https://<nsx-mgr>/api/v1/nvds-urt/topology?action=apply
PUT /policy/api/v1/infra/nvds-urt/topology?action=apply
GET https://<nsx-mgr>/api/v1/nvds-urt/status-summary/<precheck-id>
POST https://<nsx-mgr>/api/v1/transport-nodes/<tn-id>?action=migrate_to_vds
GET https://<nsx-mgr>/api/v1/nvds-urt/status-summary/<precheck-id>
{
"precheck_id": "########-####-####-####-############
",
"precheck_status": "READY",
"migration_state": [
{
"host": "########-####-####-####-############
",
"overall_state": "UPGRADE_READY"
},
{
"host": "########-####-####-####-############
",
"overall_state": "UPGRADE_READY"
},
{
"host": "########-####-####-####-############
",
"overall_state": "SUCCESS"
}
]
}