pure systems patterns of expertise - john kaemmerer and gerry kovan, 11th sept 14

33
© 2014 IBM Corporation IBM Competitive Project Office Cloud. Pure and simple. Accelerate application deployment with Patterns of Expertise

Upload: ibm-systems-uk

Post on 08-Jun-2015

278 views

Category:

Software


1 download

DESCRIPTION

Pt2 of Presentation given by John Kaemmerer and Gerry Kovan, at Pure Hybrid Cloud Event in IBM London Southbank, on 11th September 2014

TRANSCRIPT

Page 1: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

IBM Competitive Project Office

Cloud. Pure and simple.

Accelerate application deploymentwith Patterns of Expertise

Page 2: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation2

We create our environments for development, testing and production manually. This workis time consuming and prone to errors.

SystemAdministrator

IBM offers Patterns of Expertise to deploy your environments to the Cloud quickly and easily.

IBM

Page 3: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation3

What the business wants… What’s required…

MonitoringLifecycleManagement

Why patterns? It starts like this…

Page 4: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation4

What will be needed tomorrow…

MonitoringLifecycleManagement

Page 5: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

Manual deployment is inconsistent, labor intensive, and prone to errors

Example: Simple two-node Web application cluster

1. Install OS and fixes

2. Install and configure the database3. Tune database for performance

1. Install OS and fixes

2. Install HTTP server3. Configure to distribute requests

1. Install OS and fixes

2. Install application servers3. Create a cluster with two members4. Connect application servers to the database

5. Configure session replication to support failover6. Tune cluster for performance

15 hours for initial deployment only*

*Source: Internal CPO study

Deployment

Administrators

5

Page 6: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation6

Patterns of Expertise streamline application deployment

What is a pattern?� A pre-defined architecture for an

application

– Provided in a deployable form, resulting in repeatable deployment with full lifecycle management

� For each component of the solution(e.g. Web server, database, etc.):

– Pre-installed on an operating system

– Pre-integrated components

– Pre-configured and tuned

– Pre-configured monitoring

– Pre-configured security

– Lifecycle management

� A pattern can be used as-is,extended, or created from scratch

Benefits:� Agility: faster time to value

� Efficiency: reduce costs and resources

� Simplicity: simpler skills requirements� Control: lower risk and errors

Page 7: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

PureApplication solutions provide flexible pattern options

Full control over topology

Simpler deployment:fewer skills needed

What the business wants…

DeploymentManagerv8.5.5.1

App Serverv8.5.5.1Quantity: 2

Install Script

On demandRouterv8.5.5.1Quantity: 1

DB2 Standbyv10.1.0.1Quantity: 1

DB2 Primaryv10.1.0.1

Quantity: 1

HTTP Serverv8.5.5.1Quantity: 1

HTTP Serverv8.5.5.1Quantity: 1

7

Page 8: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation8

Fast and easy Web application deployment using patterns

Deploy a Web application using a pattern to simplify creation

� Create a new pattern for TradeLite application and its database� Deploy the pattern� Examine running server components� Show working TradeLite application

Required 4 minutes of labor to create pattern.

Very easy with little skill required.

Predictable, repeatable, error free deployments.

Page 9: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

Deploying TradeLite application using AWS CloudFormation templates needs skilled intensive labor

Skilled labor creates the template after they find template pieces to patch together and further code.

300+ lines of JSON code to create an AWS CloudFormation template to deploy TradeLite.

Key parts of the script include:

� Predefined Amazon heading. Add hoc description

� Parameters that change during script execution

� Mappings (instance capacity sizes)

� RDS security group, firewall rules

� Provision Postgres database and provision Tomcat Server

� Tomcat manager function info for admin console

� php script to manipulate DB contents

� Data source binding commands to make Tomcat aware of DB

� Create DB tables. Start tomcat.

� Instance properties for Amazon Linux.

� Build connection from Apache to Tomcat and start Apache

� Code to keep IP resources stable (elastic)

9

Deploying a TradeLite application

To deploy TradeLite application on top of the

bare EC2 and database infrastructure:

� Prepare files (war, scripts, configs) onto public S3 server in order to access/modify per template

� Add code to the template to setup the software stack by manipulating these files and initialize the stack after the instance is available

Required 22 hours for initial deployment which includes learning time.

225 minutes of labor for a skilled engineer.

Page 10: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation10

AWS Elastic Beanstalk constrained on runtimes it can deploy

Amazon offers a free GUI tool named

Beanstalk to help Amazon users deploy

Web applications, but there’s a catch

It is limited to

just a few

runtimes:

If you want to deploy your application to

