VMware Cloud Community
thuang2
Contributor
Contributor

vcloud director 1.5 - how to unprepare ESX host

When creating a pvdc, I got an error, " The host <ip> is managed by another  Cloud Director system <VCD name>. Unprepare the host from the other system or uninstall the agent software on the host. Unprepare the host from the other system or uninstall the agent software on the host."

However, this "other system" actually refer to the same VCD. I just uninstalled VCD 1.0 and installed VCD 1.5 beta on the same system. Does anyone know how to uninstall the agent software from the ESX host (or unprepare the ESX host from the so called "the other system")?

Thanks!!

0 Kudos
9 Replies
JoshBonczkowski
Enthusiast
Enthusiast

You will need to be able to ssh to the host. For ESXi, enable Tech Support mode to enable this.

  • cd /opt/vmware/uninstallers/
  • ./vslad-uninstall.sh

That will remove the original vCD agent and allow you to prepare the host with 1.5.

By the way, is this 1.5 beta or did 1.5 get released?

0 Kudos
bretti
Expert
Expert

The vslad agent is the software you want to uninstall.  You can ssh to the host and run /opt/vmware/uninstallers/vslad-uninstall.sh, then reboot the host.  After that you can prepare the host again.

0 Kudos
IamTHEvilONE
Immortal
Immortal

1. You really should be posting in the Beta forum, this is part of that master license agreement you agreed to in any of our betas.

2. You can't "downgrade" the Agent automatically using a vCD 1.0.x interface when a host has been prepared for use with vCloud 1.5.  You have to manually remove it.

3. You can't have two VSLAD agents on the ESX host.  VSLAD is used by Lab Manager and vCloud.  So you can't have the same host prepared by two different instances of any version of these apps.

0 Kudos
hegars
Contributor
Contributor

Looking to unprepare an ESX host in my test vCD 1.5 environment, but the above path to "vslad-uninstall.sh" does not exist. When I cd to /opt/vmware/ all I see is a vpxa folder.

I am running the GA releases of vCD 1.5 and vSphere 5 code.

Any help is appreciated, thanks.

0 Kudos
JoshBonczkowski
Enthusiast
Enthusiast

Very strange. Under /opt/vmware/ I have 'uninstallers/' and 'vslad/', among others. Then in uninstallers is the script to uninstall vslad.

I am not sure why you do not see the uninstallers directory. Hopefully someone else will have more info for you. Perhaps it is a difference between ESX and ESXi? I'm running ESXi here.

0 Kudos
hegars
Contributor
Contributor

strange indeed

I'm running ESXi 5 b469512.

All I did was enable ssh and connected as root user

0 Kudos
JoshBonczkowski
Enthusiast
Enthusiast

Check out this KB. http://kb.vmware.com/kb/2005927

0 Kudos
hegars
Contributor
Contributor

That worked perfectly Josh.

Placed the ESX into maintenance mode and ran the command "esxcli software vib remove -n vcloud-agent".

I was able to prepare the host then again in vCD ... all working as expected now.

Thank You very much!

0 Kudos
ealaqqad
Enthusiast
Enthusiast

I have as well documented the procedure for both vSphere 5 & vSphere 4.1 at:

Manually installing the vCloud Director Agent on ESXi 5 / vSphere 5

Hope that help.

Regards,

Eiad Al-Aqqad

B: http://www.Virtualizationteam.com

B: http://www.TSMGuru.com

Regards, Eiad Al-Aqqad Technology Consultant @ VMware b: http://www.VirtualizationTeam.com b: http://www.TSMGuru.com
0 Kudos