• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

Unable to Detach vCenter Server from vCloud

September 15, 2014 By Cloud_Devops Leave a Comment

How to detach the vCenter Server from vCloud Director ? Its very simple .If you want to detach the vCenter server completely from vCloud, just remove the Cloud Resources and detach the vCenter server from vCloud director web portal. But sometimes, we may forget to clean up the Cloud resources properly and that will create a problem when you tried to detach vCenter server. Once of the most of common error is  “[highlight]Failed to unregister vCenter Server “UA-vCenter”. Real networks from this vCenter Server are still referenced.- Failed to unregister vCenter Server “UA-vCenter”. Real networks from this vCenter Server are still referenced.[/highlight]” .Here we will see that how we can fix these kind of errors.

1.Login to vCloud Director.

Login to vCloud Director
Login to vCloud Director

2.Disable the vCenter Server.

Select the vCenter and Disable
Select the vCenter and Disable

3.Try to Detach it .

Try to Detach it
Try to Detach it

4.Oops…we are getting the error.

Error
Error

5.Let me check whether any cloud resources are still available in vCenter server. Login to vSphere Client and see any vCloud director resources are available.Nothing seems to be there.

My vCenter Server
My vCenter Server

6.Check in vCloud Director’s “Cloud Resources” tab. There is one cloud resource is still referencing to vCenter Server.

Removing the vcloud resource
Removing the vCloud resource

7.Just remove the “UANET” resource which is still pointing to vCenter Server.

Removing the vCloud resource
Removing the vCloud resource

8.Try to Detach the vCenter Server again after disabling it.

Able to disable & detach the vCenter server
Able to disable & detach the vCenter server

9. vCenter Server should be removed if there is no further issue.

Finally vCenter server detached
Finally vCenter server detached

If you still not able to detach the vCenter server,then follow the below method.

1.just reset the vShield manager to defaults .

vSheild Manager
vSheild Manager

2.You need to reboot the vShield Manager to complete the clean up process.

Rebooting the vSheild Manager
Rebooting the vSheild Manager

3. Login to vCloud Director and select hosts.

Un-prepare the hosts
Un-prepare the hosts

4.Disable the hosts .

Disable the hosts
Disable the hosts

5.Select the each host and un-prepare it . This will uninstall the vCloud agent from the ESXi servers.

Un-prepare the hosts
Un-prepare the hosts

6.You may get  error while un-preparing it .It mainly happens where ESXi servers is not able to go in to the maintenance.

Unable to Enter in to Maintenance mode
Unable to Enter in to Maintenance mode

Once you have un-prepared the hosts, you can try to detach the vCenter server from vCloud director.

Reference – VMware KB

Share it ! Comment it !! Be Sociable !!!

Filed Under: vCenter Server 5.5, vCloud Director, VMware Tagged With: vcloud

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version