VMware NSX

 View Only
  • 1.  Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 05:01 AM

    I am planning to migrate the work loads from VXLAN to VLAN

    I have 2 VXLAN network which i am planning to migrate to VLAN so that their D.G will be the Physical L3 switch.

    I understand migrating from VLAN to VXLAN using L2 bridging.

    Would like to know whether the procedure will be the same by using L2 bridging or is there any other way by which it can be done.



  • 2.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 07:35 AM

    Is the current default gateway in NSX DLR?

    If you need to migrate in phases/stages then you will need L2 bridging and the procedure is pretty much the same like migrating from VLAN to VXLAN with bridging

    But if you want to migrate all VMs on a VXLAN altogether, then you just need to

    - reconnect all the VMs on that particular VXLAN to VLAN-backed PortGroup

    - disconnect the DLR LIF for that default gateway

    - make sure the north-south Edge is not advertising that network anymore

    - lastly enable/migrate default gateway to the physical L3 switch (you can probably do a pre-configuration with the interface shut down, so you just need to enable it during migration)



  • 3.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 07:50 AM

    Thanks.

    Yes the current default gateway is NSX DLR.

    I have 4 VXLAN & out of which i need to migrate 2 VXLAN to VLAN & keep the remaining VXLANs the same.

    So it will be a phased migration for the 2 VXLAN.

    My understanding is that there will be down time to this.



  • 4.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 07:57 AM

    Further to the above I don't want all the VM`s in the VXLAN to migrate at single go. I want to do it in a phased manner.



  • 5.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 08:03 AM

    I have prepared the steps as below.  Let me know if this is correct.

    My ESXi hosts are connected to the L2 physical switch which are further connected to the L3 Physical switch.

    Create a distributed port group for the VXLAN which needs to be extended to the Physical L3 switch.

    ex VLAN – 100 (10.15.8.0/24)

       VLAN – 101 (10.15.9.0/24)

    Create VLAN 100 & 101 in the Physical switch.

    Configure trunk between the ESXi hosts <-> L2 Switch to allow VLAN 100 & 101

    Configure trunk between the L2 Switch  <-> Physical L3 switch

    Create L2 Bridging in the NSX DLR for each for VLAN 100 & 101

    There will be 1:1 ratio mapping of the VLAN to VXLAN mapping

    Migration of the VM`s from VXLAN logical switch to VLAN Distributed port group.

    Configure the L3 Interface in the Physical L3 switch (shutdown state)

    Change the D.G from NSX DLR to the Physical L3 switch.

    Remove the bridging instance for that particular VXLAN – VLAN

    Remove the VXLAN (Logical switches) f



  • 6.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 08:25 AM

    Yes that should be correct and I don't think you have missed any steps



  • 7.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 10:04 AM

    Thanks.

    Migration of the VM`s from VXLAN logical switch to VLAN Distributed port group.

    - For the above step my understanding is that we need change the VM`s NIC i need to change pointing from Logical swith to Distributed port group.

    Let me know if my understanding is right.



  • 8.  RE: Migrating from work load from VXLAN to VLAN
    Best Answer

    Posted Feb 01, 2017 06:32 PM

    Yes migration in this case = migrate network which is changing VM portgroup from VXLAN logical switch to PortGroup

    If you need to change the ESXi host, in vSphere 6 you can change ESXi and network in the same time

    You can use vSphere Web Client > Networking > VDS Migrate VM or use PowerCLI so you can migrate multiple VMs at a time

    vSphere Web Client: Migrate Virtual Machine Networking to the vSphere Distributed Switch

    PowerCLI: Migrate Virtual Machine Networking Configuration from a vSphere Standard Switch to a vSphere Distributed Switch



  • 9.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 02, 2017 01:26 AM

    Thanks Got it



  • 10.  RE: Migrating from work load from VXLAN to VLAN

    Posted Feb 01, 2017 08:11 AM

    Yes there will be a downtime.

    You can still do 1 VXLAN per time without bridging but all VMs on that particular VXLAN