VMware NSX-T Data Center Migration: Port Group Migration Options

Port Group Migration Options

Question

An NSX administrator is migrating vSphere port groups configured in vSphere to N-VDS.

What are two migration options? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AD.

Sure, I'd be happy to provide a detailed explanation of the two migration options for an NSX administrator who is migrating vSphere port groups configured in vSphere to N-VDS.

  1. Migrate vSphere port groups using the esxcli command line: The first option is to migrate vSphere port groups using the esxcli command line. This method involves running the esxcli network vswitch standard portgroup commands to create a new N-VDS port group, move virtual machines to the new port group, and delete the old vSphere port group. The steps to perform this migration include:
  • Create a new N-VDS port group using the esxcli network vswitch standard portgroup add command.
  • Move virtual machines from the old vSphere port group to the new N-VDS port group using the esxcli network vswitch standard portgroup set command.
  • Verify that the virtual machines are communicating on the new N-VDS port group.
  • Delete the old vSphere port group using the esxcli network vswitch standard portgroup remove command.

This method requires the use of the ESXi command line and may be time-consuming if many port groups need to be migrated. However, it provides more control over the migration process and allows for customization of the migration.

  1. Migrate vSphere port group through the NSX Manager API Calls: The second option is to migrate vSphere port groups through the NSX Manager API calls. This method involves using the NSX Manager REST API to automate the migration process. The steps to perform this migration include:
  • Create an N-VDS port group on the target transport node using the NSX Manager REST API.
  • Retrieve a list of virtual machines attached to the vSphere port group using the NSX Manager REST API.
  • For each virtual machine, detach the virtual machine from the vSphere port group and attach it to the new N-VDS port group using the NSX Manager REST API.
  • Delete the old vSphere port group using the NSX Manager REST API.

This method allows for a more automated and streamlined migration process, which may be beneficial for larger environments with many port groups to migrate. However, it requires knowledge of REST APIs and scripting to perform the migration.

In summary, the two migration options for an NSX administrator who is migrating vSphere port groups configured in vSphere to N-VDS are to use the esxcli command line or the NSX Manager API calls. The esxcli command line method provides more control over the migration process, while the NSX Manager API call method is more automated and streamlined. The choice of method will depend on the specific needs and requirements of the environment being migrated.