Hypervisor and Nova

Preview:

Citation preview

Hypervisor & NovaVinoth Kumar Selvaraj

Cloudenablers07-Oct’15

Agenda❏Introduction to Virtualization❏What is Hypervisor❏Types of Hypervisor❏Openstack - Nova❏Nova api❏Nova Conductor❏Nova scheduler❏Nova Compute❏Supported Hypervisor

what is Virtualization?Creating a virtual version of something!

A server,

A storage device,

Network resources

Ex:-Have you ever divided your hard drive into different partitions?

What is hypervisor?A program that allows multiple operating systems to share a single hardware host.

➢ Host Machine & Guest Machine

➢ Benefits ➢ Server Consolidation

➢ Testing and development

➢ Disaster Recovery

➢ Help move things to the cloud

➢ Extend the life of older applications

Types of hypervisor?

Type 1, which is considered a bare-metal hypervisor and runs directly on top of hardware. The Type 1 hypervisor is often referred to as a hardware virtualization engine.

Type 2, which operates as an application on top of an existing operating system.

NovaNova, also known as OpenStack Compute

Software that controls your IaaS cloud computing platform.

Similar to Amazon EC2

Nova is not virtualization software.

written in Python

Nova api : Create VM_____________________

POST/v2/ {tenant_id} /servers

{ "server": { "name": "server-test-1", "imageRef": "b5660a6e-4b46-4be3-9707-6b47221b454f", "flavorRef": "2", "max_count": 1, "min_count": 1, "networks": [ { "uuid": "d32019d3-bc6e-4319-9c1d-6722fc136a22" } ], }}

KVM libvirt api : create VM____________________________

virt-install --virt-type kvm --name linux \--ram 1024 --cdrom=/tmp/linux.iso \--disk vyatta.qcow2,format=qcow2 \--network network=default \--graphics vnc,listen=0.0.0.0 \--noautoconsole --os-type=linux

libvirtdriver

Create VM action

Is anyone still awake for the Questions?

Recommended