4 Replies Last post: Feb 21, 2008 12:01 AM by Jeff Schroeder  
Click to view Michael DeHaan's profile Novice 3 posts since
Jan 28, 2008

Jan 28, 2008 11:41 AM

So, open source provisioning apps...

 

So what open provisioning components are out there? I own one so I'll start.

 

 

 

 

I'm the author of Cobbler (http://cobbler.et.redhat.com) -- which hassupport for kickstart-based distros (Fedora, RHEL, CentOS) and some less-honed support for Debian, Ubuntu, and SuSE. It does bare-metal installs via PXE and live CDs (using the network), reinstalls, and also Xen/qemu/KVM virtualization. VMware is on the todo list.

 

 

If anyone is looking at building in a provisioning component into their GPL'd management app, feel free to stop by the mailing list (or #cobbler on irc.freenode.net) and ask questions. There's also an API

 

 

there for XMLRPC based management for those apps that aren't.

 

 

 

 

Anyway, I am sure there are a lot of people interested in Debian/SUSE or even that OS from Redmond. Cobbler does some of those halfway decently and doesn't do the last one at all. If you think you might be interested in contributing some patches to make things work better there, and turning this into a more well rounded install server app, please stop by and say hi. Same goes for if you have any ideas for features that Cobbler doesn't appear to do in your own in-house solution.

 

 

Stop by #cobbler on irc.freenode.net and say hey.

 

 

 

 

--Michael

 

 

 

 

Click to view Greg Wallace's profile Novice 17 posts since
Dec 31, 2007
Jan 28, 2008 4:27 PM in response to: Michael DeHaan
Re: So, open source provisioning apps...

looks cool - I'll check it out. I wanted to at FUDcon but I ran into a scedule conflict

 

I have 2 questions. Can you help me understand where provisioning leaves off and patching begins? there seem to be tools that do patching, and tools that do provisioning, but not many (or any) that do both, at least not open source tools. I'm wondering why and guessing that they are sufficiently different at a technical level so as to require different tools. But maybe it's just historical.

 

 

2nd, can you (or anyone) point me to a free irc client that works on Mac and is idiot-proof?

 

 

thanks

Click to view alex Honor's profile Novice 14 posts since
Dec 31, 2007
Jan 28, 2008 7:39 PM in response to: Michael DeHaan
Re: So, open source provisioning apps...

I can't help plugging the open source provisioning platform I contribute to: ControlTier. It focusses mostly on the application tier but has been used to provision some of the platform level packages though not bare metal. It uses a component with the unfortunate name, AntDepo, that is very akin to "func" except it is really just the command dispatching framework. It has a similar concept of modules which concentrate on application service release and operations tasks.

 

One notable aspect of ControlTier is how package management is handled. The repository can accept any kind of package file (rpm, deb, ear, war, zip, pkg, tgz, etc.) and during the process of uploading, key metadata can be registered about the package. Metadata includes information like version and install location of course, but also dependencies; these dependencies can be to other kinds of packages, too (eg, an rpm can depend on a tgz). Secondly, the package installation logic is handled by a module that interfaces with the package-specific tool. So when you install a package dependency, the archive file is downloaded, along with the metadata and the "driver" that manages the installation cycle (eg, if it is an rpm, an package module will know to interface with the 'rpm' executable, or if it is a .pkg, it will use 'pkgadd').

 

A goal of ours for this year is to open up this open package repository concept to any provisioning tool.

Click to view Jeff Schroeder's profile Novice 1 posts since
Feb 20, 2008
Feb 21, 2008 12:01 AM in response to: Michael DeHaan
Re: So, open source provisioning apps...

 

Ticketmaster has roughly ~3000-4000 Linux servers and my team manages about 900 of them.

We use an internal tool named provision that has recently been opensourced thanks to our legal

team.

 

 

Provision's modular design is written around plugins and actions. Each plugin is a small perl module.

The current plugins are:

- dns.pm manages bind >= 8

- Add, remove, alias names via CNAME

- Adding or removing forward and reverse zones with lots of error checking

- "deprovision" an alias and "reprovision" it as a real host

- Find, warn, and optionally fix common zone file mistake

 

- filer.pm manages Network Appliance Filers and Nearstore network attached storage

- Add and resize user quotas

- Add or remove qtrees (netapp's word for directories under the root of a volume)

- Update /etc/exports and export the newly created qtrees

 

- vm.pm manages vmware virtual machines using vm-builder

- Add new virtual machines specifying the hostname and memory

 

 

Here is a few basic workflows assuming that the provision.conf is configured and your ssh keys are on all servers:

 

 

"provision <fqdn>" Will provision <fqdn> using the default plugins (dns and filer)

 

 

"provision -a vm --vrt <hosting_system> <fqdn>" Will provision <fqdn> as a new virtual machine on <hosting_system>

 

 

The configuration file for each plugin is templatable for maximum flexibility. Writing new plugins is easy.

 

 

Phil Dibowitz wrote all of provision while at Ticketmaster before moving on to google. I wrote the

vm-builder scripts to go along with it. Everything is available under the GPLv3.

 

 

http://code.google.com/p/sysprovision/

 

 

More Like This

  • Retrieving data ...