jump to navigation

How OpenStack installer (crowbar + chefops) works (video from 3/14 demo) March 14, 2011

Posted by Rob H in Crowbar, Greg Althaus, OpenStack, SXSW.
Tags: , , , , , , , ,
trackback

August 5th 2011 Update:

While still relevant and accurate, the information on this page does not reflect the latest information about the now Apache 2 released Crowbar code.  In the 4+ months following this post, we substantially refactored the code make make it more modular (see Barclamps), better looking, and multi-vendor/multi-application (Hadoop & RHEL).  If you want more information, I recommend that you try Crowbar for yourself.

Original March 14th 2011 Text:

I’ve been getting some “how does Crowbar work” inquiries and wanted to take a shot at adding some technical detail.   Before I launch into technical babble, there are some important things to note:

  1. Dell has committed to open source release the code for Crowbar (Apache 2)
  2. Crowbar is an extension of Chef Server – it does not function stand alone and uses Chef’s APIs to store all it’s data.
  3. The OpenStack components install is managed by Chef cookbooks & recipes jointly developed by Dell, Opscode and Rackspace.
  4. Crowbar can be used to simply bootstrap your data center; however, we believe it is the start of a cloud operational model that I described in the hyperscale cloud white paper.

LIVE DEMO (video via Barton George): If you’re at SXSW on 3/14 @ 2pm in Kung Fu Salon, you can ask Greg Althaus to explain it – he does a better job than I do.

Here’s what you need to know to understand Crowbar:

Crowbar is a PXE state machine.

The primary function of Crowbar is to get new hardware into a state where it can be managed by Chef.   To get hardware into a “Chef Ready” state, there are several steps that must be performed.  We need to setup the BIOS, RAID, figure out where the server is racked, install an operating system, assign IP networking and names, synchronize clocks (NTP) and setup a chef client linked to our server.  That’s a lot of steps!

In order to do these steps, we need to boot the server through a series of controlled images (stages) and track the progress through each state.  That means that each state corresponds to a PXE boot image.  The images have a simple script that uses WGET to update the Crowbar server (which stores it’s data in Chef) when the script completes.  When a state is finished, Crowbar will change the PXE server to provide the next image in the sequence.

During the Crowbar managed part of the install, the servers will reboot several times.  Once all of the hardware configuration is complete, Crowbar will use an operating system install image to create the base configuration.  For the first release, we are only planning to have a single Operating System (Ubuntu 10.10); however, we expect to be adding more operating system options.

The current architecture of Crowbar (and the Chef Server that it extends) is to use a dedicated server in the system for administration.  Our default install adds PXE, DHCP, NTP, DNS, Nagios, & Ganglia to the admin server.  For small systems, you can use Chef to add other infrastructure capabilities to the admin server; unfortunately, adding components makes it harder to redeploy the components.  For dynamic configurations where you may want to rehearse deployments while building Chef recipes, we recommend installing other infrastructure services on the admin server.

Of course, the hardware configuration steps are vendor specific.  We had to make the state machine (stored in Chef data bags) configurable so that you can add or omit steps.  Since hardware config is slow, error prone and painful, we see this as a big value add.  Making it work for open source will depend on community participation.

Once Chef has control of the servers, you can use Chef (on the local Chef Server) to complete the OpenStack installation.  From there, you can continue to use Chef to deploy VMs into the environment.  Because Chef encourages a DevOps automation mindset, I believe there is a significant ROI to your investment in learning how this tool operates if you want to manage hyperscale clouds.

Crowbar effectively extends the reach of Chef earlier into the cloud management life cycle.

3/21 Note: Updated graphic to show WGET.

Comments»

1. OpenStack Installer Demo at SXSW « Barton's Blog - March 15, 2011

[...] How OpenStack installer (crowbar + chefops) works [...]

2. Today’s Dell Digest March 17, 2011 » Server King - March 17, 2011

[...] How OpenStack installer (crowbar + chefops) works [...]

3. OpenStack is ready, but are you? Get some operational cloud mojo and get started! #OpenStack #CloudOps « Rob Hirschfeld's Blog - April 11, 2011

[...] team’s first OpenStack project started as a cloud installer (aka Crowbar), but we’ve learned that it is more fundamental than that.  To achieve “4 hours to cloud,” [...]

4. Kanthi - April 12, 2011

Hi ,

I have been Exploring OpenStack for a couple of weeks now, and Crowbar seems to be very existing and interesting . Can you please provide where I can get more info for trying it.

Regards

Rob H - April 12, 2011

Kanthi – contact openstack@dell.com if you want early access to Crowbar via our starter solution (as per the white paper). We’re working on the internal legal process to open source our code (Apache2) and then anyone will be able to get the code. Until it’s open, I’m trying to get an contributor/beta agreement in place.

We’ll be bringing the latest code and equipment to the Cactus conference.

5. My week in California | colinn.com - April 30, 2011

[...] utilisation and using cloud-bursting for extra capacity, as well as a great demo of Dell’s Crowbar, taking 5 completely blank servers and having a Nova install running on them all controlled by [...]

6. My week in California « Colin's Site - May 1, 2011

[...] server utilisation and using cloud-bursting for extra capacity, as well as a great demo of Dell's Crowbar, taking 5 completely blank servers and having a Nova install running on them all controlled by [...]

7. Modularizing #Crowbar via Barclamps – #Dell prepares to open source our #OpenStack installer « Rob Hirschfeld's Blog - May 3, 2011

[...] team at Dell is working diligently to release Crowbar (Apache 2) to the [...]