WebSphere, JBoss or any other platform, it’s not supported

Page 11: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation11

Patterns allow customizing the topology for application deployment

…then PureApplicationManager deploys the

topology automatically

� Automatic optimization of

Virtual Machines, placed onto compute resources based on

pre-defined user or group profiles

Client builds this…

� Client builds out desired solution topology using pre-built patterns, or assembles one from pre-built components using built-in visual tooling

� Drag-and-drop pre-built or custom installation and configuration scripts onto individual components as appropriate

DeploymentManagerv8.5.5.1

App Serverv8.5.5.1

Quantity: 2

Install Script

On demandRouter

v8.5.5.1Quantity: 1

DB2 Standbyv10.1.0.1

Quantity: 1

DB2 Primaryv10.1.0.1

Quantity: 1

HTTP Serverv8.5.5.1

Quantity: 1

HTTP Serverv8.5.5.1

Quantity: 1

Page 12: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

DeploymentManagerv8.5.5.1

App Serverv8.5.5.1

Quantity: 2

Install Script

On demandOn demandRouter

v8.5.5.1Quantity: 1

DB2 StandbyDB2 Standbyv10.1.0.1

Quantity: 1

DB2 Primaryv10.1.0.1

Quantity: 1

HTTP Serverv8.5.5.1

Quantity: 1

HTTP Serverv8.5.5.1

Quantity: 1

12

Define multiple solution topologies for a single application

Development ProductionTest

� Single VM with

application server

and database server

Example: Web Application with Database

� Add on-demand

router for distributing

requests to

appropriate node

� Add standby

database node for

failover

� Separate VMs for

application server

and database

� Add http server

App Serverv8.5.5.1

Quantity: 1

Install Script

DB2 Primaryv10.1.0.1

Quantity: 1

DB2 Primaryv10.1.0.1

Quantity: 1

App Serverv8.5.5.1

Quantity: 1

Install Script

HTTP Serverv8.5.5.1

Quantity: 1

HTTP Serverv8.5.5.1

Quantity: 1

It’s easy to deploy the optimal topology for each use case

Page 13: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation13

Create a pattern with a custom topology

� Demonstrate the creation of a pattern with custom-built topology

� Examine a complete pattern to see how middleware and scripts were added to it, and how it was configured

� See how to deploy the pattern to start it

� Examine the system display for running components

� See the application running

Custom scriptCustom script Pre-built scriptPre-built script

Can set any number of cluster membersCan set any number of cluster members

Page 14: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation14

Using VMware blueprints and MS Service Templates is a skill intensive undertaking

� VMware vCloud Application Director and MS Service Templates only support creation of topology-based patterns (“blueprints”) or (“service templates”)– No pre-built Blueprints or Service

Templates included

� No pre-built components available out of the box

� User must first create VMs for desired operating system

� User must have expert skills knowledge to install and configure components together– No built-in expertise provided

vCloud Application Director

Page 15: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation15

IBM Patterns include built-in workload management support

Auto Scaling

Managed environments scale up and

down based upon policies you specify

ResiliencyFailed virtual machines are replaced

with new VMs which are configured

with the old VM’s identity

Load Balancing

Web requests are automatically load

balanced across multiple virtual

application servers

SecurityACL’s for application sharing and

management access; LDAP

integration for application security

MonitoringAll components of virtual application

environments are monitored by

PureApplication System

Monitoring

Lifecycle

Management

Full Function

Proxy service, Web cluster with

failover, database, data grid,

external connections

Page 16: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation16

Use policies to manage service levels automatically

� Policies define service goals, such as: – Routing Policy

– Log Policy

– JVM Policy

– Scaling Policy

� Scaling policies specify response time orCPU usage goals

– Vertical Scaling adds more processor capacityas required

– Horizontal Scaling creates additional VM instances as required, each with their own resources

– Vertical and Horizontal Scaling are independent, but can be used together

Page 17: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation17

PureApplication meets performance goals with Vertical auto-scaling policies

The administrator can define a scaling policy, specifying upper and lower limits of the acceptable range for CPU usage.

1. Workload is operating within the acceptable CPU usage range

2. Workload increases; CPU usage exceeds the upper limit

3. PureApplication System adds vCPUs to support increased workload

Upper

ScalingPolicy

Unacceptable

NewvCPU

Lower

vCPUPool

WASPattern

ELBProxy

ELBProxy

SharedCache

SharedCache

Workload

increases

Page 18: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

PureApplication also supports Horizontalauto-scaling policies

1. Workload is operating within the acceptable response time

2. Demand increases; workload exceeds the specified threshold

3. PureApplication System creates a new node to support increased demand

