Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Checking for insufficient memory resources in vCenter Lab Manager

Symptoms

  • Deploy using unfenced mode fails
  • You see this error:

    Not Enough Managed Server Capacity (Memory)
    Could not find a valid Managed Server due to:
    Insufficient memory or machine slots. This deployment requires <###> MB memory  

  • Deploy using fenced mode fails
  • You see this error:

    Not Enough Managed Server Capacity (Memory/Slots)
    Could not find a valid Managed Server due to:
    Insufficient slots. This deployment requires <###> MB memory and <###> slots

Resolution

This error condition is usually caused when the deploy action attempted exceeds the resources available on the destination ESX host.
 
To determine the total amount of memory required for the deploy action:
  1. From the Lab Manager interface click Workspace.
  2. Move the cursor over the configuration name and click Details from the menu.
  3. Move the cursor over the virtual machine name and click Properties from the menu.
  4. Note the value in the Memory field and add each value for each virtual machine to obtain a total.
  5. Add 32MB for each virtual machine for overhead.
  6. If deploying in fenced mode, also add an additional 32MB.

The formula is this:

Memory configured for each virtual machine + 32MB per virtual machine + 32MB for each fenced virtual machine + the reserved memory amount configured = Total memory required for deploy
Note: Each ESX host must have enough capacity for at least one virtual machine in the configuration. Deploying a configuration in fenced mode places all the virtual machines on a single server, therefore at least one server managed by Lab Manager must have enough free capacity to host all of the virtual machines in the fenced configuration.
 
Determine the total amount of memory available for deployments in Lab Manager:
  1. Click Servers.
  2. In the Managed Servers view, view the Memory (MB).
  3. Memory – Displays two numbers separated by a slash (/). The first number indicates the amount of memory that the server is using to run virtual machines. The second number indicates the maximum amount of memory available or allowed to be used to run virtual machines.
To determine the amount of Reserved Memory:
  1. Click Servers.
  2. Move the pointer over the server name and choose Properties from the menu.
  3. Observe the item Reserved Memory (MB). This setting indicates the amount of memory set aside for virtual machines not managed by Lab Manager. Lab Manager can use any remaining memory.
As an optional step, verify the memory reported to Lab Manager by each Lab Manager agent on each server:
  1. Log in to the service console of the ESX server.
  2. Run this command:

    lm-discover

    This command returns an output similar to:

    <root>
  3. <hostname>pa-pse-d03.pasl.vmware.com</hostname>
    <os_name>Linux</os_name>
    <os_version>2.4.21-47.0.1.ELvmnix</os_version>
    <os_issue>VMware ESX Server 3</os_issue>
    <vmkernelAvail>1</vmkernelAvail>
    <cpu_numpkgs>2</cpu_numpkgs>
    <cpu_numcores>8</cpu_numcores>
    <cpu_numthreads>8</cpu_numthreads>
    <cpuid>000006fb 00040800 0004e33d bfebfbff 00000001 00100000</cpuid>
    <memory>4091</memory>
    <cpu_modelname>Intel(R) Xeon(R) CPU E5335 @ 2.00GHz</cpu_modelname>
    <swap></swap>
    <disksize>5036</disksize>
    <diskused>1451</diskused>
    <smbcapable>yes</smbcapable>
    <nfscapable>yes</nfscapable>
    <fencecount>0</fencecount>
    </root>
  4. The value in the <memory> field above is the value that is reported to the Lab Manager server by the agent.
If these values are not as expected, or do not match the values displayed in the Lab Manager web interface, the VMware LM Monitor service may not be functioning correctly. Restarting the service may resolve the problem. For more informaiton, see Managed Servers page is not updating/refreshing (1002673).

Additional Information

Tags

checking-for-insufficient-resources insufficient-resources vcenter-lab-manager

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions