Slide 1

Slide 1 text

Clustering is Awesome Pacemakers, Death by Storage, and Shooting Servers in the Head Richard Brown - QA Engineer @ SUSE [email protected]

Slide 2

Slide 2 text

2 About Me • QA Engineer at SUSE since November 2013 ‒ High Availability Clustering ‒ openQA • SysAdmin at a UK College since 2002 ‒ Early adopter of HA technologies • openSUSE contributor since 2005 ‒ Chairman of the Board

Slide 3

Slide 3 text

3 Topics • Why do we need High Availability? • How it works • How to install it on openSUSE

Slide 4

Slide 4 text

Why do we need HA?

Slide 5

Slide 5 text

5 What is HA? High Availability

Slide 6

Slide 6 text

6 What is HA? “The definition of availability is Ao = up time / total time. This equation is not practical, but if (total time - down time) is substituted for up time then you have Ao = (total time - down time) / total time.” - Wikipedia (CC-BY-SA)

Slide 7

Slide 7 text

7

Slide 8

Slide 8 text

8 But Linux is already stable!

Slide 9

Slide 9 text

9 But Linux is already stable! “Linux has never been about quality. There are so many parts of the system that are just these cheap little hacks, and it happens to run.” - Theo de Raadt

Slide 10

Slide 10 text

10

Slide 11

Slide 11 text

11

Slide 12

Slide 12 text

12 It's not just software or hardware that can let you down...

Slide 13

Slide 13 text

13

Slide 14

Slide 14 text

14

Slide 15

Slide 15 text

15 Servers fail, no one else can help

Slide 16

Slide 16 text

16 Servers don't really matter

Slide 17

Slide 17 text

17 Services Matter, not Servers

Slide 18

Slide 18 text

How HA Works

Slide 19

Slide 19 text

19

Slide 20

Slide 20 text

20

Slide 21

Slide 21 text

21 Server 1 Server 2

Slide 22

Slide 22 text

22 Server 1 Server 2 Web Server Apache File Server Samba

Slide 23

Slide 23 text

23 Server 1 Server 2 Web Server Apache File Server Samba

Slide 24

Slide 24 text

24 Server 1 Server 2 Web Server Apache File Server Samba

Slide 25

Slide 25 text

25 Server 1 Server 2 Web Server Apache File Server Samba Um, I still need my files

Slide 26

Slide 26 text

26 Server 1 Server 2 Web Server Apache File Server Samba Local Disk Local Disk

Slide 27

Slide 27 text

27 Server 1 Server 2 Web Server Apache File Server Samba Local Disk Local Disk RSYNC

Slide 28

Slide 28 text

28 Server 1 Server 2 Web Server Apache File Server Samba Local Disk Local Disk DRBD

Slide 29

Slide 29 text

29 Server 1 Server 2 Web Server Apache File Server Samba Shared Disk eg. FC/iSCSI

Slide 30

Slide 30 text

30 Server 1 Server 2 Web Server Apache File Server Samba Shared Disk eg. FC/iSCSI Server 3 DB Server MariaDB

Slide 31

Slide 31 text

31 Odd Number of servers = better

Slide 32

Slide 32 text

32 Odd Number of servers = better

Slide 33

Slide 33 text

33 Server 1 Server 2 Web Server Apache File Server Samba Shared Disk eg. FC/iSCSI Server 3 DB Server MariaDB

Slide 34

Slide 34 text

34 Server 1 Server 2 Web Server Apache File Server Samba Local Disk Local Disk DRBD

Slide 35

Slide 35 text

Installation on openSUSE

Slide 36

Slide 36 text

36 Installation • openSUSE Tumbleweed or 13.2 zypper in ha-cluster-bootstrap • On first server ha-cluster-init Wizard will ask you all the important questions • On other servers ha-cluster-join -c

Slide 37

Slide 37 text

37 Further Reading & Community • Documentation https://www.suse.com/documentation/sle-ha-12/ • DRBD http://drbd.linbit.com/ • IRC #ha-devel on Freenode • Mailing List [email protected]

Slide 38

Slide 38 text

38 Have a Lot of Fun, and Join Us At: www.opensuse.org

Slide 39

Slide 39 text

General Disclaimer This document is not to be construed as a promise by any participating organisation to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. openSUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for openSUSE products remains at the sole discretion of openSUSE. Further, openSUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All openSUSE marks referenced in this presentation are trademarks or registered trademarks of SUSE LLC, in the United States and other countries. All third-party trademarks are the property of their respective owners. License This slide deck is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license. It can be shared and adapted for any purpose (even commercially) as long as Attribution is given and any derivative work is distributed under the same license. Details can be found at https://creativecommons.org/licenses/by-sa/4.0/ Credits Template Richard Brown [email protected] Design & Inspiration openSUSE Design Team http://opensuse.github.io/branding- guidelines/