VMware vSphere

 View Only
Expand all | Collapse all

This host is currently being managed by the vCenter Server

  • 1.  This host is currently being managed by the vCenter Server

    Posted Jun 21, 2012 09:19 PM

    I have ESXi v5 installed and was testing the vCenter Server software on a standalong server and connected up to ESXi5. I later blew away the server software to test something else.

    Now when I log into ESXi Server with vSphere Client I get the message "This how is currently being managed by the vCenter Server with IP address ????

    How do I remove the vCenter info from ESXi so I don't receive this message?

    Thanks 



  • 2.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 21, 2012 11:16 PM

    I'm having same problem. Do I need to delete the old VCenter in order to remove it from the managed hosts?

    Thanks



  • 3.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 12:12 AM

    You need to remove the HA and VPXA agents from the ESXi host via vCLI.



  • 4.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 12:21 AM

    SSH into the host
    Delete the vpxuser user account (used by vCenter for communication)  –> userdel vpxuser

    Go into the uninstaller directory –> cd to /opt/vmware/uninstallers
    Remove the HA/aam agent –> ./VMware-aam-ha-uninstall.sh to
    Remove the vCenter agent –> ./VMware-vpxa-uninstall.sh to



  • 5.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 12:33 AM

    Will this delete the Workstations or any information/data from the hosts?

    Thanks



  • 6.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 12:36 AM

    It removes the agents and user that vCenter install/creates when you connect a host to vCenter.



  • 7.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 12:55 AM

    I tried to remove both agents but it gives me not found.

    Thanks



  • 8.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 01:00 AM

    Do I need to remove the old Vcenter from the inventory?

    Thanks,



  • 9.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 01:05 AM

    You still have a vCenter? The initial post said that vCenter was gone. 



  • 10.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 01:10 AM

    I turned off the old Vcenter and created a new Vcenter. But if I logged in to the host, it still gives me error that the host is still managed by old Vcenter IP. Do I need to delete the old Vcenter and do the ssh command?

    Thanks



  • 11.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 01:23 AM

    Is the new vCenter using the same database as the old vCenter? If so, go to Home>vCenter Server Settings>Runtime Settings and make sure the correct vCenter name is entered.



  • 12.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 01:30 AM

    They have different database.



  • 13.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 11:11 AM

    Have you tried removing it from the (new) vCenter and reconnect it?



  • 14.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 01:40 PM

    I removed the user but your info is for ESXi 3.5 and ESXi 4. I am on ESXi 5

    Note: vpxa cannot be uninstalled on an ESXi 5.0 host as it is now a part of the esx-base package.

    Any other ideas?



  • 15.  RE: This host is currently being managed by the vCenter Server

    Broadcom Employee
    Posted Jun 22, 2012 02:58 PM

    Did you restart the management service? 



  • 16.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 22, 2012 03:18 PM

    It's the small things that you forget to do.

    That fixed it - Thanks



  • 17.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 01:04 AM

    Hello,

    This is what happened to mine. I am using esxi5 and my old vcenter messed up. I decided to uninstall the vcenter and reinstalled it but stop me to installing it and gave me error that port 443 and 80 are being used. I decided to create a new Vcenter and when I tried to connect it gave me error. I put new IP address on the new vcenter and when I opened the host, it is giving me error: that the host is being managed by my old vcenter IP Address. Do I need to remove the old vcenter from the inventory and delete the user? Pls. advise.

    Thanks,



  • 18.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 01:33 PM

    This is what I did for ESXi 5 based on prior posts.

    I removed the vpxuser account and then went to the ESXi console and restarted the management service.



  • 19.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 02:11 PM

    How do i delete vpxuser? O i delete them from the host or from command?

    Thanks,



  • 20.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 02:19 PM

    The easiest way is to login with vSphere Client select the host  Local Users & Groups and remove the user or

    SSH into the host
    Delete the vpxuser user account (used by vCenter for communication)  –> userdel vpxuser

    To restart the management agents on ESXi:

    1. Connect to the console of your ESXi host.
    2. Press F2 to customize the system.
    3. Login as root.
    4. Use the Up/Down arrows to navigate to Restart Management Agents.

      Note: In ESXi 4.1 and ESXi 5.0, this option is available under Troubleshooting Options.


    5. Press Enter.
    6. Press F11 to restart the services.
    7. When the service has been restarted, press Enter.
    8. Press Esc to log out of the system.

    Note: For more information about restarting the management service on an ESXi host, see Service mgmt-vmware restart may not restart hostd (1005566).



  • 21.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 10:57 PM

    Hi,

    Do I need to delete all the users from local Users & Groups? I have nfsnobody, daemon, root, & dcui from my users. Which user i need to delete?

    Thanks,



  • 22.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 11:02 PM

    You only delete the vpxuser for Local User & Groups.



  • 23.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 25, 2012 11:19 PM

    Does it mean vpxuser is User or root? Sorry for too much questions.

    Thanks,



  • 24.  RE: This host is currently being managed by the vCenter Server

    Posted Jun 26, 2012 01:04 AM

    Thank you very much for your help. I just restarted the management agent and it didnt asked the managed IP Address.