A Compute Profile contains the compute, storage, and network settings that HCX uses on this site to deploy the Interconnect-dedicated virtual appliances when creating a Service Mesh.

Create a Compute Profile in both the source and the destination HCX environments using the planned configuration options for each site.

Prerequisites

  • Install and configure HCX Manager.

  • To obtain the optimum system usage, assign resource configurations based on HCX deployment considerations.

  • Use the planned configurations collected using the checklist described in Getting Started with VMware HCX.

Procedure

  1. Log in to the HCX Manager:
    https://hcx-ip-fqdi
  2. From the HCX Console, navigate to Interconnect > Compute Profiles.

    The system displays all the defined Compute Profiles. If no profiles have been configured, the system highlights the Create Compute Profile option.

  3. Click Create Compute Profile.
    Shows the Create Compute Profile button highlighted in the HCX Manager Interconnect > Compute Profiles screen.
  4. Name the Compute Profile:
    1. Enter a name for the Compute Profile.
    2. Click Continue.
  5. Select the HCX services to be activated, and click Continue.
    Note: All services are selected by default.

    List of services to enable with a unique icon for each service. Upon selecting a service, a green check appears with the icon.

  6. Select the Service Resources:
    1. Click the Select Resources drop-down menu.
    2. Select each cluster to be activated for HCX services.

      If there is only one cluster, it is selected automatically.

    3. Click Continue.

      The Select Deployment Resources and Reservations screen appears.

  7. Make your resource and resource reservation selections.
    1. From the Select Resource drop-down menu, select each cluster or resource pool to be used when deploying HCX Interconnect appliances.
      Note: For HCX WAN-OPT appliance deployment in NSX-T enabled environments, NSX-T Overlay Transport Zone must be associated to all hosts that are part of the deployment cluster. This should be done in addition to the NSX-T Overlay or NSX-T VLAN network extension configuration part of Network Containers section.
    2. From the Select Datastore drop-down menu, select the datastore to be used when deploying HCX Interconnect appliances.

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

    3. (Optional) From the Select Folder drop-down menu, specify a folder in which to deploy the HCX appliances.
    4. Using the slide bar, select the amount of CPU and memory to reserve for HCX operations.

      As a best practice, set the CPU and memory reservation to 100 percent.

      For example, setting Memory Reservation to 100 percent ensures that all of the memory allocated for HCX appliances is always available for HCX operations.


    Select the deployment resources and reservations for CPU and memory. Use the slide bars to adjust the settings from zero to 100 percent.
  8. Select the Management Network Profile:
    1. Click the Select Management Network Profile drop-down menu.

      Use the pull-down menu to select the Management network.
    2. Select an existing Network Profile or click Create Network Profile to create it.

      Reference the Creating a Network Profile topic for more details.

      Note:

      Networks identified with an information icon have been suggested for use with this type of network in the Network Profile. This is only a suggestion, and you can select other networks for this traffic type.

    3. Expand the selected Management Network Profile to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.
  9. Select the Uplink Network Profile:
    • The Network Profile previously selected for another function, like Management can also be assigned as the Uplink Network Profile.

    • Multiple Network Profiles can be selected.

    1. Click the Select Uplink Network Profile drop-down menu.
    2. Select one or more existing Network Profile, or click Create Network Profile to create it.

      Refer to Creating a Network Profile topic for additional details.

    3. Expand the selected Uplink Network Profile to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.
  10. Select the vMotion Network Profile:
    1. Click the Select vMotion Network Profile drop-down menu.
    2. Select an existing Network Profile or click Create Network Profile to create it.

      Refer to Creating a Network Profile topic for more details.

    3. Expand the selected vMotion Network Profile to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.
  11. Select the vSphere Replication Network Profile:

    Assigning a vSphere Replication Network Profile is useful when there is a VMkernel interface for the network traffic that is exclusive to vSphere Replication operations. If the Management Network Profile is used for Replication operations, click Continue to skip this step.

    1. Click the Select vSphere Replication Network Profile drop-down menu.
    2. Select an existing Network Profile or click Create Network Profile to create it.

      Refer to Creating a Network Profile topic for more details.

    3. Expand the selected vSphere Replication Network Profile to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.
  12. (Optional) Select the HCX Intrasite Control Network Profile:
    1. Click the HCX Intrasite Control Network Profile drop-down menu.
    2. Select an existing Network Profile or click Create Network Profile to create it.
      Note:
      • Both the HCX managers in the site pair must be running HCX 4.10 to use this network.
      • This network cannot be the same as any other network like Management, Uplink, vMotion, vSphere Replication, or Guest.
      • CIDRs for the Intrasite Control Network at both the paired sites must be different.
    3. Expand the selected network to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.
  13. If HCX OS Assisted Migration is activated, select the Guest Network Profile for OS Assisted Migration:
    • This is the network on which guest virtual machines communicate with the HCX Sentinel appliances OS Assisted Migration.

    • The Network Profile previously selected for another function, like Management can also be assigned as the Guest Network Profile.

    Note:

    This step appears only in the source Compute Profile interface, and only if you have selected OS Assisted Migration from the list of available services.

    1. Click the Select Guest Network Profile drop-down menu.
    2. Select a network, or click Create Network Profile to create it.

      For additional information, see Creating a Network Profile.

    3. Expand the selected Guest Network Profile to view its details and free IP Addresses, and click Close.
    4. Click Continue.

      The Guest Network is depicted in the topology.

  14. Select Network Containers Eligible for Network Extension:
    This setting defines the networks that can be selected to Network Extension.
    Note: NSX-T Overlay and NSX-T VLAN networks can be extended. These extensions are always created as NSX Overlay networks at the destination. HCX network extension is always to NSX Overlay networks. Pre-created segments in the vSphere Distributed Switch, CVDS, or VLAN transport zone, cannot be used as a destination.
    1. Click the Select Network Containers drop-down menu.

      The system displays the list of network containers found in the service resources selected in a previous step.

    2. Select entries with virtual machine networks. Click Close.

      You can select vDS, N-VDS, Transport Zones, or some combination for Network Extension. If only one network container is found in the previously selected service resources, it is pre-selected.

      Note:

      Only the virtual machine networks on the selected switches or Transport Zones can be used during network extension operations.

    3. Click Advanced Configurations and set the number of Network Extension appliances that can be deployed for this container.

      If this number is not known, select Unlimited. This number impacts the number of Network Extension appliances that can be deployed through the Service Mesh. If the number is too low, it can prevent the Service Mesh from deploying needed appliances. If the number is too high, it is possible to deploy too many Network Extension appliances than the planned resources can support.

    4. Click Continue.

    The topology view is dynamically updated, depicting your selections.

  15. Pre-Deployment Validation:

    HCX checks whether the selected configurations are valid for interconnect deployments.

    1. Address any errors reported by the validation.
    2. To see which firewall rules might be required if the service mesh uses this service profile, click Review Connection Rules.
    3. To export the rules, click COPY ALL to copy them to the clipboard in the JSON format.
    4. Click Continue.
  16. Ready to Complete:
    1. Review the configuration. The topology diagram depicts the selected configurations.
    2. To create the Compute Profile, click Finish.

Results

A Compute Profile is created, and can be used when creating a service mesh.

What to do next

Once there are valid Compute Profiles in the source and destination environments, create the Service Mesh.

Note:

To edit an existing Compute Profile, navigate to the specific Compute profile, and click Edit.