High Availability Low Dollar Clustered Storage

Slides:



Advertisements
Similar presentations
Lucas Schill Brent Grover Ed Schilla Advisor: Danny Miller.
Advertisements

1 NETE4631 Cloud deployment models and migration Lecture Notes #4.
SPLA Licensing New Products Tips & Tricks.
High Availability through Virtualization
1.1 Installing Windows Server 2008 Windows Server 2008 Editions Windows Server 2008 Installation Requirements X64 Installation Considerations Preparing.
Implementing Failover Clustering with Hyper-V
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
Storage Area Networks The Basics. Storage Area Networks SANS are designed to give you: More disk space Multiple server access to a single disk pool Better.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Module 13: Configuring Availability of Network Resources and Content.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Nagios Is Down and Your Boss Wants to See You Andrew Widdersheim
IT Infrastructure Chap 1: Definition
Ceph Storage in OpenStack Part 2 openstack-ch,
Introduction to Cloud Computing
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
The application of DRBD in Linux-HA Haibo Zhang 4/28/2014.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
Samba – Good Just Keeps Getting Better The new and not so new features available in Samba, and how they benefit your organization. Copyright 2002 © Dustin.
Server Performance, Scaling, Reliability and Configuration Norman White.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
 High-Availability Cluster with Linux-HA Matt Varnell Cameron Adkins Jeremy Landes.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer Progress Sonic.
ClinicalSoftwareSolutions Patient focused.Business minded. Slide 1 Opus Server Architecture Fritz Feltner Sept 7, 2007 Director, IT and Systems Integration.
CNAF Database Service Barbara Martelli CNAF-INFN Elisabetta Vilucchi CNAF-INFN Simone Dalla Fina INFN-Padua.
High-Availability MySQL with DR:BD and Heartbeat: MTV Japan mobile services ©2008 MTV Networks Japan K.K.
1 Deployment Frameworks for Web Applications John Paul Ashenfelter CTO/Transitionpoint.
Virtuozzo 4.0 Carla Safigan Virtuozzo Marketing Jack Zubarev COO.
Server Performance, Scaling, Reliability and Configuration Norman White.
Intro To Virtualization Mohammed Morsi
MySQL HA An overview Kris Buytaert. ● Senior Linux and Open Source ● „Infrastructure Architect“ ● I don't remember when I started.
High Availability Low Dollar Clustered Storage
Enterprise Vitrualization by Ernest de León. Brief Overview.
High Availability Clusters in Linux Sulamita Garcia EDS Unix Specialist
USEIMPROVEEVANGELIZE Solutions for High Availability and Disaster Recovery with MySQL ● Detlef Ulherr ● Sun Microsystems.
PHD Virtual Technologies “Reader’s Choice” Preferred product.
CompTIA Server+ Certification (Exam SK0-004)
Unix Server Consolidation
Unit 3 Virtualization.
Lenovo – DataCore Deployment Ready Offerings
Storage Area Networks The Basics.
Integrating Disk into Backup for Faster Restores
Let's talk about Linux and Virtualization in 'vLAMP'
Server Upgrade HA/DR Integration
Failover and High Availability
Virtualization Overview
High Availability Linux (HA Linux)
Pablo Pinés León – FTEC 2016 Program
Cluster Active Archive
Software Research Directions Related to HA/ATCA Ecosystem
Virtualization overview

Uptime All The Time: Doing Business In The Cloud
Introduction to Networks
Storage Virtualization
Dave LIVE Linux AG Buildout!.
SpiraTest/Plan/Team Deployment Considerations
INFO 344 Web Tools And Development
SQL Server on Linux: High Availability And Disaster Recovery
Your code is not just…your code
Understanding Linux and the BASH shell v
Upgrading Your Private Cloud with Windows Server 2012 R2
Cost Effective Network Storage Solutions
Network customization
PerformanceBridge Application Suite and Practice 2.0 IT Specifications
Your code is not just…your code
Presentation transcript:

High Availability Low Dollar Clustered Storage Simon Karpen skarpen@shodor.org / simon@karpens.org Thanks to Shodor for use of this space for the meeting. This document licensed under the Creative Commons Attribution Share-Alike 3.0 license, http://creativecommons.org/licenses/by-sa/3.0/us/

