Removing an ESX host with running virtual machines from VirtualCenter
search cancel

Removing an ESX host with running virtual machines from VirtualCenter

book

Article ID: 339806

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

In the event that you need to remove an ESX host from VirtualCenter with out entering maintenance mode or affecting the running virtual machines you have to manually remove the rpms associated with the registration of an ESX host to VirtualCenter.


Environment

VMware VirtualCenter 2.0.x
VMware ESX Server 3.0.x

Resolution

To remove the ESX host from VirtualCenter without affecting the running virtual machines you must:
  1. Right-click the ESX host in the VirtualCenter inventory.
  2. Choose Disconnect.
  3. Right-click on the ESX host and select Remove. The ESX host is safely removed from VirtualCenter.
VMware recommends removing the VirtualCenter management agent and VMware HA services afterward. This can be done from the ESX Service Console by running the following commands:
  • export LGTO_AAM_VMWARE_REMOVAL=1
  • rpm -e LGTOaama
  • rpm -e LGTOaamvm
  • rpm -e VMware-vpxa
At this point, the ESX host may be added to another VirtualCenter server for management or be used as a standalone server.

Additional Information

For translated versions of this article, see: