There is a Razor cookbook here: http://community.opscode.com/cookbooks/razor and Fletcher Nichol gave a talk about it at ChefConf: https://www.youtube.com/watch?v=sFQ5X8xNT4A
Thanks,
Matt Ray
Cloud Integrations Product Lead :: Opscodehttp://opscode.com
512.731.2218 :: matt@opscode.com
mattray :: GitHubhttp://github.com/mattray/ :: IRC :: Twitterhttp://twitter.com/mattray
From: Tim Smith tsmith@llnw.com
Sent: Thursday, September 05, 2013 1:15 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Baremetal Provisioning
Has anyone looked at GitHub - puppetlabs-toy-chest/razor-server: Razor is next generation provisioning software that handles bare metal hardware and virtual server provisioning with the Chef broker?
http://www.bluebox.net/about/blog/2013/01/provisioning-with-razor-and-chef-an-interactive-demo/
[Limelight Networks]http://www.limelight.com/
Tim Smith - Systems Engineer
m: +1 707.738.8132
On Sep 5, 2013, at 11:08 AM, Damien Roche dcroche@gmail.com wrote:
I've been looking into this recently and came across Crowbar Home · crowbar/crowbar Wiki · GitHub
It integrates with chef to do application provisioning I believe.
On 5 September 2013 18:39, Phillip Roberts <proberts@mybuys.commailto:proberts@mybuys.com> wrote:
I might take a look at that and add in the RHEL stuff.
Thank you,
Phillip Roberts | Sr. Linux Administrator
San Mateo | Ann Arbor | New York | London
O 734.922.7014 | C 614.423.9871 | www.MyBuys.comhttp://www.mybuys.com/
<image001.png>
From: Matt Ray [mailto:matt@opscode.commailto:matt@opscode.com]
Sent: Wednesday, September 04, 2013 17:50
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] RE: Re: RE: Re: Baremetal Provisioning
There's also the pxe_dust cookbook which currently supports PXE installing Debian and Ubuntu with a preseed. No reason it can't support kickstarts for RHEL-flavors, just haven't gotten around to it yet.
Thanks,
Matt Ray
Cloud Integrations Product Lead :: Opscodehttp://opscode.com/
512.731.2218 :: matt@opscode.commailto:matt@opscode.com
mattray :: GitHubhttp://github.com/mattray/ :: IRC :: Twitterhttp://twitter.com/mattray
From: Maxime Brugidou <maxime.brugidou@gmail.commailto:maxime.brugidou@gmail.com>
Sent: Wednesday, September 04, 2013 4:45 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Re: RE: Re: Baremetal Provisioning
Hi, we have a centos and debian image built from debirf that boots a minimal ram disk OS from PXE by default. The server pops up in chef automatically. Then we have some servers running fully diskless and others installed on-disk with an "os" cookbook capable of installing some Linux distro and even Windows server.
We should open source these I guess.
On Sep 4, 2013 6:49 PM, "Phillip Roberts" <proberts@mybuys.commailto:proberts@mybuys.com> wrote:
Thank you Mr. Knowles and Mr. Pipes.
Seems like I had the right idea. Just wanted to make sure there wasn't some crazy knife plugin out there that does magic that I don't know about or something.
Appreciate your responses!!
O-H!! Go Bucks!!
Thanks Again,
Phillip Roberts | Sr. Linux Administrator
San Mateo | Ann Arbor | New York | London
O 734.922.7014tel:734.922.7014 | C 614.423.9871tel:614.423.9871 | www.MyBuys.comhttp://www.mybuys.com/
-----Original Message-----
From: Jay Pipes [mailto:jaypipes@gmail.commailto:jaypipes@gmail.com]
Sent: Wednesday, September 04, 2013 12:19
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Re: Baremetal Provisioning
On 09/04/2013 11:54 AM, Phillip Roberts wrote:
Does anyone have any good links or pointers to bare metal provisioning?
I have done plenty of cloud based chef stuff, however, we want to now
start managing all of our physical servers with chef as well. I am
trying to replace as much of our build system as possible (ad hoc bash
/ perl scripts) for this provisioning. So I am looking for a good way
to do this, I understand chef is not a PXE server, but just how far
back in the tool chain can I go?
My thoughts are serving up a kickstart file (since we are a RHEL /
Cent based shop) that builds just enough of the OS in order to hand off to chef.
Anyway, any pointers, or past presentations / links would be much
appreciated.
Thanks,
Hey there Phillip
We use Chef, Cobbler, and a small amount of Python glue code to provision our bare metal nodes and network devices (the ones that support modern OSs at least -- nodes that run infrastructure services, nodes that run OpenStack API and support services, and OpenStack Compute worker nodes (boxen that provide tenant-facing compute capacity). Works very well.
We use Ubuntu 12.04 as our base netboot OS, with a simple preseed setup that implants our Chef validation keys on a vanilla barebones server OS install, and our Python glue code simply calls out to Cobbler and Chef to populate node attributes (from a set of YAML files we keep about the nodes in our deployment zones), power cycle or netboot nodes, and stuff like that.
All in all, I would say the most pain we've experienced in Chef land has probably been around configuring raw network interfaces for bonded NIC setups (we've found it virtually impossible to configure networking properly without having Chef reboot the server once -- restarting networking just doesn't work reliably) and around out-of-order Chef node attribute get/set issues... something that isn't helped by the myriad different precedence levels associated with attributes for nodes, roles, environments, etc. My advice: stick to the "application cookbook"
strategy (sometimes called "wrapper cookbook" strategy) versus putting any logic or much of anything in role definition files.
Best of luck, and Go Bucks!
-jay
--
Kind Regards
Damien