Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Velocity 2011 Chef OpenStack Workshop

5,741 views

Published on

The Deploying OpenStack with Chef section of the OpenStack Workshop from Velocity 2011

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Velocity 2011 Chef OpenStack Workshop

  1. Deploying OpenStack with Opscode Chef matt@opscode.com www.opscode.com
  2. Who am I?• Matt Ray • Senior Technical Evangelist • Opscode, Inc. • Twitter/GitHub/Launchpad/IRC: mattray
  3. Deploying OpenStack is not simple.
  4. Chef makes it easier.
  5. Infrastructure as Code
  6. Enable the reconstruction of the business fromnothing but a source coderepository, an application data backup, and bare metal resources.
  7. ConfigurationManagement
  8. System Integration http://www.flickr.com/photos/opalsson/3773629074/
  9. The Chef Framework• Reasonability• Flexibility• Library & Primitives• TIMTOWTDI
  10. The Chef Tool(s)• ohai• chef-client• knife• shef
  11. The Chef API• Client/Server• RESTful API w/ JSON• Search Service• Derivative Services
  12. The Chef Community• Apache License, Version 2.0• 360+ Individual contributors• 70+ Corporate contributors • Dell, Rackspace,VMware, RightScale, Heroku, and many more• 240+ cookbooks• http://community.opscode.com
  13. openstack-cookbooks Resources
  14. github.com/mattray/openstack-cookbooks• Chef repository • cookbooks • roles • data bags• stable branches• issues
  15. Chef Nodes• Each system you manage is called a node.• The chef-client runs on nodes.• The ohai discovery agent runs on nodes.• Nodes have a run list.• Searchable
  16. Chef Resources package "haproxy" do action :install end• Have a type.• template "/etc/haproxy/haproxy.cfg" do Have a name. source "haproxy.cfg.erb"• Have parameters. owner "root" group "root"• Take action to put the resource mode 0644 notifies :restart, "service[haproxy]" in the declared state. end• Can send notifications to other service "haproxy" do resources. supports :restart => true action [:enable, :start]• Take action through Providers end
  17. Chef Recipes extra_packages = case node[:platform] when "ubuntu","debian" %w{ ruby1.8 ruby1.8-dev• Ordered list of Resources rdoc1.8 ri1.8• Idempotent execution } libopenssl-ruby• Ruby end extra_packages.each do |pkg| package pkg do action :install end end
  18. Chef Cookbooks• Cookbooks are packages for Recipes • Recipes • Assets (files/templates) • Attributes • Metadata• Distributable and managed as Source• community.opscode.com
  19. OpenStack Cookbooks• Included • glance • nova • swift• Installed • apache2 • apt • mysql • openssl • rabbitmq
  20. Chef Roles• Roles describe the node.• Roles have run lists.• Roles have attributes.• Roles may contain other roles.• Searchable.• Webserver, database, Hadoop-worker, etc.
  21. OpenStack Roles• nova-single-machine• nova-db• nova-rabbitmq-server• glance-single-machine• nova-multi-controller• nova-multi-compute
  22. Chef Data Bags• Data bags store arbitrary data• JSON• Searchable
  23. OpenStack Data Bagsknife data bag create openstackknife data bag from file openstack defaults.jsonknife data bag from file openstack glance.jsonknife data bag from file openstack images.jsonknife data bag show openstack imagesid: imagesimages: http://uec-images.ubuntu.com/lucid/current/ubuntu-10.04-server-uec-amd64.tar.gz: arch: x86_64 distro: Ubuntu image: lucid-server-uec-amd64.img kernel: lucid-server-uec-amd64-vmlinuz-virtual version: 10.04
  24. Deploying OpenStack• Scaling changes how we deploy!• Single machine works• Controller + N Computes work(ed)• Nova and/or Swift installations• Configurations will be supported, shared & documented
  25. Spiceweasel• yaml/json for describing infrastructure• generates knife commands• shareable "best practices"• infrastructure.yml included• bit.ly/spcwsl
  26. Testing OpenStack• bare-metal to OpenStack • ~15 minutes • pxe_dust cookbook• 2 networks • admin • public
  27. knife openstack
  28. knife openstack$ gem install knife-openstack$ knife openstack** OPENSTACK COMMANDS **knife openstack server list (options)knife openstack flavor list (options)knife openstack server create (options)knife openstack server delete SERVER [SERVER] (options)knife openstack image list (options)
  29. knife.rbknife[:openstack_access_key_id] = "MeMpLexdnjmXeXGMx:admin"knife[:openstack_secret_access_key] = "nFjXAKl5G6VaXE3bVuwi"knife[:openstack_api_endpoint] = "http://192.168.11.9:8773/services/Cloud"
  30. knife openstack server create -S mykey -x ubuntu-I ami-4b0ff834 -f m1.tiny -r role[webserver]
  31. How did we get here? git clone git://github.com/mattray/openstack-cookbooks.git
  32. Origins• Forked from Anso Labs• Bootstrapped originally by Opscode• Chef Solo/Vagrant installs for Developers • http://github.com/ansolabs/openstack-cookbooks
  33. Crowbar• OpenStack installer from Dell• Dell is releasing this under the Apache 2 license• Extension of the Chef server• Developed by Dell, Rackspace & Opscode• http://github.com/dellcloudedge
  34. Whats Next? http://www.flickr.com/photos/felixmorgner/4347750467/
  35. Nova Roadmap• Improve Glance integration• Network Types • Flat, FlatDHCP, VLANs• Multiple Hypervisors • Xen, LXC, Hyper-V• Databases • PostgreSQL, Drizzle
  36. Swift Roadmap• Multiple Implementations Available• Dell • http://github.com/dellcloudedge/openstack-swift• Voxel • http://www.voxel.net/blog/2011/05/openstack-swift-chef- and-spiceweasel-part-1-0 • http://github.com/voxeldotnet/openstack-swift-chef
  37. Dashboard
  38. OpenStack Roadmap• Diablo release• RHEL 6 & Fedora• Windows
  39. Get Involved!• http://github.com/mattray/openstack- cookbooks/tree/cactus• http://wiki.opscode.com/display/chef/ Deploying+OpenStack+with+Chef• irc.freenode.net #chef #openstack• Twitter/GitHub/Launchpad/IRC:mattray• matt@openstack.org/matt@opscode.com
  40. Questions? http://www.flickr.com/photos/mrchippy/443960682/
  41. Thanks! http://www.opscode.com

×