Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
175 views24 pages

Vmware NSX T Migration Guide

Uploaded by

Karlis Erglis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views24 pages

Vmware NSX T Migration Guide

Uploaded by

Karlis Erglis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

M I G R AT I O N G U I D E – J U N E 2 0 2 0

How to Migrate from


VMware NSX for vSphere
to NSX-T
How to Migrate from VMware NSX for vSphere to NSX-T

Table of Contents
Purpose for this Document.................................................................................... 3
Target Audience................................................................................................... 3
High Level Options to Migrate to NSX-T................................................................. 3
In Parallel Migration.......................................................................................4
Independent Bridging....................................................................................4
NSX-T Only Bridging......................................................................................4
In Place Migration .........................................................................................5
Migration Steps in General.................................................................................... 5
Understand NSX............................................................................................ 5
Plan Your Migration Approach........................................................................ 5
Install NSX-T Manager Appliances and Edges.................................................. 5
Import Configuration from NSX-V................................................................... 6
Apply Configuration on NSX-T........................................................................ 6
Migrate.......................................................................................................... 6
Migrate Edges............................................................................................... 6
Migrate Hosts................................................................................................ 6
Migration Coordinator Tool.................................................................................... 6
Prepare NSX-V for Migration.......................................................................... 7
Install NSX-T Manager Appliances................................................................... 7
Add Compute Manager.................................................................................. 8
Start Migration Coordinator Service................................................................11
Start Migration...............................................................................................11
Migration Coordinator Steps.......................................................................... 12
Import Configuration..................................................................................... 12
Authentication.............................................................................................. 12
Import Configuration..................................................................................... 14
View Imported Topology............................................................................... 15
Resolve Configuration...................................................................................16
Informational Messages................................................................................. 17
Interactive Messages.....................................................................................18
Submit Inputs...............................................................................................18
Maintenance Mode Options...........................................................................19
Migration Configuration................................................................................ 20
Migrate Edges.............................................................................................. 21
Rollback...................................................................................................... 22
Migrate Hosts.............................................................................................. 22
Conclusion......................................................................................................... 22
References.................................................................................................. 23

M I G R AT I O N G U I D E | 2
How to Migrate from VMware NSX for vSphere to NSX-T

Purpose of this Document


VMware NSX-T has arrived! The message was loud and clear during VMworld 2019. The
latest NSX-T 3.0 release is acting as a catalyst to NSX-T’s growth that was already on an
exponential growth trajectory with the NSX-T 2.5 release and the recently released 2.0
version of the NSX-T Design Guide. Gone are the days of questions comparing NSX-T
with NSX for vSphere (NSX-V). Top of mind question for customers today are who have
adopted NSX-V and how do I upgrade my NSX-V based data center to NSX-T?

There are several ways to migrate from NSX-V to NSX-T. In this white paper, we will look at
various approaches available for migration. This white paper will also focus on Migration
Coordinator, a tool built into NSX-T that simplifies in place upgrade of NSX-V based
infrastructure to NSX-T.

Target Audience
This white paper is primarily for the benefit of customers who are currently using NSX-V.
This document focuses on the options available to migrate from NSX-V to NSX-T.
Knowledge of both of NSX-V and NSX-T is essential for a successful outcome. Please
check out the design guides for both versions of NSX.
1. VMware NSX for vSphere Network Virtualization Design Guide
2. VMware NSX-T Reference Design
Additionally, try out NSX-T in a lab environment, to get hands on experience with the
product, before embarking on a migration project.

High Level Options to Migrate to NSX-T


At a high level, we have two primary approaches when migrating to NSX-T
(Figure 1: High Level Migration Approaches).
1. In Parallel
2. In Place

NSX-V NSX-T NSX-V NSX-T

Old HW New HW Same HW

In Parallel Migration In Parallel Migration

Figure 1: High Level Migration Approaches

M I G R AT I O N G U I D E | 3
How to Migrate from VMware NSX for vSphere to NSX-T

In Parallel Migration
In this method, NSX-T infrastructure is deployed in parallel along with the existing NSX-V
based infrastructure. While some components of NSX-V and NSX-T, such as management,
could coexist, compute clusters running the workloads would be running on separate
hardware.

There are some of the advantages with this approach, namely flexibility. Migration of the
workload in this approach could take couple of different approaches.
1. New workloads are deployed on NSX-T and the older workloads can die over time.
2. Lift and shift workloads over to the new NSX-T infrastructure.

Either case allows for planning the migration based on individual tenant and workload
requirements and migrate one piece at a time.

