KVM Forum, August 2015
- Virt self-hosted engine
seamless deployment
Simone Tiraboschi Software Engineer Red Hat
KVM Forum, August 2015
oVirt self-hosted engine seamless deployment Simone Tiraboschi - - PowerPoint PPT Presentation
oVirt self-hosted engine seamless deployment Simone Tiraboschi Software Engineer Red Hat KVM Forum, August 2015 KVM Forum, August 2015 oVirt Hosted Engine architecture HA Failover Web App Web Services Web App Backend Guests oVirt
KVM Forum, August 2015
KVM Forum, August 2015
KVM Forum, August 2015
Hosts1
Servers Guests
Storage
( NFS / iSCSI / FC / GlusterFS )
Hosts2
HA Failover
Backend Web Services Web App Web App
A VM with an application (oVirt engine) that manages the hosts where is running.
Live Migration Manages hosts
2
KVM Forum, August 2015
notifications
(engine VM could than restart other VMs)
users is already on hosted-engine
3
KVM Forum, August 2015
Download hosted-engine rpms and OS image Launch hosted-engine --deploy Respond a few question to configure the host It will start a fresh VM, connect via VNC/Spice Install and configure guest OS (networking…) Reboot engine VM and reconnect Download engine rpms Run engine-setup to deploy the engine Respond a few question to configure the engine Respond a few question to complete
First host Engine VM
Human actions are required Slow operations
4
KVM Forum, August 2015
P O O R U S E R E X P E R I E N C E
5
KVM Forum, August 2015
6
KVM Forum, August 2015
7
KVM Forum, August 2015
initialization of a cloud instance.
instance configuration from various sources and interpret/apply it.
configuration networking
the VMs management system
HE-setup
8
KVM Forum, August 2015
9
KVM Forum, August 2015
Requirements:
We can configure the engine appliance with DHCP or static addressing
10
DHCP (proper way):
address via engine setup
his DHCP server and a registration
from DHCP and it got resolved via DNS Static addressing (quick and dirty way): The user configures from hosted-engine- setup via cloud-init:
don’t have a local DNS
KVM Forum, August 2015
which it already found a response in the answer file
without user interaction
appliance
11
KVM Forum, August 2015
12
Few alternatives:
channel
HE-setup
KVM Forum, August 2015
13
hosted-engine-setup engine-setup (running unattended
redirected here Exit code
KVM Forum, August 2015
Download hosted-engine and appliance rpm Launch hosted-engine --deploy Respond a few question to configure the host and the appliance It will start a fresh VM from the appliance configuring it via cloud-init. I will execute automatically execute engine-setup there
First host
Slow operations
14
Human actions are required
The whole setup (excluding initial download times) takes about 15’ minutes!!!
KVM Forum, August 2015
15
Far less manual action No manual action at all
need to connect there All the manual action just in the initial phase, then have a coffee while your wait for your hosted-engine setup
KVM Forum, August 2015
(excluding initial downloading time)
automation/unattended setup are now possible *
16
* “One more thing” in the next slide
KVM Forum, August 2015
17
Being the whole hosted-engine- setup fully automatizable we can easily have CI jobs on that!
KVM Forum, August 2015
hypervisor for KVM
virtual machines and not much more
Interface (TUI)
18
KVM Forum, August 2015
19
KVM Forum, August 2015
20