11

Click here to load reader

VMware Nova Compute Driver

Embed Size (px)

Citation preview

Page 1: VMware Nova Compute Driver

VMware Nova Compute Driver

Sean Chen

@opencomp

[email protected]

Page 2: VMware Nova Compute Driver
Page 3: VMware Nova Compute Driver

Enhancing VMware Compute Driver

• Current VMware Nova Compute Driver needs a lot of help

• Several key areas need improvements

Page 4: VMware Nova Compute Driver

Enhancing VMware Compute Driver

• Launch OVF disk image • VNC console • Attach and Detach iSCSI

volume • Guest info • Host ops • VLAN • Quantum • Cold migration • Live migration

Page 5: VMware Nova Compute Driver

VMware Compute Driver

• spawn: supports sparse and streamOptimized disk image, block device and linked clone

• power_on, power_off • get_vnc_console • inject_network_info • attach_volume, detach_volume • get_info • get_available_resource • get_host_stats, update_host_status • host_power_action, host_maintenance_mode

Page 6: VMware Nova Compute Driver

VMware Compute Driver

• migrate_disk_and_power_off

• finish_migration

• finish_revert_migration

• confirm_migration

• live_migration

Page 7: VMware Nova Compute Driver

Custom VMware Image Properties for Glance

• vmware_adaptertype – Ide – busLogic – lsiLogic (default)

• vmware_disktype – eagerZeroedThick – preallocated (default) – sparse (sparse or streamOptimized disk)

• vmware_ostype – otherGuest (default)

Page 8: VMware Nova Compute Driver

Linked Clone

• Nova configuration flag for VMware Linked Clone support

--use_linked_clone=[true|false] (defaults to true)

Page 9: VMware Nova Compute Driver

VNC

• Nova configuration flags for VMware VNC support

Existing flag:

--vnc_enabled=[true|false] (defaults to true)

New flags:

--vnc_port=[port #] (starting port, defaults to 5900)

--vnc_port_total=[total port #] (defaults to 10000)

--vnc_password=[optional]

Page 10: VMware Nova Compute Driver

Networking

ESX KVM XenServer

NovaCompute

NovaNetwork

XenAPI virt driver

Nova-API

OpenStack API

EC2 API

Asynchronous Message – Passing Queue

Horizon (Web GUI)

dom0

Xen

A

PI

Bridge

Inst

an

ce-X

1

Inst

an

ce-X

2Nova

Compute

libvirt driver

Linux Kernel

Bridge

Inst

ance

-K1

Inst

ance

-K2

Bridge

NovaCompute

VMware virt driver

VMKernel

VIM

A

PI

VSS/VDS

Inst

ance

-X1

Inst

ance

-X2

REST

Page 11: VMware Nova Compute Driver

Questions

@opencomp [email protected]

Visit booth