When running NSX-V and NSX-T in parallel, based on the desired approach for migration,
they could stay as independent entities or create cross-connectivity between the two
domains using methods such as NSX Bridging.

Bridging Approaches
There are two approaches available for Bridging the two domains:
1. Independent Bridging
2. NSX-T Only Bridging

Independent Bridging
In the independent bridging approach, both NSX-V and NSX-T would enable bridging
that is independent of each other, but both connected to the same VLAN backed
network. This model allows more than 1 network to be bridged at the same time, if the
number of such networks is within the scale limits of bridging for NSX-V and NSX-T.

For scale limits, refer to the config max tool.

NSX-T Only Bridging


In this approach, an NSX-T Bridge may be placed on a host that is prepared for NSX-V.
This allows the Bridge to take advantage of decapsulation of VXLAN frames that happens
on the ESXi host and only needs to perform Geneve encapsulation. However, with this
approach, only one network may be bridged per Edge VM.

Downsides to In Parallel Migration


While the in parallel approach has benefits such as planning and migration on demand
that’s based on workload requirements, there are certain downsides to it that need to
be considered.
1. Recreate topology and policy: Currently, topology and policy from the existing NSX-V
cannot be leveraged. Instead, it needs to be created on the new NSX-T based
infrastructure.
2. Needs separate hardware (HW): NSX-T and NSX-V cannot coexist on a single host.
Hence, there is a need for separate HW to run NSX-T based compute clusters on.
Separate does not necessarily mean new. Some customers have leveraged existing HW
to carve out resources that can be released from NSX-V and reallocated to NSX-T. This
approach is slower and requires moving over HW resources to NSX-T as workloads are
migrated to NSX-T. Another approach is to go with new HW which could work in cases
where the migration aligns with a HW refresh cycle. In this case, NSX-T could be
installed on the new HW.

M I G R AT I O N G U I D E | 4
How to Migrate from VMware NSX for vSphere to NSX-T

3. vMotion: vMotion may be needed to move the existing workloads; however, vMotion
has certain limitations which could result in downtime based on the type of vMotion
approach available. These limitations should be taken into consideration. Check out
he KB article 56991, vMotion Between VDS/VSS and N-VDS (NSX-T switch), for
more details.
4. Managing Policy: Customers need to consider that a workload may exist in any of the
two infrastructures. There may be a need for adding or removing new workloads and a
need to change the security posture. Care should be taken to update both infrastructures
to ensure that these modifications do not compromise the security posture.
5. Managing two infrastructures: Customers will have to plan for supporting two different
environments for the duration of the migration.

In Place Migration
Another approach to migrating over to NSX-T is using the NSX-T’s built in Migration
Coordinator tool. The Migration Coordinator tool, available since the 2.4 release of NSX-T,
helps in replacing NSX-V, in place on existing hardware, with NSX-T. This tool also imports
the existing configuration to apply on the new NSX-T based infrastructure.

The Migration Coordinator tool also supports Maintenance Mode, that allows automatic
placement of ESXi host into maintenance mode and vMotion VMs off from the host before
replacing the VIBs. This feature was introduced in the 3.0 release of NSX-T. The end goal
of this tool is to completely transform your existing NSX-V into an NSX-T based infrastructure.
Later sections of this white paper focus on the Migration Coordinator tool.

Migration Steps in General


For both in parallel and in place migration, the following are recommended steps:
Understand NSX
Before starting off on migration, get to know both NSX-V and NSX-T. Since customers are
coming from an NSX-V background, they should already know NSX-V.

For NSX-T, we recommend building a lab infrastructure and getting to know the platform,
hands on. At the very least, try out the Getting Started with NSX-T hands-on labs.

As mentioned previously, check out the design guides for both the product lines to
understand their full details:
1. VMware NSX for vSphere Network Virtualization Design Guide
2. VMware NSX-T Reference Design

Plan Your Migration Approach


Understand the workloads that are running on NSX-V. This will help figure out whether a
quick in-place migration or a longer in parallel approach would be better.

Install NSX-T Manager Appliances and Edges


For both the in-parallel and in-place approaches, start off the migration process by installing
the NSX-T Manager Appliances. Some of these components may share resources with the
existing NSX-V infrastructure. For example, NSX-T Manager Appliances may be installed
in the same management cluster that the older NSX-V Manager components reside on.
Note that NSX-T Manager is installed via an OVA and not Manager UI.

M I G R AT I O N G U I D E | 5
How to Migrate from VMware NSX for vSphere to NSX-T

Import Configuration from NSX-V


