Repository: incubator-brooklyn Updated Branches: refs/heads/master 677762b2c -> 3d4191ca1
docs - getting started - more on policies and some capitalization fixes Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/fa257f62 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/fa257f62 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/fa257f62 Branch: refs/heads/master Commit: fa257f6290b744feff4d6cb4d6ac403809d882b0 Parents: 7197a22 Author: Alex Heneveld <[email protected]> Authored: Mon Jan 19 15:56:55 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Mon Jan 19 22:57:24 2015 +0000 ---------------------------------------------------------------------- docs/guide/start/policies.md | 19 +++++++++++++++++-- docs/website/learnmore/theory.md | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/fa257f62/docs/guide/start/policies.md ---------------------------------------------------------------------- diff --git a/docs/guide/start/policies.md b/docs/guide/start/policies.md index 00fdde5..31b6e27 100644 --- a/docs/guide/start/policies.md +++ b/docs/guide/start/policies.md @@ -25,12 +25,27 @@ Sitting idle, this cluster will only contain one server, but you can use a tool As load is added, Brooklyn requests a new cloud machine, creates a new app server, and adds it to the cluster. As load is removed, servers are removed from the cluster, and the infrastructure is handed back to the cloud. + +### Under the Covers + +The `AutoScalerPolicy` here is configured to respond to the sensor +reporting requests per second per node, invoking the default `resize` effector. +By clicking on the policy, you can configure it to respond to a much lower threshhold +or set long stabilization delays (the period before it scales out or back). + +An even simpler test is to manually suspend the policy, by clicking "Suspend" in the policies list. +You can then switch to the "Effectors" tab and manually trigger a `resize`. +On resize, new nodes are created and configured, +and in this case a policy on the nginx node reconfigures nginx whenever the set of active +targets changes. + + ### Next This guide has given a quick overview to writing blueprints for applications, deploying applications, and managing them. Next, learn more about any of: -* [Writing blueprints with YAML](../yaml/) -* [Writing blueprints with Java](../java/) +* [Writing Blueprints with YAML](../yaml/) +* [Writing Blueprints with Java](../java/) * [Operating Brooklyn](../ops/) http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/fa257f62/docs/website/learnmore/theory.md ---------------------------------------------------------------------- diff --git a/docs/website/learnmore/theory.md b/docs/website/learnmore/theory.md index 5f8d97f..4f0e6a8 100644 --- a/docs/website/learnmore/theory.md +++ b/docs/website/learnmore/theory.md @@ -91,7 +91,7 @@ the devops process. In some ways, Brooklyn is to run-time what Maven is to build-time. -### Blueprints turn into deployments +### Blueprints Turn into Deployments Brooklyn knows about Chef, Salt, and similar tools, and APT and Yum and plain old shell scripts, for deploying application components. Blueprints
