HCX Cloud side Integration
HCX Cloud Integration with VMware Cloud Infrastructure

Launch Google Chrome available from desktop.

On the bookmarks bar, select HOL Admin > HCX Manager - Cloud

Username: admin
Password: VMware1!

Type in Singapore in the address bar, and select Singapore, Singapore
Click CONTINUE.
In production, this should be the country where your cloud is

System Name: hcxcloud-01b
Click CONTINUE
This should be the the name of your HCX Cloud system

Select vCloud Director.
Click CONTINUE.
This is to choose the type of integration. Integrating with vCD will allow HCX to understand the constructs of the Org VDC

Hostname: https://vcd-01b.corp.local
Username: administrator@system
Password: VMware1!
Click CONTINUE.
These are vCD Provider Admin credentials

vCenter Username: administrator@regionb.local
vCenter Password: VMware1!
NSX Username: admin
NSX Password: VMware1!
Click CONTINUE.
These are vCenter admin credentials

Password: guest
Leave the rest of the settings as default and click CONTINUE.
These are the credentials to AMQP

Click RESTART.
Wait for the system to finish restarting.

Once the UI appears, click on Configuration.

Select Licensing.
HCX Enterprise Upgrade Key: 0J003-JY0EK-489E9-02DU6-0DZ20
Click ADD.
You might have issues entering the licenses (due to too many activation using same license key). This lab doesn't require us to have enterprise capabilities, however do note that this will be the place that enables us to activate the enterprise licenses.
Add Trusted Certificate on HCX Cloud

Switch back to the HCX Cloud Admin Portal.
Go to Administration > Trusted CA Certificate
Click on IMPORT.

Select URL.
Type in https://vcd-01b.corp.local
APPLY.
This step is to trust the communication with vCloud Director. If this step is skipped, you will not be able to log in to the HCX Cloud to configure the Compute Profiles

Create Tenant Virtual DC for HCX Cloud Association
We'll have to create a tenant vdc for HCX cloud to associate with
Create New Organization

On the Bookmarks bar, select RegionB - Cloud > vCD Site B - Provider (HTML)

Username: administrator
Password: VMware1!
Click SIGN IN.

Click on Organizations.
Click NEW.

Organization name: Stark
Organization full name: Stark Industries
Click CREATE.
Create New Organization VDC

Click on Organization VDCs.
Click NEW.

Name: ironman_mk1
Click on NEXT.

Select Stark
Click NEXT.

Select PVDC-B01.
Click NEXT.

Select Pay-As-You-Go.
Click NEXT.

Accept the default settings and click NEXT.

Select *(Any) for the Storage Policy.
Enable Thin provisioning.
Click NEXT.
Because this is a lab environment, we turn on thin provisioning in order to save resources

Select PVDC-B01-VXLAN-NP
Click NEXT.

Click FINISH.
Create New User for Org VDC Ironman_mk1

Select Organizations.
Click on Pop Up button to open up the Tenant Portal.

Click on the hamburger icon.
Click Administration.

In the sidebar, select Users.
Click NEW.

Username: tonystark
Password: VMware1!
Confirm Password: VMware1!
Avaliable roles: Organization Administrator
Click SAVE.
Create Compute Profiles on HCX Cloud

In the Bookmarks bar, select RegionB - Cloud > HCX Cloud UI

Username: Administrator@system
Password: VMware1!
Click LOG IN.

Click Interconnect > Compute Profiles
Click CREATE COMPUTE PROFILE
[OPTIONAL] Compute profile should load in less than 10 seconds. If the compute profile page keeps loading as below, reboot the appliance following the steps below


Go to the HCX Cloud admin portal and restart the Application service
[/OPTIONAL] Appliance will take about 3 minutes to boot up properly

Name your Compute Profile cloud-comp-prof
Click CONTINUE.

Ensure that only six services are enabled: Hybrid Interconnect, Cross-cloud vMotion Migration, Bulk Migration, Network Extension, Disaster Recovery.
Click CONTINUE.
You might not be able to see some tiles because of the enterprise licensing issues. We will not be enabling some of the services due to resource limitation in the lab

On Service Resources click on the Select Resource(s) dropdown.
Select vcsa-01b.corp.local > RegionB01-Cloud > RegionB01-COMP01
Click OK.
Click CONTINUE.
COMP01 is selected because it has NSX for vSphere already prepared and readily available to be consumed

On Deployment Resources, Select Resource dropdown.
Select vcsa-01b.corp.local > RegionB01-COMP01 > HCX Components.
Click on Select Datastore dropdown.
Select RegionB01-ISCSI01-COMP01.
Click CONTINUE.
This defines where the HCX Cloud components (IX, NE, etc.) will be deployed

Under Management Network Profile, select CREATE NETWORK PROFILE.
This defines where the management segment of the HCX Cloud components will connect to

Network: Distributed Portgroup > VM-RegionB01-vDS-COMP
Name: VM-RegionB01-vDS-COMP(mgmt)
IP Ranges: 192.168.210.201 - 19.2168.210.220
Prefix Length: 24
Gateway: 192.168.210.1
Primary DNS: 192.168.110.10
DNS Suffix: corp.local
Click CREATE.
Select VM-RegionB01-vDS-COMP(mgmt)
Click CONTINUE.
This defines the management IP pool of HCX Cloud components to consume
Under Uplink Network Profile, select CREATE NETWORK PROFILE.

Network: Distributed Portgroup > ESXi-RegionB01-vDS-COMP
Name: ESXi-RegionB01-vDS-COMP(uplink)
IP Ranges: 192.168.200.201-192.168.200.220
Prefix Length: 24
Gateway: 192.168.200.1
Primary DNS: 192.168.110.10
DNS Suffix: corp.local
Click CREATE.
This defines the uplink IP pool for HCX Cloud components to consume
This segment should be different than the management connection. If the segment is the same, you'll face difficulties building tunnel with the enterprise side
Click on Select Uplink Network Profile
Select ESXi-RegionB01-vDS-COMP(uplink)
Click CONTINUE.
This defines where the uplinks of the HCX Cloud components will connect to, to build connectivity to the enterprise side

Under vMotion Network Profile, click CREATE NETWORK PROFILE.

Network: Distributed Portgroup > vMotion-RegionB01-vDS-COMP
Name: vMotion-RegionB01-vDS-COMP
IP Pools: 10.20.30.201-10.20.30.220
Prefix Length: 24
Gateway: 10.20.30.1
Primary DNS: 192.168.110.10
DNS Suffix: corp.local
Click CREATE.

Click Select vMotion Network Profile
Select vMotion-RegionB01-vDS-COMP
Click CONTINUE.
This is to allocate vMotion IP pool for HCX Cloud IX to consume

Click vSphere Replication Network Profile
Select VM-RegionB01-vDS-COMP(mgmt)
Click CONTINUE.

Click Select Distributed Switches for Network Extensions
Select RegionB01-vDS-COMP
Click CONTINUE.

Review the Connection Rules and click CONTINUE.
Generating HCX Enterprise Installer link for Tenants

Go to System Updates
Click on Request Download Link

Once download link is generated, the link can be shared to the tenant for them to install the HCX Enterprise side