Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Unable to remove vCenter Server or an ESX host from VMware vCloud Director (1025716)

Last Updated: 5/20/2015Categories: How toTotal Views: 11093Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

You cannot remove vCenter Server from VMware vCloud Director

You see the error:

Failed to unregister vCenter Server "devvcenter002". Real networks from he this virtual center are still referenced.

You cannot unprepare an ESX host

If you try to automatically unprepare a host from VMware vCloud Director (by right-clicking the host in VMware vCloud Director and choosing Remove), you see errors

Purpose

This article provides steps to unprepare an ESX host and remove vCenter Server before uninstalling VMware vCloud Director.

Resolution

Log in to VMware vCloud Director and review the list of networks in Cloud Resources > Networks Pools that are using the vCenter Server. If this list is not empty, delete the network mappings and try removing vCenter Server again.

To reset the vCloud environment:

Log in to the ESX host service console and uninstall the VSLAD with this command:

Note: This unprepares the ESX host in vCloud Director.

# ./opt/vmware/uninstallers/vslad-uninstall.sh

Uninstall vCloud Director from the Cells with this command:

ESX/ESXi 4.x/vCloud Director 1.x:

# rpm -e `rpm -qa | grep vcloud`

ESXi 5.x/vCloud Director 1.5.x:

# esxcli software vib remove -n vcloud-agent

Remove leftover files in /opt/vmware in the Cells with the command:

Note: Do not delete the vpxa directory.

# rm -rf /opt/vmware

Clean up the database.

Log in to Oracle host as your oracle user and run the command:

oraenv

Type your Oracle instance name when asked.

Note: The script should set ORACLE_HOME automatically. If it asks you for ORACLE_HOME, then the instance name may be wrong.

Start SQLplus, then run the delete user commands and recreate the user if you want to reinstall:

sqlplus SYSTEM/+password+@+oraclehostname+/+oracleinstance +
drop user vcloudusername cascade;
create user vcloudusername identified by password;
quit

Reset vShield Manager:

Log in to the console either through SSH or from vSphere Client using admin/default and type:

manager> enable

Enter the password when prompted. It is the same as the admin password, which by default is default.

Run the command:

manager# database erase

For vCloud Director 5.1:

manager# write erase

Wait for the database erase to complete, then quit.

Reinstall vCloud Director. For more information, see Installing VMware vCloud Director software on the first server (1026381).

Related Information

Installing VMware vCloud Director software on the first server

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Director

Related Versions:

VMware Cloud Director 5.1.x

VMware Cloud Director 1.5.x

VMware Cloud Director 1.0.x

Take Our Survey

Support Assistant