Knowledge Base

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

Troubleshooting the Lab Manager Agent and checking the installed version

Symptoms

  • Cannot add a new ESX host to the Lab Manager environment
  • Problems upgrading or reinstalling the Lab Manager agent
  • Cannot deploy or undeploy

Resolution

Verifying that the agent is running and responding

Note: When using Lab Manager 3.0, replace the word lm-agent with vsla-agent in the commands below.
 
To verify the agent is running and responding:
  1. Log in to the ESX service console.
  2. Verify that the agent is running by running one of these commands:

    ps aux | grep lm-agent

    service lm-agent status


    If the agent is running, the last command returns the message:

    lm-agent (pid <###>) is running...

    • If the agent is not running, run the command:

      service lm-agent start

    • If the agent is running but seems unresponsive, try restarting the agent service. Run the command:

      service lm-agent restart


      Note:
      For more information, see Lab Manager Agent service command options (1005342).

  3. If the agent does not start:
    1. Verify that the server's disk is not out of space. Run the command:

      df -h

    2. Restart the ESX host. Verify that the agent is running after the ESX host restarts.
    3. If the problem persists, enable verbose debug logging, collect the agent logs, and contact VMware Technical Support.

      1. Gather these files:
      • /var/log/labmanager/agentinfo.log
      • /var/log/labmanager/lm-agent-mono.log
      • /var/log/labmanager/lm-agent-mono-watch.log

  4. Verify that the agent is accessible over the network, from a different server:

    1. Open a command prompt. For more information, see Opening a command or shell prompt (1003892).
    2. Run the telnet <esx_hostname> 5212 command.
    3. If the command fails with a network connection error, verify that the server is reachable with ping, and that there are no firewalls blocking the connection.

Checking the Lab Manager Agent installed version

The Lab Manager Agent running on the ESX host and the Lab Manager server managing it must both be the same version.
 
To ensure the Lab Manager Agent and Lab Manager server are the same version:
  1. Log in to the ESX service console.
  2. Run the command:

    rpm -qa | grep labmanager

    The versions are listed.

Additional Information

Tags

install-agent  install-agent-fails  labmanager-upgrade-fails  labmanager-install-agent

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