cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashant s <opsrunb...@gmail.com>
Subject Re: Xen - Deploying servers from a template
Date Tue, 28 Apr 2015 13:25:12 GMT
Thanks Geoff, i wasnt aware of this global setting !  this feature will
speed up my vm deployments !!!!

"This automatic clean up can be disabled by updating the global setting
storage.template.cleanup.enabled"


Thanks
prashant S

On Tue, Apr 28, 2015 at 7:58 AM, Geoff Higginbottom <
geoff.higginbottom@shapeblue.com> wrote:

> The first time a template is used, it is copied from Secondary to Primary,
> then the VM is created, and in the case of XenServer is created as a
> Œlinked clone¹.  This linking of the VM to the Template means that whilst
> there are VMs allocated to Primary Storage, the templates that the VMs are
> using will always remain on Primary Storage.
>
> If a 2nd VM is created based on the same template, the template is already
> on Primary Storage so is not copied again.
>
> If all the VMs which were using a Template are deleted or migrated to
> alternate storage, the Template is no longer required and will be deleted
> from Primary Storage.
>
> This automatic clean up can be disabled by updating the global setting
> storage.template.cleanup.enabled
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 <tel:+442036030542> | S: +44 20 3603 0540
> <tel:+442036030540> | M: +447968161581 <tel:+447968161581>
>
> geoff.higginbottom@shapeblue.com | www.shapeblue.com
> <htp://www.shapeblue.com/> | Twitter:@cloudstackguru
> <https://twitter.com/#!/cloudstackguru>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> <x-apple-data-detectors://5>
>
>
>
>
> On 28/04/2015 15:13, "cs user" <acldstkusr@gmail.com> wrote:
>
> >Hi All,
> >
> >Quick question with regards to xenserver and deploying a cloudstack
> >instance from a template stored within secondary storage.
> >
> >In this case it is secondary storage using NFS and deploying to local disk
> >on the xenserver. (cloudstack 4.3, Xen 6.0.1)
> >
> >I believe this script is used to pull down the template:
> >/opt/cloud/bin/copy_vhd_from_secondarystorage.sh
> >
> >I'm seeing a big variation when deploying 3 servers, for example. 2 of the
> >servers might start very quickly and one may take longer.
> >
> >Is there any caching of the template taking place on the xen host its
> >self?
> >If a host has previously deployed a template, and is then asked to deploy
> >a
> >new instance using the template, will it have to go back to secondary
> >storage again or can it use a local cache of the vhd file?
> >
> >Many thanks in advance for any responses.
> >
> >Cheers!
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message