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
search cancel

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 Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • When you are connected directly to an ESXi host managed in vCenter Server and you attempt to change the virtual hard disk mode for a virtual machine, you see an error similar to:

    Access to resource settings on the host is restricted to the server 'x.x.x.x' which is managing it

  • On ESXi, you see the message:

    Access to resource settings on the host is restricted to the server that is managing it: 'x.x.x.x'


Environment

VMware vCenter Server 5.1.x
VMware vSphere ESXi 5.1
VMware vCenter Server 5.5.x
VMware vSphere ESXi 6.0
VMware vSphere ESXi 5.0
VMware vCenter Server 5.0.x
VMware vCenter Server 6.0.x
VMware vSphere ESXi 5.5

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 you are required 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:
  1. 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.

  2. Change the virtual hard disk mode on the target virtual machine.
  3. After completing your change, start the vpxa service to add the ESXi host back to vCenter by running the command:

    /etc/init.d/vpxa start


Additional Information


仮想マシンのハード ディスク モードの変更が次のエラーで失敗する:ホスト上のリソース設定へのアクセスは、ホストを管理するサーバに制限されています
更改虚拟机的硬盘模式失败,并显示以下错误: 仅允许管理主机上的资源设置的服务器对其进行访问