Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Ubuntu Release Party Apeldoorn

No description

Jasper Aikema

on 1 November 2012

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Ubuntu Release Party Apeldoorn

De cloud mogelijkheden van Ubuntu Door Jasper Aikema De ambtenaar is lui ?! De 'juju' beheerder Introductie Geschiedenis 2005: Rackspace
2006: Amazone
2008: Eucalyptus
2009: Ubuntu 9.10
2010: OpenStack
2011: Ubuntu 11.04
2012: Ubuntu 12.04 OpenStack OpenStack op Ubuntu 12.04 Vier stappen plan:
Download 'ubuntu-12.04-cloud-live-amd.iso'
'Brand' de iso op een USB stick
Start Ubuntu van USB stick
Installeer juju As we move from “tens” to “hundreds” to “thousands” of nodes in a typical data centre we need new tools and practices. This hyperscale story – of hyper-dense racks with wimpy nodes – is the big shift in the physical world which matches the equally big shift to cloud computing in the virtualised world. Ubuntu’s popularity in the cloud comes in part from being leaner, faster, more agile. And MAAS – Metal as a Service – is bringing that agility back to the physical world for hyperscale deployments.

Servers used to aspire to being expensive. Powerful. Big. We gave them names like “Hercules” or “Atlas”. The bigger your business, or the bigger your data problem, the bigger the servers you bought. It was all about being beefy – with brands designed to impress, like POWER and Itanium.

Things are changing.

Today, server capacity can be bought as a commodity, based on the total cost of compute: the cost per teraflop, factoring in space, time, electricity. We can get more power by adding more nodes to our clusters, rather than buying beefier nodes. We can increase reliability by doubling up, so services keep running when individual nodes fail. Much as RAID changed the storage game, this scale-out philosophy, pioneered by Google, is changing the server landscape.

In this hyperscale era, each individual node is cheap, wimpy and, by historical standards for critical computing, unreliable. But together, they’re unstoppable. The horsepower now resides in the cluster, not the node. Likewise, the reliability of the infrastructure now depends on redundancy, rather than heroic performances from specific machines. There is, as they say, safety in numbers.

We don’t even give hyperscale nodes proper names any more – ask “node-0025904ce794”. Of course, you can still go big with the cluster name. I’m considering “Mark’s Magnificent Mountain of Metal” – significantly more impressive than “Mark’s Noisy Collection of Fans in the Garage”, which is what Claire will probably call it. And that’s not the knicker-throwing kind of fan, either.

The catch to this massive multiplication in node density, however, is in the cost of provisioning. Hyperscale won’t work economically if every server has to be provisioned, configured and managed as if it were a Hercules or an Atlas. To reap the benefits, we need leaner provisioning processes. We need deployment tools to match the scale of the new physical reality.

That’s where Metal as a Service (MAAS) comes in. MAAS makes it easy to set up the hardware on which to deploy any service that needs to scale up and down dynamically – a cloud being just one example. It lets you provision your servers dynamically, just like cloud instances – only in this case, they’re whole physical nodes. “Add another node to the Hadoop cluster, and make sure it has at least 16GB RAM” is as easy as asking for it.

With a simple web interface, you can add, commission, update and recycle your servers at will. As your needs change, you can respond rapidly, by adding new nodes and dynamically re-deploying them between services. When the time comes, nodes can be retired for use outside the MAAS.

As we enter an era in which ATOM is as important in the data centre as XEON, an operating system like Ubuntu makes even more sense. Its freedom from licensing restrictions, together with the labour saving power of tools like MAAS, make it cost-effective, finally, to deploy and manage hundreds of nodes at a time

Here’s another way to look at it: Ubuntu is bringing cloud semantics to the bare metal world. What a great foundation for your IAAS. Metal As A Service (MAAS) 04-04-2012 MAAS in Ubuntu 12.04 Vier stappen plan:
Gebruik een eigen netwerk (zonder DHCP server)
Configuratie (gebruikers, netwerk, iso, juju)
Toevoegen nieuwe node Juju Gemakkelijk:

apt-get install mysql-server


tar -xzvf mysql-5.5.25.tar.gz
cd mysql-5.5.25
./configure --with-ssl ...
make test
sudo make install Gemakkelijk:

juju deploy mysql
juju deploy wordpress
juju add-relation wordpress mysql
juju expose wordpress


apt-get install mysql-server
apt-get install wordpress
mysql -u root -p -e "CREATE DATABASE wordpress"
mysql -u root -p -e "GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpress'@'localhost' IDENTIFIED BY 'password'"
via browser: http://localhost/wordpress/
... Juju i.c.m. 'Remote werkplek' juju deploy openldap
juju deploy amanda
juju deploy nagios
juju deploy tlsp-server

juju add-relation tlsp-server openldap
juju add-relation tlsp-server amanda
juju add-relation tlsp-server nagios Juju / MAAS / OpenStack Minimaal 10 fysieke nodes

Deploy v/d nodes
Relatie tussen de nodes
Expose de cloud
Nieuwe nodes keystone:
# Set this here for testing only, otherwise randomly
# generated and stored on-disk on keystone node
admin-password: "openstack"
network-manager: "FlatDHCPManager"
# This must be a free block device that is writable on the nova-volume host.
block-device: "xvdb"
overwrite: "true" juju deploy mysql
juju deploy rabbitmq-server
juju deploy --config=openstack.cfg keystone
juju deploy --config=openstack.cfg nova-cloud-controller
juju deploy --config=openstack.cfg nova-volume
juju deploy nova-compute
juju deploy glance
juju deploy openstack-dashboard juju add-relation keystone mysql
juju add-relation nova-cloud-controller mysql
juju add-relation nova-cloud-controller rabbitmq-server
juju add-relation nova-cloud-controller glance
juju add-relation nova-cloud-controller keystone
juju add-relation nova-volume mysql
juju add-relation nova-volume rabbitmq-server
juju add-relation nova-compute mysql
juju add-relation nova-compute rabbitmq-server
juju add-relation nova-compute glance
juju add-relation nova-compute keystone
juju add-relation nova-compute:network-manager \
juju add-relation glance mysql
juju add-relation glance keystone
juju add-relation openstack-dashboard keystone juju expose openstack-dashboard
juju expose nova-cloud-controller juju add-unit nova-compute Toekomst Meer informatie https://help.ubuntu.com/community/UbuntuCloudInfrastructure
Full transcript