Recently, I had a client that wanted to re-organize their ESXi servers. They wanted all the IP’s nicely lined up and the host names changed.
But they were also using a VDS. This was my solution.
The only way I know of to accomplish this is to remove the host from the cluster and re-add it. Because the host is part of a VDS, you have to remove it from the VDS first before you can remove it from the cluster.
I had previously setup the cluster to use Host Profiles – THIS IS IMPORTANT! It will save tons of time.
These steps are for the vSphere Client.
So…here are the steps:
- Put the host into maintenance mode.
- Host->Configuration->vSphere Distributed Switch->Manage Physical Adapters->Remove one adapter (you do have more than one right?!)
- vSphere Standard Switch->Add Networking->Virtual Machine Type->Click through to Finish (we are going to migrate the VMK port, so we don’t need a new one)
- vSphere Distributed Switch->Manage Virtual Adapters-><the vmk# port> –>Migrate->The vSwitch you just created->enter the right VLAN!
- vSphere Distributed Switch->Manage Physical Adapters->Remove other physical ports
- Home->Networking->DVSwitch->Hosts Tab->right-click the host in maintenance mode->Remove from vSphere Distributed Switch
- Hosts and Clusters->Right Click the host in maintenance mode->Remove
- Go to the KVM console of the host and change the IP and hostname
- Back to the vSphere client->Cluster->Add host
- Host->Attach Profile (Manage Profile)
- Host Profiles->Apply Profile
- Host Profiles->Check Compliance
- Exit Maintenance mode
That should do it!
No comments:
Post a Comment