Re: General Questions regarding Cloudstack

2022-11-21 Thread Vivek Kumar via users
Hello Bryan,

Cloudstack gives you super awesome API feature, so yes you run run a Jenkins 
job to provision instances on target host. So you can achieve this via 2 method.

1- Create compute offering in ACS and provide some tag and that tag should be 
present on the HOST as well, i.e one offering with A tag will provision VM on A 
host, create another compute offering with TAG “B’” which will provision VM on 
B host. So you will have 2 compute offerings -

So you write a script i.e in python or any of your fav language  for the API - 
deployVirtualMachine - and specific the required compute_offering_id. Now this 
script can be executed from your Jenkins pipeline

2- Second method is to pass the host_id in the API call - deployVirtualMachine 
call -  so in this you won’t need to create separate compute offering.

https://cloudstack.apache.org/api/apidocs-4.17/apis/deployVirtualMachine.html



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 21-Nov-2022, at 7:19 PM, Bryan Tiang  wrote:
> 
> Hi Vivek,
> 
> Thank for the response.
> 
> Which of these would be the most recommended method? In terms of 
> simplification and efficient maintenance?
> 
> What about CI/CD? Is it possible to integrate our CICD pipeline to deploy 2 
> instances of the same app to 2 different physical servers? If so, I suppose 
> if I use the Host Tag option, I will somehow need to have the pipeline 
> contain those conditions?
> 
> Regards,
> Bryan
> 
> On 21 Nov 2022, at 6:02 PM, Nux  wrote:
> 
> A
> 


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


Re: General Questions regarding Cloudstack

2022-11-21 Thread Bryan Tiang
Hi Vivek,

Thank for the response.

Which of these would be the most recommended method? In terms of simplification 
and efficient maintenance?

What about CI/CD? Is it possible to integrate our CICD pipeline to deploy 2 
instances of the same app to 2 different physical servers? If so, I suppose if 
I use the Host Tag option, I will somehow need to have the pipeline contain 
those conditions?

Regards,
Bryan

On 21 Nov 2022, at 6:02 PM, Nux  wrote:

A



Re: General Questions regarding Cloudstack

2022-11-21 Thread Nux
To add to "concern 2", you can use pgbench to compare between bare metal 
and VM, it's the benchmarking tool from PostgreSQL DB which should be 
very handy in your situation.


---
Nux
www.nux.ro

On 2022-11-21 05:54, Vivek Kumar wrote:

Hello Bryan,

For concern 1-

There are couple of ways to achieve this.

1- You can use affinity groups ( host anti affinity ) where it will
make sure that you applications will be powered on separate hosts.
2- You can use HOST TAG to define your hosts in compute offering. If
you want your application to be powered on any specific host.
3- You can create 2 cluster and isolated them by using the TAG either
host and storage tag.

But if you want to use host_tag  then I suggest to use at least 2-2
host for same tag, so that VMs can be powered on if any host goes
down, because cloudstack will specifically see the tagged host so if
the tagged host is not available then you won’t be able to power on
you workload.

For Concern 2:

For this, I guess you will have to deploy some testing workload on VM
and compare the performance with the baremetal, You can use tools like
IOmeter, FIO for testing the random and sequential read/write and
throughput. Because Databases required good I/O so underlying storage
would be the critical component.

I hope this helps..!



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




On 20-Nov-2022, at 7:17 PM, Bryan Tiang  
wrote:


Hi Guys,

Im a Business Development Manager trying to convince our company to 
convert our datacenter into a Private Cloud using Cloudstack. 
Currently things are set up in a Baremetal sort of set up. Im not 
super technical, more so on a business and risk side of things. And to 
have this approved by our management, I will need to address some of 
their concerns.


Concern 1:
Some of our applications requires High Availability. On a software 
level, we have covered this. But on a hardware level, is there a way 
to deploy our applications in a way where each HA Service is deployed 
in a different physical server (or cluster). This is to avoid any one 
server taking down the entire service (assuming both HA Applications 
are deployed as separate VMs, but in the same physical server).


