TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines

Similar documents
Running SAP HANA One on SoftLayer Bare Metal with SUSE Linux Enterprise Server CAS19256

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

High Availability Storage

Advanced Systems Management with Machinery

HO15982 Deploy OpenStack. The SUSE OpenStack Cloud Experience. Alejandro Bonilla. Michael Echavarria. Cameron Seader. Sales Engineer

SUSE OpenStack Cloud 4 Private Cloud Platform based on OpenStack. Gábor Nyers Sales gnyers@suse.com

High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

Installing, Tuning, and Deploying Oracle Database on SUSE Linux Enterprise Server 12 Technical Introduction

Relax-and-Recover. Johannes Meixner. on SUSE Linux Enterprise 12.

SUSE Linux uutuudet - kuulumiset SUSECon:sta

Ceph Distributed Storage for the Cloud An update of enterprise use-cases at BMW

DevOps and SUSE From check-in to deployment

Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs

Implementing the SUSE Linux Enterprise High Availability Extension on System z

We are watching SUSE

Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger

Configuration Management in SUSE Manager 3

SUSE Storage. FUT7537 Software Defined Storage Introduction and Roadmap: Getting your tentacles around data growth. Larry Morris

Using SUSE Linux Enterprise to "Focus In" on Retail Optical Sales

SUSE Cloud 5 Private Cloud based on OpenStack

SUSE Virtualization Technologies Roadmap

How SUSE Is Helping You Rock The Public Cloud

Using btrfs Snapshots for Full System Rollback

Challenges Implementing a Generic Backup-Restore API for Linux

How To Make A Cloud Work For You

Big Data, SAP HANA. SUSE Linux Enterprise Server for SAP Applications. Kim Aaltonen

SUSE Enterprise Storage Highly Scalable Software Defined Storage. Gábor Nyers Sales

SUSE Customer Center Roadmap

Build Platform as a Service (PaaS) with SUSE Studio, WSO2 Middleware, and EC2 Chris Haddad

SUSE Linux Enterprise 12 Security Certifications Common Criteria, EAL, FIPS, PCI DSS,... What's All This About?

Oracle Products on SUSE Linux Enterprise Server 11

Software Defined Everything

Data Center Automation with SUSE Manager Federal Deployment Agency Bundesagentur für Arbeit Data Center Automation Project

Deploying Hadoop with Manager

SUSE Virtualization Technologies Roadmap

Implementing Linux Authentication and Authorisation Using SSSD

SUSE Linux Enterprise High Availability Extension. Piotr Szewczuk konsultant

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

Novell Cluster Services Implementation Guide for VMware

kgraft Live patching of the Linux kernel

Wicked A Network Manager Olaf Kirch

HO5604 Deploying MongoDB. A Scalable, Distributed Database with SUSE Cloud. Alejandro Bonilla. Sales Engineer abonilla@suse.com

Operating System Security Hardening for SAP HANA

Of Pets and Cattle and Hearts

Wicked Trip into Wicked Network Management

QNAP in vsphere Environment

JovianDSS Evaluation and Product Training. Presentation updated: October 2015

SUSE Linux Enterprise 12 Security Certifications

Setup for Failover Clustering and Microsoft Cluster Service

Virtualization for Cloud Computing

Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server

Public Cloud. Build, Use, Manage. Robert Schweikert. Public Cloud Architect

Kangaroot SUSE TechUpdate Interoperability SUSE Linux Enterprise and Windows

Btrfs and Rollback How It Works and How to Avoid Pitfalls

Based on Geo Clustering for SUSE Linux Enterprise Server High Availability Extension

Getting the Most Out of Virtualization of Your Progress OpenEdge Environment. Libor Laubacher Principal Technical Support Engineer 8.10.

Setup for Failover Clustering and Microsoft Cluster Service

Using VMWare VAAI for storage integration with Infortrend EonStor DS G7i

Oracle Database Solutions on VMware High Availability. Business Continuance of SAP Solutions on Vmware vsphere

CAS18543 Migration from a Windows Environment to a SUSE Linux Enterprise based Infrastructure Liberty Christian School

Automated Deployment of an HA OpenStack Cloud

Oracle Databases on VMware High Availability

Novell PlateSpin Orchestrate

Best Current Practices for SUSE Linux Enterprise High Availability 12

