Solved

VMware HA AAM error

Posted on 2009-07-07
5
3,273 Views
Last Modified: 2012-05-07
I am running into a problem. I have recently changed the IP configuration on my 2 ESX servers and vCenter. I am trying to re-enable HA and it fails after about 3 hours. The error is an INTERNAL AAM ERROR - agent could not start.

I have performed/checked the following:

DNS is functioning properly and the records are correct
Hosts file on both ESX servers are correct
Hosts file on vCenter even edited appropriately
Removed each host from the cluster and added back
AAM IS installed and running on both hosts
Pinging from both ESX and all guests works with IP, Name, and FQDN
Can ping gateway from all hosts and guests
All hosts and guests on same subent
licensing is correct
0
Comment
Question by:8r0k3n71nX
  • 3
  • 2
5 Comments
 
LVL 42

Accepted Solution

by:
paulsolov earned 250 total points
ID: 24800584
Did you change the ip address on your hosts from the service console you were modifying or from a different service console?

Changing the DNS server settings
 
Check DNS server settings, update the nameserver IPs and search domain the /etc/resolv.conf file.
 

Note: Disable VMware High Availability if you do not want virtual machines to failover during the hostname IP change.


To change the default gateway, click the Routing tab and enter the appropriate value.
Update the etc/opt/vmware/vpxa/vpxa.cfg file to reflect the new settings.
Reboot the ESX host for the changes to take place

Also check

* /etc/hosts
* /etc/sysconfig/network
* /usr/lib/vmware-mui/apache/conf/httpd.conf

0
 
LVL 42

Expert Comment

by:paulsolov
ID: 24800601
Please post the exact error, this should help in troubleshooting
0
 

Author Comment

by:8r0k3n71nX
ID: 24804438
When the IP changes were made, I changed them on the ESX from a rack console (local). The IP change for vCenter was done within vCenter. All of the files above were correct.

I was however able to get it fixed this morning. When looking for the FT_HOSTS file from the path that I was searching, the directory was invalid. Manually navigating to /etc/opt/vmware/aam and looked at the FT_HOSTS file. Sure enough, the file contained both the new and old IP addresses. IMO, it appears that the agent only looks for the first IP  address of the LAN side and then the first IP of the iSCSI and does not look at the additional IP addresses. OR that the error is generated because of the first IP is bombing out and the second (correct IP) doesn't matter. I backed up the FT_HOSTS file and removed the old IP information and it worked. I even contacted my vendor and they did not even know about this file being the possible issue.
0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 250 total points
ID: 24804963
I've had to do that before as well but it is normally removed when removing HA from the cluster.  Another issue that may arise is an issue with the vcp.cfg file

/etc/opt/vmware/vpxa/vpxa.cfg

to change above you may need to remove host from VC, rename vpxa.cfg and add back in to create new file
0
 

Author Closing Comment

by:8r0k3n71nX
ID: 31600943
Look at my post about the FT_HOSTS file not being updated for an additional solution.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now