nova for physicalization and virtualization compute models
TRANSCRIPT
Legend :
Nova – compute service
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)
Nova – driver based approach
Message Bus (Queue)
KVMHost Hyper V HostESX Host
Libvirt Driver ViSDK driver WMI Driver
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
OpenStack - feature supported across Hypervisors
Physical Bare-metal provisioning
Q&A
•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).
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.
LXC