april 2014 1 crunchy confidential openshift postgresql cartridges overview

14
April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Upload: sonny-mckay

Post on 31-Mar-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

April 2014

1Crunchy Confidential

Openshift PostgreSQL Cartridges Overview

Page 2: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Agenda

2Crunchy Confidential

Openshift concepts – short description Crunchy PG Cartridge Crunchy HA PG Cartridge Crunchy Sample Application Cartridge Features Backlog Q/A

Page 3: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Openshift Concepts

3Crunchy Confidential

Openshift.example.com Node2.example.com

broker

node

node

Nodes and Brokers Nodes host applications which contain cartridges Brokers administer the nodes

Page 4: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Openshift Concepts

4Crunchy Confidential

Web Frameworks – required for an Openshift application (python, jboss, ruby, others) Database cartridges are added onto an Openshift application Application cartridges are added onto an Openshift application

Openshift Application

Crunchy PG Cartridge

Applicationcartridge

Web frameworkcartridge

Page 5: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Crunchy PostgreSQLCartridges

5Crunchy Confidential

Crunchy PG Cartridge

Crunchy HA PG Cartridge

Crunchy Sample Application Cartridge

Page 6: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Crunchy PG Cartridge

6Crunchy Confidential

Installs PostgreSQL 9.3.4 Patches pgstat.c for Openshift Creates standalone instance Default settings, open source

Openshift Application

Crunchy PGCartridge

Web frameworkcartridge

Page 7: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Crunchy PostgreSQLCartridge

7Crunchy Confidential

Demonstration of standalone postgres built using the base cartridge

Page 8: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Crunchy PostgreSQLClient/HA Cartridge

Manages the creation of master/standby HA configuration Manages the ssh tunnel creation Configures streaming replication

8Crunchy Confidential

Openshift Application

Crunchy PGCartridge

Web frameworkcartridge

Openshift Application

Crunchy PGCartridge

Web frameworkcartridge

StreamingReplication

Master Server Standby Server

Page 9: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

HA Deployment

9Crunchy Confidential

Page 10: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

HA Deployment Cont.

10Crunchy Confidential

Page 11: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Client/HA Cartridge

11Crunchy Confidential

Demonstration of Client/HA cartridge provisioning

Page 12: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Application Support

12Crunchy Confidential

Client support – initially Jboss EAP, Jboss EWS, others (py, go, php) coming soon Provides postgres drivers Creates and configures Jboss data sources

Openshift Application

Crunchy HA/PGCartridge

Web frameworkcartridge

YourApplicationCartridge

Openshift Application

Crunchy PGCartridge

Web frameworkcartridge

Openshift Application

Crunchy PGCartridge

Web frameworkcartridge

Data Source

Data Source

Data Source

Page 13: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Crunchy Sample AppCartridge

Simple demonstration of app cartridge using the client cartridge Demonstrate ability to detect postgres node failure on load-balanced connection

13Crunchy Confidential

Page 14: April 2014 1 Crunchy Confidential Openshift PostgreSQL Cartridges Overview

Q/A

Questions?Contact me at

[email protected]

14Crunchy Confidential