ovirt and Gluster hyper-converged! HA solution for maximum resource utilization



Similar documents
ovirt and Gluster hyper-converged! HA solution for maximum resource utilization

ovirt and Gluster Hyperconvergence

ovirt self-hosted engine seamless deployment

Virtualization Management the ovirt way

October Gluster Virtual Storage Appliance User Guide

Open Source, Scale-out clustered NAS using nfs-ganesha and GlusterFS

Introduction to Gluster. Versions 3.0.x

Introduction to ovirt

How To Set Up A Two Node Hyperv Cluster With Failover Clustering And Cluster Shared Volume (Csv) Enabled

RED HAT ENTERPRISE VIRTUALIZATION

An Introduction To Gluster. Ryan Matteson

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Introduction to Hyper-V High- Availability with Failover Clustering

Bosch Video Management System High Availability with Hyper-V

Red Hat Storage Server Administration Deep Dive

VMware vsphere-6.0 Administration Training

Open Source Virtualization with ovirt. DI (FH) René Koch Systems Engineer Siedl Networks GmbH Grazer Linuxtage,

FOR SERVERS 2.2: FEATURE matrix

Unitrends Virtual Backup Installation Guide Version 8.0

ovirt Introduction August 2013 Livnat Peer Red Hat Virtualization Management the ovirt way

Deploy and test ovirt using nested virtualization environments. Mark Wu

Getting Started with Database Provisioning

Introduction to Highly Available NFS Server on scale out storage systems based on GlusterFS

Preparation Guide. How to prepare your environment for an OnApp Cloud v3.0 (beta) deployment.

ClearPass Policy Manager 6.3

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Enterprise Storage Solution for Hyper-V Private Cloud and VDI Deployments using Sanbolic s Melio Cloud Software Suite April 2011

Getting cross-platform: bringing virtualization management to the PPC world

Windows Server 2008 R2 Essentials

ovirt Introduction James Rankin Product Manager Red Hat Virtualization Management the ovirt way

ovirt: Open Your Virtual Data Center

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Virtualizing your Datacenter

Scala Storage Scale-Out Clustered Storage White Paper

HRG Assessment: Stratus everrun Enterprise

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

The VMware Administrator s Guide to Hyper-V in Windows Server Brien Posey Microsoft

WatchGuard Dimension v1.1 Update 1 Release Notes

With Red Hat Enterprise Virtualization, you can: Take advantage of existing people skills and investments

How To Set Up Egnyte For Netapp Sync For Netapp

Bring your virtualized networking stack to the next level

OnCommand Unified Manager 6.3

DeployStudio Server Quick Install

Netwrix Auditor. Virtual Appliance Deployment Guide. Version: 8.0 8/1/2016

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Deployment and Configuration Guide

Installation Guide Avi Networks Cloud Application Delivery Platform Integration with Cisco Application Policy Infrastructure

Intellicus Enterprise Reporting and BI Platform

Bosch Video Management System High availability with VMware

Altor Virtual Network Security Analyzer v1.0 Installation Guide

What s new in Hyper-V 2012 R2

VMware vcenter Log Insight Getting Started Guide

Managing a Tier-2 Computer Centre with a Private Cloud Infrastructure

Installing and Using the vnios Trial

Federated Application Centric Infrastructure (ACI) Fabrics for Dual Data Center Deployments

Load Balancing and High availability using CTDB + DNS round robin

Traditional v/s CONVRGD

VMware Identity Manager Connector Installation and Configuration

GlusterFS Distributed Replicated Parallel File System

Best Practices on monitoring Solaris Global/Local Zones using IBM Tivoli Monitoring

Configuration Guide. Achieve Unified Management and Scale-Out for Windows Server 2012 R2 Hyper-V Deployments with the Sanbolic Platform

INUVIKA TECHNICAL GUIDE

Cloud Optimize Your IT

Uila Management and Analytics System Installation and Administration Guide

VMware for Bosch VMS. en Software Manual

OnCommand Performance Manager 1.1

EMC Data Domain Management Center

