vExpert 2020 | Lover of Sushi and Music

Can’t Connect to VMware HCX from VMC Console

I was trying to perform a migration between our on-premises vSphere and VMC on AWS. I proceeded with logging into the SDDC, but it was missing all of the HCX information.

-No Bueno, but lucky a quick and easy fix. I decided to take advantage of this cool tool and transfer my notes into a blog. I hope it helps someone in need.

Machine generated alternative text: Administration Infrastructure Interc Services Nehwrk e, Migratiwl System Administration Sßtem Local HCX Remote HCX is Elid. you to login aga.n to Audit Logs Available Se Update e HCX Copy To copy To Clipboard of Appl&næ of Appl&næ

Issue:

  • Haven’t logged into VMC on AWS in a while and HCX on the VMC on AWS side doesn’t show anything

Goal:

  • Connect to the HCX Appliances and perform a test failover/migration

 

  1. Log into the on-premises vSphere client.
    • I was able to see the HCX configuration.

Machine generated alternative text: @ Dashboard Infrastructure Interconnect Services O Network Extension Migration Disaster Recuery System Administration Administration 2/3 Software update A Local HCX 332.14384208 Remote HCX 332.14984205 Audit Logs Available update Very SELECT SERVICE Hcx Cloud - AW upoATE Status sundle copy To 6.3011347054 Enterprise SSEtem T y pe ecx Cloud copy To Clipboard Number of

    • Beautiful red line up top tells us there’s an upgrade available
      • Proceed to upgrade

Machine generated alternative text: 1/2 > R. n ded: This is rw-,g R'29 which Hcx Dmntation GET DOCUMENTATION is out of This be to elig&

Machine generated alternative text: 332.14384208 Available update Very SELECT SERVICE upoATE Status sundle

      • Appliance will reboot

Machine generated alternative text: Upgrade VMware HCX System is being upgraded and may be unreachable until the upgrade is complete, please try logging in after some time.

      • Took about 15-20 minutes to complete

Machine generated alternative text: @ Dashboard Infrastructure Interconnect Services en Network Extension G:, Migration Disaster Recuery System Administration Administration Local HCX Cu"ent 332.15734685 Remote HCX 332.14384205 r&auired: Out of CZud Audit Logs Available update Hcx Cloud - AWS - AwsvMc-poc_ e the *red s 6.30113470m up±te bundle Connector ecx Cloud copy To Clipboard of AppiarÆ copy To clipboard Number of

2. Log back into the SDDC

  • Let’s see if we can see HCX now

Machine generated alternative text: VMware Cloud on AWS < ALL s:ocE sons Subscriptions Summary Activity Log Tools F) US West (Oregon) Networking & Security u s-west-2c Maintenance Add Ons o Troubleshooting Settings O Developer Center Active Included with your VMware Claud an AWS service Albvs you to seamlessly migrate workloads to your SDDC from your remote vSphere datacenters OPEN Hcx C? O Site Recovery Available for Purchase Enables to protect workloads against dv»vntime from on-premises to cloud. tram cloud to on-premises. and between different VMware Cloud on AWS regions ACTIVATE ACTIONS MORE INFORMATION C:)

Machine generated alternative text: VMware HCX Subscriptions SDDCs AVVS Activation Keys SDDCS US West (Oregon) OPEN HCX UNDEPLOY Hcx

Will be redirected to a new site

  • Logged in using the cloudadmin creds.

Machine generated alternative text: VMware cloudadmin@vmc.local

  • Nice, friendly banner up top.

Machine generated alternative text: HCX upgrade Recommended This HCX instance is running service update 2129 (3.5_2.14984205) which is now out of support This instance must be updated to be eligible for support as per the HCX Documentation VMware HCX CD Dashboard Infrastructure Interconnect Services GET DOCUMENTATION O Dashboard Cloud Overview cloudadmin

3. Begin upgrade process as well

Machine generated alternative text: @ Dashboard Infrastructure Interconnect Services Compute Networking Network Extension Migration CD Disaster Recovery Administration System updates d Troubleshooting @ Interconnect Configuration (Deprecated) Audit Logs Q Support System Updates Pair your remote data center with VMware HCX 09 REQUEST DOWNLOAD LINK Local HCX Current Version 3.5.2.14984„_ Remote HCX Current Version 3.5.2.15734685 System Name HCX Cloud Available Service Update Versions SELECT SERVICE UPDATE v System Name Status Status r•.qce pdate SI_lS7346. is ready for d'NvnIoad_ Info Info System Type HCX Cloud NSX Version Version Copy To Clipboard System Type HCX Enterprise Number of Appliances I Copy To Clipboard Number of Appliances I

Machine generated alternative text: Local HCX Current Version 3.5.2.14984„_ Remote HCX System Name HCX Cloud - AWSVMC- POC Available Service Update Versions SELECT SERVICE UPDATE Uodate: 352.15734687 alcisr Suil±s update: 352.15665456 update: 352.15552647 Status Info > > Chooseoperation Download upgrade Download & Upgrade Readme

Machine generated alternative text: System will start upgrading It is recomended to take a snapshot of VMware HCX VM. Please click "OK" to confirm an upgrade CANCEL

Success!

Successfully upgraded both sites and HCX is now visible. Ready for some migrations!

Machine generated alternative text: @ Dashboard Infrastructure Interconnect Services en Network Extension G:, Migration Disaster Recuery System Administration Q Support Administration Local HCX Cu"ent 332.15734685 Remote HCX 332.15734687 Audit Logs Available upd.te Very system ecx - AW copy To clipboard update Sy Type HCX Connector Sy Type ecx Cloud Nsx 6.S.D113470E4 copy To clipb

Resolution:

An upgrade was all that was needed, but I find it weird that I couldn’t even see HCX via the SDDC, but could see it on-premises.

*Note*

Be patient otherwise you will see this error message.

Error Message #2

SummaryError-(Server IP): Response with status: 500 Internal Server Error for URL: https://(vC FQDN)/ui/hcx/hcx-ui/rest/hybridity/api/replications?action=query&vcGuid=969411B5-8B4D-4622-9B14-6723B8793455

 

 

 

Homer Simpson Image Source 

 

Leave a Reply

Your email address will not be published. Required fields are marked *