Setup for Failover Clustering and Microsoft Cluster Service

Dell PowerVault MD32xx Deployment Guide for VMware ESX4.1 Server

SAP Solutions High Availability on SUSE Linux Enterprise Server for SAP Applications

Vmware Training. Introduction

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Setup for Failover Clustering and Microsoft Cluster Service

SAN Implementation Course SANIW; 3 Days, Instructor-led

RUNNING vtvax FOR WINDOWS

VMware vsphere 5.0 Boot Camp

High-Availability Using Open Source Software

KVM, OpenStack and the Open Cloud SUSECon November 2015

JOB ORIENTED VMWARE TRAINING INSTITUTE IN CHENNAI

Veeam ONE What s New in v9?

Veritas InfoScale Availability

Table of Contents. vsphere 4 Suite 24. Chapter Format and Conventions 10. Why You Need Virtualization 15 Types. Why vsphere. Onward, Through the Fog!

Setup for Failover Clustering and Microsoft Cluster Service

Configuration Maximums VMware vsphere 4.1

EMC Virtual Infrastructure for SAP Enabled by EMC Symmetrix with Auto-provisioning Groups, Symmetrix Management Console, and VMware vcenter Converter

Networking for Caribbean Development

Symantec Cluster Server powered by Veritas

VMware vsphere 5.1 Advanced Administration

VirtualclientTechnology 2011 July

QNAP in vsphere Environment

VMware vsphere-6.0 Administration Training

Getting Even More Out of OpenEdge in a Virtualized Environment

Setup for Microsoft Cluster Service ESX Server and VirtualCenter 2.0.1

Configuration Maximums VMware vsphere 4.0

Transcription:

TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines Jeff Lindholm SUSE Sr. Systems Engineer JLindholm@suse.com

Agenda SUSE Linux Enterprise High Availability Extension 12 Level clustering use case VMware configuration best practices SUSE Linux Enterprise High Availibility Extension / Linux Clustering in VMware SUSE Linux Enterprise Server - High Availability Cluster Demo Question / Answers 2

Challenge SUSE Linux Enterprise High Availability Extension Murphy's Law is Universal Faults will occur Can you afford a service outage or worse, loss of data? Hardware crash, flood, fire, power outage, earthquake? You might afford a five second blip, but can you afford a longer outage? How much does downtime cost? Can you afford low availability systems? 3

Use Case: Linux Clustering SUSE Linux Enterprise High Availability Extension 4

Version 12 Key Features SUSE Linux Enterprise High Availability Extension 5 Major code refresh to latest upstream versions Pacemaker Object tagging Significant CIB performance Cluster Shell: hawk Improved wizards History explorer Geo extension Improved algorithm Per-site attributes in CIB DNS-based IP fail-over Health evaluation Improved error reporting and syntax GFS2 now supported in r/w mode Support corosync configuration New, additional fenceagents

SUSE Linux Enterprise High Availability Extension + VMware 6 SUSE Linux Enterprise High Availability Extension complements VMware host-level HA solution for mission critical applications Features Application level HA protects active memory contents Scripts for monitoring open source services (eg, Apache, MySQL, NFS, PostgreSQL, Tomcat, KVM, Xen) and 3rd party applications (eg, SAP, Oracle, IBM DB2, WebSphere) Policy-driven cluster resource manager Cluster-aware file system and volume management Continuous data replication User-centric management tools

Optimized vsphere Guest Performance 7 VMware tools and drivers integrated with SUSE Linux Enterprise Server 12 for best out-of-the-box experience open-vm-tools: eliminates the need to separately install VMware Tools and reduces operational expenses and virtual machine downtime vmware_balloon: physical memory management driver vmw_vmci, vmw_vsock: provide for fast and efficient communications between guest virtual machines and hypervisors vmxnet3: next generation of a paravirtualized NIC designed for performance vmw_pvscsi: driver for paravirtualized SCSI device which improves disk performance vmwgfx: kernel driver for 3D graphics Fully supported by VMware via L3 support agreement

Example: SAP HA Cluster Interface Interfaces to integrate our HA solution in SAP http://scn.sap.com/docs/doc-25453 8

