28
Deploy Linux Servers at scale

Deploy Linux servers at scale

Embed Size (px)

Citation preview

Page 1: Deploy Linux servers at scale

Deploy Linux Servers at scale

Page 2: Deploy Linux servers at scale

Who Am I ?

● Systems Engineer @ ● DevOps● Infrastructure as a code “Puppet, Ansible”● Cloud Computing “OpenStack, CloudStack”● ….● @EslamElHusseiny

Page 3: Deploy Linux servers at scale

Problem!

Page 4: Deploy Linux servers at scale
Page 5: Deploy Linux servers at scale

Step #1

Separation of bootable media && installation media.

Page 6: Deploy Linux servers at scale

Installation media

● CD / DVD “/dev/cdrom”dd if=/path/to/iso.iso of=/dev/cdrom

● USB stick “/dev/sdb1”dd if=/path/to/iso.iso of=/dev/sdb1

Page 7: Deploy Linux servers at scale

Still not at scale ?!

Page 8: Deploy Linux servers at scale

PXE

The Preboot eXecution Environment (PXE) specification describes a standardized client-server environment that boots a software assembly, retrieved from a network, on PXE-enabled clients. (Wikipedia)

Page 9: Deploy Linux servers at scale

PXE

● TFTP● DHCP● HTTP● DNS (Optional)

Page 10: Deploy Linux servers at scale

Kickstart

The Red Hat Kickstart installation method is used primarily (but not exclusively) by the Red Hat Enterprise Linux operating system to automatically perform unattended operating system installation and configuration.

Page 11: Deploy Linux servers at scale

Kickstart

https://access.redhat.com/labs/kickstartconfig/

Page 12: Deploy Linux servers at scale

Kickstart

Page 13: Deploy Linux servers at scale

Get your hands dirty :)

Page 14: Deploy Linux servers at scale

Cobbler

Cobbler is a Linux installation server that allows for rapid setup of network installation environments. It glues together and automates many associated Linux tasks so you do not have to hop between many various commands and applications when deploying new systems, and, in some cases, changing existing ones.

Page 15: Deploy Linux servers at scale

Cobbler can help with provisioning, managing DNS and DHCP, package updates, power management, configuration management orchestration, and much more.

Page 16: Deploy Linux servers at scale
Page 17: Deploy Linux servers at scale
Page 18: Deploy Linux servers at scale

Get your hands dirty :)

Page 19: Deploy Linux servers at scale

Let’s have more fun ;)

Page 20: Deploy Linux servers at scale

Foreman is a complete lifecycle management tool for physical and virtual servers.

Page 21: Deploy Linux servers at scale

Puppetlabs Razor

● Razor is an advanced provisioning application used to discover and deploy both bare-metal machines and virtual systems.

● With Razor, you can automate going from a newly racked machine with no operating system to one that's fully installed and managed by Puppet, without any human intervention.

Page 22: Deploy Linux servers at scale

How Razor Works

Razor identifies a new node

Page 23: Deploy Linux servers at scale

How Razor Works

The node is tagged

Page 24: Deploy Linux servers at scale

How Razor Works

The node tags match a Razor policy

Page 25: Deploy Linux servers at scale

How Razor Works

Policies pull together all the provisioning elements

Page 26: Deploy Linux servers at scale

How Razor Works

The node is provisioned with the designated OS and managed with PE

Page 27: Deploy Linux servers at scale
Page 28: Deploy Linux servers at scale