On Thu, Oct 31, 2013 at 2:58 PM, Klaus Aehlig <[email protected]> wrote:

> Describe the new behavior of hsqueeze to also plan taking nodes online
> in the man page.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  man/hsqueeze.rst | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/man/hsqueeze.rst b/man/hsqueeze.rst
> index 03b8c61..451ee6c 100644
> --- a/man/hsqueeze.rst
> +++ b/man/hsqueeze.rst
> @@ -19,6 +19,7 @@ Backend options:
>
>  Algorithm options:
>
> +**[ \--minimal-resources=*factor* ]**
>  **[ \--target-resources=*factor* ]**
>
>  Reporting options:
> @@ -31,7 +32,7 @@ DESCRIPTION
>
>  hsqueeze does dynamic power management, by powering up or shutting down
> nodes,
>  depending on the current load of the cluster. Currently, only suggesting
> nodes
> -to be powered off is implemented.
> +is implemented.
>
>  ALGORITHM
>  ~~~~~~~~~
> @@ -45,6 +46,12 @@ cluster by the algorithm used by **hbal**\(1) yields a
> situation where all insta
>  are located on online nodes, and each node has at least the target
> resources free
>  for new instances.
>
> +All offline nodes with a tag starting with ``htools:standby`` are
> +considered candidates for being taken online. Those nodes are taken online
> +till balancing the cluster by the algorithm used by **hbal**\(1) yields a
> +situation where each node has at least the minimal resources free for new
> +instances.
> +
>  OPTIONS
>  -------
>
> @@ -66,6 +73,11 @@ OPTIONS
>    other backends must be selected. The option is described in the man
>    page **htools**\(1).
>
> +\--minimal-resources=*factor*
> +  Specify the amount of resources to be free on each node for hsqueeze
> not to
> +  consider onlining additional nodes. The value is reported a multiple of
> the
> +  standard instance specification, as taken from the instance policy.
> +
>  \--target-resources=*factor*
>    Specify the amount of resources to remain free on any node after
> squeezing.
>    The value is reported a multiple of the standard instance
> specification, as
> --
> 1.8.4.1
>
>
LGTM, thanks


-- 
-- 
Helga Velroyen | Software Engineer | [email protected] |

Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to