When you revert VMkernel interfaces, you must begin with migration of the management kernel interface. Then migrate the other kernel interfaces from an N-VDS to a VSS swith.

Procedure

  1. Verify that the transport node state is successful.

    GET /api/v1/transport-nodes/<transportnode-id>/state

  2. Retrieve the vSphere ESXi transport node configuration to find the physical NICs defined inside the "host_switch_spec":"host_switches"element

    GET /api/v1/transport-nodes/<transportnode-id>

    "pnics": [
    	 { "device_name": "vmnic0",
    	   "uplink_name": "uplink-2"
            },
           { "device_name": "vmnic1",
               "uplink_name": "uplink-1" 
            }
                   ],
    
  3. Remove vmnic0 from the "host_switch_spec":"host_switches" element of the transport node configuration to prepare the management interface for migration.
    "pnics": [
            { "device_name": "vmnic1",
               "uplink_name": "uplink-1" 
            }
                   ],
    
  4. Migrate the management interface, vmnic0 and vmk0, from N-VDS to VSS, using the modified configuration.

    PUT api/v1/transport-nodes/< transportnode-id>?if_id=vmk0&esx_mgmt_if_migration_dest=<vmk0_port_group_name>

    Where, <vmk0_port_group> is the port group name that was assigned to vmk0 before migrating to the logical switch.

  5. Verify the migration status.

    GET /api/v1/transport-nodes/<transportnode-id>/state

    Wait until the state appears as "SUCCESS".

  6. Retrieve the vSphere ESXi transport node configuration.

    GET /api/v1/transport-nodes/<transportnode-id>

  7. Migrate vmk1 from N-VDS to VSS, using the preceding transport node configuration.

    PUT api/v1/transport-nodes/< transportnode-id>?if_id=vmk1&esx_mgmt_if_migration_dest=<vmk1_port_group>

    Where, <vmk1_port_group> is the port group name that was assigned to vmk1 before migrating to the logical switch.

    Note:

    vmk0 or vmk1 must be migrated to the vSS with at least one physical NIC because the VSS does not have any physical NIC associated with it.

  8. Verify that the transport node state is successful.

    GET /api/v1/transport-nodes/<transportnode-id>/state.

  9. Perform post-migration verification to avoid any problems.
    1. The management kernel interface, vmk0 must not be migrated before there is an uplink interface attached to VSS.

    2. Ensure that vmk0 receives its IP address from vmnic0, otherwise the IP might change, and other components like VC might lose connectivity to the host through the old IP.