Edge Load Balancing: Data Center
Once you set up the Edge Load Balancing: Origin Definition behavior for your Edge Load Balancing rule, configure this behavior for each data center or cloud service provider in your Edge Load Balancing configuration.
By default, the Edge Load Balancing rule includes two data center behaviors.
Determine the failover rules for Edge Load Balancing
For Edge Load Balancing, when you enable failover, you have to define a separate failover rule for each retry attempt that applies to the data center.
Once you determine the rules for a particular data center, add them to the appropriate Edge Load Balancing: Data Center behavior.
How to
Answer these questions to determine how to configure your Edge Load Balancing failover rules.
-
General failover questions
-
What are the failover requirements?
-
What are the hostnames and IP/VIP addresses of each data center?
-
For each data center, what should happen when it fails?
-
What should happen if the next data center fails?
-
-
Failover rule questions
-
What is the IP (or virtual IP) address of the origin data center?
-
When, in number order, should this rule be attempted? (This is also known as the retry count).
-
What is the origin hostname of the failed data center?
-
What is the hostname of the data center to failover to?
-
If applicable, what is the retry request path for this rule?
-
Is the retry request path an absolute path?
-
Override the failed data center?
-
See the GTM documentation for additional information about the failover questions.
Before you begin
-
In the Global Traffic Management (GTM) application, complete the domain and traffic target configurations. (See the GTM documentation.)
-
In Property Manager, select your property and in the Origin Server behavior, change the Origin Type to Edge Load Balancing Origin.
-
Add the Edge Load Balancing rule template to the property version:
-
In the Property Configuration Settings section, click Add Rule.
-
Select the Edge Load Balancing rule template.
-
-
Configure the Edge Load Balancing: Origin Definition behavior.
-
Determine which data centers and cloud providers to include in your Edge Load Balancing configuration.
-
Determine the failover rules for each data center and cloud provider in your configuration.
Features and options
General Fields
Field | What it does |
---|---|
Origin ID | Enter the Origin ID you used in the Edge Load Balancing: Origin Definition behavior associated with this data center. |
Name | Enter a meaningful description for this data center. Note: This name is for reference only and doesn't impact operations. |
Hostname | Enter the hostname for this data center. The entry in this field should match the one you used when setting up the traffic targets in GTM. To verify the hostname, open GTM and access your GTM domain. The property is listed at the top of the Property tab. |
Session Persistence Cookie Value | If using session persistence, enter the value of the session persistence cookie named in the Edge Load Balancing: Origin Definition behavior. |
Failover Rule Fields (Optional)
Field | What it does |
---|---|
Enabled | Check this field to enable advanced failover for this configuration. Most Edge Load Balancing configurations use advanced failover. For more information about failover rules for Edge Load Balancing, see Determine the failover rules for Edge Load Balancing. |
Data Center IP Address | Enter the IP address for this data center. |
On Retry | Shows the order in which the failover rules are applied, with 1 being the first rule. If you need to change the order of the rules, you can drag and drop the rules to reflect the new order. |
Fail Over to Hostname | Enter the hostname of the data center to fail over to. |
Modify Request | Select to enter override and path information for this failover rule. |
Override Hostname | Enable to override the hostname in the request with the hostname of the failover data center. |
Path | Enter the path to use when forwarding the request. For load balancing, you typically want to use the root path (/ ).However, if you are forwarding to a site-down page, enter the actual path, minus the domain. |
Absolute Path | Select if the Path entry is an absolute (full) path to a specific object, like a site-down page. If you don't enable this field, the entry in the Path field is appended to the incoming request path. |
Updated almost 2 years ago