You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Gary Dixon <Ga...@quadris.co.uk.INVALID> on 2023/09/14 16:37:46 UTC
creating multiple VM's from template
Hi all
ACS 4.15.2
KVM hypervisor on Ubuntu 20.04
We use Ansible to create 50 Windows VM’s from a template to spin up a large Citrix estate. It currently takes around 2 hours for the entire process to complete.
Are there any settings in ACS that we can tweak to speed up the process ?
BR
Gary
Gary Dixon
Senior Technical Consultant
T: +44 161 537 4990
E: vms@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and privileged for the private use of the named recipient. The contents of this e-mail may not necessarily represent the official views of Quadris. If you have received this information in error you must not copy, distribute or take any action or reliance on its contents. Please destroy any hard copies and delete this message.
RE: creating multiple VM's from template
Posted by Gary Dixon <Ga...@quadris.co.uk.INVALID>.
Hi Jithin
Thanks for the tip - I wasn’t aware of this setting.
I checked the setting and it is set to false.
I'll analyse the logs to see if I can identify the bottleneck
BR
Gary
Gary Dixon
Senior Technical Consultant
T: +44 161 537 4990
E: vms@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and privileged for the private use of the named recipient. The contents of this e-mail may not necessarily represent the official views of Quadris. If you have received this information in error you must not copy, distribute or take any action or reliance on its contents. Please destroy any hard copies and delete this message.
-----Original Message-----
From: Jithin Raju <ji...@shapeblue.com>
Sent: Friday, September 15, 2023 5:19 AM
To: users@cloudstack.apache.org
Subject: Re: creating multiple VM's from template
Hi Gary,
Could you check whether setting ‘execute.in.sequence.hypervisor.commands’ to ‘false’ helps if it not already done? The default is ‘false’.
You might want to review the logs to identify which operation is taking more time.
-Jithin
From: Cristian Ciobanu <cr...@istream.today>
Date: Thursday, 14 September 2023 at 10:18 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: creating multiple VM's from template Hi Gary,
Are you sure that is not related to your storage performance? In my case, Windows takes much longer to deploy than Linux, because of the template size even with SSD/Nvme performance.
Cristian
On Thu, Sep 14, 2023, 19:38 Gary Dixon <Ga...@quadris.co.uk.invalid>
wrote:
> Hi all
>
>
>
> ACS 4.15.2
>
> KVM hypervisor on Ubuntu 20.04
>
>
>
> We use Ansible to create 50 Windows VM’s from a template to spin up a
> large Citrix estate. It currently takes around 2 hours for the entire
> process to complete.
>
> Are there any settings in ACS that we can tweak to speed up the process ?
>
>
>
> BR
>
>
>
> Gary
> Gary Dixon
> Senior Technical Consultant
> T: +44 161 537 4990
> E: v <+44%207989717661>ms@quadris‑support.com
> W:
> http://www.q/
> uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cfc678f5fee
> c646d631fb08dbb5a2efb2%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> 8303483642245898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j0eN02ItOp
> iR79Xx9QtrRlwkNnBk%2FTksY7XtVPR5JEA%3D&reserved=0<https://eur01.safeli/
> nks.protection.outlook.com/?url=http%3A%2F%2Fwww.quadris.co.uk%2F&data
> =05%7C01%7CGary.Dixon%40quadris.co.uk%7Cfc678f5feec646d631fb08dbb5a2ef
> b2%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638303483642245898%7CU
> nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha
> WwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j0eN02ItOpiR79Xx9QtrRlwkNnBk%2
> FTksY7XtVPR5JEA%3D&reserved=0> The information contained in this
> e-mail from Quadris may be confidential and privileged for the private
> use of the named recipient. The contents of this e-mail may not
> necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents. Please
> destroy any hard copies and delete this message.
>
Re: creating multiple VM's from template
Posted by Jithin Raju <ji...@shapeblue.com>.
Hi Gary,
Could you check whether setting ‘execute.in.sequence.hypervisor.commands’ to ‘false’ helps if it not already done? The default is ‘false’.
You might want to review the logs to identify which operation is taking more time.
-Jithin
From: Cristian Ciobanu <cr...@istream.today>
Date: Thursday, 14 September 2023 at 10:18 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: creating multiple VM's from template
Hi Gary,
Are you sure that is not related to your storage performance? In my
case, Windows takes much longer to deploy than Linux, because of the
template size even with SSD/Nvme performance.
Cristian
On Thu, Sep 14, 2023, 19:38 Gary Dixon <Ga...@quadris.co.uk.invalid>
wrote:
> Hi all
>
>
>
> ACS 4.15.2
>
> KVM hypervisor on Ubuntu 20.04
>
>
>
> We use Ansible to create 50 Windows VM’s from a template to spin up a
> large Citrix estate. It currently takes around 2 hours for the entire
> process to complete.
>
> Are there any settings in ACS that we can tweak to speed up the process ?
>
>
>
> BR
>
>
>
> Gary
> Gary Dixon
> Senior Technical Consultant
> T: +44 161 537 4990
> E: v <+44%207989717661>ms@quadris‑support.com
> W: www.quadris.co.uk<http://www.quadris.co.uk>
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient. The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents. Please destroy
> any hard copies and delete this message.
>
Re: creating multiple VM's from template
Posted by Nux <nu...@li.nux.ro>.
Does Storpool have a native driver for Xenserver?
If not and you use iSCSI then bad luck, Xenserver uses LVM for iSCSI
storage pools and thin provisioning is NOT SUPPORTED there, so you are
thick/full provisioning all your machines.. 50 machines x 100GB (I
imagine) is a lot of storage traffic.
Do you have to run this operation often?
Regards
On 2023-09-15 08:40, Gary Dixon wrote:
> Hi Cristian
>
> Thanks for the tip - I'll reach out to out StorPool support guys - see
> if they have noticed any bottlenecks at the storage level
>
> BR
>
> Gary
>
> Gary Dixon
>
> Senior Technical Consultant
>
> T: +44 161 537 4990
>
> E: v [1]ms@quadris‑support.com
>
> W: www.quadris.co.uk
>
> The information contained in this e-mail from Quadris may be
> confidential and privileged for the private use of the named
> recipient. The contents of this e-mail may not necessarily represent
> the official views of Quadris. If you have received this information
> in error you must not copy, distribute or take any action or reliance
> on its contents. Please destroy any hard copies and delete this
> message.
>
> -----Original Message-----
> From: Cristian Ciobanu <cr...@istream.today>
> Sent: Thursday, September 14, 2023 5:48 PM
> To: users@cloudstack.apache.org
> Subject: Re: creating multiple VM's from template
>
> Hi Gary,
>
> Are you sure that is not related to your storage performance? In my
> case, Windows takes much longer to deploy than Linux, because of the
> template size even with SSD/Nvme performance.
>
> Cristian
>
> On Thu, Sep 14, 2023, 19:38 Gary Dixon
> <Ga...@quadris.co.uk.invalid>
> wrote:
>
>> Hi all
>>
>>
>>
>> ACS 4.15.2
>>
>> KVM hypervisor on Ubuntu 20.04
>>
>>
>>
>> We use Ansible to create 50 Windows VM’s from a template to spin
> up a
>> large Citrix estate. It currently takes around 2 hours for the
> entire
>> process to complete.
>>
>> Are there any settings in ACS that we can tweak to speed up the
> process ?
>>
>>
>>
>> BR
>>
>>
>>
>> Gary
>> Gary Dixon
>> Senior Technical Consultant
>> T: +44 161 537 4990
>> E: v <+44%207989717661>ms@quadris‑support.com
>> W:
>> http://www.q/
>>
> uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7C54c1d42e0e
>>
> eb40d0081908dbb542755a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
>>
> 8303069272122691%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
>>
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FU6skNSKSK
>> valiq6%2BlQR3LiCgYXglJthiXLMCeEYeYw%3D&reserved=0
>> The information contained in this e-mail from Quadris may be
>> confidential and privileged for the private use of the named
>> recipient. The contents of this e-mail may not necessarily represent
> the official views of Quadris.
>> If you have received this information in error you must not copy,
>> distribute or take any action or reliance on its contents. Please
>> destroy any hard copies and delete this message.
>>
>
>
> Links:
> ------
> [1] tel:+44%207989717661
RE: creating multiple VM's from template
Posted by Gary Dixon <Ga...@quadris.co.uk.INVALID>.
Hi Cristian
Thanks for the tip - I'll reach out to out StorPool support guys - see if they have noticed any bottlenecks at the storage level
BR
Gary
Gary Dixon
Senior Technical Consultant
T: +44 161 537 4990
E: vms@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and privileged for the private use of the named recipient. The contents of this e-mail may not necessarily represent the official views of Quadris. If you have received this information in error you must not copy, distribute or take any action or reliance on its contents. Please destroy any hard copies and delete this message.
-----Original Message-----
From: Cristian Ciobanu <cr...@istream.today>
Sent: Thursday, September 14, 2023 5:48 PM
To: users@cloudstack.apache.org
Subject: Re: creating multiple VM's from template
Hi Gary,
Are you sure that is not related to your storage performance? In my case, Windows takes much longer to deploy than Linux, because of the template size even with SSD/Nvme performance.
Cristian
On Thu, Sep 14, 2023, 19:38 Gary Dixon <Ga...@quadris.co.uk.invalid>
wrote:
> Hi all
>
>
>
> ACS 4.15.2
>
> KVM hypervisor on Ubuntu 20.04
>
>
>
> We use Ansible to create 50 Windows VM’s from a template to spin up a
> large Citrix estate. It currently takes around 2 hours for the entire
> process to complete.
>
> Are there any settings in ACS that we can tweak to speed up the process ?
>
>
>
> BR
>
>
>
> Gary
> Gary Dixon
> Senior Technical Consultant
> T: +44 161 537 4990
> E: v <+44%207989717661>ms@quadris‑support.com
> W:
> http://www.q/
> uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7C54c1d42e0e
> eb40d0081908dbb542755a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> 8303069272122691%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FU6skNSKSK
> valiq6%2BlQR3LiCgYXglJthiXLMCeEYeYw%3D&reserved=0
> The information contained in this e-mail from Quadris may be
> confidential and privileged for the private use of the named
> recipient. The contents of this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents. Please
> destroy any hard copies and delete this message.
>
Re: creating multiple VM's from template
Posted by Cristian Ciobanu <cr...@istream.today>.
Hi Gary,
Are you sure that is not related to your storage performance? In my
case, Windows takes much longer to deploy than Linux, because of the
template size even with SSD/Nvme performance.
Cristian
On Thu, Sep 14, 2023, 19:38 Gary Dixon <Ga...@quadris.co.uk.invalid>
wrote:
> Hi all
>
>
>
> ACS 4.15.2
>
> KVM hypervisor on Ubuntu 20.04
>
>
>
> We use Ansible to create 50 Windows VM’s from a template to spin up a
> large Citrix estate. It currently takes around 2 hours for the entire
> process to complete.
>
> Are there any settings in ACS that we can tweak to speed up the process ?
>
>
>
> BR
>
>
>
> Gary
> Gary Dixon
> Senior Technical Consultant
> T: +44 161 537 4990
> E: v <+44%207989717661>ms@quadris‑support.com
> W: www.quadris.co.uk
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient. The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents. Please destroy
> any hard copies and delete this message.
>