Hi,
I have a two host ESXi Installable version. I created a cluster and was successfully added the first host into the cluster. But when I tried to add the second host into the cluster, I got this message, error: "failed to install virtualcenter agent service".
Does anybody know what causing the problem and how to fix it?
Your help would be greatly appreciated.
Thanks,
Hi,
This error occurs when the VC application is not able to install in the ESX.
Can you try to follow the below steps, might be of some help to you.
From the machine where VC is installed,
> Copy the vpx-upgrade-esx-7 or 6****** from the upgrade folder in the VC folder to /tmp on the ESX server
(By default the script is located in C:\program files\vmware\vmware virtualcenter\upgrade )
In the ESX server
> run the command " sh vpx-upgrade-esx-7 or 6****** " in ESX
And then try to stop the hostd process, and start it again.
Now from VC try to connect to the ESX server.
-Karunakar
Is this applicable to ESXi?
Yes, this can be tried on ESXi as well, let me know if you need any more information on this.
Karunakar
Can you jsut check if both the ESX have the same credentials .
and that tried to login.
For me it was helpful..
Tried to have similar credentials on both the ESX servers with admin priviledges.
and than add both the ESX on VIC.
Hope this helps you..
Karunakar,
Perhaps I am missing something, but since ESXi does not have a console, how can you copy the update to the /tmp folder or run the update command on the host?
Thanks,
Paul
See this link on how to access the console and / or enable SSH. If you don't want to enable SSH, you can copy the install to one of your ESXi datastores and then copy it to tmp from the console. You can also use vifs.pl from the RCLI to copy files to /tmp.
Dave,
Thanks for the reply, but the link seems to have gotten lost somewhere in the ether. :smileygrin:
Paul
Here you go - http://www.vm-help.com/esx/esx3i/ESXi_enable_SSH.php
Note to self - CTRL-C and then CTRL-V
Thanks for the reply, Dave. I had no idea there really was a command line behind the yellow curtain, but I guess it shouldn't surprise me.
Paul
Mike,
I tried that, but to no avail. This is one of three hosts i'm trying to put in a cluster. Looking at the config log, the failing host has two error messages:
- mkdir: Cannot create directory '/store/var/opt': No such file or directory
- mkdir: Cannot create directory '/store/var/core': No such file or directory
Now that I can get into the command line, i can see that the var folder appears to be corrupt. I don;t know if this is causing the issue stated by the original poster (which i am also experiencing), but it is the only difference between the hosts that i can find.
BTW, these are ESXi embedded running off of internal USB keys in HP DL380 G5 servers.
Thanks,
Paul
And in some cases a new flash drive - http://communities.vmware.com/click.jspa?searchID=4644476&objectType=2&objectID=1111418.
Bingo! That was it! I checked the USB, and it is the one with the green case. I also began checking more folders, and a lot of them are corrupt, including the AAM folder (which, if I recall, is HA, which is where the problem originated).
TIme to call HP.
Thanks to everyone for their help.
Paul