red hat virtualization manager deploying a highly … · 2018-02-06 · rhel 7.3 (new install)...
TRANSCRIPT
![Page 1: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/1.jpg)
DEPLOYING A HIGHLY AVAILABLE RED HAT VIRTUALIZATION MANAGER
SELF-HOSTED ENGINE
Jon Benedict | @CaptainKVMTech EvangelistMay, 2017
![Page 2: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/2.jpg)
AGENDAVery simple
● What is Self-Hosted Engine?● Deployment Walkthrough● Demonstration
![Page 3: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/3.jpg)
WHAT IS SELF-HOSTED ENGINE?
![Page 4: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/4.jpg)
WHAT IS SELF-HOSTED ENGINE?
● “Engine” is synonymous with Red Hat Virtualization Manager
● Self-Hosted Engine is also referred to as “Hosted Engine” or “HE”
● In Hosted Engine RHV-M runs as a virtualized appliance
RHV-M
![Page 5: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/5.jpg)
WHY CONSIDER IT AS A DEPLOYMENT OPTION?
● Provides High Availability for Red Hat Virtualization Manager
(RHV-M)
● Reduces the overall footprint of a RHV deployment
● Reduces the steps needed to deploy RHV
● Reduces the operational needs of RHV
![Page 6: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/6.jpg)
WHAT HAPPENS IF RHV-M GOES DOWN?
RHV-M is “the brains of the operation” - if RHV-M goes down, there is:● No access to manage resources (compute, network, storage, or
users)● No access for REST API (backup, recovery, reporting, automation)● No means of providing service to virtual resources (HA, load
balance, optimization, quotas, QoS)
If any virtual resources (compute, storage, network) are already in operation, then they will remain in operation should RHV-M go down.
![Page 7: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/7.jpg)
CONFIGURATION OPTIONSWhat are the primary ways RHV-M can be deployed?
Three primary deployment methods:● Standard (non-HA)● Hosted Engine with RHEL● Hosted Engine with RHVH
![Page 8: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/8.jpg)
STANDARD RHV-M DEPLOYMENT
RHV-M
APP APP APP APP APP APP
![Page 9: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/9.jpg)
WORKFLOW FOR STANDARD DEPLOYMENT
DeployEnv’t
Install RHEL
UpdateSystem
PREP / PRE
RHELHOST
DownloadRPM’sRHV-M
Launch Installer
AnswerQuestions
Install Completes
ACTUAL DEPLOYMENT
LogInto RHV-M
FinishConfig
AddHosts
FINALIZE CONFIGURATION
InstallCockpit
●●●
![Page 10: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/10.jpg)
COMPARING RHV-M DEPLOYMENTSPhysical vs Virtual Appliance
RHV-M
RHV-M
RHV-M on Bare Metal RHV-M on VM(Hosted Engine)
![Page 11: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/11.jpg)
SELF-HOSTED ENGINE DEPLOYMENTHighly Available
APP APP APP APP APP APPRHV-M
RHV-M is able to start up automatically in case of host failure
![Page 12: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/12.jpg)
WORKFLOW FOR SELF-HOSTED ENGINE
Launch Installer
AnswerQuestions
Install Completes
ACTUAL DEPLOYMENT
LogInto RHV-M
FinishConfig
AddHosts
FINALIZE CONFIGURATION
DeployEnv’t
Install RHVH
Push RHV-M Appliance
PREP / PRE
RHV-M+RHVH
![Page 13: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/13.jpg)
DEPLOYMENT OPTIONSConsiderations for Standard Deployment and Self-Hosted Engine
Standard Deployment
Pro’s
● Easy for lab● Easy to customize
Con’s
● No High Availability○ (but if you don’t need it…)
Hosted Engine Deployment
Pro’s
● High Availability for RHV-M● Reduced hardware footprint● Less to manage
Con’s
● Not as easy to separate components
USE CASE ALONE DETERMINES WHICH ONE IS BETTER FOR YOUR ENVIRONMENT
![Page 14: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/14.jpg)
DEPLOYMENT OPTIONS - PRO’S & CON’SWeighing RHEL Self-Hosted Against RHVH Self-Hosted
Hosted Engine (RHEL)
Pro’s
● Ability to customize per security, business needs
Con’s
● Not as “purpose built” as compared to RHVH
Hosted Engine (RHVH)
Pro’s
● Appliance approach to host & management (pre-configured)
Con’s
● No custom FS layout
USE CASE ALONE DETERMINES WHICH ONE IS BETTER FOR YOUR ENVIRONMENT
![Page 15: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/15.jpg)
REQUIREMENTS
Hosted Engine (RHEL)
● RHEL 7.3 (new install)● Hosted Engine VM v7.3● Storage deployed for RHV-M● FQDN for RHV-M ● NTP for all hosts and RHV-M● 5GB in /var● ovirt-hosted-engine & screen packages
Hosted Engine (RHVH)
● RHVH 7.3 (new install)● Hosted Engine VM v7.3● Storage deployed for RHV-M● Storage deployed for hosted engine● FQDN for RHV-M and host● NTP for all hosts and RHV-M● 5GB /var
![Page 16: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/16.jpg)
BEST PRACTICES FOR DEPLOYING HOSTED ENGINEPay attention!
● Read & follow the install documentation● Fully prepared environment● NTP, DNS, FQDN
○ Have info on hand!!● Other redundant/HA components
○ Switches, HBA’s, NICs, Power● Document your own environment
● Directory Services○ Identity Manager, Active Directory
● Integrate with Red Hat Satellite○ Software life cycle for hosts and VMs○ Provision hosts and VMs
● No Local Users | Operators only on hosts
● Standardize Hardware
![Page 17: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/17.jpg)
DEPLOYMENT WALKTHROUGH
![Page 18: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/18.jpg)
DEPLOYMENT WALKTHROUGHRHVH
● Deploy RHVH plus special RHV-M image● Pay special attention to disk layout
○ 5GB for /var (initially deployed host only)○ LVM Thin Pools
● Subscribe to Red Hat CDN● Install RHV-M appliance image (.ova)
![Page 19: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/19.jpg)
DEPLOYMENT WALKTHROUGHHOSTED ENGINE DEPLOYMENT
● Log into “Cockpit” - Secure HTTP, port 9090● Select “tuned” Virtualization Host profile● Launch Hosted Engine installer● Answer the prompts (FQDN, NFS exports, IP info, etc)● Look out for velociraptors● Watch for VNC information - able to watch deployment on console
![Page 20: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/20.jpg)
DEPLOYMENT WALKTHROUGHFinalize configuration
● Log into RHV-M● Add VM storage
○ This triggers finalization of hosted engine configuration○ Hosted engine storage appears○ Hosted engine VM appears
● Add additional hosts● TEST FAILOVER!!
![Page 21: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/21.jpg)
DEPLOYMENT WALKTHROUGHFinal testing
● Can you log into RHV-M?
● Can you finish the configuration (storage, add host, etc)?
● Will RHV-M live migrate from host to host?
● Does the `hosted-engine --vm-status` command provide positive results?
● Does RHV-M automatically restart when failure is caused?
![Page 22: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/22.jpg)
DEMONSTRATIONS
![Page 23: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/23.jpg)
TIME TO DEMO!!What will you see?
● Build RHVH
● Launch install
● Add Host
● Test Live Migration
● Test Failover
![Page 24: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/24.jpg)
HOSTED ENGINESRecorded demos
LAUNCH DEMOS
● RHVH 4.1 Deploy● Hosted Engine 4.1 Deploy● Hosted Engine 4.1 Failover
![Page 25: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/25.jpg)
WRAP-UP
![Page 26: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/26.jpg)
WHAT DO I GAIN FROM USING HOSTED ENGINE?(in addition to protection from velociraptors*)
High Availability greatly reduce interruptions to:
● Administrative access to managed resources (compute, network, storage, users)● REST API operations (backup, recovery, reporting, automation)● SLA’s to virtual resources (HA, load balance, optimization, quotas, QoS)
Hosted Engine streamlines:
● Deployment time for RHV● Operational needs for RHV● Hardware needs for RHV
*not really
![Page 27: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/27.jpg)
ADDITIONAL INFORMATIONDocuments and such
● https://docs.redhat.com
● https://access.redhat.com/document
ation/en-us/red_hat_virtualization/4.
1/html/self-hosted_engine_guide/
QUESTIONS?“WE HAVE
HOSTED ENGINE”
![Page 28: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/28.jpg)
THANK YOUplus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews
![Page 29: RED HAT VIRTUALIZATION MANAGER DEPLOYING A HIGHLY … · 2018-02-06 · RHEL 7.3 (new install) Hosted Engine VM v7.3 Storage deployed for RHV-M FQDN for RHV-M NTP for all hosts and](https://reader033.vdocument.in/reader033/viewer/2022050103/5f421d3eecf09a0e0d3a3aa2/html5/thumbnails/29.jpg)