InterWorx Clustering Guide. by InterWorx LLC

PHD Virtual Backup for Hyper-V

70-417: Upgrading Your Skills to MCSA Windows Server 2012

Red Hat enterprise virtualization 3.0 feature comparison

Paragon Protect & Restore

Deploying Red Hat Enterprise Virtualization On Tintri VMstore Systems Best Practices Guide

Parallels Virtuozzo Containers 4.7 for Linux

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

HP CloudSystem Enterprise

Distributed File System Choices: Red Hat Storage, GFS2 & pnfs

e Shandor Simon Director, Networking Services Latin School of Chicago

OnCommand Performance Manager 2.0

Deploying Exchange Server 2007 SP1 on Windows Server 2008

Virtuozzo 7 Technical Preview - Virtual Machines Getting Started Guide

VMware vcenter Log Insight Getting Started Guide

vsphere Upgrade vsphere 6.0 EN

A Highly Versatile Virtual Data Center Ressource Pool Benefits of XenServer to virtualize services in a virtual pool

Deployment Guide: Unidesk and Hyper- V

70-414: Implementing a Cloud Based Infrastructure. Course Overview

Windows Server 2008 Essentials. Installation, Deployment and Management

Deploying Remote Desktop Connection Broker with High Availability Step-by-Step Guide

VMware vcenter Support Assistant 5.1.1

Windows Server 2012 授 權 說 明

SCALABLE DATA SERVICES

Getting Started Hacking on OpenNebula

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

OnCommand Performance Manager 1.1

Nutanix NOS 4.0 vs. Scale Computing HC3

Junos Space. Virtual Appliance Deployment and Configuration Guide. Release 14.1R2. Modified: Revision 2

VIDEO SURVEILLANCE WITH SURVEILLUS VMS AND EMC ISILON STORAGE ARRAYS

VMware vsphere Data Protection 6.0

Configuring Failover

Transcription:

ovirt and Gluster hyper-converged! HA solution for maximum resource utilization 31 st of Jan 2016 Martin Sivák Senior Software Engineer Red Hat Czech FOSDEM, Jan 2016 1

Agenda (Storage) architecture of ovirt Possible failure points in standard ovirt setup Hosted engine refresher and improvements Gluster in a nutshell Putting it all together hyper converged infrastructure Architecture Setup Management FOSDEM, Jan 2016 2

ovirt and its Architecture ovirt is a virtualization platform to manage virtual machines, storage and networks Engine (ovirt-engine) Manages the ovirt hosts, and allows system administrators to create and deploy new VMs Host Agent (VDSM) ovirt engine communicates with VSDM to manage the VMs, storages and networks Storage Clusters Engine Storage Server Cluster Hosts Storage Server FOSDEM, Jan 2016 3

ovirt storage Storage Domains Centralized storage system (images, templates, etc.) A standalone storage entity Stores the images and associated metadata Only real persistent storage for VDSM Used for synchronization (sanlock) Storage types NFS, FCP, iscsi Gluster Storage Clusters Engine Storage Domain VDSM Hosts Storage Domain FOSDEM, Jan 2016 4

Possible failure points Engine machine Single point of failure Cluster paralyzed without engine Storage connection Data safe but unreachable All synchronization in ovirt is storage based neither NFS nor iscsi provide redundancy Storage Pool Clusters Engine Storage Domain VDSM Hosts Storage Domain FOSDEM, Jan 2016 5

Removing failure points Single ovirt-engine host manages the whole datacenter Using a VM to run ovirt-engine reduces HW failure risks Hosted Engine Single storage access infrastructure provides data Data itself are safe can be replicated using RAID Infrastructure is not distributed access mechanism is needed Gluster FOSDEM, Jan 2016 6

Hosted engine Management running inside a VM Can be migrated to a different node High availability Special agent for monitoring Storage based synchronization Bootstrap deployment needed Storage Pool Clusters Engine Storage Domain VDSM Hosts Storage Domain FOSDEM, Jan 2016 7

