Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure...

37
Speeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant, Red Hat

Transcript of Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure...

Page 1: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Speeding Up Infrastructure

Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant, Red Hat

Page 2: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Agenda

•Where do clouds come from?

•Cloud Compute Capacity Scale-Out

•DevOps Provisioning

•Demo

Page 3: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Where do clouds come from?

Page 4: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Lessons from the Wild

•Derived from real-world CloudForms deployments

•Driven by efforts to make I.T. more responsive to business needs

• Data center compute capacity scale-out

• DevOps provisioning

•Laying the groundwork for efficient Cloud capabilities

• It’s a journey

Page 5: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

The Illusion of Infinite Capacity

• Insight into current capacity and utilization is required

•Converged infrastructure provides the foundation for automation

• Cisco/NetApp FlexPod one such example

• Not cost effective to support all possible infrastructure combinations

•Quickly (re-)allocate servers based on where they are needed

•Quickly (re-)allocate VMs based on where capacity is available

Page 6: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

DevOps

•Collaboration between software developers and I.T.

• I.T. needs to expose the tools necessary for developer self-

service

•Goal is to reduce turnaround from weeks or days to minutes

• Eliminate the touch points where possible

• I.T. still needs to be able to enforce policy

•Right-sizing recommendations to avoid waste

Page 7: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

CloudForms to the Rescue

•Red Hat CloudForms provides the glue to tie infrastructure

components together

•Repeatable patterns to help modernize and standardize

operations

•“Automate all the Things” *

• * within reason

Page 8: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Cloud Portfolio

Page 9: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat CloudForms

Page 10: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Complete Cloud Service Lifecycle

Automated Provisioning

Delegated Operations

Intelligent Optimization

Demand- Driven Scaling

Scheduled Retirement

• Automated Provisioning

• Simple/Multi-Tier, Full Stack

• Self-Service, Service Catalog

• Delegated Operations

• Power Operations, Console Reconfiguration

• Intelligent Optimization

• CPU, Memory & Storage

• Demand-Driven Scaling

• Horizontal & Vertical Start/Stop or Provision/Destroy

• Scheduled Retirement

• Fully Automated

• Multi-Phase

Page 11: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Cloud Compute Capacity Scale-out

Page 12: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Requirements

•Rapidly provision racks of Cisco UCS blades for infrastructure

modernization

• Integrate with existing kickstart provisioning infrastructure

• Integrate with existing infrastructure for IP and DNS management

•Minimize the amount of pre-configuration required

Page 13: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Hypervisor Provisioning

•Focus is on RHEV hypervisor scale-out

• Cisco UCS, Infoblox DDI, and Red Hat Satellite

• Pattern can be applied to OpenStack Compute scale-out as well

•Scale-up and down with ease

• Admin initiated via the CloudForms service catalog

• Automatically initiated based upon utilization alert event

•Automation uses infrastructure tags and other heuristics to

provision

Page 14: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Workflow Initiation

CLOUDFORMS

RB

AC

Po

licy

Re

qu

es

ts

Role-Based Access Controls

Policy Enforcement

Approval Workflow

Intelligent Provisioning

Se

rvic

e C

ata

log

Page 15: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Example Service Catalog Item

Page 16: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Hypervisor State Machine

Page 17: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Infoblox DDI

•DNS and IP Address Management

• IP subnets are tagged with extensible attributes

• Location (IAD, RDU), Environment (DEV, TEST, QA, PRD), Service (Infra,

Tier 1-3), Network location (Internal vs DMZ)

•REST API or Perl library to locate available IP address, available

DNS name, and allocate a host entry

•Repeat if IP address / DNS name collision

Page 18: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Infoblox Workflow Details

Page 19: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Cisco UCS Manager

•Management of all hardware components in the Cisco UCS

•Servers are associated to Service Profiles

• Software definition of the server and is LAN and SAN connectivity

•Utilize Service Profile Templates to construct Service Profiles

• Avoids hard-coding configuration within CloudForms

• Associated with server pool to automatically allocate physical server on-demand

•REST API calls to create new Service Profile from Service Profile Template, control power state, and query status

Page 20: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Cisco UCS Manager Workflow Details

Page 21: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Satellite

•Responsible for provisioning and configuration management

• CloudForms can perform basic provisioning

• Re-use existing infrastructure

•Kickstart profile for RHEV-H or RHEL+KVM

•Activation keys to subscribe to correct channels

•XMLRPC calls to create new PXE provisioning request and query

status

Page 22: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Satellite Workflow Details

Page 23: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Enterprise Virtualization

•Newly provisioned hypervisors are connected to an existing

RHEV-M cluster

•CloudForms tags drive automation's selection of RHEV-M and

cluster

•Cisco UCS networks are mapped to RHEV-M logical networks by

VLAN or name

•REST calls to create new host, configure host networking and

power management, query status, and activate

Page 24: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Enterprise Virtualization Workflow

CLOUDFORMS RHEV-M

Create Host

Get Install Status

Deactivate

Activate

Update Power / Nets

Page 25: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

DevOps Provisioning

Page 26: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Requirements

•Need to transition existing applications to “cloudy”-like model

• Not feasible to leave existing software investment behind

•Automate the placement and installation/configuration of multi-tier

applications

• Integrate with existing infrastructure for IP and DNS management

•Minimize the amount of user-input required

Page 27: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

DevOps IaaS+ Provisioning

•Bridge between IaaS and PaaS

•Multi-tier applications are tied together using CloudForms and Puppet

•Scale-up and down with ease

• End-user initiated via the CloudForms service catalog

• Automatically initiated based upon utilization alert event

•Automation uses infrastructure tags and other heuristics to provision

Page 28: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Workflow Initiation

CLOUDFORMS

RB

AC

Po

licy

Re

qu

es

ts

Role-Based Access Controls

Policy Enforcement

Approval Workflow

Intelligent Provisioning

Se

rvic

e C

ata

log

Page 29: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Example Service Catalog Item

Page 30: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Application State Machine

Page 31: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Red Hat Satellite & Infoblox

•Similar integration into Red Hat Satellite for VM provisioning and

Infoblox for IP address and DNS management

Page 32: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Puppet Configuration Management

•Stand-alone Puppet Master or Satellite 6 (Foreman)

•CloudForms assigns new VMs to host group representing

platform

•Override parameters as required based on service dialog inputs

•Discovery of peer VMs via Puppet manifest or injected by

CloudForms

•REST API for Satellite 6; Git or SSH+CLI for Puppet Enterprise

Page 33: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Puppet Workflow Details

CLOUDFORMS

Satellite 6 / Foreman / Puppet

Configure Host Puppet Settings

Application Stack

Retrieve Configuration

Page 34: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Demo

Page 35: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Summary

Page 36: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

In Conclusion

•Real-world success with CloudForms IaaS+

•Embrace automation where feasible

• Avoid the repetitive tasks, eliminate touch points, expose self-service

•Goal is to design-in scalability to meet future needs

• Compute capacity

• Application horizontal scaling

•Welcome to the cloud model

Page 37: Speeding Up Infrastructure Provisioning with CloudForms · PDF fileSpeeding Up Infrastructure Provisioning with CloudForms Jason Dillaman Principal Architect, Red Hat Nick Lane Consultant,

Questions?