Virtual machine fails to migrate to or from an ESX host with the error messages:
Hot migration is disabled in vmkernel on host <Hostname>The operation is not supported on the object. Host '####' does not support this operation because it is disabled in vmkernel.Running the command vsish -e get /config/Migrate/intOpts/Enabled, returns a current value of 0, which confirms that the migration functionality is disabled.
The migrate module is administratively disabled at the ESX host level, preventing the vmkernel from processing vMotion requests regardless of the network configuration.
To restore vMotion functionality, enable the migration module using the following methods:
Method 1: Configuring via ESX Command Line (CLI)
Verify the migration module status by running the following command: vsish -e get /config/Migrate/intOpts/Enabled
If the value returned is 0, enable the module using the below command:
vsish -e set /config/Migrate/intOpts/Enabled 1
esxcli system module list | grep migrateIf the module is disabled, ensure it is configured to load on boot:esxcli system module set -e true -m migrate
Restart the management agents (hostd and vpxa) to apply the changes:/etc/init.d/hostd restart /etc/init.d/vpxa restart
Retry the Virtual machine migration to the Host.
Should the issue persist, verify the Advanced system settings in vCenter for the ESX Host.
Method 2: Configuring via vCenter Advanced System Settings
Log into vCenter and select the affected ESXi host.
Navigate to Configure > System > Advanced System Settings.
Search for the parameter Migrate.Enabled.
If the value is set to 0, click Edit and change the value to 1.
Retry the VM migration to verify it completes successfully.