To provide workload placement analytics to vRealize Automation to place machines when you deploy new blueprints, you must prepare the vRealize Operations Manager instance.

About this task

Caution:

You must install the vRealize Automation solution, which includes the management pack, on only a single vRealize Operations Manager instance.

To prepare your vRealize Operations Manager instance to provide analytics to vRealize Automation, you install and configure the vRealize Automation solution. You must also configure a policy, and apply the policy to your cluster compute resources.

After you configure the vRealize Automation solution, you cannot move or rebalance any virtual machines that vRealize Automation manages.

If the vRealize Automation solution is not installed in the vRealize Operations Manager instance, workload placement can still move or rebalance virtual machines that vRealize Automation manages.

To allow workload placement to move virtual machines, those virtual machines must reside in a data center or custom data center.

Prerequisites

Procedure

  1. In the instance of vRealize Operations Manager that manages workload placement, install and configure the vRealize Automation solution.

    The solution might already be installed.

    1. To see the solutions that are installed in vRealize Operations Manager, click Administration > Solutions.
    2. Verify whether the vRealize Automation solution is already installed.

      If the vRealize Automation solution does not appear in the list, download and install the solution. See Management Pack for vRealize Automation on Solution Exchange.

    3. If the solution appears in the list, select the VMware vRealize Automation solution, and click Configure.
    4. Configure the vRealize Automation solution, and save the settings.

      For more information to configure the solution, see Solutions in vRealize Operations Manager in the vRealize Operations Manager Information Center.

  2. If you do not use the vRealize Operations Manager Default Policy, you must create a custom group. Then, add your cluster compute resources to the custom group.

    To apply a policy other than Default Policy to your clusters, add a custom group. You then apply the policy to the custom group. If you use Default Policy, you do not have to create a custom group, because Default Policy applies to all objects.

    1. Click Environment > Custom Groups.
    2. If a custom group does not exist for your clusters, create a custom group.

      For details, see User Scenario: Creating Custom Object Groups in the vRealize Operations Manager Information Center.

    3. Add the cluster to the custom group, and save the custom group.
  3. Configure a policy to consolidate and balance workloads on your clusters, and apply that policy to the custom group.

    You configure a policy in vRealize Operations Manager to establish the settings for consolidation, balance, fill, CPU, memory, and disk space. For example, you modify the setting named Consolidate Workloads to determine the best placement for new managed workloads based on the cluster status and capacity. You also modify the threshold setting for Balance Workloads to the level of aggressiveness required to place workloads. You can configure one or more policies, and apply them to your cluster compute resources.

    1. To locate the policies, click Administration > Policies > Policy Library .
    2. To set workload values, click Add/Edit Policy, and click Workload Automation.

      The settings named Consolidate Workloads and Cluster Headroom apply to the initial placement of virtual machines.

      • When you set Consolidate Workloads to none, workload placement balances the workload across all the clusters to which the policy is applied. When you set Consolidate Workloads to a value other than none, workload placement fills the busiest cluster first.

      • Cluster Headroom is the buffer space reserved in a cluster, as a percentage of the total capacity. For example, if you set the cluster headroom to 20%, that buffer might prevent workload placement from placing virtual machines on that cluster. The reason it prevents the placement is because the cluster has 20% less of the free capacity for CPU, memory, or disk space.

    3. In the policy workspace, click Apply Policy to Groups.
    4. Select the custom group.
    5. Save the policy.

Results

You configured vRealize Operations Manager so that vRealize Automation uses the workload placement analytics to suggest placement destinations of machines when users deploy blueprints.

What to do next

Wait for vRealize Automation and vRealize Operations Manager to collect data from the endpoints and objects in your environment. Then, when you deploy new blueprints, vRealize Automation displays the workload placement recommendations, destination candidates, and selected placement for your confirmation.