You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sw...@apache.org on 2016/04/07 19:31:05 UTC

[2/2] git commit: updated refs/heads/master to f960725

Merge pull request #1457 from nvazquez/excludeclusters

CLOUDSTACK-9333: Exclude clusters from OVF operationsJIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9333

## 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 <code>cluster_details</code> 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|

* pr/1457:
  CLOUDSTACK-9333: Exclude clusters for OVF operations

Signed-off-by: Will Stevens <wi...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f960725d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f960725d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f960725d

Branch: refs/heads/master
Commit: f960725dd59e5a332fd652d1613c8de8a48cfb28
Parents: e72a69a 4aae051
Author: Will Stevens <wi...@gmail.com>
Authored: Thu Apr 7 13:30:20 2016 -0400
Committer: Will Stevens <wi...@gmail.com>
Committed: Thu Apr 7 13:30:20 2016 -0400

----------------------------------------------------------------------
 .../src/com/cloud/capacity/CapacityManager.java         | 10 ++++++++++
 .../storage/endpoint/DefaultEndPointSelector.java       | 12 +++++++++---
 server/src/com/cloud/capacity/CapacityManagerImpl.java  |  2 +-
 setup/db/db/schema-481to490.sql                         |  3 +++
 4 files changed, 23 insertions(+), 4 deletions(-)
----------------------------------------------------------------------