april 2014 1 crunchy confidential openshift postgresql cartridges overview

Post on 31-Mar-2015

219 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

April 2014

1Crunchy 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

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

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

Crunchy PostgreSQLCartridges

5Crunchy Confidential

Crunchy PG Cartridge

Crunchy HA PG Cartridge

Crunchy Sample Application Cartridge

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

Crunchy PostgreSQLCartridge

7Crunchy Confidential

Demonstration of standalone postgres built using the base cartridge

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

HA Deployment

9Crunchy Confidential

HA Deployment Cont.

10Crunchy Confidential

Client/HA Cartridge

11Crunchy Confidential

Demonstration of Client/HA cartridge provisioning

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

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

Q/A

Questions?Contact me at

jeff.mccormick@crunchydatasolutions.com

14Crunchy Confidential

top related