Commit 026ed42b authored by Dmitry Duplyakin's avatar Dmitry Duplyakin

Updated the apache section

- More instructions and better structure
parent d6cffc5d
......@@ -43,9 +43,10 @@ This tutorial assumes that:
(Instructions for getting an account can be found
@link["http://groups.geni.net/geni/wiki/SignMeUp"]{here}.)}
]}
@item{You can log in to @(tb). Refer to the @seclink["tutorial-logging-in"]{Logging In} section in the OpenStack Tutorial for step-by-step instructions.}
]
@include-section["tutorial-login-common.scrbl"]
@section[#:tag "tutorial-body"]{Launching Chef Experiments}
Once you have logged in to @(tb), you will ``instantiate'' a @seclink["profiles"]{``profile''}
......@@ -557,6 +558,8 @@ intalled NFS client on node-0. You can take a look at: ...
@section{Apache2 and ApacheBench (ab)}
THIS SECTION IS STILL VERY ROUGH (NEED MORE INSTRUCTIONS)
We are going to switch gears now and experiment with
another set of software components, while demonstrating more Chef capabilities.
In this section, we demonstrate how
......@@ -635,8 +638,10 @@ Chef can install and configure the apache2 web server and run a benchmark agains
to the head's public hostname, which you can find by typing @code{hostname -f} in the shell.
Don't forget to use double quotes around the hostname. Also, let's modify the list of
ports against which we will run the benchmark. Change @code{80} to @code{8080} since nothing interesting is running
on port $code{80}, while the apache2 server you installed in one of the previous steps
is listening on the port @code{8080}. Here is an example of the recommended changes:
on port @code{80}, while the apache2 server you installed in one of the previous steps
is listening on the port @code{8080}. Leave the port @code{443} in the list --- this
is the port on which Chef web console is running.
Here is an example of the recommended changes:
@screenshot["chef-tutorial/console-apachebench-change-attr.png"]
......@@ -657,13 +662,32 @@ Chef can install and configure the apache2 web server and run a benchmark agains
The first two (the most recent) graphs represent the results of benchmarking
of web services running on head. You can explore...
@screenshot["chef-tutorial/bench-results-8080.png"]
@screenshot["chef-tutorial/bench-results-443.png"]
@screenshot["chef-tutorial/bench-graphs.png"]
}
]
On these graphs, you can see that...
@bold{Summary:} You have just...
@subsection{Exploring The Structure}
ToDo: describe how apache2 is implemented. apache2 sets attributes and calls a cookbook from Supermarket.
ToDo: descibe how apachebench is implemented. It calls a custom emulab-apachebench cookbook.
ToDo: describe the most interesting features in emulab-apachebench.
ToDo: point out that many Chef resources are available for common administrative needs. Point to the
@link["https://docs.chef.io/resources.html#resources"]{list of supported Chef resources}.
@section{Final Remarks about Chef}
ToDo: powerful and flexible; allows leveraging community-developed infrastructure code; promotes repeatability and reuse of
components and configurations.
ToDo: The demonstrated profile streamlines the process of creating instances of Chef...
@section{Terminating the Experiment}
Resources that you hold in @(tb) are real, physical machines and are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment