Whilst ilya is right that windows post sysprep time are not technically anything to do with CloudStack, if you are experiencing very slow boot times it could be a sign of general poor performance somewhere in the hypervisor/network/storage stack.
On a very modest test system my windows VMs deploy from a sys prep template in circa 6 mins, and after that boot from cold and log into to a desktop in a little over 1 minute. On production grade hardware the initial deployment should only take a couple of minutes at most, and then cold starts should be circa 30 secs. Here are my observed timings on a very low spec test lab: After approx 1 min simple text message "setup is updating registry" Then Setup is starting services with glowing bar below 2 mins 30 "setup is applying system settings" 2 mins 45 "setup will continue after restarting your computer" 4 mins (after a reboot) "setup is preparing your computer for first use" 4 Mins 30 - Prompt to accepts terms (we can automate this but this template forces the user to accept) - windows is finalizing your settings 6 mins - logged in and fully activated Windows is capable of consuming thousands of IOPS during its boot phase, this is why modern laptops with SSDs boot in around 10 secs, but if you are limiting your VMs to have only 50 IOPS available to them then expect 10+ minute boot times. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 [email protected] -----Original Message----- From: ilya musayev [mailto:[email protected]] Sent: 10 July 2014 19:42 To: [email protected] Subject: Re: Windows Template Question I'm with Lucian, this is general windows issue - you cant do anything faster. Sysprep will take what it takes and its nothing to do with CloudStack. Unless you don't have windows AD - and dont care about unique SIDs, then you could just clone windows VMs as is, but you should not have any uniformed management system that cares about SIDs. On 7/10/14, 11:55 AM, Nux! wrote: > Hi, > > That is just normal behaviour with sysprepped Windows. You can't speed this > process much. My templates exhibit the same issue. > If you don't sysprep the templates, you'll end up with other (more serious) > problems. > Yes, Windows sucks. :-) > > HTH > Lucian > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > 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 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 is a registered trademark.
