Hi Craig,
Building on what Rohit and others explained, it depends a lot on your goal as 
well.

If you want to develop software for ACS, then the simulator is probably the way 
to go.
If you want to dig into the physical infrastructure with multiple hypervisor 
types, etc..etc.. then your best bet is most likely to be one "large" 
hypervisor (8 cores, 32GB RAM), with that you can run a pretty realistic nested 
environment with NFS servers, multiple zones, etc....
If the goal is to actually simulate a physical infra, then a bunch of PIs is a 
good option.

So, before building an actual lab I'd recommend you come up with some goals for 
your lab setup.
Hope this helps,

Cheers,
Alex

[email protected] 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 


-----Original Message-----
From: Rohit Yadav <[email protected]> 
Sent: 07 March 2021 15:41
To: [email protected]
Subject: Re: Cloudstack lab

Hi Craig,

The simulator is a dummy hypervisor that essentially uses the database (MySQL) 
to simulate resources (such as hosts, VMs, disks etc) while using the same 
orchestration/business logic as would any hypervisor. The CloudStack 
kernel/plugin based orchestration architecture allows developers to build 
feature that are agnostic of hypervisors/storage to be developed using the 
Simulator.

For my blog, you can attempt all-in-a-single RasberryPi4 as long as you've got 
the 8GB model, with the 4GB model it's possible but such a setup will eat all 
the available memory pretty soon (running CloudStack mgmt server, agent, mysql 
and nfs all). The toy setup I've got at home has one 4GB-ram rpi4 for mgmt 
server and two 8GB-ram rpi4s for KVM hosts, I run Ceph on all three of them, 
and on the mgmt server I run NFS server and Ceph dashboard.


Regards.

________________________________
From: Craig Dunn <[email protected]>
Sent: Saturday, March 6, 2021 21:50
To: [email protected] <[email protected]>
Subject: Re: Cloudstack lab

Hi

Thanks for the info Rohit, I actually found your blog when googling just didn't 
recognize your name on here.

What's the difference between the simulator and a full install? Also on your 
blog is everything installed on one pi? I assume it is but wanted to check.

Thanks


[email protected]
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK @shapeblue
  
 

On Sat, 6 Mar 2021, 13:02 Rohit Yadav, <[email protected]> wrote:

> For basic app development, go for simulator based development:
>
> https://github.com/shapeblue/hackerbook/blob/master/2-dev.md#simulator
> -based-development
>
> If you've KVM or VMware workstation/fusion, you can try an appliance 
> based development as well. For KVM you can see:
> https://github.com/shapeblue/hackerbook/blob/master/2-dev.md#mbx-based
> -development (though I need to update that section on using the new 
> mbx)
>
> RaspberryPi4 based toy development/testing setup is also possible but 
> iteration on it may be slow (for users 
> https://rohityadav.cloud/blog/cloudstack-rpi4-kvm/).
>
> Regards.
>
>
> ________________________________
> From: Craig Dunn <[email protected]>
> Sent: Friday, March 5, 2021 20:25
> To: [email protected] <[email protected]>
> Subject: Re: Cloudstack lab
>
> sorry I just thought as it was a simulator deployments wouldnt work
>
> On Fri, 5 Mar 2021 at 14:48, Rakesh v 
> <<http://>[email protected]<
> http://[email protected]>> wrote:
>
> > I'm not sure what you mean by deployment won't work.  You can deploy 
> > VM very well and you can hack into DB as well
> >
> > Sent from my iPhone
> >
> > > On Mar 5, 2021, at 3:13 PM, Craig Dunn <[email protected]
> .invalid>
> > wrote:
> > >
> > > thanks thats looks interesting, I know its a simulation so 
> > > deployments probably dont work but is there a DB and stuff you can play 
> > > with?
> > >
> > >> On Fri, 5 Mar 2021 at 13:40, Rakesh v 
> > >> <<http://>[email protected]<
> http://[email protected]>>
> > wrote:
> > >>
> > >> You can probably try running the docker simulator
> > >>
> > >> Sent from my iPhone
> > >>
> > >>> On Mar 5, 2021, at 2:39 PM, Craig Dunn <[email protected]
> > .invalid>
> > >> wrote:
> > >>>
> > >>> Hey all,
> > >>>
> > >>> I have been reading the cloudstack hackers book which was shared 
> > >>> last
> > >> week,
> > >>> which is really interesting. My employer uses cloudstack as 
> > >>> their
> main
> > >>> platform. so I have some Cloudstack experience.
> > >>>
> > >>> However I would like to know more and I think the only way is to 
> > >>> get
> a
> > >> lab
> > >>> going so I can break/fix it. As I live in a tiny flat I dont 
> > >>> have the
> > >> room
> > >>> for a rack or full of servers, so I was thinking if I could do 
> > >>> it
> with
> > >>> raspberry pi's, I would need a few 1 for the management server,
> another
> > >> for
> > >>> the database, another to run VMWare. I dont expect to run 
> > >>> anything of
> > any
> > >>> substance but as a testing environment and as a learning tool 
> > >>> would
> > this
> > >> be
> > >>> possible?
> > >>>
> > >>> I have an atomic PI as well doing nothing which is an x86 Atom 
> > >>> quad
> > core
> > >> so
> > >>> I could use this somewhere.
> > >>>
> > >>> Thanks
> > >>
> >
>
> [email protected]
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK 
> @shapeblue
>
>
>
>

Reply via email to