VMware Cloud Community
geedee
Contributor
Contributor

does 'remove ESX from VC inventory' affect host or client operation ?

I have managed, by mistake !, to get my one and only host 'disconnected' from my VC. When I try to reconnect the host the VC treats the host as a new machine and the reconnect fails as there are insufficient licenses.

The license page shows 2 licenses with 0 available.

I am anxious about restarting the host (lack of experience I guess) so would prefer some other method.

Several questions :-

1. Does running the (mgmt-vmware and vmware-vpxa) service restart instructions at the host CLI carry a risk for the host or client functioning ?

2. If I remove the host from VC inventory, will that affect the host or client functioning ?

3. Will 2. above free up the licenses so I can then connect the host as a new host ?

Thanks - in anticipation.

cheers

Graham

0 Kudos
3 Replies
kix1979
Immortal
Immortal

Running a service mgmt-vmware restart should reconnect the host. It will drop any connections to the local host for VI Client purposes, but all network traffic etc... will be unaffected, just access to the SC connection for management for a moment. It will not even disconnect you from a SSH session Smiley Happy Also removing it from the inventory would free up licenses to add back in again.

Kix

Thomas H. Bryant III
0 Kudos
FredPeterson
Expert
Expert

Restart VirtualCenter's service and try again, if that doesn't work, with the host not present in VirtualCenter, restart the vmware management service with the commands you stated in #1

dangit i r slow to type. silly family guy on tv

Message was edited by:

FredPeterson

0 Kudos
Texiwill
Leadership
Leadership

Hello,

If you remove a host/VM from within VC you will not effect the HOST/VM from running, just being able to be managed from VC. Your Host and all VMs associated with the host will dissappear from VC.

If you connect direct to the Host using the VIC you will see your VMs still.

However, if you remove a VM, it will remove it from the inventory for both VC based VIC and Host based VIC. To manage the VM you will have to readd it to the inventory. This should not affect an already running VM.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos