VMware Horizon Community
gogogo5
Hot Shot
Hot Shot
Jump to solution

Host Caching Settings Issue

Hello

I have a VMware View 5.1 environment connecting to a vSphere 5.0 U1 environment.  When enabling Host Caching on the View Configuration > Servers > Select VC > Host Caching tab and clicking OK, the ESXi hosts are not configured.  This is verified by checking an individual ESXi host Advanced Configuration > CBRC settings.

Looking at the View Connection Manager logs I see this:

2012-09-12T00:18:42.761+10:00 INFO  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [Audit] VC_OUTAGE:Url:https://vcenter.server:443/sdk
2012-09-12T00:18:42.761+10:00 WARN  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [ServiceConnection25] VirtualCenter https://vcenter.server:443/sdk is currently unavailable - attempting to reconnect
2012-09-12T00:18:44.087+10:00 WARN  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [ServiceConnection25] Problem while performing VC operation: 'Permission to perform this operation was denied.' [com.vmware.vim25.NoPermission]
2012-09-12T00:18:44.088+10:00 INFO  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [Audit] VC_OUTAGE:Url:https://vcenter.server:443/sdk
2012-09-12T00:18:44.089+10:00 WARN  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [ServiceConnection25] VirtualCenter https://vcenter.server:443/sdk is currently unavailable - attempting to reconnect
2012-09-12T00:18:44.089+10:00 WARN  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [ServiceConnection25] Previous VC reconnection attempt didn't work, will wait before attempting again.
2012-09-12T00:18:59.090+10:00 WARN  (0B00-1498) <ConfigureHostsCbrc-305e9d23-1db4-46c3-a037-d6651414452d-1346994657311> [ServiceConnection25] No permission to perform VC operation.

The vCenter user account used for View is an Administrator in VC and set at the VC level as per the documentation.  Can anyone suggest why the permission problems would be occurring?  Do any of you get these messages in your View logs when disabling/enabling the Host Caching feature???

Cheers

gogogo5

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
bretttenney
Enthusiast
Enthusiast
Jump to solution

I had similar errors and had to give my VC user the privilege to change advanced config options for hosts.  This is so it can enable the CBRC in advanced settings.

<privilegeId>Host.Config.AdvancedConfig</privilegeId>

View solution in original post

Reply
0 Kudos
3 Replies
kgsivan
VMware Employee
VMware Employee
Jump to solution

Whenyou enable Host caching for a VC through View administrator, ESXi hosts are not configured immediately.

Go ahead, and create a pool, and enabe the pool settings "Use Host Caching" in the advanced storage options.

During the pool creation (if automated pool) , you can see a VC task called "Update option values" ESXi is configured for host caching at this time.

An ESXi is enabled for host caching only when, atleast one of the VM in the host is configred to use host caching

http://communities.vmware.com/docs/DOC-19439

bretttenney
Enthusiast
Enthusiast
Jump to solution

I had similar errors and had to give my VC user the privilege to change advanced config options for hosts.  This is so it can enable the CBRC in advanced settings.

<privilegeId>Host.Config.AdvancedConfig</privilegeId>

Reply
0 Kudos
gogogo5
Hot Shot
Hot Shot
Jump to solution

Hi bretttenney - spot on!  My VC user is a custom role created as per the VMware documented privileges including the "Act as vCenter Server" privilege (page 19 & 132 View 5.1 Admin PDF).  This is the privilege that is supposed to grant it rights to change the CBRC settings.

I added the additional privilege to the role from your reply (Host > Configuration > Advanced Settings) and the permission errors do not occur now.

Thanks

gogogo5

Reply
0 Kudos