0% found this document useful (0 votes)
5 views

Arti 26

arti_26

Uploaded by

vidit mehta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Arti 26

arti_26

Uploaded by

vidit mehta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

VDOM Labs 3-7

Lab 11.4 – Pool Selection Based on Client operating System


Objectives:
 Estimated time for completion: 20 minutes

Use an iRule to Process Requests Based on Client operating System


1. We are going to use below resources to perform this Practical
a. Virtual Server  vs_http

Confirm traffic behavior before iRule


2. Remove any persistence profiles and pool that are on vs_http.
3. Reset the statistics for vs_http your BIG-IP system.
4. Open a browser session to http://10.10.X.100, hard-refresh the screen several times, and ensure
that you are not being redirected to any pool member. You should consistently see the request
time out page.

Create an iRule for Client IP Address Checking


5. Create an iRule called Rule_Operating_Sys

Configuration utility
Local Traffic » iRules then click Create
Properties section
Name Rule_Operating_Sys

when HTTP_REQUEST {
if { [HTTP::header User-Agent] contains "iPad" } {
pool pool1 }
Definition elseif { [HTTP::header User-Agent] contains "Android" } {
pool pool2 }
else {
pool pool3 }
}

When complete, click Finished

8 VDOM Labs www.vdomlabs.com


11-8 Administering BIG-IP v11

3-7
VDOM Labs 3-7

6. Assign the iRule with VIP

Configuration Utility

Local Traffic » Virtual Servers : Virtual Server List, then select vs_http

Resources tab iRules section, click Manage


Move _sys_https_redirect from Enabled Column
to Available Column

iRule And then

Move Rule_Operating_Sys from the Available


column to the Enabled column

When complete, click Finished

How to Change your Operating System

7. Open Chrome Browser, click on Extension and then click on use User-Agent Switcher for
Chrome. As shown below.

8. Now select the required Operating system. As shown below.

9 VDOM Labs www.vdomlabs.com


Administering BIG-IP v11 11-9

3-7
VDOM Labs 3-7

9. Select IOS and then iPad, similarly you can choose other Operating System.

Verify behavior through statistics


10. Now try browsing http://10.10.X.100. Which pool did you connect to and why? Which node
did you connect to?
11. Now Change the setting in Browser from iPad to Android  Android KitKat
12. Open a browser session to http://10.10.X.100. Which pool did you connect to and why? Which
node did you connect to?
13. Now Change the setting in Browser from Android to Chrome  default
14. Open a browser session to http://10.10.X.100. Which pool did you connect to and why? Which
node did you connect to?

10 VDOM Labs www.vdomlabs.com


11-10 Administering BIG-IP v11

3-7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy