VMware Cloud Community
mrudloff
Enthusiast
Enthusiast

Check host agent version and reinstall

How can I check the version of a host agent ?

It seems that we have one problematic host in our DRS / HA cluster and I seem to remember we had some problems when we upgraded the Virtual Center to Update 1.

I am wondering now whether the upgrade of the host agent actually failed on that host. If so, where can I get the agent and how do I reinstall it without downtime ?

0 Kudos
3 Replies
mrudloff
Enthusiast
Enthusiast

I have opened an SR request and will post the result in case other people facing the same issue and search here

0 Kudos
dmaster
VMware Employee
VMware Employee

i think you can check the version of the host agent in the following log file

/var/log/vmware/hostd.log

About:(vim.AboutInfo) {

dynamicType = <unset>,

name = "VMware ESX Server",

fullName = "VMware ESX Server build-82663",

vendor = "VMware, Inc.",

version = "3.5.0",

build = "82663",

localeVersion = <unset>,

localeBuild = <unset>,

osType = "vmnix-x86",

productLineId = "esx",

apiType = "HostAgent",

apiVersion = "2.5.0",

0 Kudos
mrudloff
Enthusiast
Enthusiast

Got an answer from support (hope it is ok to post it here):

Verifying that the correct version of VirtualCenter is installed.

To verify that the correct version of VirtualCenter is installed:

1 Right-click on the server and click Disconnect to disconnect the ESX Server in VMware VirtualCenter.

2 Open a Secure Shell (Putty) connection to the ESX Server and log on as root.

3 Issue the following command to determine the version of VMware VirtualCenter agent (vpxa) installed.

# rpm -qa | grep vpxa

VMware-vpxa-2.5.0-64192

Ensure that the version and build number correspond to your VMware VirtualCenter installation. From VMware VirtualCenter, click Help>About.

Reinstalling the agents

1 Disconnect the ESX Server in VMware Virtual Center by Right Clicking the Server and select Disconnect.

2 Open a Secure Shell (Putty) connection to the ESX Server and log on as root.

3 Issue the following two commands in order to get the names of the packages that need to be removed.

# rpm -qa | grep vpxa

VMware-vpxa-2.5.0-64192

# rpm -qa | grep aam

Note: The aam packages may not be installed.

4 Remove the three packages by issuing the following command.

# rpm -e

5 Connect the ESX Server in VMware VirtualCenter again. VMware VirtualCenter installs the required packages.

0 Kudos