Concern 2:
Is there any benchmarks only that compares the performance of bare 
metal and VM? I understand there is a slight drop in performance, but 
how much is that? Some of the system we currently deploy on bare metal 
are MSSQL Databases and other services that have very high network IO. 
Are any benchmarks available online? And can those performance 
degredations be restored/matched by compensating with more CPU/RAM 
allocation to the VM?


Appreciate the help.

Regardfs,
Bryan


Re: General Questions regarding Cloudstack

2022-11-20 Thread Vivek Kumar
Hello Bryan, 

For concern 1- 

There are couple of ways to achieve this.

1- You can use affinity groups ( host anti affinity ) where it will make sure 
that you applications will be powered on separate hosts.
2- You can use HOST TAG to define your hosts in compute offering. If you want 
your application to be powered on any specific host.
3- You can create 2 cluster and isolated them by using the TAG either host and 
storage tag.

But if you want to use host_tag  then I suggest to use at least 2-2 host for 
same tag, so that VMs can be powered on if any host goes down, because 
cloudstack will specifically see the tagged host so if the tagged host is not 
available then you won’t be able to power on you workload.

For Concern 2:

For this, I guess you will have to deploy some testing workload on VM and 
compare the performance with the baremetal, You can use tools like IOmeter, FIO 
for testing the random and sequential read/write and throughput. Because 
Databases required good I/O so underlying storage would be the critical 
component.

I hope this helps..! 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 20-Nov-2022, at 7:17 PM, Bryan Tiang  wrote:
> 
> Hi Guys,
> 
> Im a Business Development Manager trying to convince our company to convert 
> our datacenter into a Private Cloud using Cloudstack. Currently things are 
> set up in a Baremetal sort of set up. Im not super technical, more so on a 
> business and risk side of things. And to have this approved by our 
> management, I will need to address some of their concerns.
> 
> Concern 1:
> Some of our applications requires High Availability. On a software level, we 
> have covered this. But on a hardware level, is there a way to deploy our 
> applications in a way where each HA Service is deployed in a different 
> physical server (or cluster). This is to avoid any one server taking down the 
> entire service (assuming both HA Applications are deployed as separate VMs, 
> but in the same physical server).
> 
> Concern 2:
> Is there any benchmarks only that compares the performance of bare metal and 
> VM? I understand there is a slight drop in performance, but how much is that? 
> Some of the system we currently deploy on bare metal are MSSQL Databases and 
> other services that have very high network IO. Are any benchmarks available 
> online? And can those performance degredations be restored/matched by 
> compensating with more CPU/RAM allocation to the VM?
> 
> Appreciate the help.
> 
> Regardfs,
> Bryan


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


General Questions regarding Cloudstack

2022-11-20 Thread Bryan Tiang
Hi Guys,

Im a Business Development Manager trying to convince our company to convert our 
datacenter into a Private Cloud using Cloudstack. Currently things are set up 
in a Baremetal sort of set up. Im not super technical, more so on a business 
and risk side of things. And to have this approved by our management, I will 
need to address some of their concerns.

Concern 1:
Some of our applications requires High Availability. On a software level, we 
have covered this. But on a hardware level, is there a way to deploy our 
applications in a way where each HA Service is deployed in a different physical 
server (or cluster). This is to avoid any one server taking down the entire 
service (assuming both HA Applications are deployed as separate VMs, but in the 
same physical server).

Concern 2:
Is there any benchmarks only that compares the performance of bare metal and 
VM? I understand there is a slight drop in performance, but how much is that? 
Some of the system we currently deploy on bare metal are MSSQL Databases and 
other services that have very high network IO. Are any benchmarks available 
online? And can those performance degredations be restored/matched by 
compensating with more CPU/RAM allocation to the VM?

Appreciate the help.

Regardfs,
Bryan