Dirmann Technology Consultants

HCX DVS Not part of Service Mesh

VMware HCX – Can you extend VLAN-backed networks?

Team –

On today’s post, we’re staying in the same realm as our last article – VMware HCX. However, today’s article (while part of the same project) has a different context to it than the previous post. To review, we’re assisting with migrating workloads from an on-premise data center to AVS. The customer has a mixed bag of network types in the environment – some are NSX overlays while others are traditional VLANs. When they reached out for assistance, they mentioned that they were attempting to extend a network required to move some of their VMs but couldn’t. The short answer to the question posed in the topic is – yes, you absolutely can. There are requirements though, which we’ll get into a bit later. For now, let’s reproduce the behavior so that we know where to look for a resolution.

Attempt to Extend

First, as with almost anything else we do in VMware we need to log into the vCenter client.

Log into vCenter
Log into vCenter

Second – let’s jump over to the HCX plug-in.

Launch HCX Plugin
Launch HCX Plugin

Once we’re looking at HCX, we’ll click on ‘Network Extension’ under the ‘Service’ section on the left-hand navigation pane. Then, ‘+Extend Networks’ on the ‘Network Extension’ view.

Attempt to Extend Network
Attempt to Extend Network

As you can see here, the network ending in ‘.197.0/24’ that we need to extend (along with a handful of others) have a nice message associated with them indicating that the ‘…network is part of a DVS which is not part of the selected Service Mesh.” Hmmm. They mentioned that they already added the required network containers in the Service Mesh for the networks they need to extend so let’s investigate further.

HCX DVS Not part of Service Mesh
HCX DVS Not Part of Service Mesh

The Investigation

Well, in the ‘Network’ view in vCenter, I can tell by the icon (and just through my knowledge about their environment) that this network was created in their NSX-T environment so the next logical step is to log into NSX-T.

Network Type
Network Object in vCenter

Once we’re in NSX-T, we’ll hop over to the ‘Networking’ section and take a look under ‘Segments’ to find the actual segment we’re interested in. Expanding it, reveals details relevant to our issue. Let’s take note of the transport zone this segment is tied to.

NSX-T Segment Details
NSX-T Segment Details

Let’s jump back into the HCX plug-in, but this time let’s take a look at the Service Mesh configuration by clicking ‘Interconnect’ under the ‘Infrastructure’ section of the navigation pane, then the ‘Service Mesh’ button in ‘Interconnect’ view followed by ‘Edit’.

Edit the Service Mesh
Edit the Service Mesh

Editing the Service Mesh presents us with a slew of options. The one I’m particularly interested in is which local network containers have actually been added to the Service Mesh. In this particular deployment, we’ll find that information on the ‘Advanced Configuration’ page of editing the Service Mesh under the ‘Configure Network Extension Appliance Count For Each Network Container Pair’ section. As suspected, the required NSX-T Transport was not included in the original Service Mesh configuration so let’s go ahead and check it out and continue through the configuration until the end where we can update the Service Mesh.

Verify and Add Network Container
Verify and Add Network Container

Once updated, we’ll re-attempt to extend that network. As you can see we are no longer presented with those warnings from before and can continue with the extension.

Able to Extend Network
Able to Extend Network

Able to Extend Network

Requirements

As I mentioned before, there are some requirements that need to be considered before extending a network. For this case, we need to consider the following –

  • A) NSX-T is the source
    • Requirement – NSX-T Manager(s) must be v2.4 or greater.
    • Requirement – NSX-T Managers must be registered in HCX.
  • B) That we are extended a VLAN-back segment.
    • Requirement – Source hosts must be transport nodes in NSX-T
  • and C) that NSX-T is being used in the destination as well.
    • Requirement – NSX-T Overlay must be configured at the destination.

For additional information regarding requirements and limitations of extended networks via VMware HCX, please see the References section below.

Conclusion

Today we stepped through editing the existing Service Mesh to include additional network containers required to extend networks associated with them

Thanks for reading. If you enjoyed the post make sure you check us out at dirmann.tech and follow us on LinkedInTwitterInstagram, and Facebook!

References

VMware – Requirements for Network Extension

VMware – Restrictions and Limitations for Network Extension

Share this article on social media:
Facebooktwitterredditpinterestlinkedinmail