Improvements needed for HC GlusterFS support re-added to setup With gfapi support! ovirt-engine appliance preconfigured management VM cloud-init based customization Shared configuration all nodes see the same configuration data upgrade path from ovirt 3.5 Management GUI for the ovirt-engine VM and HE FOSDEM, Jan 2016 8

GlusterFS and its Architecture GlusterFS is a general purpose scale-out distributed file-system supporting thousands of clients Aggregates storage exports over network interconnect to provide a single unified namespace File-system completely in userspace, runs on commodity hardware Layered on disk file systems that support extended attributes FOSDEM, Jan 2016 9

GlusterFS Bricks A brick is an export directory located on a specific node (e.g. host-01:/srv/fs1/brick1) Each brick inherits limits of the underlying file-system No limit on the number bricks per node (as bestpractice each brick in a cluster should be of the same size) /srv/fs1/brick1 /srv/fs1/brick2 /srv/fs2/brick3 File-System: /srv/fs1 Block Device: /dev/dm-1 /srv/fs2 /dev/dm-2 FOSDEM, Jan 2016 10

GlusterFS Volumes A volume (the mountable entity) is a logical collection of bricks Bricks from the same node can be part of different volumes Different types of Volumes Distribute, Stripe, Replicate (+ combinations), Quorum Type of a volume is specified at the time of volume creation and determines how and where data is placed Volume1 Distribute/Stripe/Replicate host01:/srv/fs1/brick1 host02:/srv/fs1/brick1 host03:/srv/fs1/brick1 FOSDEM, Jan 2016 11

QEMU libgfapi Support GlusterFS exposes APIs for accessing Gluster volumes Reduces context switches FUSE Access Client Server QEMU GlusterFS Gluster Brick Userspace Userspace Kernel Net Net Kernel Kernel VFS /dev/fuse File-System FOSDEM, Jan 2016 12

QEMU libgfapi Support GlusterFS exposes APIs for accessing Gluster volumes Reduces context switches libgfapi Access Client Server QEMU Gluster Brick Userspace Userspace Kernel Net Net Kernel File-System But see: https://bugzilla.redhat.com/show_bug.cgi?id=1247933 FOSDEM, Jan 2016 13

Puting it all together ovirt cluster Glusterfs backed storage domain Hosted engine to maintain HA of the management Pre-configured management using an OVF image Are you feeling lucky? Due to unexpected issues the automatic HC deployment was removed from 3.6. It is still possible to configure most of the HC setup manually. FOSDEM, Jan 2016 14

Hyperconverged ovirt GlusterFS The Data Center nodes are used both for virtualization and serving replicated images from the GlusterFS Bricks Engine runs inside a VM (Hosted Engine) The boxes can be standardized (hardware and deployment) for easy addition and replacement Support for both scaling up, adding more disks, and scaling out, adding more hosts VMs and Storage with Engine inside a VM Experimental GlusterFS Volume Bricks Bricks Bricks FOSDEM, Jan 2016 15

Hyper converged setup ingredients at least 3 virtualization capable hosts (CentOS 7.1+) 10 GB of temporary space on the primary host two separate partitions for data (20GB+) on all hosts DHCP configured to map a MAC address to a fixed IP DNS configured with A and PTR names for the IP ovirt release package installed on all hosts http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm Physical console on the primary host or network access and screen package installed FOSDEM, Jan 2016 16

Gluster volume setup Replica 3 volume required # execute on all hosts yum install glusterfs-server systemctl enable glusterfs-server systemctl start glusterfs-server mkdir -p /srv/gluster/hosted-engine/brick # Execute on the first host you are going to deploy gluster peer probe <address another host> # for each host in the HC cluster gluster volume create hosted-engine replica 3 \ <host1>:/srv/gluster/hosted-engine/brick \ <host2>:/srv/gluster/hosted-engine/brick \ <host3>:/srv/gluster/hosted-engine/brick \... gluster volume start hosted-engine This step will be automated by the setup tool once remaining bugs are solved FOSDEM, Jan 2016 17