Overview Shared storage with no shared hardware Based entirely on an open source software stack Cost to try is minimal; a pair of $500 Dell special boxes will work Scales down enough that I can demo on a pair of virtual machines on this laptop Can scale up with hardware within reason

What Can This Do? File services – SMB, NFS, etc Databases – MySQL, PgSQL Authentication – LDAP, etc Network services – DHCP, etc Web services – better used for backend file/DB than actual web services Other applications? As long as persistent data is on the filesystem,

Limitations Not suitable for applications with very high I/O rates – limited by the commodity hardware plus overhead Cross-site replication depends on available bandwidth and write rate Automating failover between more than two hosts can be complex Linux support only (no BSD, etc)‏

Components Linux – Operating system. Examples are based on CentOS. Hardware – Just about anything that can run Linux and that has local storage DRBD – Distributed Redundant Block Device Heartbeat – Part of the Linux-HA project, manages device and service failover Network – You need connectivity between the hosts. Gigabit is preferred if available.

Operating System No point in paying for RHEL; you'd have to add DRBD yourself or from the CentOS repositories Redhat wouldn't support you anyway! Other Linux variants should be fine; Ubuntu and SuSE even ship DRBD in some versions Watch support cycles; in production, these clusters will be long lived. Fedora is probably a poor choice.

Other Operating Systems FreeBSD geom_gate/geom_mirror may be able to do something similar, but are not yet stable Nothing really there on Solaris yet; the Sun cluster tools in particular want shared storage I am not aware of anything similar on Windows or OSX

Hardware Think about internal redundancy versus external redundancy Where cost is the primary consideration, concentrate on external redundancy (two servers) plus backups When downtime is the primary consideration, look for 'sturdy' hardware (hardware RAID, redundant power supplies and feeds, etc)‏ A pair of $500 Dell special servers is great for a proof of concept

DRBD Distributed Redundant Block Device Web site at http://www.drbd.org/ Open source, but commercial support is available from LinBit Supports both traditional active/passive cluster and new support for active/active with a real cluster filesystem (OCFS2, GFS2, etc)‏ Can run on LVM, or LVM on DRBD, or both

DRBD cont'd FAQ is at http://wiki.linux-ha.org/DRBD/FAQ Heartbeat plus DRBD's integrity checks work respectably as a fence Status in /proc/drbd Configured in /etc/drbd.conf, configuration for each resource must match on each node active/passive configuration has been very reliable in practice

Sample DRBD Configuration

Sample DRBD Command Lines

What is Heartbeat? Tool to manage failover of services between nodes Web resources for more advanced configuration are mostly at http://www.linux- ha.org/ Including with or readily available with most Linux distributions You could use other cluster management tools, but would have to do the integration ha.cf and haresources must match between nodes

Heartbeat Notes Examples all use Heartbeat v1 style configuration for simplicty, support of all DRBD features Heartbeat v2 CRM style config can work; see http://wiki.linux-ha.org/DRBD/HowTov2 Controls access to DRBD devices and services that run on top of DRBD devices (i.e. NFS, MySQL, Samba, etc)‏ Not shown here, but you also need /etc/ha.d/authkeys (trivial)‏

Sample Minimalist /etc/ha.d/ha.cf

Sample Minimalist /etc/ha.d/haresources

Haresources Notes Additional services, filesystems, etc are space separated Centos5/RHEL5 NFS startup scripts have a bug that will break repeated failover/failback Patch is on the next slide; you WILL need this for reliable NFS failover Again, this is a v1 non-CRM configuration. You can use a v2 CRM type configuration; there are advantages and disadvantages of both.

/etc/init.d/nfs patch

Actual Demonstration Two virtual machines Both running CentOS 5.1 x86_64 KVM virtualization, default Fedora configuration Using the heartbeat and DRBD configuration already shown This is obviously a simple minimal setup; this is how you get started. You will need to customize for your own applications

Final Thoughts This is a “good enough” HA solution for many applications, at a non-HA price Better but not faster or cheaper than a single server. Cheaper but not better or faster than a replicated SAN or NAS (i.e. Netapp cluster)‏ Replication is not a replacement for backups

Questions? Any Questions? (Q&A and Disucssion)‏ A link to the slides will be up on http://ncsysadmin.org/ A link to the video will also eventually make its way to http://ncsysadmin.org/