You can deploy openstack to a single machine in a number of ways.

I think this one actually makes an LXC for each instance, I just found this

http://astokes.org/ubuntu-openstack-installer/

Marco's way on the other hand uses --deploy-to N to direct juju to install
the charm to
a specific machine.

http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/

You can also see from his video that he's a BSG fan :)

What I like to do is create a MAAS of VMs and deploy to that. You can
configure IPMI power on/off
behavior by configuring the virsh interface.

When I develop I do something like this for RAD and machine management.
Currently when you
remove a service from juju it leaves that machine behind and provisions a
new one should you deploy
again, this can lead to a ummm. surprising AWS bill. So for example when I
was customizing jenkins
for work here I did this.

ppetraki@:jenkins-ci$ cat Makefile
.PHONY: deploy

clean:
rm -rf charms/trusty

install: clean
mkdir -p charms/trusty
cp -a jenkins charms/trusty/jenkins

deploy: install
juju destroy-environment $(shell juju env) --force -y
juju bootstrap --constraints mem=4G
juju deploy --to 0 local:jenkins --config=jenkins.yaml \
--repository=charms/
juju expose jenkins


Which deploys jenkins to the bootstrap node, which is always node zero. I
make some changes locally, and
the makefile pushes the latest version to my local repo, zaps the old
environment, which destroys everything,
and start a fresh deployment. Hack, rinse, and repeat.

I'm a big advocate of sizing stuff in the cloud so for example you could
see how your media server performs
on various sized AWS machines and then use that as a guide to how much
capacity you really need on your metal.

Peter





On Tue, Oct 7, 2014 at 7:53 AM, Tom Buskey <t...@buskey.name> wrote:

> My intro to Openstack was someone in sales from Canonical showing how he
> used HP microservers and other parts from eBay to teach himself Openstack.
> Juju was just being introduced and at the time, the minimal recommended
> stack was 12 nodes.
>
> He had the whole setup in his office.  12 HP Microservers running Intel
> Atom (they have an AMD version too) maxed out to 4 GB RAM each.  I think
> some will go to 8 GB.  He added $30 gigabit PCIe x1 card.  I think there is
> a 2 port card out there.  1 gigabit ethernet switch, 1 APC PDU for when
> IPMI wedges on the HPs.
>
> Quiet enough to be in his office.  Low power enough to run from the wall
> outlets.  Useful enough that people squawked when he took it down.
>
> I've been using headless VirtualBox VMs to run my servers in.  It means as
> long as VirtualBox runs on my host, I don't need to reinstall my servers.
> My host does VirtualBox and fileserving.  Everything else is a VM,
> including Plex (my media server).
>
> I'm planning on moving my VM server to an Openstack cloud.  KVM feels like
> it has less overhead than VirtualBox and like you, I'm doing openstack at
> work also.
>
> On Sun, Oct 5, 2014 at 10:17 PM, Henry Gessau <henry.ges...@acm.org>
> wrote:
>
>> Joshua Judson Rosen <roz...@geekspace.com> wrote:
>> > Henry Gessau <henry.ges...@acm.org> writes:
>> >>
>> >> I want to set up a server at home for a bunch of projects and
>> experiments.
>> >>
>> >> I need to use Ubuntu 14.04 server for the OS, and an Intel (not AMD)
>> CPU.
>> >>
>> >> Canonical's certified list[1] is not very helpful. I assume 14.04 will
>> install
>> >> just fine on many systems, but I would prefer to have confirmation from
>> >> someone/somewhere before buying something.
>> >>
>> >> Requirements:
>> >> - Reasonably quiet. It's going to reside near me in my home office.
>> >> - Intel VT-x support.
>> >> - Four cores. More would be nice.
>> >> - Must support at least 32GB RAM.
>> >> - Preferably under $800 for chassis + PS + CPU.
>> >>
>> >> I assume it would need to be some Core i3/i5 variant. I don't need raw
>> speed,
>> >> so i7 is probably overkill, and I would prefer to keep the power low.
>> I admit
>> >> I don't understand the Xeon family at all.
>> >>
>> >> I was thinking something along the lines of an HP ProLiant
>> MicroServer, or a
>> >> Lenovo ThinkServer TS140? But I would be happy to assemble from parts.
>> >
>> > If you need more than 32 GB RAM, it doesn't look like you want
>> > either of those machines: the Levno TS140 appears to max out at 32 GB
>> RAM,
>> > and the HP Proliant MicroServers appear to max out at 16 GB.
>> >
>> > Have you looked at ZaReason <http://www.zareason.com/>,
>> > or maybe System76 <http://www.system76.com/>?
>> >
>> > I have experience with one of these:
>> >
>> >     http://zareason.com/shop/Breeze-Server-5880s.html
>> >
>> > It's very quiet and seems to meet _almost_ all of your requirements...
>> > except for the ">= 32 GB RAM" req, which actually seems to be a little
>> > exotic for this class of machines.
>>
>> Yeah, after much browsing I have come to the conclusion that most small
>> home
>> servers seem to max out at 16GB. The price class seems to be the factor.
>>
>> I have upgraded both my work laptop and my home desktop to 32GB, and I
>> ain't
>> going back. :) I work and play with OpenStack, where I spin up a bunch of
>> VMs
>> and then deploy them as a "cloud", which means further VMs get spun up
>> inside
>> those VMs. It's turtles all the way down and it eats RAM for lunch.
>>
>> >
>> > (I've also had positive experience with a number of other
>> > models from ZaReason, though not anything that meets your
>> > requirements)
>> >
>>
>> _______________________________________________
>> gnhlug-discuss mailing list
>> gnhlug-discuss@mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>>
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to