cobbler summit - automated xen vm deployment

Download Cobbler Summit - Automated Xen VM Deployment

If you can't read please download the document

Upload: abhishek-singh

Post on 16-Apr-2017

6.203 views

Category:

Business


0 download

TRANSCRIPT

Provisioning With Cobbler

Michael DeHaan2007

Common Provisioning Goals

Fully Automated InstallsPXEReinstalls (w/o PXE)Virtualization

Existing Solutions Are (Usually) ...

Non-comprehensiveBought ($$$) or Custom-Built ($$$)Limited In Scope

Cobbler Is...

Simple / UnifiedOpen / SharableFeature-Rich

Cobbler In Action....

Importing A DVD

cobbler check (and edit /var/lib/cobbler/settings)

cobbler import--mirror=/media/dvd--name=FC-7

Behind The Scenes

Input/usr/bin/cobbler -> /var/lib/cobbler/*

Output/tftpboot/*/var/www/cobbler/*/etc/dhcp.conf

Configuration Concepts

DistributionsProfilesSystemsRepos

Configuration Concepts

Distributionskernelinitrd

metadata

tree

arch

Configuration Concepts

Profile

distributionkickstart

repositories

metadata

Configuration Concepts

SystemMAC AddrIP (?)profilemetadata

Manual Configurations

cobbler distro addcobbler profile addcobbler system add

Viewing The Configuration

cobbler listcobbler report

PXE Setup

manage_dhcp = 1 in /var/lib/cobbler/settings& cobbler sync ...

(or just set your next-server entry)

PXE Menus

Type menuPick a profileDefault = local boot

Introducing koan

koan --list-profiles --server=bootserv.example.com

koan & reinstallation

koan --profile=FC6-x86_64-webserver --replace-self--server=bootserv.example.com

koan & virtualization

koan--virt--profile=virtual-testbed--server=bootserv.example.com

Advanced Features

...

Kernel Options

/var/lib/cobbler/settings

--kopts

Kickstart Templating

examples in /etc/cobblercobbler system add --ksmeta=foo=2 bar=8$foo $barhttp://cheetahtemplate.org/learn.html

PXE Templating

/etc/cobbler ...dhcp.templatepxedefault.templatepxeprofile.templatepxesystem.template

Repository Mirroring

cobbler repo add--name=fc6i386updates--mirror=http://...

cobbler profile add ... --repos=fc6i386updates fc6i386extras

Kickstart Tracking

/var/log/cobbler ...File RequestsSyslogcobbler status

Remote Control

cobbler enchant--address=192.168.1.100--profile=FC-7-foo--virt=yes

Summary

Unified Provisioning EnvironmentEasy to UseFeature RichFree / Open / Sharable

Useful Links

http://cobbler.et.redhat.comgit clone git://et.redhat.com/cobblergit clone git://et.redhat.com/[email protected]@redhat.com

Q&A

Replace slide headline here

Click to edit the outline text format