I've reinstalled XCP on my two hosts, and checked the right boxes in the installer to allow for Intellicache.
Now I have two different VMs, one which is using the cache and one that isn't.
Works with Intellicache: sm-config (MRO): caching: true; on_boot: persist; host_OpaqueRef:b099215b-faac-22b8-e1b3-f9355bb0bdfe: RW; vhd-parent: e2ff8404-ba95-4e07-a6f6-c58689a07cc8
---
Does not work with Intellicache: sm-config (MRO): host_OpaqueRef:77395969-51ea-3fa2-a584-e3e1b83ff90d: RW
Does intellicache only work with with disks which have other disks as parents (were made from templates)? Do the 'caching' and 'on_boot' params matter in the sm-config map? If so, how did they get there? To my knowledge, I did nothing to put them there.
Again, any help is appreciated.
On Wed, Dec 12, 2012 at 3:49 PM, Shawn Edwards
<lesser.evil@xxxxxxxxx> wrote:
I'm trying to set up Intellicache on an existing small XCP farm.
Things I've done:
* I've put a local SR on each server in the farm (2), and set it for thin provisioning with ext.
* I've set the local SR as the local cache SR with the 'host-enable-local-storage-caching' command.
* I've marked the VDI of one of my VMs as 'allow-caching' and on-boot=persist.
After doing these and booting the VM with the caching VDI, I've added the Intellicache counters to the Performance tab and they never move off of zero. I've also looked in /var/run/sr-mount/<local sr guid> and there are no files in there.
Any ideas? I'm enjoying the flexibility of the command line, but there's not a 'checklist' or anything like that for setting up Intellicache so any help here would be appreciated.
--
Shawn Edwards
Beware programmers with screwdrivers. They tend to spill them on their keyboards.
--
Shawn Edwards
Beware programmers with screwdrivers. They tend to spill them on their keyboards.