VMware

VMware on AWS: HCX. Please, don’t change anyting!

Share
5/5 - (1 vote)

shot story: Customer changed the name of a network that was extended by HCX. The VMs on VMC that use this network don’t reach On-prem VMs on same network. On HCX I can’t unextend this network because HCX and vcenter hadn’t the same name! yes, I solved this problem.

If you are using HCX don’t manually change any information about all the objects that are used by HCX!

Write it in your mind. Don’t change anything!
HCX use a own database e connect information about objects with vCenter database. If you do one action i put there something will go wrong:

  • don’t change the name of the vCenter Objects advertised to HCX through Compute Profile and/or through NE appliances (VM, networks, datastores).
  • don’t edit HCX fleet by adding the networks or every others information.

Those operations will create inconsistency to the HCX database and will create problems for the future upgrades.

The problem

So, as I said, customer changed the name of a extended network. I tried to unexend it from HCX manager but it doesn’t work. We hve to use “forced” option, network could be unexended from HCX manager (and it disappear from the list) but HCX fleet interface still exist on the vm! I can disablet it but the system want to use it with a new network extension.
Now I have to perform an upgrade to a new version of HCX and disaster happens!
HCX manager can’t update the fleet with a “broken leg”. It is not a good situation.

Related Post

I read some articles about similar problem with datastore name. On this example HCX fleet was moved to a datastore that wasn’t on deployment resource.

The solution

HCX manager and fleets was updated On-prem and On-cloud except one.
I was on a maintening-window so I decided to follow the white rabbit and I did those actions:

  • unextend all network that was managed by this fleet
  • edit service mesh and remove 1 network extender
  • wait for end of actions
  • re-edit the service mesh and add a new network extender
  • a new fleet wil be deployed
  • re extended all network that I previously unextended

The configuration of this new fleet is correct and without some manual misconfiuration.
So I proceeded with the update. I tought I solved all the issues but after 20 minutes I saw a new VM with the name “<name-of-flee>-update”. Some process during HCX update was go bad and the manager recreate a new vm with same IP address of the new fleet. I immediatly shutted down the VM, I checked that all things work and I manually remove this VM.

dc

Published by
dc

Recent Posts

Citrix ADC Gateway page loading issue with Chrome v100

There is a great problem with last major update of Chrome (and all browsers Chromium…

April 14, 2022

VMware HealthAnalyzer

Learn how to download and how to use VMware HealthAnalyzer. Complete guide here!

February 18, 2022

Bye bye VMware Converter! Welcome Application Transformer for VMware Tanzu!

VMware decided to remove VMware Converter from download area. So there is no an official…

February 12, 2022

How to quickly put your website to maintenance mode

Sometime we need to put off a website for security reasons. For example when a…

January 8, 2021

Con VMC on AWS e HCX puoi muovere le VM a caldo?

Certo, ma… come sempre accade è sempre meglio verificare alcuni prerequisiti fondamentali di una vMotion…

June 29, 2020

My choices for TLS 1.2 and TLS 1.3

Intro Enable TLS 1.2 now! Starting from March 2020, the most used browsers will no…

March 23, 2020