Building High Availability
Clusters with SUSE Linux ®
Enterprise High Availability
Extension 11
Mark Gonnelly Ralph Dehner
Data Center Consultant CEO
Novell, Inc B1 Systems
[email protected] [email protected] Agenda
Introduction to the High Availability Extension
Installation
Components
What's New In SP1
Demo
2 © Novell, Inc. All rights reserved.
Introduction to the
High Availability Extension
Data Center Challenges
Minimize unplanned downtime
Ensure quality of service
Contain costs
Utilize resources
Effectively manage multiple vendors
Minimize risk
4 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise ®
High Availability Extension
• Integrated suite of open source technologies
– Affordable
– Integrated as extension with SUSE Linux Enterprise Server
> Avoids issues with proprietary 3rd party products
– Virtualization-aware
5 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
Benefits
Meet service-level agreements
Continuous access to systems and data
Maintain data integrity
Scale-out infrastructure
6 © Novell, Inc. All rights reserved.
What Do You Get?
• High Availability clustering solution
– Service availability 24h a day
• Oracle Cluster File System 2 (OCFS2)
– Sharing and Scaling data-access by multiple nodes
• Distributed Remote Block Device 8 (DRBD)
– Provide low-cost “SAN” through disk replication via TCP
• IP Load-balancing (Linux Virtual Server)
– Scale network services using multiple nodes
• User-friendly tools
• Documentation and whitepapers
7 © Novell, Inc. All rights reserved.
Notable Features
• Up to 16 nodes per cluster generally supported .
– Specific support cases beyond that are possible.
• Local Data Center clusters only.
– But see road map for SP1.
• Shared storage supported, but not required.
– MPIO fully supported.
• Available on all architectures for SUSE Linux
®
Enterprise Server.
8 © Novell, Inc. All rights reserved.
Virtualization-aware
• Xen-aware cluster resource manager extends
high availability to virtual workloads
• Recognize, monitor and manage services running
within virtual servers, as well as services running
in physical servers
• Guest systems can be managed as services by
the cluster
• Cluster virtual servers with physical servers for
higher availability and higher utilization
9 © Novell, Inc. All rights reserved.
Installation
Media
Available as an ISO image than can be used as is,
burned to a single CD, or integrated into a network
installation source.
The SUSE Linux Enterprise Server can access multiple
®
install sources in addition to the standard media.
This means that the High Availability Extension can be
integrated into the initial install of a new server whether it
is done manually or automated with AutoYaST.
11 © Novell, Inc. All rights reserved.
The High Availability Pattern
12 © Novell, Inc. All rights reserved.
OpenAIS
• Open Source Initiative's certified implementation
of the Service Availability Forum Application
Interface Specification
• Leading standards-based communication
protocol for server and storage clustering
• Messaging and membership layer
13 © Novell, Inc. All rights reserved.
Details
• The underlying protocol is called Totem
• Multicast only
• Uses one mcast group only in SUSE Linux®
Enterprise Server 11
• Multiple multicast groups on the way for SP1
• Push redundancy down the stack – NIC bonding
• Config file is /etc/ais/openais.conf
14 © Novell, Inc. All rights reserved.
Configuring OpenAIS
15 © Novell, Inc. All rights reserved.
A Simple Cluster
Totem mcast
Node 1 Node 3
Node 2
SAN
16 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
Features
Cluster aware file system and volume manager
– OCFS2
> Shared-disk POSIX-compliant generic cluster file system
> Cluster-aware POSIX locking
> Parallel I/O
– cLVM2 (Clustered Logical Volume Manager)
> Convenient, single, cluster-wide view of storage
> Clustering extensions to the standard LVM2 toolset
> Eliminates need to learn a new set of tools
17 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
Features (continued)
User-friendly tools
– Unified command line interface
> Powerful tool for installing, configuring and managing Linux clusters
> For more experienced IT professionals
– Graphical user interface
> Simple tool for monitoring and administering clustered environment
> Does not require in-depth knowledge
– YaST modules
> DRBD
> OpenAIS
> Multipath
18 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
Features (continued)
Resource Agents
– For popular third-party applications included at no extra charge
> SAP Instance and Database, IBM WebSphere Application Server, DB2,
and Informix, Oracle and VMware
– For popular open source applications included at no
extra charge
> Apache, Ipv4 and IPv6, LVM, RAID, Pure-FTPd, Route, ServeRAID, Squid,
VIPArip, Xen, Xinted, DRBD, Novell eDirectory , iscsi, mysql, nfsserver,
®
™
and postgres, sfex, tomcat, filesystems
– For the most up to date list of resource agents, visit
www.novell.com/products/highavailability
19 © Novell, Inc. All rights reserved.
Fencing
• Isolating resources – usually storage - from nodes
• Two ways of doing this
– Isolating the resource – SAN switch remapping
– Isolating the node – power off or panic
20 © Novell, Inc. All rights reserved.
STONITH
• Shoot The Other Node In The Head
• We are doing node fencing here
• A daemon run as part of the cluster stack
• Has support for a number of fencing methods
stonith -L
• Displays the list
21 © Novell, Inc. All rights reserved.
DRBD
Continuous data replication
– DRBD8 (Distributed Replicated Block Device)
> Leading open source networked disk management tool
> Build single partitions from multiple disks that mirror each other
> Fast data resynchronization capabilities
> Supports both synchronous and asynchronous mirroring
> Provides replicated storage area network (SAN) semantics, allowing
cluster-aware file systems to be used without additional SANs
22 © Novell, Inc. All rights reserved.
What's New In SP1
Key Features in Service Pack 1
Web GUI – Enabling cross platform management
Integrated Samba Clustering – Integration of Samba with
OCFS2 for higher throughput and scale out
Metro-Area Clusters – Supporting clustering between
different data center locations
Enhance Data Replication – DRBD with Linbit
Node Recovery – ReaR for node recovery
24 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
HA Stack from 10 to 11
SLES 10 SLE HA 11 SLE HA 11 SP1
OCFS2 Metro-Area
Heartbeat
general FS Cluster
DRBD 0.7 Unified CLI
Samba
Yast2-HB Pacemaker
Cluster
OCFS2 / EVMS2 openAIS
Enhanced
HA GUI
Data Replication
Yast2-DRBD Node Recovery
Yast2-Multipath Web GUI
Added in Added in
Part of SLES 10
SLE HA 11 SLE HA 11 SP1
25 © Novell, Inc. All rights reserved.
SUSE Linux Enterprise High Availability Extension
®
Promotion
Existing customers
– Free of charge subscription
> For all valid SUSE Linux Enterprise Server subscriptions
> Effective date: June 1st 2009
> Valid for subsequent subscription periods if base
SUSE Linux Enterprise Server is renewed on time
26 © Novell, Inc. All rights reserved.
SAP certification status
SUSE Linux Enterprise Server 11 is fully certified for SAP
®
http://www.sap.com/linux/ → supported platforms
This includes also all extensions to SUSE Linux
Enterprise Server 11
27 © Novell, Inc. All rights reserved.
Status of High Availability stack
@SAP Linux Lab
• SAP Linux Lab (which includes Novell staff) is
®
working on defining the High Availability stack for
SAP on SUSE Linux Enterprise Server 11
®
• Goal: reliable and well-tested stack
• Base: SUSE Linux Enterprise High Availability
Extension 11 replaces the High Availability Storage
Infrastructure from SUSE Linux Enterprise Server 10
• What remains in version 1: MD-RAID, SFEX
• Scheduled for evaluation: cLVM, OCFS2, SDB
28 © Novell, Inc. All rights reserved.
Demo
Questions and Answers
Unpublished Work of Novell, Inc. All Rights Reserved.
This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc.
Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope
of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified,
translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc.
Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.
General Disclaimer
This document is not to be construed as a promise by any participating company 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. Novell, Inc. 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 Novell products
remains at the sole discretion of Novell. Further, Novell, Inc. 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 Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc.
in the United States and other countries. All third-party trademarks are the property of their respective owners.