Ubuntu Linux provisioning automation with Cobbler
Sponsored Link
With a simple series of commands, network installs can be configured for PXE, reinstallations, media-based net-installs, and virtualized installs (supporting Xen, qemu, KVM, and some variants of VMware). Cobbler uses a helper program called ‘koan' (which interacts with Cobbler) for reinstallation and virtualization support.
Cobbler is a small and lightweight application (about 15k lines of Python code). It tries to be extremely simple to use both for very small and very large installations --- as well as easy to work on, extend, and hack. It avoids being "enterprisey" (as in complicated) whenever possible, but is highly useful in all sorts of enterprises by having a lot of advanced features and doing small things to save a large amount of time in repeated tasks.
Cobbler can also optionally help with managing DHCP, DNS, and yum package mirroring infrastructure --- in this regard, it is a more generalized automation app, rather than just dealing specifically with installations. There is also a lightweight built-in configuration management system, as well as support for integrating with configuration management systems like Puppet. Cobbler has a command line interface, a web interface , and also several API access options. That sounds like a lot, but it's really pretty simple. New users may like to start with the web app after doing the initial setup steps on the command line (cobbler check; cobbler import) as it will give them a good idea of all of the features available. Advanced features don't have to be understood all at once, they can be incorporated over time as the need for them arises.
Install cobbler in ubuntu 10.04 (Lucid)
Preparing your system
Open the terminal and run the following commands
sudo apt-get install python-yaml python-cheetah python-netaddr python-urlgrabber
Get the source code from git tree
sudo git clone git://github.com/proffalken/cobbler.git
change to the new directory and run the setup as root
cd cobbler
sudo python setup.py install
and there we are, Cobbler should now be running on your server
Configuring cobbler
If you want to configure cobbler in ubuntu check here
Cobbler is now packaged in Ubuntu (starting with 11.04). Installing it should be as easy as:
sudo apt-get install cobbler (or using any GUI package manager).