HCX MON Toggle switch is missing
search cancel

HCX MON Toggle switch is missing

book

Article ID: 370401

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • HCX Mobility Optimized Network option to enable MON feature is missing on the HCX hybridity page UI.
  • HCX Enterprise License is activated and valid.

 

Environment

HCX 4.9.1 or earlier.
NSX 4.x

Cause

This is due to a flag change in the NSX overlay segments

Resolution

The issue is resolved in HCX version 4.10. 

Workaround for HCX 4.9.1 or earlier:

Steps to enable MON using API. 

  • Log in to HCX hybridity page https://<hcx-manager-ip> and navigate to Network Extension.
  • Open the developer tools on the browser.
  • Select Network -> XHR and l2E from the name window and collect the information from the Response tab related to the L2E that MON needs to be enabled. 
  • Copy the whole response output to a "Notepad ++" and search for the VLANID and its corresponding stretchId that you want to enable MON.

 

Next, use the Update Network Extension API to enable/Disable the MON.

  • Navigate to Network Extension API in the HCX API explorer using the following URL: https://<hcx-FQDN>/hybridity/docs/index.html
  • Select the HCX Connector from the drop down.
  • Select Network Extension as shown in the screenshot below
  • Replace api.example.com with the ip or FQDN of the HCX manager
  • Go to Authorize, select PUT, and click Try it out.
  • Click on Authorize and key in the x-hm authorization token.
  • Fill out the information(All the fields), including the server name and Extension ID.
  • Here, extension ID should be the stretch ID that was noted earlier.
  • Ensure that in the Request body - Schema, all details are filled properly with the same format and alignment.

  • At the bottom of the schema body, change the following feature to true and click Execute.
     "mobilityOptimizedNetworking": true

 

  • On the HCX hybridity page, you will see MON option highlighted on the Network Segment.

 

  • Monitor the progress from the logs and on successful completion API response should be 200.  

    Login to the HCX Manager SSH/Putty as user root and run the command below.
tail -f /common/logs/admin/app.log 



 

Additional Information

Once the MON feature is enabled on the segment, you may need to enable MON for individual VMs