When you migrate the management kernel interface, you move vmnic0 and vmk0 from a VSS to an N-VDS . Before you migrate the VM management interface to N-VDS, perform connectivity checks.

About this task

Then you can migrate the physical uplink vmnic0 and vmk0 to the N-VDS together in one step. Modify the transport node configuration so that the vmnic0 is now configured as one of its uplinks.

Note:

: If you want to migrate the uplink vmnic0 and kernel interface vmk0 separately, first migrate vmk0 and then migrate vmnic0. If you first migrate vmnic0, then vmk0 remains on the VSS without any backing uplinks and you lose connectivity to the host.

Note:

You cannot revert the migration of the network interfaces from N-VDS to VSS.

Prerequisites

  • Verify connectivity to the already migrated vmknics. See Migrate VM Kernel Interfaces to N-VDS.

  • Verify that an external device can reach interfaces vmk1 on storage VLAN-backed logical switch and vmk2 on the vMotion VLAN-backed logical switch.

  • If vmk0 and vmk1 use different VLANs, trunk VLAN must be configured on the physical switch connected to PNICs vmnic0 and vmnic1 to support both VLANs.

Procedure

  1. (Optional) Create a second management kernel interface on VSS and migrate this newly created interface to N-VDS.
  2. (Optional) From an external device , verify connectivity to the test management interface.
  3. If vmk0 uses a different VLAN than vmk1, create a VLAN-backed logical switch in the VLAN transport zone with a VLAN ID that matches the VLAN ID used by vmk0 on the VSS.
  4. Retrieve the vSphere ESXi transport node configuration.

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

    Where <transportnode-id> is the UUID of the transport node.

  5. In the host_switch_spec:host_switches element of the configuration, add the vmnic0 to the pnics table and assign it to uplink-2.
    "pnics": [      {
                        "device_name": "vmnic0",
                        "uplink_name": "uplink-2"
                    },
                    {
                        "device_name": "vmnic1",
                        "uplink_name": "uplink-1"
                    }
    		],
    
  6. Migrate the management kernel interface, vmk0 to N-VDS using the updated configuration.

    PUT api/v1/transport-nodes/< transportnode-id>if_id=<vmk>&esx_mgmt_if_migration_dest=<network>

    Where, the <transportnode-id> is the UUID of the transport node. The <vmk> is the name of the VMkernel management interface vmk0. The <network> is the UUID of the target logical switch.

  7. Verify that the migration has finished successfully.

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

    Wait until the migration state appears as SUCCESS. In vCenter Server, you can verify whether the kernel adapters are configured to display the new logical switch name.

What to do next

Verify the status of the transport node.