Based on the approach towards migration, the next step would be to import the
configuration from the existing NSX-V infrastructure.

In the case of in-place migration with Migration Coordinator, importing configuration


is an automated process.

For the in-parallel migration, there are several approaches based on the migration
strategy. Some customers like to start off fresh using a different design and security
posture and move the workloads over. While others like to keep the new NSX-T
infrastructure consistent with the existing infrastructure. With either approach, the new
NSX-T infrastructure needs to be built up with the right networking components and
security posture. Some parts of this migration, such as importing security posture, could
potentially be automated.

Apply Configuration on NSX-T


The imported configuration needs to be applied on the NSX-T infrastructure. Again, with
the Migration Coordinator tool, this step is a single click automated process. With the
in-parallel approach, this step may be scripted to go along with the import phase of
the migration.

Migrate
In-Parallel Migration
At this point NSX-T infrastructure should be up and running with the right configuration
and ready to migrate workloads. Migrating workloads over could mean downtime based
on the approach taken to migrate.

In-Place Migration
Migrate Edges
The next phase in Migration Coordinator is to move the N/S connectivity over to NSX-T.
In this special case, NSX-T during migration, is able to talk to VxLAN and not just Geneve.
Because of this feature, NSX-T edges can talk to workloads on the existing NSX-V
infrastructure and communicate with the existing NSX-V based hosts and their VTEPs.

Migrate Hosts
Final step in this migration process is to migrate the hosts over to NSX-T. This is the final
step and there is no revert at this point.

Migration Coordinator Tool


This tool was introduced with the NSX-T 2.4 release. Based on the feedback from the 2.4
release, the NSX-T 2.5 release improved the ease of use and health check capabilities of
the NSX-T Migration Coordinator tool. The following are steps to take during NSX-T migration:

Learn and try out NSX-T first


– Learn more with curated learning paths on NSX Tech Zone
– Try out for free with an NSX-T Hands-on Lab
1. Prepare NSX-V for Migration
2. Install NSX-T Manager appliances: because it’s a tool within NSX-T, duh!
3. Import configuration from NSX for vSphere
4. Check and resolve any configuration related issues migrating from NSX-V to NSX-T
5. Migrate Configuration
6. Migrate Edges
7. Migrate Hosts
8. Finish Configuration
M I G R AT I O N G U I D E | 6
How to Migrate from VMware NSX for vSphere to NSX-T

Let’s take a look at each of the steps as it relates to Migration Coordinator tool.

Prepare NSX-V for Migration


Before starting with the migration process using Migration Coordinator, ensure NSX-V is
ready for migration. There are number of checks that need to be performed in this stage
including:
1. Making sure the NSX-V is in a stable state
2. Backup
3. Making sure VXLAN port is set to 4789
4. Ensure the export version of DFW is set to 1000 etc.,

For a full list of checks, refer to the Migration Coordinator guide. Specifically, read the
section Prepare NSX Data Center for vSphere Environment for Migration (NSX-T 2.5).

Install NSX-T Manager Appliances


Migration Coordinator is a tool that is available within the NSX-T Manager appliance.
Hence, NSX-T Manager Appliances need to be installed to start the migration process
using this tool. This tool was introduced with NSX-T 2.4. However, the recommended
version is NSX-T 2.5 release or later as they have several usability and health check
enhancements.

Note: While the recommended approach for production workloads is to use a quorum of
3 NSX-T Manager Appliances, it may be acceptable, based on the type of workload, to
start with just one. Implications of having only one NSX-T Manager should be considered,
before taking this approach.

Create IP Pool for Tunnel End Points


After the NSX-T Manager Appliance installation, create an IP Pool for Tunnel End Points.

Figure 2: Create IP Pool for TEP

M I G R AT I O N G U I D E | 7
How to Migrate from VMware NSX for vSphere to NSX-T

Install Edges
Install the required number of edges with the amount of resources that matches the
existing NSX-V deployment.

Figure 3: Install Edge Nodes

Use the Migration Coordinator Guide’s “Determining NSX Edge Requirements” (NSX-T
version 2.5) section to figure out the right number of edges and the right amount of
resources for each edge.

Resolve Configuration stage of the Migration Coordinator helps validate whether the
Edges deployed are of the right size.

Add Compute Manager


Add Compute Manager that points to the vCenter that’s attached to the NSX-V that needs
to be migrated.

Click on System -> Fabric -> Compute Managers -> Add

Figure 4: Add Compute Managers — 1

M I G R AT I O N G U I D E | 8
How to Migrate from VMware NSX for vSphere to NSX-T

