
Hybrid Cloud Application Architecture
F5
®
Deployment Guide 24
Creating the pool
To create the pool, use the procedure Creating the pool, on page 13. Give
the pool a unique name. In our example we used petshop_http.
Important: Do NOT add any members to this pool. After Step 7, click the
Finished button.
Creating the profiles
To create the profiles, use the following procedures. Note that we configure
an new Statistics Profile.
• Creating an HTTP profile, on page 15
• Creating the TCP profile, on page 15
• Optional: Creating persistence profile, on page 16
• Creating a OneConnect profile, on page 17
Creating the Statistics profile
In this procedure, we create a Statistics profile. In our deployment scenario
there are two distinct scaling actions that take place and are initiated by our
workflow process according to our established business rules. We define the
vertical scaling action as an event that our workflow process executes to
initially activate and begin consuming public cloud resources. We define the
horizontal scaling action as an event that our workflow process executes to
deploy additional application capacity in the public cloud. These state
changes and capacity operations are affected using the VMware vCloud API
and the F5 iControl API.
The two rules governing our infrastructure operations are:
1. When 40% of the orders confirmed in the system over a one minute
period exceed 15ms of processing time activate public cloud
resources.
2. vApp systems running in the public cloud shall accept a maximum
number of 30 connections at any given time.
In measuring application response time, we build a histogram using a
Statistics profile and an iRule, then our workflow process periodically
retrieves the values using iControl. The Statistics profile is composed of
fields for response time ranges, each with a counter in it. The rages are
<5ms, 5-7ms, 7-12ms, 12-15ms, and >15ms. The iRule to appropriately
increment these counters according to the order confirmation page latency is
in the following procedure.
You must follow this procedure exactly as described below, including all
names and fields. If you do not, the iRule you create in the following section
will not work correctly.
Commenti su questo manuale