Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to disable hot add / hot plug in ESXi 6.x and 5.x virtual machines

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to disable the hot add / hot plug function in the ESXi 6.x and 5.x virtual machines, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

Phenomenon:

The network card and SCSI controller are displayed as removable devices.

The secure remove hardware option corresponding to the virtual hardware is displayed in the Windows system taskbar.

If you are using VMware View, you will notice that the View desktop with persistent disks is disconnecting.

Between virtual machines in some versions of windows2012, you can access C$ but not D$\ E$.

Solution:

You can disable hot plug using vSphere Client or by editing a .vmx file.

Note: hot-swappable features for PCI devices such as the E1000 or vmxnet2 NIC can also be disabled.

To disable hot-swappable functionality using vSphere Client:

Use vSphere Client to connect to the ESXi/ESX host or vCenter Server. 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 named devices.hotplug with a value of false. Then power on the virtual machine.

To disable hot-swappable functionality using vSphere Web Client:

Connect to vSphere Web Client from a Web browser. Log in using administrator credentials. Navigate to the virtual machine you want to modify. Shut down the virtual machine. "right-click the virtual machine, and select Edit Settings." Click the virtual machine options tab. Click Advanced > Edit configuration > add Line. Insert a new row named devices.hotplug with a value of false. Power on the virtual machine.

To disable hot-swappable functionality by editing the .vmx file:

Power off the virtual machine. Use the SSH client to access the ESXi/ESX service console. Open the virtual machine configuration file (.vmx) in a text editor. The default location is: / vmfs/volumes/datastore_name/vm_name/vm_name.vmx to add the following line: devices.hotplug = "false" Note: this setting does not affect hot-swappable CPU and memory. Save and close the file. Then power on the virtual machine.

Note: if you are using VMware View, perform one of the above procedures on the parent virtual machine before performing the following steps:

Create a new snapshot of the parent virtual machine: in vSphere Client, right-click the parent virtual machine, and then click Snapshot > take a snapshot. Enter a name and description for the snapshot. Click OK. Reorganize the affected pools into this new snapshot: in the View Manager console, select and open a pool. Click View Composer > reorganize, and then select the newly generated snapshot. Click next. Configure scheduling and warning options. Click next. Check the confirmation message. Click finish and verify that the reorganization operation completed successfully. Repeat the reorganization process for all affected pools. Thank you for reading this article carefully. I hope the article "how to disable Hot add / Hot plug in ESXi 6.x and 5.x Virtual machines" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report