diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-03-06 20:10:21 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-03-06 20:10:21 +0000 |
| commit | ce016b2772f0935782ad1542cb2bebacf9a47e83 (patch) | |
| tree | b7f464d7fc327ec35f104712bb43945822932d48 /doc/source | |
| parent | 225286d8bb36c34334d3da73e96e2117121537c3 (diff) | |
| parent | a81130b1a95ab89cf253c429cb4f0a00f1afb83d (diff) | |
Merge "Rename DistributedScheduler as FilterScheduler"
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/devref/filter_scheduler.rst (renamed from doc/source/devref/distributed_scheduler.rst) | 14 | ||||
| -rw-r--r-- | doc/source/devref/index.rst | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/devref/distributed_scheduler.rst b/doc/source/devref/filter_scheduler.rst index 89004ddf4..64efb77b6 100644 --- a/doc/source/devref/distributed_scheduler.rst +++ b/doc/source/devref/filter_scheduler.rst @@ -18,14 +18,14 @@ (OpenOffice Impress format) Illustrations are "exported" to png and then scaled to 400x300 or 640x480 as needed and placed in the doc/source/images directory. -Distributed Scheduler +Filter Scheduler ===================== -The Scheduler is akin to a Dating Service. Requests for the creation of new instances come in and the most applicable Compute nodes are selected from a large pool of potential candidates. In a small deployment we may be happy with the currently available Chance Scheduler which randomly selects a Host from the available pool. Or if you need something a little more fancy you may want to use the Distributed Scheduler, which selects Compute hosts from a logical partitioning of available hosts (within a single Zone). +The Scheduler is akin to a Dating Service. Requests for the creation of new instances come in and the most applicable Compute nodes are selected from a large pool of potential candidates. In a small deployment we may be happy with the currently available Chance Scheduler which randomly selects a Host from the available pool. Or if you need something a little more fancy you may want to use the Filter Scheduler, which selects Compute hosts from a logical partitioning of available hosts. .. image:: /images/dating_service.png -The Distributed Scheduler (DS) supports filtering and weighing to make informed decisions on where a new instance should be created. +The Filter Scheduler supports filtering and weighing to make informed decisions on where a new instance should be created. So, how does this all work? @@ -48,14 +48,14 @@ This Weight is computed for each Instance requested. If the customer asked for 1 Filtering and Weighing ---------------------- -The filtering (excluding compute nodes incapable of fulfilling the request) and weighing (computing the relative "fitness" of a compute node to fulfill the request) rules used are very subjective operations ... Service Providers will probably have a very different set of filtering and weighing rules than private cloud administrators. The filtering and weighing aspects of the `DistributedScheduler` are flexible and extensible. +The filtering (excluding compute nodes incapable of fulfilling the request) and weighing (computing the relative "fitness" of a compute node to fulfill the request) rules used are very subjective operations ... Service Providers will probably have a very different set of filtering and weighing rules than private cloud administrators. The filtering and weighing aspects of the `FilterScheduler` are flexible and extensible. .. image:: /images/filtering.png Host Filter ----------- -As we mentioned earlier, filtering hosts is a very deployment-specific process. Service Providers may have a different set of criteria for filtering Compute nodes than a University. To facilitate this, the `DistributedScheduler` supports a variety of filtering strategies as well as an easy means for plugging in your own algorithms. Specifying filters involves 2 settings. One makes filters available for use. The second specifies which filters to use by default (out of the filters available). The reason for this second option is that there may be support to allow end-users to specify specific filters during a build at some point in the future. +As we mentioned earlier, filtering hosts is a very deployment-specific process. Service Providers may have a different set of criteria for filtering Compute nodes than a University. To facilitate this, the `FilterScheduler` supports a variety of filtering strategies as well as an easy means for plugging in your own algorithms. Specifying filters involves 2 settings. One makes filters available for use. The second specifies which filters to use by default (out of the filters available). The reason for this second option is that there may be support to allow end-users to specify specific filters during a build at some point in the future. Making filters available: @@ -85,12 +85,12 @@ Here are some of the main flags you should set in your `nova.conf` file: :: - --scheduler_driver=nova.scheduler.distributed_scheduler.DistributedScheduler + --scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler --scheduler_available_filters=nova.scheduler.filters.standard_filters # --scheduler_available_filters=myfilter.MyOwnFilter --scheduler_default_filters=RamFilter,ComputeFilter,MyOwnFilter -`scheduler_driver` is the real workhorse of the operation. For Distributed Scheduler, you need to specify a class derived from `nova.scheduler.distributed_scheduler.DistributedScheduler`. +`scheduler_driver` is the real workhorse of the operation. For Filter Scheduler, you need to specify a class derived from `nova.scheduler.filter_scheduler.FilterScheduler`. `scheduler_default_filters` are the host filters to be used for filtering candidate Compute nodes. Some optional flags which are handy for debugging are: diff --git a/doc/source/devref/index.rst b/doc/source/devref/index.rst index b4ae7562f..e3617cc5b 100644 --- a/doc/source/devref/index.rst +++ b/doc/source/devref/index.rst @@ -39,7 +39,7 @@ Background Concepts for Nova architecture threading il8n - distributed_scheduler + filter_scheduler multinic rabbit |
