16
MariaDB & Galera JEROME DELIEGE / PAYMENT SERVICES / FINANCIAL SOLUTIONS

Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

  • Upload
    mariadb

  • View
    153

  • Download
    16

Embed Size (px)

Citation preview

Page 1: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

MariaDB & GaleraJEROME DELIEGE / PAYMENT SERVICES / FINANCIAL SOLUTIONS

Page 2: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

About : Jérôme Deliège

2MARIADB & GALERA

Head of IT Operations at Ingenico Financial Solutions

● Datacenter Infrastructure

● Virtualisation and Solaris Linux systems

● Information security

● Database Administration

● Network

● PreviouslyThe Brussels Airport CompanyUniversité Catholique de Louvain

Page 3: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Ingenico Financial Solutions : E-Money Context

3MARIADB & GALERA

● Platform needed for accounting of E-Money product related aspects

● E-Money is a product sold in exchange of deposit money, the digital equivalent of Cash

● Basically the E-Money platform is a bank accounting system with wallet functionality

● PCI-DSS v3 compliant

● And lots of business options …

Page 4: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Ingenico Financial Solutions : Product lines

4MARIADB & GALERA

● Wallet● Fully compliant e-Money setup. Mostly sold as a White Label licensing

solution, with the platform as a service

● Collect ● Build on top of the e-Money platform

Collect accounting is done in the e-Money platform ● Multi payment methods, either directly as acquired or through different

third party acquirers

Page 5: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Technical Architecture1

Page 6: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Philosophy

6MARIADB & GALERA

● We build it, because in 2007 there were no solutions that fit

● Origin mobile payments, so scalability was key

● High availability needs to be inherent, no SPOF

● Financial correctness and compliance top priorities

● Use of Stored Procedures for every DB interaction

● Modularity is key to be able to move fast, release is a non-event

● Limited number of external technology providers

● Master and manage everything within the organisation

Page 7: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Microservices architecture

7MARIADB & GALERA

● 100% Virtualized

● 110 VM in PROD

● 8 Servers in PROD

Source : tigerteam.dk

BACKOFFICE - PHP XMC-RPC + ISO8583

Page 8: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Load-balanced Services

8MARIADB & GALERA

● Linux Virtual Server (LVS)+ Keepalived

● Direct Routing (no NAT!)

● Load equally shared between the two chains

Page 9: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

“Failover balanced” Databases

9MARIADB & GALERA

● High write percentage (30%)

● Understand the Galera limitations (Hot rows)

● Used for High-Availability

● Graceful failover and fallback

● Ensure consistency between the nodes

Page 10: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Security Features2

Page 11: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

MariaDB & Galera support for encryption

11MARIADB & GALERA

● Encrypt the traffic between the client and the server

● Client / Server certificate validation

● Encrypt the traffic between the clusters nodes (Galera configuration support for IST and SST)

● Encrypt the backups done with Xtrabackup

Schrodinger’s Backup: "The condition of any backup is unknown until a restore is attempted."

Page 12: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

PAM Authentication Plugin

12MARIADB & GALERA

● Support LDAP Authentication

● Built-in

● Supported by various toolsand command line

● J/M/L process

● Can be used for a two factors authentication

Page 13: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

Server Audit Plugin

13MARIADB & GALERA

● Solve the PCI requirement 10 easily “Track and monitor all access to network resources and cardholder data”

● Built-in

● Option to prevent the plugin to be removed while server is running

● You can configure which user and which event you want to audit

● New : REGEX can be applied to hide sensitive information

Page 14: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

MariaDB Corporation services3

Page 15: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

What MariaDB Corporation offers us

15MARIADB & GALERA

● Remote DBA available 24/7

● Technical support from the core developers

● We feel listened !● Bugs treated with high priority● Features requests pushed to the top

● Great tools included : MonYOG, Zmanda

Page 16: Case study: MariaDB Galera Cluster powering the Ingenico Financial e-money solution

JEROME DELIEGE, [email protected] HTTP://BE.LINKEDIN.COM/IN/JDELIEGE

HTTP://WWW.INGENICO.COM