Example: HA Stack for SAP Oracle SAP SAPDatabase SAPInstance IP FS IPAddr2 SBD MD LVM FS pacemaker/openais Cluster Layer I/O Layer Multipath MD-Raid Linux system / Kernel 9 Resource Agent Layer Ext3 LVM Network Network Bonding Application Layer System Layer

VMware HA and SUSE Linux Enterprise High Availability Extension SUSE Linux Enterprise High Availability Extension DB APP SCS * Both SLE HA Nodes running on ESX server 1 * ESX Server 3 is powered down APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 10

SUSE Linux Enterprise 11/12 VMware Virtual Machines Configuration Best Practices

Optimized vsphere Guest Performance 12 VMware tools and drivers integrated with SUSE Linux Enterprise Server 12 for best out-of-the-box experience open-vm-tools: eliminates the need to separately install VMware Tools and reduces operational expenses and virtual machine downtime vmware_balloon: physical memory management driver vmw_vmci, vmw_vsock: provide for fast and efficient communications between guest virtual machines and hypervisors vmxnet3: next generation of a paravirtualized NIC designed for performance vmw_pvscsi: driver for paravirtualized SCSI device which improves disk performance vmwgfx: kernel driver for 3D graphics Fully supported by VMware via L3 support agreement

Virtual Disk Configuration VMware Para-virtual SCSI drivers (vmw_pvscsi) are included with SUSE Linux Enterprise Server 11 and 12 Para-virtual SCSI drivers are recommended when using SAN datastore configurations 13

Virtual Network Configuration VMware vmxnet3 network drivers are default, recommended, and built into both SUSE Linux Enterprise Server 11 and 12 14

VMware / SUSE Linux Enterprise High Availability Best Practices

SUSE Linux Enterprise High Availability Extension Clustering with VMware SUSE Linux Enterprise High Availability Extension on VMware is supported by SUSE Fencing is accomplished by Stonith Block Device (SBD) Unicast heartbeat configuration is recommended for two node configurations Mixed physical and virtual cluster nodes are supported Shared Storage using SCSI Raw Device Maps to VM 16 Or - VMFS Datastore with simultaneous write protection disabled

The Dos and Don'ts Things you should consider Keep cluster configuration simple Use SBD for node fencing (STONITH) Define and perform tests for all failure scenarios Follow our best practices 17

The Dos and Don'ts Things you should avoid Build Cluster cluster without node fencing (STONITH) Go live without tests planned and done Go live without proper operations manual Cluster resource (like SBD and STONITH) timings shorter than SAN timings 18

Considerations for SBD / Shared Storage on VMware ESXi datastores Disable Simultaneous write protection for shared disk devices: (multi-writer flag) Enable by-id disk presentation inside the virtual machine: http://kb.vmware.com/kb/1034165 Add disk.enableuuid = "TRUE" to cluster node.vmx config files Enable softdog module for SBD operation in boot.local prior to initial cluster setup / installation: (each node) echo 'modprobe softdog' >> /etc/init.d/boot.local 19

Multi-writer Flag Supported and Unsupported Actions or Features: 20 http://kb.vmware.com/kb/1034165

Other multi-writer Limitations 21 When using the multi-writer mode, the virtual disk must be eager zeroed thick; it cannot be zeroed thick or thin provisioned. For more information, see A virtual machine fails to power on with the error: Thin/TBZ disks cannot be opened in multiwriter mode. VMware ESX cannot open the virtual disk for clustering. (1033570). http://kb.vmware.com/kb/1033570 Sharing is limited to 8 ESXi/ESX hosts with VMFS-3 (vsphere 4.x) and VMFS-5 (vsphere 5.x) in multi-writer mode. On ESXi 5.x with VMFS-5, you can still share the virtual disks with 32 hosts for read-only access (that is, for View, linked clone, and fast provisioning use cases) Hot adding a virtual disk removes Multi-Writer Flag. For more information, see Hot adding a virtual disk in ESXi 5.5 removes the multi-writer flag (2078540). http://kb.vmware.com/kb/2078540

Multi-Writer Configuration Thick Provisioned Eager Zeroed Disk is Required 22

Multi-Writer Configuration Take note of the virtual device node setting SCSI (1:0) 23

