ESX/ESXi 4.x and later version included a feature called HotPlug. In some deployments virtual NICs can appear as removable devices on the System Tray in Windows guest operating systems. Problems can occur if you mistake this device for one that you can safely remove
Disable HotPlug capability using the vSphere Client:
- Connect to the ESXi/ESX host or vCenter Server using the vSphere Client.
- Power off the virtual machine.
- Right-click the virtual machine and click Edit Settings.
- Click the Options tab.
- Click General > Configuration Parameters > Add Row.
- Insert a new row with the name
devices.hotplug
and a value offalse
. - Power on the virtual machine.
To disable HotPlug capability by editing the
.vmx
file: - Power off the virtual machine.
- Access the ESXi/ESX service console using an SSH client.
- Open the virtual machine configuration file (
.vmx
) in a text editor. The default location is:/vmfs/volumes/datastore_name/vm_name/vm_name.vmx
- Add the line:
devices.hotplug = "false"
Note: This setting does not interfere with HotPlug CPU/memory. - Save and close the file.
- Power on the virtual machine.
No comments:
Post a Comment