4. Demand decreases; workload falls below the specified threshold

5. PureApplication System deletes unneeded nodes

Max

ScalingPolicy

Lost

Business

WASPattern

WASPattern

ELBProxy

ELBProxy

SharedCache

SharedCache

WASPattern

Elastic Load Balancing Proxy and Shared Cache are PureApplication Services

� Administrator defines a policy for response time, specifying upper and lower limits of acceptable range

� PureApplication System automatically adds nodes as required to keep response time in the specified range

ResponseTime

Increases

ResponseTime

Decreases

18

Page 19: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

Leading IBM software capabilities have been optimized by capturing Patterns of Expertise

Business Analytics & Data Warehousing

Information Integration and Governance

Data Management

Asset and Facilities

Management

Social Collaboration

Mobile Development

and Connectivity

Connectivity, Integration and SOA

Application Infrastructure

Business Process

Management

19

Over 200 PureApplication Patterns

Page 20: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation20

DEMO: Deploying an IBM BPM production environment is fast and easy

� Select the BPM Pattern

� Give the new environment a name and a destination

� Deploy the BPM into production

Page 21: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

Leverage Patterns to develop and deploy mobile applications quickly

Business Analytics & Data Warehousing

Information Integration and Governance

Data Management

Asset and Facilities

Management

Social Collaboration

Mobile Development

and Connectivity

Connectivity, Integration and SOA

Application Infrastructure

Business Process

Management

21

Page 22: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation22

IBM Mobile Application Platform Pattern simplifies installation and scalability in the Cloud

Simpleconfiguration

Automatic, Enterprise-ready deployment

Incoming requestsfrom DMZ

LoadBalancer

WorklightServer

WorklightServer

WorklightServer

WorklightServer

WorklightCluster

Application

Credit Card

Database

WorklightRuntime Database

WorklightReports

Database

WorklightConfiguration

WorklightRoutingPolicy

OtherBackendServices

Credit Card DB Adapter

Mobile Application Platform Pattern

Page 23: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

Build an app;

use Worklight

Studio to build

and deploy the

mobile pattern

and app onto

PureApplication

IBM Worklight Studio

23

Deep integration between mobile app development and deployment

Select mobile

pattern, upload

app, deploy from

PureApplication

console

OR

IBM PureApp Manager console

Worklight Mobile Browser Simulator

User

Mobile App

Page 24: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

IBM Mobile Application Platform Pattern1 has 10% of the deployment time, while reducing risk

24

Without experience, it takes significantly longer to deploy it manually� Learning adds significant labor time to the manual effort

� Requires people to install WebSphere Application Server ND cluster and Worklight Server, and integrate the servers

� Risk of errors due to manual labor

DeploymentManager

LoadBalancer

WorklightServer

WorklightServer

WorklightDBs

Study: Compare times todeploy an IBM Worklighthigh-availability productionenvironment with a mobile app

1. PureSystems Centre IBM Mobile Application Platform Pattern (Enterprise Edition)2. Manual study: Create 5 VMs to deploy Worklight 6.1 environment onto a WAS ND 8.5.5 two-member cluster with HTTP server for load balancing.

Win2008 - 64bit VM, 4 GB memory, one Intel Xeon 3.33 GHz CPU, 40GB HD. 3. Pattern study: Deploy IBM Mobile Application Platform Pattern (Enterprise Edition) onto IBM PureApplication System, Red Hat Linux, one Intel 2.6 GHz Sandy Bridge CPU, 2.75

GB memory, 5 VMs created automatically

Time to deploy mobile environment and appcomparing manual and pattern approach

95

Tim

e in m

inute

s

Manual study2 Pattern study3

108

9.7x deployment time

15.8x labor time

615

21 minutes total

203 minutes totalfor a skilled expert

95

Page 25: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation25

We manually deploy different application

configurations for dev and test. This work is time-

consuming and error prone.

DeploymentManager

UrbanCode adds continuous deployment to PureApplication by automating configuration management. That reduces delivery time.

And delayed releases leave our development

and test teams idle and unproductive.

DevelopmentManager

IBM

Page 26: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

DevOps for PureApplication System: Today’s value proposition

� PureApplication is a natural delivery vehicle for DevOps

� DevOps accelerates PureApplication time to value and increases ROI

� Patterns-based, virtualized delivery model ensures rapid deployment of environments with consistency and accuracy across SDLC phases

� Expert, integrated system with unified management, and maintenance of hardware, networking and software stack

� Built-in monitoring of workloads including load balancing and fault tolerance / disaster recovery

WhatPureApplication

provides

� Automated Provisioning of patterns-based Cloud environments on PureApp

