EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

AF

iRule Apology Refresh

iRule Apology Refresh

LAB: Configure iRule that displays an apology page when a pool is no longer available. This apology page will refresh every 15 sec

Topology:

Solution:  

Create three different Pool

  • Pool 1: 172.16.10.129 : Port : All Services
  • Pool 2: 172.16.10.130 : Port : All Services
  • Pool 3: 172.16.10.131 : Port : All Services

Refer below figure to configure three pools.

Configure iRule

 Go to Local Traffic | iRule | Create iRule | Name apology_refresh

Configure below iRule as shown in below figure and Update.

Here, the iRule says that if active member of pool is less than 1, then redirect to Apology page showing the content configured in iRule.

Now Go to Local Traffic | Virtual Server | Create New Virtual Server Use Destination IP 10.10.10.108 and under Service Port 80, Select All HTTP

Under iRule: Select apology_refresh, Select HTTP Profile http. Select Pool http_pool


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.