Gluster volume setup cont. # Execute on the first host you are going to deploy gluster volume set hosted-engine cluster.quorum-type auto gluster volume set hosted-engine network.ping-timeout 10 gluster volume set hosted-engine auth.allow \* gluster volume set hosted-engine group virt gluster volume set hosted-engine storage.owner-uid 36 gluster volume set hosted-engine storage.owner-gid 36 # Optionally you can tweak the gluster volume a bit more.. gluster volume set hosted-engine features.shard on gluster volume set hosted-engine features.shard-block-size 512MB gluster volume set hosted-engine cluster.data-self-heal-algorithm full gluster volume set hosted-engine performance.low-prio-threads 32 FOSDEM, Jan 2016 18

Hosted engine - recipe yum install -y ovirt-engine-appliance ovirt-hosted-engine-setup yum install -y vdsm-gluster glusterfs-server ovirt-hosted-engine-setup... Please specify the storage you would like to use: glusterfs Please specify the full shared storage connection path to use: <ip1>:/hosted-engine [INFO] GlusterFS replica 3 Volume detected... Please specify the device to boot the VM from [disk]: disk The following appliance have been found on your system: [1] The ovirt Engine Appliance image (OVA) 20150802.0-1.el7.centos [2] Directly select an OVA file Please select an appliance (1, 2): 1... Please specify the memory size of the appliance in MB: 16384 Would you like to use cloud-init to customize the appliance on the first boot?: Yes Please provide the FQDN you would like to use for the engine appliance: <engine fqdn>... FOSDEM, Jan 2016 19

Hosted engine - recipe... You may specify a unicast MAC address for the VM: <MAC assoc. with the FQDN>... --== Configuration Preview ==--... Please confirm installation settings: Yes... Quite lot of questions and lines were omitted for brevity, but the answers to those are not too important for successful installation of hosted engine. You can watch a full appliance installation (using NFS storage) video on YouTube: https://www.youtube.com/watch?v=odj_uo7u1wq FOSDEM, Jan 2016 20

Finishing setup of the ovirt cluster You should now have a running single node ovirt Log in to the management Make sure Gluster support is enabled Add remaining nodes Create and add the main storage domain FOSDEM, Jan 2016 21

Enabling GlusterFS Gluster Service support is located in the Cluster properties Deploy Hosts with GlusterFS Server support Enable Bricks and Volume Management from ovirt WebAdmin and REST-API Engine is not taking in consideration GlusterFS on Virtualization Power-Saving policies and Fencing yet FOSDEM, Jan 2016 22

Adding additional nodes Simple checkbox during in the Add host dialog Host deploy script does everything else auto-magically FOSDEM, Jan 2016 23

Adding Gluster storage It is possible to create and manage Gluster Volumes from WebAdmin and using the REST-API Volume Profiling Volume Capacity Monitoring FOSDEM, Jan 2016 24

Done! Now just add the volume as a new storage domain, wait for data center to initialize and enjoy your new HA setup. The next important topic is management... FOSDEM, Jan 2016 25

Engine's VM management Support for editing the Hosted Engine VM Memory and CPU allocation, network configuration Work in progress.. Distributed to all hosted engine nodes using OVF file on the storage domain Hosted engine daemons pick up the configuration when the management VM is restarted FOSDEM, Jan 2016 26

Hosted engine management Reporting configuration State transitions SMTP details Timeout configuration Allowed downtime before forced recovery Host scoring constants and rules FOSDEM, Jan 2016 27

What is missing from ovirt 3.6? Automated hyper-converged setup Removed at the last moment because of unresolved issues Full support for managing the ovirt engine VM Missed the feature deadline, will be available soon Hosted engine configuration UI Support for multiple Gluster brick servers not ideal issue with VM startup see qemu bug #1247933 but HA properly maintained during operation FOSDEM, Jan 2016 28

THANK YOU! http://wiki.ovirt.org/wiki/category:sla users@ovirt.org devel@ovirt.org #ovirt irc.oftc.net FOSDEM, Jan 2016 29

Links http://blogs-ramesh.blogspot.in/2016/01/ovirt-andgluster-hyperconvergence.html FOSDEM, Jan 2016 30