� Continuous Deployment of application workloads on provisioned environments (UCD V6.0)

� Continuous Testing triggered right after deployment

� Continuous Delivery of applications into the hands of intended users (UCR V6.0)

ContinuousMonitoring

Collaborative Development

Continuous Release and Deployment

Continuous Customer Feedback and Optimization

ContinuousBusiness Planning

ContinuousTesting

ValueDevOps

adds26

Page 27: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation27

IBM UrbanCode supports continuous deployment on IBM PureApplication System

SCMSCM Build AutomationBuild Automation

QA PROD

Provision infrastructure Execute application deployment and manage settings across environments

Publish builds

Pull changes

IBM PureApplication

System

Manage source code for apps under development

Execute provisioning with configuration settings

IBM UrbanCode Deploy

Artifact Library

ApplicationResource Template

Application binaries (versioned)

Environment configurations

(versioned)

� Automate provisioning of environments as part of the end-to-end delivery process – Establish and automate deployment of Application Blueprints with resource templates imported from Cloud patterns.

� Deploy early and often to ensure high quality and faster releases using repeatable, reliable, and managed automation.

DEVDEVDEV

Page 28: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation28

IBM has more than the basics with 200+

pre-built patterns from IBM and trusted partners!

Banking

Energy & Utilities

Insurance

Government Retail

Telecom

Financial Markets

Healthcare

*

*

Consumer Products

1 Oracle VM templates for Exalogic as of June 12, 2014

Microsoft does not have any pre-built service template solutions.

Oracle does not have any pre-built assemblies available

and only has six Oracle apps available as VM templates1

Page 29: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation29

AWS CloudFormation is limited in sample template pieces

34 service samples

5 solution samples

* Additionally there are 156 community samples; some are the same as the AWS samples

� Additional coding needed to assemble these samples and service templates into a useful

template to use in deployment

� More coding including scripts (e.g., shell, python, etc.) are needed to further setup an

application deployment environment

Page 30: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation30

IBM provides patterns for popular third-party software

� Patterns automate system configuration at deploy time

� Uses “Bring Your Own License” and “Bring Your Own Binary” models for the products

� Patterns can be customized to meet the exact needs of the customer through configuration

� These patterns are service offerings from IBM with annual or multi-year subscription purchase options– Unlimited usage across any number of PureApplication Systems

and all customer sites

RDS service offering pattern Platform Supported OS Availability

Microsoft Dynamics (CRM), v2011 W1500 (Intel) Win2k8 R2* Now

Microsoft Exchange, v2013 W1500 (Intel) Win2k8 R2* Now

Microsoft SharePoint, v2010 W1500 (Intel) Win2k8 R2* Now

Microsoft SQL Server, v2008 W1500 (Intel) Win2k8 R2* Now

Oracle Database Enterprise Edition, v11g R2 W1500 (Intel) RHEL v6.4 Now

Oracle Database Enterprise Edition, v11g R2 W1700 (Power) AIX 7.1 TL2 SP2 Now

Oracle Weblogic, v11.0 W1500 (Intel) RHEL v6.4 Now

* All editions of Windows 2008 are supported

Page 31: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation31

ISVs are achieving dramatic productivity gains with IBM PureApplication System

Silvermoon Business Systems is already seeing performance

results by reducing the typical deployment time of their

application from two weeks to 18 minutes with PureApplication

System.

OneTree Solutions optimized their PriceLenz solution on the IBM PureApplication System to increase performance & slash deployment time from 3 weeks to 8 minutes

The Innovation Group estimates a 96 percent reduction in deployment time, from 13 hours to 30 minutes, decreasing the company’s internal costs.

QR Retail Automation created a Virtual System Pattern for their Silverlake Retail Merchandizing (PROFIT™) solution and typical deployment time dropped from 48 hours to 45 minutes.

Page 32: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation

PureApplication patterns offer most complete set of capabilities for enterprise requirements

PureApplicationPatterns

OracleOVAB

VMware vCloudApplication

Director

Amazon CloudFormation

Templates

Microsoft Service

Templates

Ecosystem of solution patterns

Ease of Use

Fast deployment

Hybrid portability

On-premise only Off-premise only

?

32

Hybrid On-premise only

Page 33: Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sept 14

© 2014 IBM Corporation33

PureApplication accelerates application deployment with patterns

Fast and easy deployment of workloads using patterns of expertise

Simple policy-based patterns include monitoring for lifecycle management

Patterns offer control and flexibility of the deployable topology

Over 200 patterns available such asIBM BPM, Mobile, Oracle, Microsoft and many others

PureApplication is an ideal platform for easier DevOps