The Set Memory Resources for VM action is used to modify the memory reservation and memory limit on virtual machines. You modify the memory reservation and limit to manage resources in your environment, either to reclaim unused resources or to ensure that your virtual machines have the resources they need to run efficiently.

How the Action Works

The Set Memory Resources for VM action determines how memory resources are allocated to the virtual machine. The reservation value is the minimum amount of guaranteed memory allocated for the virtual machine. The limit is the maximum amount of memory that the virtual machine can consume.

The reservation and limit values in vCenter Server are set in megabytes. vRealize Operations Manager calculates and reports on memory in kilobytes. When you run this action, the values are presented in kilobytes so that you can implement recommendations from vRealize Operations Manager.

To run the action, all options must be configured in the dialog box for the objects on which your are running the action. If you are changing one option to a new value, but not another option, ensure that the option that you do not want to change is configured with the current value.

Where You Run the Action

You can run the Rebalance Container action from the Actions menu for a data center or custom data center, or you can provide it as a recommended action on an alert.

For the supported objects and object levels, this action is available in the following locations in vRealize Operations Manager:

  • Embedded just below the top menu.

  • On the toolbar when you click Environment in the menu, select an object, click the Details tab and click Views.

  • On the toolbar when you click Environment in the menu, select an object, click the Environment tab, and select an object in the list view.

  • In the Inventory Explorer list when you click Administration in the menu, click Configuration > Inventory Explorer, click the List tab, and select an object in the list.

  • In configured alert recommendations.

  • In the Object List and Topology Graph dashboard widgets.

Action Options

Review the following information about the virtual machines to ensure that you are submitting the action for the correct objects.

Option

Description

Selected objects

Check box indicates whether the action is applied to the object. To not run the action on one or more objects, deselect the associated check boxes. This option is available when two or more objects are selected.

If you modify a value, the check box is selected. The check box must be selected to enable the OK button.

Name

Name of the virtual machine as it appears in the environment inventory.

New Resv (KB)

Amount of memory in kilobytes reserved for the virtual machine when the action is finished. The new reservation value must be less than or equal to the new limit value unless your new limit is unlimited (-1).

The reservation supports the following possible values:

  • If you set the value to 0, the virtual machine is allocated only the currently configured amount of RAM.

  • If you add or remove reserved memory, the value must be evenly divisible by 1024.

Current Resv (KB)

Amount of memory in kilobytes that is currently configured as the guaranteed memory for the virtual machine.

New Limit (KB)

Maximum amount of memory in kilobytes that the virtual machine can consume when the action is completed.

The limit supports the following possible values:

  • If you set the value to 0, then the maximum memory is no greater than the allocated reservation amount.

  • If you set the value to -1, then the virtual machine memory is unlimited.

  • It you increase or decrease the limit, the value must be evenly divisible by 1024.

Current Limit (KB)

Maximum amount of memory that the virtual machine is currently allowed to consume.

Host

Name of the host on which the virtual machine is running.

Adapter Instance

Name of the VMware Adapter as it is configured in vRealize Operations Manager. The adapter manages the communication with the vCenter Server instance.

After you click OK, the next dialog box provides the task ID and a link to the task list.

Table 1. Task ID Dialog Box

Option

Description

Recent Tasks

To view the status of the job and verify that the job finished, click Recent Tasks.

OK

To close the dialog box without further action, click OK.