Nova for Physicalization and Virtualization compute models

13

Transcript of Nova for Physicalization and Virtualization compute models

Page 1: Nova for Physicalization and Virtualization compute models
Page 2: Nova for Physicalization and Virtualization compute models

Legend :

Page 3: Nova for Physicalization and Virtualization compute models

Nova – compute service

Page 4: Nova for Physicalization and Virtualization compute models

Compute Models

• Physical Server as Compute– Blades / Rack mount servers

• Virtualized Server as Compute– ESX– Hyper V– KVM – Xen server

• Other compute models– Container based virtualization (LXC, OpenVZ)– Partitions (lpar / Vpar)

Page 5: Nova for Physicalization and Virtualization compute models

Nova – driver based approach

Message Bus (Queue)

KVMHost Hyper V HostESX Host

Libvirt Driver ViSDK driver WMI Driver

Page 6: Nova for Physicalization and Virtualization compute models

Glance Images(qcow2, vhd, vmdk)

KeystoneGrizzly Controller (Devstack)

Asynchronous message queue

Hyper-V KVM

ESXi

bridgeSwitchSwitch bridge VSS VSS

Win-8 Win-8 RHEL UbuntuVM VM

VM 1

VM 2

VM 1

VM 2 VM

1VM

2

VM 1

VM 2

VM VM

ESXi 5.0

ESXi 5.0

Compute -WMI

Compute

Compute

VI SDK

Database(Mysql)

Multi Hypervisor Cloud

Compute - libvirt

Compute - libvirt

Compute -WMI

Page 7: Nova for Physicalization and Virtualization compute models

OpenStack - feature supported across Hypervisors

Page 8: Nova for Physicalization and Virtualization compute models

Physical Bare-metal provisioning

Page 9: Nova for Physicalization and Virtualization compute models

Q&A

Page 10: Nova for Physicalization and Virtualization compute models

•nova-computewith the bare-metal driver: The bare-metal driver itself consists of several components:

•The power manager is responsible for operations such as setting boot devices, powering up and down nodes, etc. It’s robust enough to support several management protocol implementations (we developed two, based on IPMIoool and FreeIPMI to support a wider range of hardware). •The network manager interacts with the rack switch and is responsible for switching nodes back and forth between the service and projects’ networks (the service network is used to deploy the bare-metal instance via PXE/TFTP). Currently we have an implementation for the Juniper switches. More details on that will be provided in another post devoted to networking support. •dnsmasq is a Netboot environment for instance provisioning.

•nova-baremetal-agent: This is the agent that is supposed to be run on bootstrap-linux (see the next bullet) and executes various provisioning tasks spawned by the bare-metal driver. •bootstrap-linux: A tiny Linux image to be booted over the network and perform basic initialization. It is based on the Tiny Core Linux and contains a basic set of packages such as Python to run nova-baremetal-agent (which is implemented in Python) and curl to be able to download an image from Glance. Additionally, it contains an init script that downloads nova-baremetal-agent using curl and executes it. •nova-baremetal-service: A service that is responsible for orchestration of the provisioning tasks (tasks are applied by nova-baremetal-agent directly to the bare-metal server it is running on).

Page 11: Nova for Physicalization and Virtualization compute models
Page 12: Nova for Physicalization and Virtualization compute models

What is Cloud?

Internet

Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network ( Internet )

Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. – NIST definition

On-demand self-service.

Broad network access.

Resource pooling.

Rapid elasticity.

Measured service.

Page 13: Nova for Physicalization and Virtualization compute models

LXC