Presentation is loading. Please wait.

Presentation is loading. Please wait.

Openshift PostgreSQL Cartridges Overview

Similar presentations


Presentation on theme: "Openshift PostgreSQL Cartridges Overview"— Presentation transcript:

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

2 Agenda Openshift concepts – short description Crunchy PG Cartridge
Crunchy HA PG Cartridge Crunchy Sample Application Cartridge Features Backlog Q/A The most simple configuration of Openshift is depicted here, a real deployment would break out the broker onto it’s own server Crunchy Confidential

3 Openshift Concepts Nodes and Brokers
Nodes host applications which contain cartridges Brokers administer the nodes The most simple configuration of Openshift is depicted here, a real deployment would break out the broker onto it’s own server Crunchy Confidential

4 Openshift Concepts 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 This picture shows an Openshift application consisting of a web framework (e.g. Python), a Crunchy postgres cartridge, and a customer developed application cartridge Crunchy Confidential

5 Crunchy PostgreSQL Cartridges
The Crunchy cartridges include the base postgres cartridge, the client/HA cartridge, and the sample application cartridge. The base cartridge and sample application cartridge are open source, the Client/HA cartridge are offered as a licensed subscription. Crunchy Confidential

6 Crunchy PG Cartridge Installs PostgreSQL 9.3.4
Patches pgstat.c for Openshift Creates standalone instance Default settings, open source The Crunchy postgres cartridge deploys a standalone postgres configuration by default, with default postgres settings. Crunchy Confidential

7 Crunchy PostgreSQL Cartridge
Demonstration of standalone postgres built using the base cartridge The Crunchy postgres cartridge deploys a standalone postgres configuration by default, with default postgres settings. Crunchy Confidential

8 Crunchy PostgreSQL Client/HA Cartridge
Manages the creation of master/standby HA configuration Manages the ssh tunnel creation Configures streaming replication The Client/HA cartridge enables the setup of a postgres streaming replication configuration. Openshft administration steps are required to create the necessary gear profiles and districts to provide control over the physical placement of the postgres instances. Crunchy Confidential

9 HA Deployment This is the Openshift application console, this screen capture shows a postgres master ‘pgmaster’ and standby ‘pgstandby’ deployed as separate Openshift applications. Crunchy Confidential

10 HA Deployment Cont. This is a screen capture of the Openshift admin console, it shows there are 2 nodes created, on different gear profiles. The standby postgres application is deployed on the ‘standby’ district which resides on node2.example.com. Master resides on the openshift.example.com node. Crunchy Confidential

11 Demonstration of Client/HA cartridge provisioning
This diagram depicts the 3 postgres connections that are created by the client/HA cartridge, making them available to any custom application. The load-balanced connection is based upon the pgpool framework. The Standby connection is read only, whereas the Master connection is read/write. Crunchy Confidential

12 Application Support Client support – initially Jboss EAP, Jboss EWS, others (py, go, php) coming soon Provides postgres drivers Creates and configures Jboss data sources A full picture showing a sample deployment of all components. Data sources are depicted, notice the client cartridge is deployed alongside the customer application. Crunchy Confidential

13 Crunchy Sample App Cartridge
Simple demonstration of app cartridge using the client cartridge Demonstrate ability to detect postgres node failure on load-balanced connection This is a screen capture of a simple web application written to test the client/HA cartridge capabilities. Pressing the Execute Query button will send a SQL statement to the backend postgres instance using the connection listed in the drop-down menu. Results from the query are shown at the bottom of the page. Crunchy Confidential

14 Q/A Questions? Contact me at jeff.mccormick@crunchydatasolutions.com
Crunchy Confidential


Download ppt "Openshift PostgreSQL Cartridges Overview"

Similar presentations


Ads by Google