Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B12ED9DBC for ; Wed, 17 Dec 2014 13:15:32 +0000 (UTC) Received: (qmail 11232 invoked by uid 500); 17 Dec 2014 13:15:32 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 11210 invoked by uid 500); 17 Dec 2014 13:15:32 -0000 Mailing-List: contact commits-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list commits@brooklyn.incubator.apache.org Received: (qmail 11201 invoked by uid 99); 17 Dec 2014 13:15:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 13:15:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,T_RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 17 Dec 2014 13:15:31 +0000 Received: (qmail 10868 invoked by uid 99); 17 Dec 2014 13:15:10 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 13:15:10 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 8927DAC0CDC; Wed, 17 Dec 2014 13:15:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1646231 [3/3] - in /incubator/brooklyn/site: ./ community/ documentation/ quickstart/ Date: Wed, 17 Dec 2014 13:15:06 -0000 To: commits@brooklyn.incubator.apache.org From: heneveld@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141217131508.8927DAC0CDC@hades.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/brooklyn/site/quickstart/policies-and-catalogs.html URL: http://svn.apache.org/viewvc/incubator/brooklyn/site/quickstart/policies-and-catalogs.html?rev=1646231&r1=1646230&r2=1646231&view=diff ============================================================================== --- incubator/brooklyn/site/quickstart/policies-and-catalogs.html (original) +++ incubator/brooklyn/site/quickstart/policies-and-catalogs.html Wed Dec 17 13:15:05 2014 @@ -2,12 +2,12 @@ -Getting Started - Policies and Catalogs - Apache Brooklyn (incubating) +Policies and Catalogs - Apache Brooklyn (incubating) - - - + + + @@ -23,7 +23,7 @@ - brooklyn + brooklyn @@ -31,20 +31,41 @@ @@ -102,7 +135,7 @@
-

Getting Started - Policies and Catalogs

+

Policies and Catalogs

In the previous step we downloaded Brooklyn and used it to deploy an application to a cloud, but at its heart Brooklyn is a policy driven management plane.

Here we will introduce Polices using a simple demo app, which we will load from a Service Catalog.

@@ -116,7 +149,7 @@ assuming that you are running Linux or M

Download the template catalog.xml to your ~/.brooklyn/ folder, and relaunch Brooklyn.

$ cd ~/.brooklyn
-$ wget https://brooklyn.incubator.apache.org/v/0.7.0-M1/use/guide/quickstart/catalog.xml
+$ wget http://0.0.0.0:4000/v/latest/use/guide/quickstart/catalog.xml
 
 $ brooklyn launch
@@ -124,7 +157,7 @@ assuming that you are running Linux or M

Select the ‘Demo Web Cluster with DB’ and click ‘Next’.

-

Viewing Catalog entries in Add Application dialog.

+

Viewing Catalog entries in Add Application dialog.

Select the Location that Brooklyn should deploy to, and name your application:

@@ -148,13 +181,13 @@ assuming that you are running Linux or M

The loadbalancer’s targets policy ensures that the loadbalancer is updated as the cluster size changes.

-

Sitting idle, this cluster will only contain one server, but you can use a tool like jmeter pointed at the nginx endpoint to create load on the cluster. (Download a jmeter test plan.)

+

Sitting idle, this cluster will only contain one server, but you can use a tool like jmeter pointed at the nginx endpoint to create load on the cluster. (Download a jmeter test plan.)

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.

Next

-

The Elastic Web Cluster Example page +

The Elastic Web Cluster Example page details how to build this demo application from scratch in Java. It shows in more detail how Brooklyn can complement your application with policy driven management, and how applications can be run from the command line.

@@ -164,9 +197,9 @@ run from the command line.

@@ -185,9 +218,9 @@ run from the command line.

Foundation.
@@ -196,6 +229,7 @@ run from the command line.

+ +