Multi-Writer Configuration Add the multi-writer setting for each virtual disk that you want to share. For example, to share four disks, the configuration file entries look like this: scsi1:0.sharing = "multi-writer" scsi1:1.sharing = "multi-writer" scsi1:2.sharing = "multi-writer" scsi1:3.sharing = "multi-writer" Edit the vmx configuration file or change the configuration parameters using the vsphere client or web administration interface... 24

Disabling Simultaneous Write Protection on VMware ESXi 25 Cluster ready storage configuration and disk management are REQUIRED to avoid multiple nodes concurrently mounting shared storage on boot To disable auto-activation of cluster / shared storage volumes on boot disable boot.lvm and/or edit /etc/sysconfig/lvm to specify what LVM volume groups are activated at boot vs. activated by the cluster software Optional The OCFS2 file system includes a distributed lock manager and will safely allow multiple cluster nodes to concurrently block mount shared storage (Max 32 nodes are supported by SUSE, Max 8 nodes RW limitation per VMware)

VMware HA and SUSE Linux Enterprise High Availability Extension SUSE Linux Enterprise High Availability Extension DB APP SCS * Both SLE HA Nodes running on ESX server 1 * ESX Server 3 is powered down APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 26

VMware HA and SUSE Linux Enterprise High Availability Extension SUSE Linux Enterprise High Availability Extension DB APP SCS vmotion * VM is migrated to ESX server 2 without * SLE HA cluster interference APP SCS APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 27

VMware HA and SUSE Linux Enterprise High Availability Extension * SLE HA cluster now runs on different ESX servers to have HA against Hardware failures... SUSE Linux Enterprise High Availability Extension DB APP SCS APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 28

VMware HA and SUSE Linux Enterprise High Availability Extension * SLE HA cluster now runs on different ESX servers to have HA against Hardware failures... SUSE Linux Enterprise High Availability Extension DB APP SCS APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 29

VMware HA and SUSE Linux Enterprise High Availability Extension *... This was just in time, because Unfortunately a ESX hardware system fails * SLE HA migrates the Database and optionally shutdown an Application Server SUSE Linux Enterprise High Availability Extension DB SCS DB APP APP APP VMware HA and DRS Cluster VMware ESX VMware ESX (VMware ESX) zz 30

VMware HA and SUSE Linux Enterprise High Availability Extension * ESX server 1 is now in hardware Maint. * VMware DPM powers up ESX server 3 * Failed Virtual Machines get started by VMware HA SUSE Linux Enterprise High Availability Extension SCS DB APP APP APP VMware HA and DRS Cluster (VMware ESX) zz 31 VMware ESX VMware ESX

VMware HA and SUSE Linux Enterprise High Availability Extension * One of the virtual machines with an SAP application server is migrated to ESX server 3 * SLE HA starts the SAP application Server on the cluster node SUSE Linux Enterprise High Availability Extension SCS DB APP APP APP vmotion APP APP VMware HA and DRS Cluster (VMware ESX) zz 32 VMware ESX VMware ESX

VMware HA and SUSE Linux Enterprise High Availability Extension SUSE Linux Enterprise High Availability Extension * Migration is ready with complete business continuity SCS DB APP APP APP APP APP VMware HA and DRS Cluster (VMware ESX) zz 33 VMware ESX VMware ESX

How Do We Do This? Let's take a closer look... Learn High Availability 34

Why Invest in SUSE with VMware? 35 Alliance partnership for 10+ years Joint certification and support Integrated VMware tools and drivers Supported in VMware public cloud Supported for OpenStack private clouds Recommended for SAP virtualized on VMware SUSE Linux Enterprise High Availability Extension complements VMware HA for mission-critical virtualized environments

Start Now 36 Visit the SUSE-VMware Alliance website at https://www.suse.com/partners/alliance-partners/vmware/ Solution briefs White papers Case studies Download SUSE Linux Enterprise Server: https://www.suse.com/products/server/eval.html Download SUSE Linux Enterprise High Availability Extension: https://www.suse.com/products/highavailability/ Contact SUSE sales

37 Corporate Headquarters +49 911 740 53 0 (Worldwide) Join us on: Maxfeldstrasse 5 90409 Nuremberg Germany www.suse.com www.opensuse.org

Unpublished Work of SUSE. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE. Access to this work is restricted to SUSE 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 SUSE. 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. SUSE 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 SUSE products remains at the sole discretion of SUSE. Further, SUSE 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 SUSE 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.