Contenu connexe
Similaire à Hp rhev-m-driver (20)
Hp rhev-m-driver
- 1. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
RHEV-M/oVirt Nova Proxy
Driver
Romil Gupta, Srinivasa Acharya, Raj Narayan Marndi and Barath
Ram G
April 18, 2013
- 2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2
Agenda
• Why RHEV-M/oVirt Nova Driver
• What is RHEV-M/oVirt Nova Driver
• Nova Driver high level Architecture
• Functionality implemented
• Demonstration
• Pending implementation
• Plans for contribution
• References
- 3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3
Why RHEV-M/oVirt Nova Driver
• RHEV-M / oVirt is the popular virtualization manager for KVM environments
in data centers
• Enterprises and Open source community adopting RHEV-M/oVirt
• RHEV-H / oVirtNode is limited footprint Hypervisor
• RHEV-H / oVirtNode is managed by RHEV-M / oVirt
- 4. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4
Nova compute proxy driver for RHEV-M / oVirt
• Modeled inline with Nova vCenter proxy driver
• Clusters are modeled as Openstack computes
• Compute capacity is the aggregated capacity of the hosts in the cluster
• Default Openstack scheduler is used for provisioning.
• RHEV-M / oVirt is responsible for selecting the host within selected cluster.
• RHEV-M / oVirt templates used instead of glance images for provisioning.
- 5. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5
RHEV-M/oVirt driver architecture
Compute1
Compute n
Cluster 1
Cluster 2
Cluster n
Compute 1
Compute n
Proxy Queue
Nova Scheduler
Proxy Nova Compute for RHEV-M/oVirt
Running on VM/Physical machine
RHEV-M /oVirt
KVM
Host n
KVM
Host n
KVM
Host n
KVM
Host n
OpenStack Cloud
Controller
• Host 1
• Host 2Cluster1
• Host 3
• Host 4Cluster 2
• Host n-1
• Host n-2Cluster n
<< uses for sending
requests>>
<< uses for selecting
compute node>>
<< creates one record for each
cluster>>
<< creates the queue /topic >>
Nova Database
Table = compute_nodes
Standalone KVM hosts
- 6. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
RHEV-M/oVirt templates in Glance
Image 1
Template 2
Template 1
Proxy Nova Compute for RHEV-
M/oVirt running on VM/Physical machine
RHEV-M /oVirt
NFS DataStore
OpenStack Glance server
<< uses template for provisioning >>
Image n
Template n
Glance Database
Table = images
Glance Stores
Swift
S3
File system
rdb
Command : glance image-create
Template
s<< Registered >>
- 7. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7
Nova Functions Mapping with RHEV-M
boot (Boot a new instance) Create new VM
delete (Immediately shut down and delete a instance ) Shutdown and Remove a VM
reboot (Reboot a instance) Shutdown and Run a VM
suspend( suspend a instance) Suspend a VM
resume (resume a instance) Run a VM
rebuild (Shutdown,re-image and reboot a instance) Shutdown , change the template and Run a VM
stop ( Stop a instance) Stop a VM
start ( Start a instance) Run a VM
show (Show details about the given instance )
list (List all instances)
ssh (SSH into a instance) SSH to VM
image-delete( Delete an image) Remove template
image-list (Print a list of available images to boot from) Display all templates
image-show(Show details about the given image) Display details of all templates
Nova functionality implemented
- 8. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8
Glance functionality implemented
Glance Functions Mapping with RHEV-M
Glance image-create (Adds a new image to Glance) Register a template to Glance
glance index (Returns basic information for all public images) Display the registered
templates
glance image-update (Updates an image's metadata in Glance) Update the properties of
template
glance image-delete (Deletes an image from Glance) Remove a template
glance details (Return detailed information about images in Glance)
glance show (Show detailed information about an image in Glance)
- 9. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9
Demonstration setup
RHEV-M /oVirt NFS
DataStorage
VM Data &
Templates
RHEV-M /oVirt NFS
ISO Storage
Operating
system ISO
images
Public Network
clustyed
Host 1
Cluster 1 Cluster 2
Host 2 Host 3
VM
VM VM
VM
VM
VM
OpenStack
Single Node
Setup
(Running Horizon,
Keystone , Nova-*,
Glance,Quantum etc)
Private Network
RHEV-M
ovirt-engine-sdk-3.2.0.5-
1
- 10. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10
Next Steps
• Graduation
• Validate community interest in RHEV-M / oVirt Model
• Contribute the basic code to the community
• Community involvement in driving this for Havana
• Feature enhancements
• Cinder Integration
• Quantum Integration
• Live migration
• Selecting specific clusters as compute resources
• Hardening
• Unit tests and tempest integration tests
• Explore driving enhancements through Openstack India User Group
- 11. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11
Acknowledgements
• HP provided the required guidance in conceptualizing and designing the driver
• Srinivasa Acharya rsacharya@hp.com
• Raj Narayan Marndi rajn@hp.com
• Rahul Krishna Upadhyaya rahul-krishna.upadhyaya@hp.com
• Realization through industry and university collaboration ( HP & Manipal Institute of
Technology, Manipal, India )
• Romil Gupta romil.gupta@hp.com
- 12. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12
References
• oVirt
• http://www.ovirt.org/Home
• Redhat Enterprise Virtualization
• https://access.redhat.com/products/Red_Hat_Enterprise_Virtualization/
• RHEV-M/oVirt REST APIs
• https://access.redhat.com/site/documentation/en-
US/Red_Hat_Enterprise_Virtualization/3.0/html/REST_API_Guide/index.html
• RHEV-M/oVirt proxy driver blue prints
• https://blueprints.launchpad.net/nova/+spec/rhev-m-ovirt-clusters-as-compute-resources
• https://blueprints.launchpad.net/glance/+spec/rhev-m-ovirt-templates-as-glance-images
- 13. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thank you