ManageIQ for VMware vSphere by Adam Grare at ManageIQ Design Summit 2016
VDS demo: https://youtu.be/jXdTR57wFkw
Reconfigure demo: https://youtu.be/LM467glp2LI
3. Introduction
Adam Grare - ManageIQ Developer and Red Hat Senior Software
Engineer focusing on VMware vSphere Provider
Email: agrare@redhat.com
Gitter: @agrare
4. What’s new in Darga?
Features
vSphere Distributed Switches (VDS)
VM Reconfigure - Adding/Removing Disks
Datastore Clusters
Behind the scenes
Paged inventory collection for large environments
Read-only datastore handling
7. vSphere Distributed Switches - what are they?
The Problem:
Traditionally host networking was configured per-host, and multiple
networks had to have the same name for vMotion to work
8. vSphere Distributed Switches - what are they?
The Problem:
As the number of hosts grew configuration overhead increased as did the
potential for errors
9. vSphere Distributed Switches - what are they?
The Solution:
A VDS aggregates host NICs into a single switch
This allows the administrator to configure networking in a single location
10. vSphere Distributed Switches in ManageIQ
ManageIQ already supported provisioning a VM to a VDS by querying the
vCenter directly (a temporary workaround added in 2010)
This caused issues with networking and session size due to caching all
the VDS and LANs
11. vSphere Distributed Switches - what’s new?
DistributedVirtualSwitch and DistributedVirtualPortGroup were added to
our VMwareWebService gem
The relationship between switches and hosts was changed from 1:1 to
many-to-many, and a new model, HostSwitch, was created to track the
associations
12. vSphere Distributed Switches - what’s new?
Distributed switches are now collected with inventory refresh, are stored in
VMDB, and can be seen on the host network summary page
13. vSphere Distributed Switches - what’s new?
This allows you to provision VMs to a VDS LAN without communicating
directly to the vCenter
15. vSphere Distributed Switches - what’s next?
Improve how VDS are displayed
Currently a switch is shown for each host member
Want to move display of VDS to the provider level with better
summary screens
16. vSphere Distributed Switches - what’s next?
Extend the EventCatcher to pick up new DVPortGroups without a full
refresh
This will help us integrate better with SDDC tools like NSX which
dynamically create DVS LANs
18. VM Reconfigure - Adding/Removing Disks
In Addition to CPUs and Memory, Disks can now be added to and
removed from VMs using the Reconfigure Virtual Machine page
19. VM Reconfigure - Adding/Removing Disks
Multiple disks can be added and removed in the same ReconfigVM_Task
up to the maximum number that VMware supports (60 disks)
Disks can be thin or thick provisioned, and snapshot dependence and
persistence can be set by the user
22. Datastore Clusters
Similar to Compute Clusters for hosts, Datastore Clusters allow
aggregation of individual datastore resources and automated Storage
vMotion through Storage DRS
23. Datastore Clusters - what’s new?
The StoragePod type was added to our VMwareWebService
gem
Datastore Clusters are now collected in inventory refresh
28. Paged inventory collection
Initial inventory collection used to be done in a single API call
With large environments it would hit our HTTP timeout, and we would
progressively increase this timeout and retry
29. Paged inventory collection
Now initial inventory is retrieved in pages and the timeout+retry loop has
been removed, speeding up large inventory collection
Both WaitForUpdates and RetrieveProperties were updated to collect
inventory in pages
30. Read-only datastores
Mounting an NFS datastore read-only is common for datastores
containing e.g.: ISO images
These were sometimes being picked by users or auto-placement during
provisioning and the VM provision would fail
31. Read-only datastores
Now we track the mount-info of each datastore to each host in the
HostStorage model
If a datastore is mounted read-only it will be excluded from the
provisioning dialog
32. What’s next for the E-Release?
Add Support for Storage Policy Based Management
Display Policy on VMs and Datastores
Select an existing policy when provisioning a VM
This will be first new vSphere Management SDK endpoint added since
VIM
33. What’s next for the E-Release?
Enhanced vApp support
Power Operations
Cloning
Provisioning
34. What’s next for the E-Release?
Improve on features added in Darga
VDS
Datastore Clusters