8. #OpenStack Blueprint for Cloud Installer (#crowbar, #apache2) « Rob Hirschfeld's Blog - May 12, 2011

[...] source (next few weeks) and want to show the community the design thinking behind the project.  Crowbar currently only embodies a fraction of this scope but we have designed it looking [...]

9. Cooking up #OpenStack #Chef recipes with Opscode (#Opschef #Crowbar @mattray) « Rob Hirschfeld's Blog - May 23, 2011

[...] Recipes, Swift | Leave a Comment  Our OpenStack team here at Dell has been busy getting Crowbar ready to open source and that does not leave much time for blog posts.  We’re putting on a [...]

10. Hungry for Nova Cuisine? Adding Chef recipes for OpenStack Nova « Rob Hirschfeld's Blog - June 1, 2011

[...] As promised, here’s the other drop in advance of our OpenStack team’s Crowbar release.  [...]

11. Open Stack Appliance - ready for test : Technical Viewpoints - June 2, 2011

[...] target for our product range and he was enthusiastic about tackling this challenge after seeing the Dell crowbar solution take more than half and hour to deploy an Open Stack node at the [...]

12. Opscode gets Chef cooking for the enterprise — Cloud Computing News - June 14, 2011

[...] by the community. Chef also got a boost as the underlying configuration tool for Dell’s software to automatically deploy OpenStack-based clouds. Robbins hopes Chef becomes the default for OpenStack deployments in general with those deciding to [...]

13. Windows Azure and Cloud Computing Posts for 7/18/2011+ - Windows Azure Blog - July 21, 2011

[...] Opscode‘s satellite offices to talk to Matt Ray about the integration work he is doing with Crowbar (a soon to be open source bare-metal provisioning tool from Dell), Chef, and OpenStack. This [...]

14. Dell announces availability of OpenStack solution; Open sources “Crowbar” software framework « Barton's Blog - July 26, 2011

[...] of the Dell OpenStack Cloud Solution along with the open sourcing of the code behind our Crowbar software [...]

15. Today’s Dell Digest July 27, 2011 » ServerKing - July 27, 2011

[...] of the Dell OpenStack Cloud Solution along with the open sourcing of the code behind our Crowbar software [...]

16. xueui - August 3, 2011

what is the installation and configuration and component in crowbar server.how dese the admin server install PXE, DHCP, NTP, DNS, Nagios, & Ganglia to nodes?What do we need on admin server to support the installation on nodes?

Rob H - August 4, 2011

All of these actions are part of the install script that’s included in the Crowbar source. Most of those feature are orchestrated by Chef and you can inspected them in the Cookbooks of the Chef Server that Crowbar deploys. Please review the install script.

17. Dustin Kirkland: A Formal Introduction to The Ubuntu Orchestra Project | Ubuntu Forms - August 5, 2011

[...] Crowbar is a solution linking Dell and the OpenSt&#97&#99&#107 project that we’ve been following for some time.  I discussed the design of Or&#99&#104&#101stra at length with Crowbar’s chief architect, Rob Hirschfeld, i&#110&#32&#83an Antonio at the 2nd OpenStack Developer Summit i&#110&#32&#83an Antonio in November 2010. [...]

Rob H - August 5, 2011

I’m posting this link, but his facts about Crowbar are wrong.

18. SquareCows.com » A Formal Introduction to The Ubuntu Orchestra Project - August 5, 2011

[...] Crowbar is a solution linking Dell and the OpenStack project that we’ve been following for some time.  I discussed the design of Orchestra at length with Crowbar’s chief architect, Rob Hirschfeld, in San Antonio at the 2nd OpenStack Developer Summit in San Antonio in November 2010.  I’ve also seen OpsCode Matt Ray‘s excellent presentation/demonstration on Crowbar at the Texas Linux Fest. [...]

19. Video: Setting up Crowbar in a development environment | ResponsiPaul - August 28, 2011

[...] instructions on how OpenStack installer works here… Share this:TwitterFacebookLike this:LikeBe the first to like this post. This entry was [...]

20. Openstack Summit Fall 2011 – Wrap-up and overview | Rhonabwy - October 8, 2011

[...] getting deeper in the details of the code. Dell’s been focusing their efforts on the amazing OpenStack deployment tool: Crowbar, and it seems clear to me that HP is taking their interest quite a bit deeper into the core [...]

21. ide@s I: “:::An Formal Introduction to The Ubuntu 11.10 Server Edition Orchestra Project:::” « - October 18, 2011

[...] Crowbar is a solution linking Dell and the OpenStack project that we’ve been following for some time.  I discussed the design of Orchestra at length with Crowbar’s chief architect, Rob Hirschfeld, in San Antonio at the 2nd OpenStack Developer Summit in San Antonio in November 2010.  I’ve also seen OpsCode Matt Ray‘s excellent presentation/demonstration on Crowbar at the Texas Linux Fest. [...]

22. online scripts - December 22, 2011

online scripts…

[...]How OpenStack installer (crowbar + chefops) works (video from 3/14 demo) « Rob Hirschfeld's Blog[...]…

23. The Cloud : Miguel's strøtanker - February 27, 2012

[...] like Openstack from Dell is offered as the key to an successfull private cloud. Try take a look at this article written by Rob Hirschfeld. It outrules the baseline, including using Crowbar as the baremetal [...]

24. Open Stack Appliance – Ready for Test | rPath Blog - April 12, 2012

[...] target for our product range and he was enthusiastic about tackling this challenge after seeing the Dell crowbar solution take more than half an hour to deploy an Open Stack node at the [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 980 other followers