Provide the details of the vCenter that’s attached to the NSX-v that needs to be migrated:

Figure 5: Add Compute Manager — 2

Accept the thumbprint from the vCenter:

Figure 6: Accept vCenter Thumbprint

At this point, you may have a pop window that needs to be resolved — simply provide
username and password of vCenter and click resolve.

M I G R AT I O N G U I D E | 9
How to Migrate from VMware NSX for vSphere to NSX-T

Figure 7: Add Compute Manager — Resolve — 1

Figure 8: Add Compute Manager — Resolve — 2

Confirm vCenter is connected.

Figure 9: Confirm vCenter is connected

M I G R AT I O N G U I D E | 1 0
How to Migrate from VMware NSX for vSphere to NSX-T

Start Migration Coordinator Service


Migration Coordinator is available from the NSX-T UI under System Tab on top and
Migrate on the left side menu. However, the service for Migration Coordinator is not
started by default. Hence, going to the Migrate page before starting migration coordinator
service, will display a message on top of screen stating that the migration coordinator
needs to be enabled.

Figure 10: Migration Coordinator Service is disabled by default

This tool needs to be enabled from CLI. Login to the NSX-T Manager cli and run the
following command to enable it:

nsx-manager> start service migration-coordinator

Once the service is enabled, Migrate page on NSX-T UI changes to display the
Migration options.

Start Migration

Figure 11: Migration Coordinator Wizard

M I G R AT I O N G U I D E | 1 1
How to Migrate from VMware NSX for vSphere to NSX-T

Migration Coordinator Steps:


To start the Migration, click on the “GET STARTED” button. A couple of things to
note here:
1. No changes are allowed during the migration process.
2. Even though this is technically the start of the migration process, no changes have been
made on the NSX-V side so this process may be abandoned at this point without any
negative impact.
Migration Coordinator has 5 main steps:
1. Import Configuration
2. Resolve Configuration
3. Migrate Configuration
4. Migrate Edges
5. Migrate Hosts

In the following sections, we take a close look at each of these steps.

Import Configuration
Import configuration step consists of two sub steps
1. Authenticate to NSX-V
2. Import Configuration

Authentication
Click on Select NSX

Figure 12: Select NSX

Provide the NSX for vSphere details. Use the vCenter details provided in the earlier step. If
not done yet, use the ADD NEW button for the vCenter field to add vCenter details.

M I G R AT I O N G U I D E | 1 2
How to Migrate from VMware NSX for vSphere to NSX-T

Figure 13: Select NSX for vSphere

Once all the details are provided and verified, click on AUTHENTICATE.

Confirm that the authentication to NSX for vSphere was successful.

Figure 14: Successful Authentication to NSX for vSphere

M I G R AT I O N G U I D E | 1 3
How to Migrate from VMware NSX for vSphere to NSX-T

Import Configuration
Second step in this process involves importing configuration. Click on START button to
start importing configuration.

Figure 15: Start Importing Configuration

Click on the IMPORT button to confirm importing the configuration.

Figure 16: Import Configuration — Click Import

At this point, Migration Coordinator imports the existing configuration from the NSX for
vSphere. This does not make any changes to the NSX for vSphere so this could be used
for a quick check on the Migration Coordinator readiness of any setup.

M I G R AT I O N G U I D E | 1 4
How to Migrate from VMware NSX for vSphere to NSX-T

Figure 17: Importing Configuration

View Imported Topology


Once the Migration Coordinator imports the configuration, there is an option to view
the existing NSX-v topology by clicking on the “View Imported Topology” link:

Figure 18: Topology Viewer

To go to the next step of the Migration Coordinator, click on the “CONTINUE” button:

M I G R AT I O N G U I D E | 1 5
How to Migrate from VMware NSX for vSphere to NSX-T

Figure 19

This will take us to the next step that helps in resolving any configuration related issues.

Resolve Configuration
This stage is focused on resolving any configuration related issues. To resolve either
accept the recommended value or where applicable and available tune it to match the
required values.

Figure 20: Resolve Configuration Stage

Following are some example of the items that may need to be resolved.

M I G R AT I O N G U I D E | 1 6
How to Migrate from VMware NSX for vSphere to NSX-T

Informational Messages
One of the items under L2 category is a callout for Host that won’t be migrated because
NSXV is not installed on it. In this case, user interaction is limited to simply to accepting
the information.

Figure 21:Resolve Configuration — Informational Messages

To see the details, click on the above Message.

Figure 22: Accept Recommendations

Click “ACCEPT” to accept the recommendation.

