vSphere ESX Agent Manager deploys VIBs onto ESXi hosts.

The deployment on hosts requires that DNS be configured on the hosts, vCenter Server, and NSX Manager. Deployment does not require an ESXi host reboot, but any update or removal of VIBs requires an ESXi host reboot.

VIBs are hosted on NSX Manager and are also available as a zip file.

The file can be accessed from https://<NSX-Manager-IP>/bin/vdn/nwfabric.properties. The downloadable zip file differs based on NSX and ESXi version. For example, vSphere 6.0 hosts use the file https://<NSX-Manager-IP>/bin/vdn/vibs-6.2.3/6.0-3771165/vxlan.zip.

C:\Users\Administrator>curl -k https://nsxmgr-01a.corp.local/bin/vdn/nwfabric.properties
# 5.1 VDN EAM Info

# 5.5 VDN EAM Info

# 6.0 VDN EAM Info

# 6.1 VDN EAM Info

# Single Version associated with all the VIBs pointed by above VDN_VIB_PATH(s)

# Legacy vib location. Used by code to discover avaialble legacy vibs.

The VIB names are:

  • esx-vsip

  • esx-vxlan

[root@esx-01a:~] esxcli software vib list | grep -e vsip -e vxlan
esx-vsip                       6.0.0-0.0.3771165                     VMware  VMwareCertified   2016-04-20
esx-vxlan                      6.0.0-0.0.3771165                     VMware  VMwareCertified   2016-04-20

Common Issues During Host Preparation

During the preparation of hosts typical kinds of issues that can be encountered are as follows:

  • EAM fails to deploy VIBs.

    • Might be due to misconfigured DNS on hosts.

    • Might be due to a firewall blocking required ports between ESXi, NSX Manager, and vCenter Server.

  • A previous VIB of an older version is already installed. This requires user intervention to reboot hosts.

  • NSX Manager and vCenter Server experience communication issues:

    • The Host Preparation tab in the Networking and Security Plug-in not showing all hosts properly.

    • Check if vCenter Server can enumerate all hosts and clusters.

Host Preparation (VIBs) Troubleshooting

  • Check communication channel health for the host. See Checking Communication Channel Health.

  • Check vSphere ESX Agent Manager for errors.

    vCenter home > Administration > vCenter Server Extensions > vSphere ESX Agent Manager

    On vSphere ESX Agent Manager, check the status of agencies that are prefixed with “VCNS160”. If an agency has a bad status, select the agency and view its issues.

  • On the host that is having an issue, run the tail /var/log/esxupdate.log command.

  • See https://kb.vmware.com/kb/2053782.

Host Preparation (UWA) Troubleshooting

NSX Manager configures two user world agents on all hosts in a cluster:

  • Messaging bus UWA (vsfwd)

  • Control plane UWA (netcpa)

In rare cases, the installation of the VIBs succeeds but for some reason one or both of the user world agents is not functioning correctly. This could manifest itself as:

  • The firewall showing a bad status.

  • The control plane between hypervisors and the Controllers being down. Check NSX Manager System Events.

If more than one ESXi host is affected, check the status of message bus service on NSX Manager Appliance web UI under the Summary tab. If RabbitMQ is stopped, restart it.

If the message bus service is active on NSX Manager:

  • Check the messaging bus user world agent status on the hosts by running the /etc/init.d/vShield-Stateful-Firewall status command on ESXi hosts.

    [root@esx-01a:~] /etc/init.d/vShield-Stateful-Firewall status
    vShield-Stateful-Firewall is running
  • Check the message bus user world logs on hosts at /var/log/vsfwd.log.

  • Run the esxcfg-advcfg -l | grep Rmq command on ESXi hosts to show all Rmq variables. There should be 16 Rmq variables.

    [root@esx-01a:~] esxcfg-advcfg -l | grep Rmq
    /UserVars/RmqIpAddress [String] : Connection info for RMQ Broker
    /UserVars/RmqUsername [String] : RMQ Broker Username
    /UserVars/RmqPassword [String] : RMQ Broker Password
    /UserVars/RmqVHost [String] : RMQ Broker VHost
    /UserVars/RmqVsmRequestQueue [String] : RMQ Broker VSM Request Queue
    /UserVars/RmqPort [String] : RMQ Broker Port
    /UserVars/RmqVsmExchange [String] : RMQ Broker VSM Exchange
    /UserVars/RmqClientPeerName [String] : RMQ Broker Client Peer Name
    /UserVars/RmqHostId [String] : RMQ Broker Client HostId
    /UserVars/RmqHostVer [String] : RMQ Broker Client HostVer
    /UserVars/RmqClientId [String] : RMQ Broker Client Id
    /UserVars/RmqClientToken [String] : RMQ Broker Client Token
    /UserVars/RmqClientRequestQueue [String] : RMQ Broker Client Request Queue
    /UserVars/RmqClientResponseQueue [String] : RMQ Broker Client Response Queue
    /UserVars/RmqClientExchange [String] : RMQ Broker Client Exchange
    /UserVars/RmqSslCertSha1ThumbprintBase64 [String] : RMQ Broker Server Certificate base64 Encoded Sha1 Hash
  • Run the esxcfg-advcfg -g /UserVars/RmqIpAddress command on ESXi hosts. The output should display the NSX Manager IP address.

    [root@esx-01a:~] esxcfg-advcfg -g /UserVars/RmqIpAddress
    Value of RmqIpAddress is
  • Run the esxcli network ip connection list | grep 5671 command on ESXi hosts to check for active messaging bus connection.

    [root@esx-01a:~] esxcli network ip connection list | grep 5671
    tcp         0       0     ESTABLISHED     35505  newreno  vsfwd
    tcp         0       0     ESTABLISHED     35505  newreno  vsfwd

To determine the reason for the netcpa user world agent being down:

  • Check the netcpa user world agent status on hosts by running the /etc/init.d/netcpad status command on ESXi hosts.

    [root@esx-01a:~] /etc/init.d/netcpad status
    netCP agent service is running
  • Check the netcpa user world agent configurations /etc/vmware/netcpa/config-by-vsm.xml. The IP addresses of the NSX Controllers should be listed.

    [root@esx-01a:~] more /etc/vmware/netcpa/config-by-vsm.xml
        <connection id="0000">
        <connection id="0001">
        <connection id="0002">
  • Run the esxcli network ip connection list | grep 1234 command to verify the Controller TCP connections.

    >[root@esx-01a:~] esxcli network ip connection list | grep 1234
    tcp     0   0   ESTABLISHED     36754  newreno  netcpa-worker
    tcp     0   0   ESTABLISHED     36754  newreno  netcpa-worker
    tcp     0   0   ESTABLISHED     36752  newreno  netcpa-worker