Changing the hard disk mode of a virtual machine fails with the error: Access to resource settings on the host is restricted to the server which is managing it
book
Article ID: 345685
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
When connected directly to an ESXi host managed in vCenter Server and attempt to change the virtual hard disk mode for a virtual machine the following error is seen:
Access to resource settings on the host is restricted to the server 'x.x.x.x' which is managing it
The following is seen on the ESXi host:
Access to resource settings on the host is restricted to the server that is managing it: 'x.x.x.x'
Cause
This behavior is by design. There is a requirement that virtual machine changes must be performed while on a vSphere Client connected to vCenter Server.
Resolution
To resolve this issue, change the virtual hard disk mode for a virtual machine using the vSphere Client while connected to vCenter Server.
Note: If there is a requirement to change the virtual hard disk mode for a virtual machine when connected directly to an ESXi host, the vpxa agent must be offline on the host to do so.
To work around this issue:
Stop communication between the host and the vCenter Server by stopping these services with the commands:
/etc/init.d/vpxa stop /etc/init.d/hostd restart
When these commands have executed, the ESXi host has stopped communicating with the vCenter Server.
Change the virtual hard disk mode on the target virtual machine.
After completing the change, start the vpxaservice to add the ESXi host back to vCenter by running the command: