The VMwareDisks agent enables vMotion and VMware Distributed Resource Scheduler (DRS) in VCS clusters configured and deployed on virtual machines in a VMware environment.
When a VCS cluster with a shared disk is configured on virtual machines, VMware does not support VMware Distributed Resource Scheduler (DRS) and vMotion. Thus the vMotion and DRS capabilities are compromised. The solution to this issue would be to attach the disk(s) to a single virtual machine at a time in a VCS cluster. In case of a user initiated failover or a fault-induced failover, these disks would fail over (detach-attach) to the target virtual machine along with the service group. VMwareDisks agent manages the attaching and detaching of the disks to the virtual machines.
After the attach or detach operations, the tasks of initializing and managing the disks are performed by the VMNSDg agent (for SFW environment) and NativeDisks agent (for LDM environment).
To ensure proper functioning of the VMwareDisks agent, verify the following:
Ensure that the VirtualDiskMode attribute value matches the mode in which the VMware disks are attached. Otherwise, after a failover occurs, the VMwareDisks agent reverts them to the mode mentioned in the VirtualDiskMode attribute.
The ESX/ESXi host user account has administrative privileges or is a root user. If you do not want to use the administrator user account or the root user, create a role with the required privileges for VMwareDisks resource functionality and assign this role to one or more users.
The role assigned to the user account must have the following privileges at a minimum:
If the user is a vCenter user, you must assign the requisite privileges so that the user can access the datastore.