aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject git commit: Deploying Aurora documentation improvements
Date Fri, 17 Jan 2014 21:37:42 GMT
Updated Branches:
  refs/heads/master 168febe57 -> 83992b931


Deploying Aurora documentation improvements

* Update the path examples so they are correct (dist instead of build,
handle versioned build file names)
* Fix a few markdown formatting issues
* Add additional info on the requirements to build a distribution zip file

Testing Done: Previewed markdown changes with grip:
https://github.com/joeyespo/grip

Reviewed at https://reviews.apache.org/r/17057/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/83992b93
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/83992b93
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/83992b93

Branch: refs/heads/master
Commit: 83992b9319d757c9ba8b6a5257454c4e686a43a1
Parents: 168febe
Author: Jeremy Lingmann <3hs3ufy6u8@snkmail.com>
Authored: Fri Jan 17 11:20:44 2014 -0800
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Fri Jan 17 13:36:00 2014 -0800

----------------------------------------------------------------------
 docs/deploying-aurora-scheduler.md | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/83992b93/docs/deploying-aurora-scheduler.md
----------------------------------------------------------------------
diff --git a/docs/deploying-aurora-scheduler.md b/docs/deploying-aurora-scheduler.md
index c11f2a9..1718f89 100644
--- a/docs/deploying-aurora-scheduler.md
+++ b/docs/deploying-aurora-scheduler.md
@@ -9,19 +9,22 @@ a JVM (Java 7 or higher) and libmesos (0.15.0) installed.
 
 Creating the Distribution .zip File (Optional)
 ----------------------------------------------
-To create a distribution for installation.
+To create a distribution for installation you will need build tools installed. On Ubuntu
this can be
+done with `sudo apt-get install build-essential default-jdk`.
 
     git clone http://git-wip-us.apache.org/repos/asf/incubator-aurora.git
+    cd incubator-aurora
     ./gradlew distZip
 
-Copy the generated `build/distribution/aurora-scheduler.zip` to each node that will run a
scheduler.
+Copy the generated `dist/distributions/aurora-scheduler-*.zip` to each node that will run
a scheduler.
 
 Installing Aurora
 -----------------
-Extract the `aurora-scheduler.zip` file. The example configurations assume it is extracted
to
+Extract the aurora-scheduler zip file. The example configurations assume it is extracted
to
 `/usr/local/aurora-scheduler`.
 
-    unzip aurora-scheduler.zip -d /usr/local
+    sudo unzip dist/distributions/aurora-scheduler-*.zip -d /usr/local
+    sudo ln -nfs "$(ls -dt /usr/local/aurora-scheduler-* | head -1)" /usr/local/aurora-scheduler
 
 Configuring Aurora
 ==================
@@ -48,7 +51,7 @@ Like Mesos, Aurora uses command-line flags for runtime configuration. As
such th
       # Log configuration, etc.
     )
 
-   # Environment variables controlling libmesos
+    # Environment variables controlling libmesos
     export JAVA_HOME=...
     export GLOG_v=1
     export LIBPROCESS_PORT=8083
@@ -129,7 +132,7 @@ restarted.
 
 For example, monit can be configured with
 
-   if failed port 8081 send "GET /health HTTP/1.0\r\n" expect "OK\n" with timeout 2 seconds
for 10 cycles then restart
+    if failed port 8081 send "GET /health HTTP/1.0\r\n" expect "OK\n" with timeout 2 seconds
for 10 cycles then restart
 
 assuming you set `-http_port=8081`.
 


Mime
View raw message