M I G R AT I O N G U I D E | 1 7
How to Migrate from VMware NSX for vSphere to NSX-T

Interactive Messages
Some of these messages may need user interaction. For example, VTEP VLAN id for
NSX-T Edge Transport Nodes. This may need a change based on requirements:

Figure 23: Interactive Messages

Click on the Message “VTEP VLAN id for NSX-T Edge Transport Nodes” to make
a change:

Figure 24: Interactive Messages — Take Action

Submit Inputs
After all the changes/reviews within a category, “SUBMIT” button that shows up on top
right should be clicked to record the inputs.

M I G R AT I O N G U I D E | 1 8
How to Migrate from VMware NSX for vSphere to NSX-T

Figure 25: Resolve Configuration — Submit Inputs

Maintenance Mode Options


One of the options under the resolve configuration page is to help select “Automated” vs
“Manual” Maintenance Mode.

Figure 26: Maintenance Mode

Clicking on the message allows the user to configure whether the Maintenance Mode
should be in Automated mode or Manual. In the Automated Maintenance Mode, which is
the recommended mode, ESXi hosts are automatically placed in maintenance mode and
the VMs are also migrated automatically. In the Manual Maintenance Mode, Migration
Coordinator will place the ESXi host in maintenance mode but will wait for user
intervention to migrate the VMs out of the host.

Once all the changes are accepted and submitted, we can move on to the next step of
migrating the configuration.

M I G R AT I O N G U I D E | 1 9
How to Migrate from VMware NSX for vSphere to NSX-T

Migration Configuration
This stage migrates the configuration over from NSX for vSphere to NSX-T. Any
changes that were done during the Resolve Configuration stage are incorporated
into this migration.

Figure 27: Migrate Configuration

Once the Migration of Configuration finishes, it displays a table of object types


and their mapping moving from NSX for vSphere to NSX-T.

At this point, we can move to the next phase “Migrate Edges” by clicking on “CONTINUE”

M I G R AT I O N G U I D E | 2 0
How to Migrate from VMware NSX for vSphere to NSX-T

Migrate Edges
Edge Migration straight forward, simply click on “Start”:

Figure 28: Migrate Edges

This step does expect deployed correctly sized NSX-T Edges, that are suitable to support
NSX-T version of the topology deployed on NSX-V.

Figure 29: Migrate Edges — Rollback

M I G R AT I O N G U I D E | 2 1
How to Migrate from VMware NSX for vSphere to NSX-T

Rollback
UI driven Rollback is supported, even after migrating the Edges. Simply click on
“ROLLBACK” if planning to rollback at this stage. Clicking Continue will move us to the
last stage of Migration which is Migrating Hosts.

Migrate Hosts
This is the last step of Migration. This pane offers several options including:
1. Whether the Migration should happen serially (one host at a time) or in parallel
(all the hosts at the same time)
2. Where there should be a pause between each cluster
3. And importantly, since the NSX-T 3.0 release, whether the Migration should use
Maintenance mode.

Figure 30: Migrate Hosts - Change Migration Mode

Select the right options based on the requirements and click start.

Note: Rollback at this point is not available. If rollback is desired, one way to achieve that
would be to use a smaller 2 node test cluster to try the migration out on, enable pause
between clusters, and then continue or rollback based on the outcome on that first
test cluster.

Conclusion
There are multiple ways to Migrate from NSX for vSphere to NSX-T Data Center. Migration
Coordinator provides a simple automated in-place approach with minimal downtime and
using the same hardware.

M I G R AT I O N G U I D E | 2 2
How to Migrate from VMware NSX for vSphere to NSX-T

References
Documentation
• VMware NSX-T Data Center Documentation provides a list of resources, including API
and CLI guides
• NSX-T Data Center Migration Coordinator Guide

Design Guides on NSX-T


• VMware NSX-T Reference Design

Try out NSX-T for free


• Getting Started Hands-on Lab for NSX-T Data Center

Other Resources
• Migration from VMware NSX for vSphere to NSX-T
• Watch the Demo of VMware NSX-T Migration Coordinator
• How to Use Migration Coordinator’s Automated Maintenance Mode
• Demo of Migration Coordinator’s Automated Maintenance Mode

M I G R AT I O N G U I D E | 2 3
VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com Copyright © 2019 VMware, Inc.
All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. and its subsidiaries in the United States and other jurisdictions. All other
marks and names mentioned herein may be trademarks of their respective companies. Item No: vmw-pguide-nsx-migration-coordinator-uslet-v3 6/20

You might also like