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

Create a Compute Profile in the Multi-Site Service Mesh interface in both the source and the destination HCX environments using the planned configuration options for each site, respectively.

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. Navigate to the Compute Profiles interface:
    1. At the source site, open vSphere Client and navigate to the HCX plug-in > Interconnect > Multi-Site Service Mesh > Compute Profiles.
    2. At the destination site, navigate to https://hcx-cloud-ip-or-fqdn > Multi-Site Service Mesh > Compute Profiles.

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

  2. Click Create Compute Profile.
    Shows the Create Compute Profile button highlighted in the HCX Manager Interconnect > Compute Profiles screen.
  3. Name the Compute Profile:
    1. Enter a name for the Compute Profile.
    2. Click Continue.
  4. Select the HCX services to be activated. Click Continue.
    Note:

    Premium services require the HCX Enterprise license.

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

  5. 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.

  6. Make your resource, and resource reservation selections.
    1. From the Select Resource drop-down menu, and 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, and 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, and 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.
  7. 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.
  8. 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.

      Reference the Creating a Network Profile topic for more details.

    3. Expand the selected Uplink Network Profile to view its details and free IP Addresses. Click Close when done reviewing.
    4. Click Continue.

    HCX Manager now updates the topology view to depict the configured Network Profile. As shown in the diagram, the Compute Profile configuration tool displays a symbolic map of the network links between the Interconnect appliance virtual machines to be deployed for the selected Uplink network.

    Use the pull-down menu to select an uplink network.
  9. 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.

      Reference the 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.

    The Network Profile tool now displays a topology view that shows how the selected vMotion Network connects the HCX Interconnect appliances assigned to the profile.

    Use the pull-down menu to select the vMotion network.
  10. 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.

      Reference the 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.Use the pull-down menu to select the Replication network.
  11. If HCX OS Assisted Migration is activated, select the Guest Network Profile:
    • This is the network on which guest virtual machines communicate with the HCX SGW for 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 on only 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.

  12. Select Network Containers Eligible for 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.

  13. 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 Next.
  14. 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, use the HCX Manager UI at the source site to create the Interconnect Service Mesh.

Note:

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