Details
Description
Introduction
In some environments there is a need to exclude certain VMware clusters from performing OVF operations. This operations are part of:
- create template
- create volume snaphsot
- copy template, volume, images from primary storage to secondary storage
- migrate volume
- participate when a template gets cached over to primary storage.
In ESX/ESXi, OVF operations are low priority and bound to a single CPU and most likely get throttled to certain IOPS and network limits.
If the hypervisor chosen for OVF operations is weak or overloaded this results in significantly longer execution of such OVF command and therefore degraded performance of underlying CloudStack API call.
Proposed solution
It is proposed to add a way to exclude hosts from selected clusters for OVF operations.
To exclude a cluster, would be necessary to insert a record in cluster_details specifying property 'vmware.exclude_from_ovf' in this way: (supposing we want to exclude cluster X)
cluster_id | name | value |
---|---|---|
X | vmware.exclude_from_ovf | true |