I was building a new VMware View 5.1 environment and I experienced an issue I want to share. I think this is not documented correctly right now in the View 5.1 documentation.
I have 2 View Connection servers 5.1.1 (VCS01 and VCS02) and 1 VMware vCenter 5.0 u1 (VC01). The vCenter server is added to the View configuration and is working without a problem. I don’t use Composer in this configuration and I have a valid SSL certificate installed on all 3 servers.
I logged on to the View administrator console of VCS01 and I changed host caching of the vCenter server setting in “View Configuration\Servers\vCenter servers”. I changed the following setting: “Override default host cache size” :
The service of vCenter server turned red in the View admin dashboard with status: “The service is not working properly”. This happens a couple of minutes later.
In the logfile of one of the connection servers I saw the following error:
714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542> [Audit] VC_OUTAGE:Url:https://vc01.domainname.x:443/sdk
2012-11-15T14:11:24.493+01:00 WARN (0AFC-0100) [ServiceConnection25] VirtualCenter https://vc01.domainname.x:443/sdk is currently unavailable – attempting to reconnect
2012-11-15T14:11:25.960+01:00 WARN (0AFC-0100) [ServiceConnection25] Problem while performing VC operation: ‘Permission to perform this operation was denied.’ [com.vmware.vim25.NoPermission]
2012-11-15T14:11:25.984+01:00 INFO (0AFC-0100) [Audit] VC_OUTAGE:Url:https://vc01.domainname.x:443/sdk
2012-11-15T14:11:25.984+01:00 WARN (0AFC-0100) [ServiceConnection25] VirtualCenter https://vc01.domainname.x:443/sdk is currently unavailable – attempting to reconnect
2012-11-15T14:11:25.985+01:00 WARN (0AFC-0100) [ServiceConnection25] Previous VC reconnection attempt didn’t work, will wait before attempting again.
2012-11-15T14:11:41.111+01:00 WARN (0AFC-0100) [ServiceConnection25] No permission to perform VC operation.
2012-11-15T14:11:42.566+01:00 WARN (0AFC-0100) [ServiceConnection25] Problem while performing VC operation: ‘Permission to perform this operation was denied.’ [com.vmware.vim25.NoPermission]
I posted my issue in the VMware communities forum and luckily someone pointed me in the right direction. It seems the documentation is not complete when it comes to user rights for the vCenter user. According to the documentation, you need certain rights in vCenter to get VMware View work correctly. One of the new rights in mentioned in the View 5.1 documentation is: “Global \ Act as vCenter server”
The following privilege is required to implement ESXi host caching in View. If you do not use host caching, the vCenter Server user does not need this privilege.
Apparently, if you want to change the host cache on a per host level, you need additional rights in vCenter:
Host \ Configuration \ Advanced settings