Cobbler

From Atomicorp Wiki
Revision as of 12:49, 7 January 2009 by Scott (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Cobbler, is a PXE based provisioning system developed by fedora, and is powered by awesome.


Quickstart

Install dhcpd and cobbler

 yum install dhcp cobbler cman

basic checks

 cobbler check


edit configs

vim /etc/cobbler/settings

 default_password_crypted: <change to something else>
 manage_dhcp: 1
 next_server: 10.10.14.9
 register_new_installs: 1
 server: 10.10.14.9
 

vim /etc/cobbler/modules.conf

 [authentication]
 module = authn_configfile
 
 [authorization]
 module = authz_allowall


Enable TFTP

 setup
   system services 
     toggle tftp

Clear firewall rules

 /etc/init.d/iptables stop


Do your default dhcpd config

vim /etc/cobbler/dhcp.template

 ddns-update-style none;
 ignore client-updates;
 subnet 10.10.14.0 netmask 255.255.255.0 {

authoritative; option routers 10.10.14.1; option subnet-mask 255.255.255.0;

option domain-name "int.progllc.com"; option domain-name-servers 10.10.14.1;

option time-offset -18000; # Eastern Standard Time option ntp-servers 10.10.14.1; range 10.10.14.200 10.10.14.250; default-lease-time 21600; max-lease-time 43200;

 }


start dhcpd

 /etc/init.d/dhcpd start

start cobbler

 /etc/init.d/cobblerd start

Add repos, Grab DVD iso and mount via -o loop somewhere

 cobbler import --name=CentOS-5.2-i386 --path=/root/ISO/1

Access the web page, set up your systems, and test it

 http://10.10.14.200/cobbler/web/
Personal tools