Mais conteúdo relacionado
Semelhante a Hp rhev-m-driver-romil (17)
Hp rhev-m-driver-romil
- 1. RHEV-M/oVirt Nova Proxy
Driver
Romil Gupta, Srinivasa Acharya, Raj Narayan Marndi and Barath
Ram G
April 18, 2013
© 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
2 © 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
3 © 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.
4 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
- 5. RHEV-M/oVirt driver architecture
OpenStack Cloud Standalone KVM hosts
Nova Database
Controller Table = compute_nodes
Compute1 KVM
Compute 1 KVM KVM
Host n KVM
Host Host n
n
Host n
Compute n Compute n
Cluster 1 RHEV-M /oVirt
Proxy Queue Cluster 2
• Host 1
Cluster1 • Host 2
Cluster n
<< uses for sending • Host 3
requests>> Cluster 2 • Host 4
<< uses for selecting
compute node>>
• Host n-1
Cluster n • Host n-2
Nova Scheduler
<< creates the queue /topic >> << creates one record for each
cluster>>
Proxy Nova Compute for RHEV-M/oVirt
Running on VM/Physical machine
5 © 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
OpenStack Glance server Glance Stores
Glance Database File system
Table = images S3
Swift
Image 1
rdb
Image n
Template 1
Template 2
Template
Template n << Registered >>
s
Command : glance image-create
<< uses template for provisioning >> RHEV-M /oVirt
NFS DataStore
Proxy Nova Compute for RHEV-
M/oVirt running on VM/Physical machine
6 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
- 7. Nova functionality implemented
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
7 © 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)
8 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
- 9. Demonstration setup
Public Network
RHEV-M
OpenStack
Single Node Cluster 1 Cluster 2
Setup
(Running Horizon,
Keystone , Nova-*, VM VM VM VM Data &
Glance,Quantum etc)
VM clustyed
VM VM
Templates
RHEV-M /oVirt NFS
ovirt-engine-sdk-3.2.0.5-
1 Host 1 Host 2 Host 3 DataStorage
Operating
system ISO
images
Private Network
RHEV-M /oVirt NFS
ISO Storage
9 © 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
10 © 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
11 © 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
12 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
- 13. Thank you
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.