Creating HCX Multi Site Service-Mesh for Hybrid Mobility

This is in continuation with my last post where I discussed about what is service mesh feature of HCX and how it works. In this post we will learn how to create service mesh.

As we discussed earlier that we need to have compute/network profiles created on both on-prem and cloud side.

The compute profile describes the infrastructure at the source and destination site and provides the placement details (Resource Pool, Datastore) where the virtual appliances should be placed during deployment and the networks to which they should connect.

Login to HCX cloud appliance using your vSphere credentials (https://HCX-FQDN) and navigate to Multi-Site Service Mesh tab and click on create compute profile. 

hcx-mesh-1

Create compute profile page gives you a fair idea on what a compute profile comprises of.

Provide a name for your profile and hit continue. 

hcx-mesh-2

Select the HCX services to be enabled. I selected all services in my case.

 

Select the placeholder vSphere Cluster for the HCX interconnect appliances.

hcx-mesh-4

Select placeholder Resource Pool and Datastore. 

Note: When multiple compute resources or datastores are selected, HCX uses the first selection until its capacity is exhausted.

hcx-mesh-5

Next is to create the network profile. This comprises of creating a management network, Uplink and vMotion network profile. 

Create Management Network Profile

hcx-mesh-6

Select the appropriate portgroup which will serve as management network for the IX appliances. 

Provide a friendly name for the profile and specify IP-Pool, Prefix length, Default GW and DNS etc. 

hcx-mesh-7.JPG

Create Uplink Network Profile

hcx-mesh-8

hcx-mesh-9

Create vMotion Network Profile

hcx-mesh-10

Create vSphere Replication Network Profile

Note: You can use same portgroup for multiple purpose. In my lab I don’t have a dedicated network for vSphere Replication, so I reused my management network profile here. 

hcx-mesh-11

Note: During network profile creation, the topology view is dynamically updated, depicting how HCX Interconnect appliances will be connected with the selected networks.

Select the appropriate vDS and hit continue. 

hcx-mesh-12

On Pre-Deployment Validation page, HCX will check the selected configurations are valid for interconnect deployments.

hcx-mesh-13

On clicking “Review Connection Rules” HCX will provide you with list of network rules that should be in place. You can review all ports that needs to be opened in your environment. 

hcx-mesh-14.JPG

Click on finish button to finish the compute profile creation wizard.

hcx-mesh-15.JPG

Now our Compute Profile is created and is ready to be used when creating a service mesh.

hcx-mesh-16.JPG

Now we have to repeat the same process in on-prem HCX. Below slideshow shows the steps for the same.

This slideshow requires JavaScript.

Create Service Mesh

Adding a Service Mesh initiates the deployment of HCX Interconnect virtual appliances on both of the sites. An interconnect Service Mesh is always created at the source site.

To create a service mesh, following requirements should be met:

  • A connected Site Pair.

  • A valid compute profile at the HCX Enterprise (Source) site.

  • A valid compute profile at the HCX Cloud (Destination site.

To create service mesh, login to On-prem vSphere Client and navigate to HCX > Interconnect > Multi-Site Service Mesh > Service Mesh tab and click on Create Service Mesh

HCX Service Mesh Creation.png

 

Select source and destination site between which mesh will be created. 

Note: Only connected Site Pairs are displayed

hcx-mesh-31

Select the compute profile for both source and destination. If there is only one compute profile at both sites, it is automatically populated here.

hcx-mesh-32

Select the HCX services to be enabled and hit continue button.

HCX Service.png

You can optionally override the uplink network profile under Advanced configuration if you wish. 

hcx-mesh-34

Review the selected clusters and resources and hit continue.

hcx-mesh-35

Provide a name for the service mesh and hit Finish button to complete the service mesh creation wizard.

hcx-mesh-36.JPG

Service mesh deployment will start. 

hcx-mesh-37.JPG

Interconnect appliances are deployed in both sites during the process. 

hcx-mesh-38.JPG

Wait for 5-7 minutes for appliance deployment task to finish.

hcx-mesh-39.JPG

Under Service Mesh > Appliances tab, verify that Tunnel status reports as UP for the IX appliance.

hcx-mesh-40

Optionally you can verify the same in HCX Cloud UI.

hcx-mesh-41

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing :)