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. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ok, more information. 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. Here''s the diff between the two VDI: 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@gmail.com>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. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Alright, I''m an idiot. See here: http://www.gossamer-threads.com/lists/xen/api/222578#222578 The VHD chain length has to be exactly two. Making templates and using them has worked around my problem. Thanks for listening :) On Wed, Dec 12, 2012 at 7:34 PM, Shawn Edwards <lesser.evil@gmail.com>wrote:> Ok, more information. > > 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. > > Here''s the diff between the two VDI: > > 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@gmail.com>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. >-- Shawn Edwards Beware programmers with screwdrivers. They tend to spill them on their keyboards. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Shawn Edwards <lesser.evil <at> gmail.com> writes:> > > Alright, I'm an idiot. See here:http://www.gossamer-threads.com/lists/xen/api/222578#222578> > The VHD chain length has to be exactly two. Making templates and using themhas worked around my problem.> > After doing these and booting the VM with the caching VDI, I've added theIntellicache 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 nota 'checklist' or anything like that for setting up Intellicache so any help here would be appreciated. I am asking for help, because it seems to me very very difficult to use intellicache. After enabling an ssd to use as cache do I really: - need to make a snapshot of each vm, then a template, then recreate vm from the template? - use xe to set cacheable=true on vdi? I also am not able to add intellicache counters to performance tab. Thanks, Mario _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users