Some times, for some reason (like for rearrangement in my case) system administrator wants to change the host location and move one (or more) host from one cluster to the other, to do so, the host should be remove from first cluster and join to the other.
Well, it’s a very easy process but there is a little point I find out today, during doing this on my home lab, lets check these steps.
Have three cluster and at least two hosts under each one.
Moving one host from one cluster to the other cluster.
Both of these hosts are same in the spec and configuration except the dvSwitch they connected to.
In first step, I have put the first host (vesxi41-2) in the “Maintenance Mode” so if any VMs is assign to this host (powered on or off), would migrate to the other host on the same cluster.
After that, I have right clicked on it and select the “Remove” to remove it from current cluster.
Normal Warning shows up which indicated that all logs and performance data would be removed as well as VMs, Resource pools and vApps, so as long as I didn’t have anything on this host, I selected the “Yes” option.
A little latter, the unexpected warning shows up!
“The resource ‘vesxi41-2.kasraeian.com’ is in use.”
“See the error stack for details on the cause of this problem.”
As the picture below shows, the cause of this error was: “… it’s part of vDS dvSwitch”
As the above picture shows, I selected the dvSwith for vDC1 cluster and there is 2 hosts in detail of this dvSwitch; after this, I have selected “Manage Hosts” from “Summary” tab, then I selected the proper host (vesxi41-2) in the new window.
- If there is host which is connected to the dvSwitch(es) and wants to be moved, first try to disconnect this host from dvSwitch(es) and then try to remove it from host.
- During my test on the second host, I find out the steps of disconnecting the pNIC from dvSwitch can be removed which means, the host can be removed from dvSwitch directly.