
Hybrid Cloud Application Architecture
F5
®
Deployment Guide 42
cloudBurstingAction() function
Steps in this section define the actions taken to achieve a cloud bursted state.
The specific vApps and infrastructure components are determined and
powered on.
1. Get the Reference to the vApp (This has two VM configured for Pet
Store Application and vFabric SQLFire Infrastructure)
2. Get list of CHild VM(s)
3. Power on the vFabric SQLFire Infrastructure VM first.
4. Wait for the above VM to power on and boot (approximate time of
wait is 45-50 sec).
5. Power on the Pet Store VM.
6. Wait for the 'Power On' Task to complete.
scaleInAction() function for resources in the public cloud
Once resources in the public cloud have been activated, they are monitored
to determine if the currently allocated resource quantity is sufficient for the
current application load. If the currently deployed resources exceed the
number required, determine the best resource to release and then
de-provision it.
1. Read configuration parameters and threshold values. These include
• vCloud Endpoint in Public Cloud, Public Cloud deployment
details e.g. Organization Name, vDC Name
• LTM Configuration details in Private and Public cloud. e.g.
iControl URL, Virtual Server Name etc.
• Threshold definitions.
Two main thresholds used for scale out operations are:
Total Node Connections this threshold defines total number of connections
per node that should be dropped to in public cloud before the scale in
operation can happen.
time This threshold indicates that the total number of connections for the
node must drop for at least this duration contiguously to trigger the scale in
operation.
2. wait till ReadyToScaleIn() is TRUE
if(readyToScaleIn is TRUE) {
perfrom ScaleIn();
}
Commenti su questo manuale