Purpose
Resolution
Note: As a best practice before migrating a VMkernel interface, it is recommended to disable HA (or host monitoring under HA) to prevent HA/FDM from restarting virtual machines.
You can migrate the VMkernel interface between two standard virtual switches or more using these methods via either the GUI or the console/KVM.
You can migrate the VMkernel interface between two standard virtual switches or more using these methods via either the GUI or the console/KVM.
Using the GUI
To migrate the VMkernel interface using the GUI:
- Create a new temporary VMkernel interface on the vSwitch.
- Enable the interface for management traffic.
- Assign a unique and available IP address to the interface.
- Connect to the host using the vSphere Client, the new IP address, and the root credentials.
- Remove the VMkernel interface on the source vSwitch.
Notes:- The host appears as not responding in vCenter Server.
- The virtual machines remain unaffected.
- Add the VMkernel interface configuration that you just removed from source vSwitch to the destination vSwitch.
The host no longer appears grayed out and not responding in vCenter Server. - Using a vSphere Client connection to vCenter Server, remove the temporary VMkernel interface you created in step 1.
Using Console/KVM
- Press Alt+F1 at the console/KVM and log into the command line as root.
- Run this command to list the VMkernel interfaces:
# esxcfg-vmknic -l
- Run this command to delete the VMkernel interface that you want to migrate from the port group to which it belongs:
# esxcfg-vmknic -d Port_Group_Name
- Run this command to add the VMkernel port to the destination vSwitch:
# esxcfg-vswitch –A "Port_Group_Name" vSwitch0
For example:esxcfg-vswitch –A "Management" vSwitch0
Note: After migrating the management interface, you can re-enable HA. - To add the interface your removed in step 3 to the Port Group you created in step 4, run this command:
# esxcfg-vmknic -a -i x.x.x.x -n y.y.y.y Port_Group_Name
For example:# esxcfg-vmknic –a -i 192.168.100.1 -n 255.255.255.0 "Management"
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2037654&src=vmw_so_vex_ragga_1012
No comments:
Post a Comment