• No results found

Lab Guide.www.CertLearning.com

N/A
N/A
Protected

Academic year: 2021

Share "Lab Guide.www.CertLearning.com"

Copied!
108
0
0

Loading.... (view fulltext now)

Full text

(1)

F5 Networks Training

BIG-IP

®

LTM V10 Essentials

Web-Based Training Lab Guide

(2)

P-2 Preface

BIG-IP

®

LTM V10 Essentials

Web-based Training Student Lab Guide

Third Printing December 2010

This Lab Guide was written for BIG-IP® LTM version 10.2.0. The lecture portions of the LTM Essentials web-based training

were written for version 10.0.1. Because F5 feels it is important to perform the hands-on labs on a current version of BIG-IP, the Lab Guide is updated more frequently than the lecture portions. Most of the concepts discussed in the lecture portion and lab steps in the lab guide apply to previous versions of BIG-IP LTM.

© 2010, F5 Networks, Inc. All rights reserved.

Support and Contact Information

Obtaining Technical Support

Web tech.f5.com (Ask F5)

Phone (206) 272-6888

Email (support issues) [email protected]

Email (suggestions) [email protected] Contacting F5 Networks

Web www.f5.com

Email [email protected] & [email protected]

F5 Networks, Inc. F5 Networks, Ltd. F5 Networks, Inc. F5 Networks, Inc.

Corporate Office United Kingdom Asia Pacific Japan

401 Elliott Avenue West Chertsey Gate West 5 Temasek Boulevard Akasaka Garden City 19F Seattle, Washington 98119 Chertsey Surrey KT16 8AP #08-01/02 Suntec Tower 5 4-15-1 Akasaka, Minato-ku

T (888) 88BIG-IP United Kingdom Singapore, 038985 Tokyo 107-0052 Japan

T (206) 272-5555 T (44) 0 1932 582-000 T (65) 6533-6103 T (81) 3 5114-3200 F (206) 272-5557 F (44) 0 1932 582-001 F (65) 6533-6106 F (81) 3 5114-3201

(3)

Preface P-3

Legal Notices

Copyright

Copyright 2010, F5 Networks, Inc. All rights reserved.

F5 Networks, Inc. (F5) believes the information it furnishes to be accurate and reliable. However, F5 assumes no

responsibility for the use of this information, nor any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent, copyright, or other intellectual property right of F5 except as specifically described by applicable user licenses. F5 reserves the right to change specifications at any time without notice.

Trademarks

F5, F5 Networks, the F5 logo, BIG-IP, 3-DNS, Acopia, Acopia Networks, Application Accelerator, Ask F5, Application Security Manager, ASM, ARX, Data Guard, Enterprise Manager, EM, FirePass, FreedomFabric, Global Traffic Manager, GTM, iControl, Intelligent Browser Referencing, Internet Control Architecture, IP Application Switch, iRules, Link Controller, LC, Local Traffic Manager, LTM, Message Security Module, MSM, NetCelera, OneConnect, Packet Velocity, Secure Access Manager, SAM, SSL Accelerator, SYN Check, Traffic Management Operating System, TMOS,

TrafficShield, Transparent Data Reduction, uRoam, VIPRION, WANJet, WebAccelerator, and ZoneRunner are trademarks or service marks of F5 Networks, Inc., in the U.S. and other countries, and may not be used without F5's express written consent.

Patents

This product protected by U.S. Patent[s] 6,374,300; 6,473,802; 6,970,933; 7,051,126; 7,102,996; 7,146,354; 7,197,661; 7,206,282; 7,287,084. Other patents pending.

Export Regulation Notice

This product may include cryptographic software. Under the Export Administration Act, the United States government may consider it a criminal offense to export this product from the United States.

RF Interference Warning

This is a Class A product. In a domestic environment this product may cause radio interference, in which case the user may be required to take adequate measures.

FCC Compliance

This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This unit generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user, at his own expense, will be required to take whatever measures may be required to correct the interference.

Any modifications to this device, unless expressly approved by the manufacturer, can void the user's authority to operate this equipment under part 15 of the FCC rules.

Canadian Regulatory Compliance

This Class A digital apparatus complies with Canadian ICES-003.

Standards Compliance

This product conforms to the IEC, European Union, ANSI/UL and Canadian CSA standards applicable to Information Technology products at the time of manufacture.

(4)
(5)

Table of Contents

Lab Instructions: ... Lab-1

Connecting to the F5 Training Lab Environment ... Lab-1 The F5 Training Lab Network ... Lab-3 F5 Training Lab limitations ... Lab-4

Lab 1: Initial Setup ... 1-5

Lab – Setup Utility ... 1-6

Lab – Configuration Utility ... 1-9

Lab – Configuration Backup ... 1-11

Lab 2: Traffic Processing ... 2-13

Lab – Virtual Servers - Pools ... 2-14 Lab – Network Map ... 2-18

Lab 3: Load Balancing ... 3-19

Labs – Ratio Load Balancing ... 3-20 Labs – Priority Group Activation ... 3-21

Lab 4: Monitors ... 4-23

Lab – Monitors for Nodes ... 4-23 Lab – Monitors for Pools and Members Lab #1 and 2 ... 4-26

Lab 5: Profiles ... 5-31

No Lab for this Course Module ... 5-31

Lab 6: Persistence ... 6-33

Lab – Source Address Persistence ... 6-34 Lab – Cookie Persistence ... 6-36 Lab – Disabled Members ... 6-39

Lab 7: SSL Termination ... 7-41

(6)

Toc-2 Table of Contents

Lab 8: NATs and SNATs ... 8-45

Lab – NAT Lab ... 8-46 Labs – SNAT Labs ... 8-47

Lab 9: iRules ... 9-49

Labs – iRules Lab #1 ... 9-50 Labs – iRules Lab #2 ... 9-53

Lab 10: Redundant Pair setup ... 10-55

Lab –Redundant Pair Setup ... 10-55 Lab – Setup of BIG-IP #2 ... 10-57 Lab – Synchronization ... 10-58

Lab 11: High Availability ... 11-59

Lab – Network Failover ... 11-61 Lab – Connection Mirroring ... 11-63 Lab – Persistence Mirroring ... 11-65

Configuration Lab Project ... LP-67

Lab –Configuration Project ... LP-68

Appendix A – F5 Networks Products ... A-1

F5 Networks Product Suite ... A-1

Appendix B – Additional Topics ... B-1

F5 Networks Support and Documentation ... B-1 Installation Information ... B-7

Appendix C – Other F5 Networks Training Courses ... C-1

F5 Networks Instructor Led Courses ... C-1

(7)

Introduction

Welcome to the BIG-IP LTM Essentials Web-Based Training Course Student Lab Guide. The purpose of the BIG-IP LTM Essentials course is to introduce the basic information you need to set up and operate the BIG-IP Local Traffic Manager (LTM) from F5 Networks. The purpose of this Lab Guide is to provide all the

information and exercises you need to work directly with a BIG-IP LTM system and solidify the concepts you have learned in the associated Web-based training modules.

The hands-on lab exercises included in this course are critically important to your learning. These exercises are especially helpful if you can do them as soon as possible after completing the associated training module. Therefore, we recommend the following approach when taking this course:

• Before beginning a module, register for lab time.

• Work through the training module as close to the start of your lab time as possible.

• After completing the training module, move into the lab exercises. Be sure to complete the entire exercise, including the review questions at the end.

There are eleven modules in this course, each one taking approximately thirty minutes to complete. To complete the entire course, including modules and labs, will take you about fourteen hours.

In addition to the lab exercises, this guide contains other useful information.

• Appendix A provides some background information on F5 Networks and its products. • Appendix B explains the various customer support resources that are available. We highly

recommend that you review this listing. You may find some of these resources to be very valuable while working your way through this course.

• Appendix C contains an informative list of other training courses available from F5 Global Training Services. After completing this introductory course, you may want to enroll in one or more of these classes to gain a deeper understanding of BIG-IP LTM.

(8)
(9)

Module 1 Lab – Initial Setup 1-1

Lab Instructions Lab-1

Connecting to the F5 Training Lab Environment

PLEASE NOTE: This lab is not a test environment and is strictly for use by students taking the BIG-IP LTM Essentials Web-Based Training (WBT) course. Your user ID will be time limited and you will be cut off after so many hours of connect time.

1. After logging in to F5 University, select the link for F5 Training Lab as shown to the right.

2. You should now be at the Lab web page where you downloaded this Lab Guide.

3. Select the link for Lab registration.

4. When prompted, enter your email, first and last names and then Launch Lab. You will be placed into your own F5 Training Lab environment.

5. Your lab environment will take a couple minutes to initialize. Notice the message at top of screen that says “Your environment is X% ready”.

6. The first time you connect you will need to install the Cloudshare plug-in and may need to enable pop-ups for it to install. This is a first-time only install.

(10)

1-2 Module 1 Lab – Initial Setup

Lab-2 Lab Instructions

1. Each lab starts assuming an un-configured BIG-IP and then instructs you to restore a UCS backup file that was captured at the end of the previous lab.

2. If during your lab time you wish to revert back to this un-configured state you may do so by selecting Actions and then Revert Now.

3. Rather than restoring UCS files at the beginning of each new lab you may also work straight through all the labs. From an instructional angle, F5 recommends doing the Module WBT, then the lab for that Module. Then the next Module WBT and its corresponding lab.

4. Also, you can only enter the F5 Training Lab environment from the links within F5 University (ie. the graphic to the right).

5. When ready to leave the F5 Training Lab Environment, use the Logout button in the upper right corner of the screen shown below.

(11)

Module 1 Lab – Initial Setup 1-3

Lab Instructions Lab-3

The F5 Training Lab Network

1. You will be connected to a Windows virtual machine that will be used to administer your BIG-IP and as the client machine to drive traffic through BIG-IP LTM.

2. Your Windows virtual machine has both a 192.168.1.30/24 and a 10.10.1.30/16 IP Address configured for the lab network shown below.

3. There is already a Management IP Address set on your BIG-IP to 192.168.1.245/24, and we will setup the other 10.10 External and 172.16 Internal IP Addresses in Lab #1.

4. There are also three servers configured at 172.16.20.1, 172.16.20.2 and 172.16.20.3. You will not be able to access these servers directly from your Windows client machine but these are the servers to which we will load balance traffic starting in Lab #2.

(12)

1-4 Module 1 Lab – Initial Setup

Lab-4 Lab Instructions

F5 Training Lab limitations

1. The F5 Training Lab is running in a virtual lab environment and therefore does not have all hardware features of BIG-IP available. For instance, you will not have a serial console connection to your BIG-IP.

2. This lab environment only supports BIG-IP LTM, no other F5 products or BIG-IP modules like GTM or ASM.

3. This lab environment has only been tested with the lab steps in this lab guide. If you do not follow the steps in this lab guide, results will vary.

(13)

Module 1 Lab – Initial Setup 1-5

Module 1 Lab – Initial Setup 1-5

Module 1 Lab – Initial Setup and Access

Initial Setup Labs

Objective:

ƒ

Perform initial setup of the BIG-IP LTM System

ƒ

Explore the Web Configuration Utility

ƒ

Make a backup of the BIG-IP System

ƒ

Estimated Time: 30 minutes

(14)

1-6 Module 1 Lab – Initial Setup

1-6 Module 1 Lab – Initial Setup

Setup Utility Lab

Objective:

ƒ

Run the Setup Utility and to configure system access parameters

ƒ

Estimated time for completion: 20 minutes

Lab Requirements:

ƒ

Reachable IP address on the management port

ƒ

Valid License for the BIG-IP LTM Systems

ƒ

Administration system with an IP address on the BIG-IP LTM’s network

Current BIG-IP Settings

At this point, your BIG-IP system should already be licensed and the management port address still set to the default IP Address of 192.168.1.245/24.

PC Configuration

Your PC is configured with two IP Addresses in order to reach both the Management and client networks once they are configured on your BIG-IP.

PC Mgmt IP Address 192.168.1.30/24

PC Client IP Address 10.10.1.30/16.

Access the BIG-IP LTM System

1. Open a browser to https://192.168.1.245.

2. When prompted, accept the SSL certificate.

3. When prompted, login as admin with a password of admin.

Licensing Steps

1. You should first see the Setup Utility’s Welcome screen. Click Next.

2. Normally, you would need to license your BIG-IP System. For these labs, the systems should already be licensed. Review the features that are licensed and then click Next.

Provisioning Steps

1. The second screen should be Provisioning. Verify that Local Traffic (LTM) is set to

(15)

Module 1 Lab – Initial Setup 1-7

Module 1 Lab – Initial Setup 1-7

Setup Utility

1. Within the General Properties section, specify the following:

IP Address: 192.168.1.245

Network Mask: 255.255.255.0

Management Route: Leave blank

Host Name: bigip1.f5trn.com

Host IP Address: Use Management Port IP Address High Availability: Redundant Pair

Unit ID: 1

Time Zone: America/Los Angeles

2. Within the User Administration section, specify the following: Root Account Password: default

Root Account Confirm: default

Admin Account Password: admin

Admin Account Confirm: admin

SSH Access: Enabled

SSH IP Allow: * All Addresses

3. Click Next.

NOTE: When you type in the admin password field you will be required to log back into the system whether the password has been changed or not.

Once this first step of administrative access has been configured, you can configure self-IP addresses and VLANs. We will choose the Basic Network Configuration option, which will step through creating two VLANs, internal and external, and their IP addresses, and interfaces. Each self IP will be assigned Port Lockdown settings. Port lockdown limits administrative access to the self IP addresses. Because we have configured the system as a redundant pair, Allow Default should be selected for Port Lockdown on self IP’s of the internal VLAN to ensure the systems will be able to communicate.

Because we have configured as a redundant pair, the administrator will also be prompted for a partner address and a floating IP address for each VLAN. Generally, the partner address should be an address on the internal VLAN to minimize security concerns. Floating addresses are shared between the systems and used by the system that is currently active. These concepts are discussed in the

(16)

1-8 Module 1 Lab – Initial Setup

1-8 Module 1 Lab – Initial Setup

4. Select the Basic Network Configuration option by clicking Next, then specify the following:

Internal Network Settings

Self-IP Address 172.16.1.31

Self-IP Netmask 255.255.0.0

Self-IP Port Lockdown Allow Default Floating IP Address 172.16.1.33

Floating IP Port Lockdown Allow Default

Failover Peer 172.16.1.32

Internal VLAN Configuration

VLAN Name internal (Read Only)

VLAN Tag ID Auto

VLAN Interfaces Untagged – Port 1.2

5. Click the Next button to configure the External VLAN, then specify the following:

External Network Settings

Self-IP Address 10.10.1.31

Self-IP Netmask 255.255.0.0

Self-IP Port Lockdown Allow 443

Default Gateway Leave blank

Floating IP Address 10.10.1.33

Floating IP Port Lockdown Allow 443

External VLAN Configuration

VLAN Name external (Read only)

VLAN Tag ID Auto

VLAN Interfaces Untagged – Port 1.1

6. Then click Finished.

7. Since we previously completed Licensing and Provisioning, we should reboot the BIG-IP so that our Licensing and Provisioning changes take effect. Select System / Configuration and click the Reboot box under Operations.

Once the Basic Network Configuration is complete, the Welcome screen from the Overview section appears. The administrator can choose to change many presentation options, enable SNMP including downloading the MIB, access F5’s knowledge database (Ask F5) or re-run the setup utility to change addresses or access methods.

(17)

Module 1 Lab – Initial Setup 1-9

Module 1 Lab – Initial Setup 1-9

Configuration Utility Lab

Objective:

ƒ

Access both the Web Configuration utility and Command Line (SSH) utility for BIG-IP LTM system and get familiar with the interface

ƒ

Estimated time for completion: 5 minutes

Lab Requirements:

ƒ

External IP address of the BIG-IP LTM system

ƒ

User ID and password of the BIG-IP LTM system’s Web Configuration Utility

ƒ

User ID and password of the BIG-IP LTM system’s Command Line Interface

PC Configuration

Your PC is configured with two IP Addresses in order to reach both the Management and client networks once they are configured on your BIG-IP.

Mgmt IP Address 192.168.1.30/24

Client IP Address 10.10.1.30/16.

The Web Configuration Utility

1. Open a browser window to https://10.10.1.31 to connect to the Web Configuration Utility. 2. Enter a user ID and password of admin / admin that you added during Setup.

3. Note options available on the Welcome page.

4. Click on the Network section, then note what is set for the Interfaces, Self IPs, and VLANs options.

Command Line access (SSH)

1. Open an SSH session using Putty and attempt to connect the external IP Address of your BIG-IP System (10.10.1.31).

2. Notice that you are not able to access your BIG-IP LTM. This is because Port Lockdown for the external self-IP addresses defaults to Allow 443 only. Access to port 22 is prevented. 3. From the web GUI select Network / Self IPs and then click the 10.10.1.31 self IP Address. 4. Under Port Lockdown / Custom List, click the Port radio button, enter 22 as the port, click

Add, and then click Update.

5. Once port 22 has been added, you should be able to successfully use SSH to attach to your BIG-IP System. You may be prompted to accept the SSH key, do so. When the logon appears, enter root as the user ID and default as the password that you added during Setup. 6. If prompted for terminal type, select vt100.

(18)

1-10 Module 1 Lab – Initial Setup

1-10 Module 1 Lab – Initial Setup

What information is listed here? 7. Enter the command: b vlan show

What information is listed here?

8. Enter the command: b interface show What information is listed here?

Verifying User Access

1. Logout of your SSH session.

2. Open a new SSH session but login and try the admin user. By default, you should not be able to get in as admin.

3. From the Web Configuration Utility select System / Users and then select the link for the

admin User Name. Change the Terminal Access to Advanced Shell access, click Update,

and then test SSH access with the admin user ID again.

4. Open a new browser window but try to login using the root user ID. By default, you should not be able to get into the Web Configuration utility with the root user ID.

(19)

Module 1 Lab – Initial Setup 1-11

Module 1 Lab – Initial Setup 1-11

Configuration Backup Lab

Objective:

ƒ

Create a backup of the BIG-IP System on both the BIG-IP and your desktop.

ƒ

Estimated time for completion: 5 minutes

Lab Requirements:

ƒ

External IP address of the BIG-IP LTM system

Saving a configuration

1. From the Navigation pane, click the System section. 2. Select Archives, then click Create.

3. Within the General Properties section, specify the following: File Name Module1_End

Encryption Disabled Private Keys Include

Version BIG-IP Version (read only) 4. When complete, click Finished.

5. When complete, an OK button will appear. Click OK or select Archives again.

6. Select Module1_End.ucs (the name is a link) and notice you can click Download to save a copy to your desktop. The Download option does not work in this F5 Training Lab

environment but will in yours.

7. If desired, the files contents can be viewed from the command line of your BIG-IP System. From an SSH session, perform the following:

a. Make a new directory for this lab: mkdir /var/tmp/test/ b. Change to the new directory: cd /var/tmp/test/

c. Copy the backup to the new directory:

cp /var/local/ucs/Module1_End.ucs Module1_End.ucs .

d. Decompress the file and extract the file: tar -xvzf Module1_End.ucs. The resulting files show the directory structure and all files stored in the *.ucs file. Individual files can be viewed with cat, tail, more and other tools.

(20)

1-12 Module 1 Lab – Initial Setup

(21)

Module 2 Lab – Processing Traffic 2-13

Module 2 Lab – Processing Traffic 2-13

Module 2 Lab – Processing Traffic

Objectives:

ƒ

Configure pools for servers

ƒ

Configure virtual servers and associate them with a pool

ƒ

Verify functionality

ƒ

Estimated time for completion: 20 minutes

Lab Requirements:

ƒ

IP and port addresses available for use on BIG-IP LTM that can be reached by the client systems

ƒ

Actual servers with appropriate routes to return traffic through each BIG-IP LTM system

Restoring a Configuration from previous Lab

1. After connecting to F5 Training Lab, open a browser to https://192.168.1.245.

2. When prompted, login as admin with a password of admin. 3. If you have an existing lab environment, skip to step 10 below.

4. If starting with a new lab environment, on the Welcome / Setup Utility screen click Next. 5. On both the License and Resource Provisioning screens click Next.

6. On the Setup Utility / Platform screen enter a Host Name of bigip1.f5trn.com and change High Availability setting to Redundant Pair.

7. Enter a Root Account password of default twice and an Admin Account password of admin twice and then click Next.

8. You will be prompted to login again because of changing the Admin password. 9. After logging in, click the Finished button under Advanced Network Configuration.

10. From the Navigation pane, expand the System section, then select Archives.

11. Click the Module2_Lab_begin.ucs archive and then click the Restore button. An Ok button appears to acknowledge the restore has started. It will take a minute, but watch this screen and you should see messages that your restore completed successfully. You might receive one error message but that is ok and is due to the F5 Training Lab environment only. 12. Because of the state of BIG-IP, we need to reboot so that our Licensing and Provisioning

takes effect. Select System / Configuration and click the Reboot box under Operations. 13. After Restore and Reboot, your configuration should be as if you had just finished all Module

1 labs. Please verify this is the case. Your configuration should be licensed, include 2 VLAN’s (Network / VLANs) named external and internal and have 4 self IP’s (Network / Self IPs) at 10.10.1.31, 10.10.1.33, 172.16.1.31 and 172.16.1.33 configured.

(22)

2-14 Module 2 Lab – Processing Traffic

2-14 Module 2 Lab – Processing Traffic

Creating an HTTP Pool and Virtual Server Lab

Create a Pool

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Pools and then the Create button or hover your mouse over Pools and then click the sign on the flyout menu.

3. In the Configuration section, enter the following: Configuration Level Basic

Name http_pool

Health Monitors Leave Blank 4. In the Resources section, enter the following:

Load Balancing Method Round Robin

Priority Group Activation Disabled New Members

For each, enter Address and Service Port and press Add

172.16.20.1 port 80 172.16.20.2 port 80 172.16.20.3 port 80 5. When complete, click Finished.

Create a Virtual Server that uses this pool

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Virtual Servers and click Create, or hover your mouse over Virtual Servers and then click the sign on the flyout menu.

3. In the General Properties section, enter the following:

Name vs_http

Destination 10.10.1.100

Service Port 80 (or HTTP)

State Enabled 4. In the Configuration section, accept all defaults.

5. In the Resources section, enter the following:

iRules Leave Blank

HTTP Class Profiles Leave Blank

Default Pool http_pool

Default Persistence Profile None Fallback Persistence Profile None

(23)

Module 2 Lab – Processing Traffic 2-15

Module 2 Lab – Processing Traffic 2-15

Verification through Statistics

1. Open a new browser session on your PC and point it to the virtual server at

http://10.10.1.100. Note the results and refresh the screen 5-10 times. You may need to

refresh using the Ctrl and F5 keys to force the browser not to use its cache. 2. View statistics and configuration information through:

a. Overview Section / Statistics / Local Traffic Tab

b. From the Statistics Type drop down list, choose Virtual Servers c. From the Statistics Type drop down list, choose Pools

3. Did traffic go to each pool member?

4. Did each pool member manage the same number of connections? 5. Did each pool member manage the same number of bytes?

6. How many TCP connections are opened each time you refresh the browser page?

Expected Results and Troubleshooting

ƒ

Expected result: 5 connections per refresh distribute evenly among the pool members. The webpage consists of the index.html and 4 objects. The web servers have keep-alives disabled.

ƒ

If not, verify the following:

• Is traffic getting to the virtual server?

Œ Does 10.10.1.100 appear in your workstation’s ARP table? Type arp -a at the workstation’s command prompt. Œ Does the Statistics page show traffic received by vs_http?

Verify that the address and port are correctly configured

ƒ

Is traffic getting to the pool members?

• If no traffic is going TO the pool members:

Œ Verify http_pool has been assigned to vs_http Œ Verify the correct members address / port • If traffic goes TO pool member, but does not return:

Œ Verify that self IP address 172.16.1.33 is configured on port 1.2 (this address is the pool members’ default route.)

(24)

2-16 Module 2 Lab – Processing Traffic

2-16 Module 2 Lab – Processing Traffic

Creating an HTTPS Virtual Server and Pool Lab

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Virtual Servers and click Create or leave your mouse over Virtual Servers and then click the sign on the flyout menu.

3. In the General Properties Section, enter the following:

Name vs_https

Destination 10.10.1.100

Service Port 443 (or HTTPS)

State Enabled 4. In the Configuration Section, accept all defaults.

5. Since we “forgot” to create the pool first, navigate to the Resources Section and click the “+” character to the right of Default Pool.

6. In the Configuration section of the new pool, enter the following: Configuration Basic

Name https_pool

Health Monitors Leave Blank 7. In the Resources section, enter the following:

Load Balancing Method Round Robin

Priority Group Activation Disabled New Members

For each, enter Address and Service Port and press Add

172.16.20.1 port 443 172.16.20.2 port 443 172.16.20.3 port 443

NOTE: Since the member’s IP addresses are the same, you could select Node List and choose the member’s IP addresses from the drop-down list.

8. When the pool is complete, press Finished.

9. In the Virtual Server’s Resources section, verify the following settings:

iRules Leave Blank

HTTP Class Profiles Leave Blank

Default Pool https_pool

Default Persistence Profile None Fallback Persistence Profile None

(25)

Module 2 Lab – Processing Traffic 2-17

Module 2 Lab – Processing Traffic 2-17

Verification through Statistics

1. Open a new browser session on your PC and point it to the virtual server at

https://10.10.1.100. Note the results and refresh the screen 5-10 times.

2. View statistics and configuration information through: a. Overview Section / Statistics / Local Traffic Tab

b. From the Statistics Type drop down list, choose Virtual Servers c. From the Statistics Type drop down list, choose Pools

3. Did traffic go to each pool member?

4. Did each pool member manage the same number of connections? 5. Did each pool member manage the same number of bytes?

6. How many TCP connections are opened each time you refresh the browser page?

Statistics using the Command Line

1. Open an SSH client window using Putty, enter the external IP Address of your BIG-IP LTM System (10.10.1.31) and make sure the protocol is set to SSH.

2. When prompted, enter root as the user ID and the password that was added during setup. A password of default was suggested in Lab 1 and set in the Module2_Lab_begin.ucs file. 3. If prompted for terminal type, accept or enter vt100.

4. Enter the command bigtop. This command shows real time information on the virtual servers and pool members that you have configured.

5. View the screen while refreshing your session to either http://10.10.1.100 or

https://10.10.1.100. What does bigtop show? Exit bigtop by pressing the q key.

6. Statistics for pools and virtual servers can be viewed by typing the following: b pool <pool name> show

example: b pool http_pool show

b virtual <virtual name> show

example: b virtual vs_http show

Expected Results and Troubleshooting

ƒ

Expected result: You may see six connections the first time you request the page, (due to the SSL key exchange) but should see five connections per subsequent refresh. The requests should be evenly distributed among the pool members.

ƒ

If not, verify the following:

• Confirm that the virtual server was created. Students often neglect to hit Finish for the virtual server after hitting Finish for the pool.

Œ Local Traffic / Virtual Servers • Is traffic getting to the virtual server?

(26)

2-18 Module 2 Lab – Processing Traffic

2-18 Module 2 Lab – Processing Traffic

Œ Does 10.10.1.100 appear in your workstation’s ARP table? You may need to clear your ARP table before testing to remove the entry from the vs_http virtual server.

Œ Does the Statistics page show traffic received by vs_https? Verify that the address and port are correctly configured. • Is traffic getting to the pool members? Check Pool statistics:

Œ If no traffic is going TO the pool members:

Verify https_pool has been assigned to vs_https Verify the correct members address / port • If traffic goes TO pool member but does not return:

Œ Verify that self IP address 172.16.1.33 is configured on port 1.2 (this address is the pool members default route).

Network Map Lab

View Configuration and Status from Network Map

1. Open a browser session and access https://10.10.1.31. 2. Select Local Traffic / Network Map, then click Show Map.

3. Mouse over both virtual server and Pool objects and notice what information is displayed about that object.

4. Select a Pool member and disable it.

a. From the Navigation pane, expand the Local Traffic section. b. Select Pools.

c. Select http_pool. d. Select Members.

e. Check the box to the left of the chosen member and click the Disable button. 5. Go back to Network Map and notice that status changed to disabled, indicated by a black

square.

6. Re-enable the disabled pool member for later labs.

7. Change the search field to 20.1 and then click Update Map. Notice that all members are still listed, but matches are highlighted.

8. Select System / Preferences and change the Start Screen from Welcome to Network Map. Close your browser session to the admin GUI, and then log back in to https://10.10.1.31 and notice that your default screen is now Network Map.

(27)

Module 3 Lab – Load Balancing 3-19

Module 3 Lab – Load Balancing 3-19

Module 3 Lab – Load Balancing

Objectives:

ƒ

Choose differing load balancing methods and view the resulting behavior

ƒ

Choose differing member priority and ratio values and view the resulting behavior

ƒ

Estimated time for completion: 10 minutes

Lab Requirements:

ƒ

Access to a BIG-IP LTM with at least a pool with two or more working members

Restoring a Configuration from previous Lab

1. After connecting to F5 Training Lab, open a browser to https://192.168.1.245.

2. When prompted, login as admin with a password of admin. 3. If you have an existing lab environment, skip to step 10 below.

4. If starting with a new lab environment, on the Welcome / Setup Utility screen click Next. 5. On both the License and Resource Provisioning screens click Next.

6. On the Setup Utility / Platform screen enter a Host Name of bigip1.f5trn.com and change High Availability setting to Redundant Pair.

7. Enter a Root Account password of default twice and an Admin Account password of admin twice and then click Next.

8. You will be prompted to login again because of changing the Admin password. 9. After logging in, click the Finished button under Advanced Network Configuration.

10. From the Navigation pane, expand the System section, then select Archives.

11. Click the Module3_Lab_begin.ucs archive and then click the Restore button. An Ok button appears to acknowledge the restore has started. It will take a minute, but watch this screen and you should see messages that your restore completed successfully. You might receive one error message but that is ok and is due to the F5 Training Lab environment only. 12. Because of the state of BIG-IP, we need to reboot so that our Licensing and Provisioning

takes effect. Select System / Configuration and click the Reboot box under Operations. 13. After Restore and Reboot, your configuration should be as if you had just finished all Module

2 labs. Please verify this is the case. Your configuration should include two pools named http_pool and https_pool and two virtual servers named vs_http and vs_https. None of the Pools or Pool Members should have Monitors assigned (blue square status).

(28)

3-20 Module 3 Lab – Load Balancing

3-20 Module 3 Lab – Load Balancing

Round Robin Load Balancing Lab

If not zero, reset the Statistics for http_pool

1. From the Navigation pane, expand the Overview section and select Statistics. 2. From the Display options sections, change the Statistics Type to Pools. 3. Select the checkbox adjacent http_pool, and click Reset.

View Results using Round Robin Load Balancing

1. Open a browser session and access http://10.10.1.100.

2. Refresh the screen a few times by pressing Ctrl+F5 (Ctrl+R if using FireFox). 3. Navigate back to the pools statistics page.

4. What are the results? Were the connection requests distributed evenly? 5. Reset the statistics for http_pool.

Ratio member Load Balancing Lab

Configure Member Ratios and Ratio (member) Load Balancing and test.

1. From the Navigation pane, expand the Local Traffic section.

2. Select Pools. 3. Select http_pool. 4. Select Members.

5. Within the Load Balancing section, change the Load Balancing Method to Ratio (member) and click Update.

6. Within the Configuration section of each member, set the ratio values as follows: Member Ratio

172.16.20.1:80 1

172.16.20.2:80 2

172.16.20.3:80 3

7. Open a new browser session and connect to http://10.10.1.100. 8. Refresh the screen 5-10 times by pressing Ctrl-F5.

9. View the pool statistics. What are the results? 10. Reset the statistics for http_pool.

(29)

Module 3 Lab – Load Balancing 3-21

Module 3 Lab – Load Balancing 3-21

Expected Results and Troubleshooting

ƒ

Expected result: Traffic will be distributed to the members with a 1:2:3 ratio.

Configuration reset if continuing to other Module Labs

If you are not going to perform the Priority Group Activation Lab, but want to continue using your existing configuration with other Modules Labs, reset http_pool and members to the following settings:

(30)

3-22 Module 3 Lab – Load Balancing

3-22 Module 3 Lab – Load Balancing

Priority Group Activation Lab

Configure Priority Group Activation

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select http_pool. 4. Select Members.

5. In the Load Balancing section, change the Priority Group Activation setting to Less than …, the number of Available Members to 2, and click Update.

6. Within the Configuration section of each member, set the Priority values as follows:

Member Ratio Priority Group

172.16.20.1:80 1 1

172.16.20.2:80 2 4

172.16.20.3:80 3 4

7. Open a new browser session and connect to http://10.10.1.100. 8. Refresh the screen 5-10 times by pressing Ctrl-F5.

9. View the pool statistics. What are the results? 10. Reset the statistics for http_pool.

11. Disable the member 172.16.20.2:80.

12. Open a new browser session and connect to http://10.10.1.100. 13. Refresh the screen 5-10 times by pressing Ctrl-F5.

14. View the pool statistics. What are the results? 15. Re-enable the member 172.16.20.2:80. 16. Reset the statistics for http_pool.

Expected Results and Troubleshooting

ƒ

In step (9), 172.16.20.1:80 should receive no traffic. The traffic will be distributed to the other members with a 2:3 ratio

ƒ

In step (14), 172.16.20.2:80 should receive no traffic. The traffic will be distributed to the other members with a 1:3 ratio

Configuration reset if continuing to other Module Labs

If you want to continue using your existing configuration with other Modules Labs, reset

http_pool and members to the following settings:

ƒ

Load Balancing: Round Robin

(31)

Module 4 Lab – Monitors 4-23

Module 4 Lab – Monitors 4-23

Module 4 Lab – Monitors

Objective:

ƒ

Associate nodes with monitors

ƒ

Create custom monitors

ƒ

Estimated time for completion: 10 minutes

Lab Requirements:

ƒ

Access to a BIG-IP LTM with at least one pool with two working members

ƒ

Some knowledge of the traffic sent by the members

Restoring a Configuration from previous Lab

1. After connecting to F5 Training Lab, open a browser to https://192.168.1.245.

2. When prompted, login as admin with a password of admin. 3. If you have an existing lab environment, skip to step 10 below.

4. If starting with a new lab environment, on the Welcome / Setup Utility screen click Next. 5. On both the License and Resource Provisioning screens click Next.

6. On the Setup Utility / Platform screen enter a Host Name of bigip1.f5trn.com and change High Availability setting to Redundant Pair.

7. Enter a Root Account password of default twice and an Admin Account password of admin twice and then click Next.

8. You will be prompted to login again because of changing the Admin password. 9. After logging in, click the Finished button under Advanced Network Configuration.

10. From the Navigation pane, expand the System section, then select Archives.

11. Click the Module4_Lab_begin.ucs archive and then click the Restore button. An Ok button appears to acknowledge the restore has started. It will take a minute, but watch this screen and you should see messages that your restore completed successfully. You might receive one error message but that is ok and is due to the F5 Training Lab environment only. 12. Because of the state of BIG-IP, we need to reboot so that our Licensing and Provisioning

takes effect. Select System / Configuration and click the Reboot box under Operations. 13. Your configuration should be as if you had just finished all Module 3 labs. Please verify this

is the case. Your configuration should be licensed and include two Pools named http_pool and https_pool and two Virtual Servers named vs_http and vs_https. None of the Pools or Pool Members should have Monitors assigned (blue square status).

(32)

4-24 Module 4 Lab – Monitors

4-24 Module 4 Lab – Monitors

Monitor for Nodes Lab

Check Current Node States

1. From the Navigation pane, select the Local Traffic section. 2. Select Nodes.

3. What are the nodes’ statuses?

4. Will BIG-IP LTM distribute traffic to nodes that are Unknown?

Assign a Default Monitor to all Nodes

1. From the Navigation pane, expand the Local Traffic section. 2. Select Nodes.

3. Above the list of nodes, select Default Monitor.

4. From the list of Available monitors, select icmp, press the move to the left button (<<), and press Update.

5. Recheck the Node states (either follow directions above or select Node List from the current location).

NOTE: Each time the Node List tab is pressed, the screen will refresh. 6. What are the nodes’ statuses? Was the change immediate?

Create a custom ICMP monitor

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Monitors and then the Create button or leave your mouse over Monitors and then click the sign on the flyout menu.

3. In the General Properties Section, enter the following:

Name my_icmp

Type ICMP

4. In the Configuration Section, enter the following:

Interval 10

Timeout 31

Transparent No 5. When complete, click Finished.

(33)

Module 4 Lab – Monitors 4-25

Module 4 Lab – Monitors 4-25

Assign the custom monitor to selected nodes

1. From the Navigation pane, expand the Local Traffic section. 2. Select Nodes and then select the node at 172.16.20.1.

3. In the Configuration Section, enter the following:

Name Leave Blank

Health Monitors Node Specific

Select Monitors my_icmp in Active column

Availability Requirement

All

Additional Settings Leave as Defaults 4. When complete, click Update.

5. What are the nodes’ statuses?

Disassociate all monitors for selected node

1. From the Navigation pane, expand the Local Traffic section. 2. Select Nodes.

3. Select the node 172.16.20.2.

4. In the Configuration Section, enter the following: Health Monitors None

Additional Settings Leave as Default 5. When complete, press Update.

6. What us the node’s status? Was the change immediate?

Conclusion

At this point, each node is being tested differently. Node 172.16.20.1 has a specific assignment,

my_icmp. Node 172.16.20.2 has no monitor assigned. Node 172.16.20.3 is using the Node Default

monitor, which is currently icmp. This is not a recommended configuration; rather it is used to demonstrate the three ways monitors can be associated with nodes.

(34)

4-26 Module 4 Lab – Monitors

4-26 Module 4 Lab – Monitors

Monitors for Pools and Members Lab #1

Objective:

ƒ

Associate members with monitors

ƒ

Create custom monitors

ƒ

Estimated time for completion: 10 minutes

Check Current Member States

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select http_pool. 4. Select the Members tab.

5. What are the members’ statuses?

6. Will BIG-IP LTM distribute traffic to members that are Unknown?

Assign a Standard Monitor to a Pool

1. Navigate to Local Traffic / Pools / http_pool / Members and note the members’ states. Select the Properties tab.

2. In the Configuration Section, enter the following: Configuration Basic

Health Monitors http

3. When complete, press Update.

4. Recheck the Member states (either follow directions above or select Members from the current location).

NOTE: Each time the Members tab is pressed, the screen will refresh. 5. What are the members’ statuses? Was the change immediate?

Create a New HTTP-based Monitor

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Monitors and then the Create button or leave your mouse over Monitors and then click the sign on the flyout menu.

3. In the General Properties Section, enter the following:

Name my_http

(35)

Module 4 Lab – Monitors 4-27

Module 4 Lab – Monitors 4-27

4. In the Configuration Section, enter the following: Configuration Basic Send String GET /index.html\r\n

Receive String Server

Leave other settings at default

5. When complete, click Finished.

Assign the Custom Monitor to Selected Members

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select http_pool. 4. Select the Members tab.

5. Select the member 172.16.20.2:80.

6. In the Configuration Section, enter the following:

Configuration Advanced

Health Monitors Member Specific

Select Monitors my_http

Leave other settings at default

7. When complete, click Update.

8. What are the members’ statuses? Was there any change?

Disassociate all monitors for selected member

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select the pool http_pool. 4. Select the Members tab.

(36)

4-28 Module 4 Lab – Monitors

4-28 Module 4 Lab – Monitors

6. In the Configuration Section, enter the following: Configuration Level Advanced

Health Monitors None

Leave other settings at default

7. When complete, click Update.

8. What are the members’ statuses? Was the change immediate?

Conclusion

At this point, each member is being tested differently. Member 172.16.20.1:80 is set to inherit from

pool where the pool has http assigned. Member 172.16.20.2:80 has a specific assignment, my_http.

Member 172.16.20.3:80 has no assigned monitor. This configuration is not recommended; rather it is used to demonstrate the three ways monitors can be associated with members.

(37)

Module 4 Lab – Monitors 4-29

Module 4 Lab – Monitors 4-29

Monitors for Pools and Members Lab #2

Objective:

ƒ

Associate members with monitors

ƒ

Create custom monitors

ƒ

Estimated time for completion: 10 minutes

Check Current Member States

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select https_pool, and then select the Members tab. 4. What are the members’ statuses?

Create a New HTTPS-based Monitor

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Monitors and then the Create button or leave your mouse over Monitors and then click the sign on the flyout menu.

3. In the General Properties Section, enter the following:

Name my_https

Type HTTPS Import Settings https

4. In the Configuration Section, enter the following: Configuration Level Basic

Send String GET /index.html\r\n

Receive String Server 2

Leave other settings at default

(38)

4-30 Module 4 Lab – Monitors

4-30 Module 4 Lab – Monitors

Assign the Custom Monitor to a Pool

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools.

3. Select https_pool.

4. In the Configuration Section, enter the following: Configuration Basic Health Monitors my_https

5. When complete, click Update.

6. What are the members’ statuses? Why? Was the change immediate? 7. What is the status of the Virtual Server?

Check Status of Nodes and Members from Network Map

1. From the Navigation pane, expand the Local Traffic section, select the Network Map and click Show Map.

2. Moving the mouse over certain Pool members, notice that the Parent Node state can be different than the Pool member. Why is this happening? Remember that we can and have assigned different monitors to Nodes and Pool Members.

Change the Definition of the Custom Monitor

1. From the Navigation pane, expand the Local Traffic section. 2. Select Monitors.

3. Select my_https.

4. In the Configuration Section, change the Receive String to Server [1-3] 5. When complete, click Update.

6. What is the status of members in https_pool? Was the change immediate?

NOTE: [1-3] is a simple regular expression that matches any single character in the range from 1 to 3.

Configuration reset if continuing to other Module Labs

If you want to continue using your existing configuration with other Modules Labs, make sure all

pool members for both http_pool and https_pool are in one of the following states:

ƒ

Available or Green

(39)

Module 5 Lab – Profiles 5-31

Module 5 Lab – Profiles 5-31

Module 5 Lab – Profiles

Note: No Lab for Module 5 Profiles

There is no Lab for Module 5 Profiles. There are labs using Profiles in both Modules 6, Persistence, and 7 Labs, SSL Termination.

(40)

5-32 Module 5 Lab – Profiles

(41)

Module 6 Lab – Persistence 6-33

Module 6 Lab – Persistence 6-33

Module 6 Labs – Persistence

Objective:

ƒ

Configure Source Address Persistence

ƒ

Verify functionality

ƒ

Estimated time for completion: 10 minutes

Lab Requirements:

ƒ

Two or more working members in https_pool

ƒ

A virtual server at https://10.10.1.100 associated with https_pool

Restoring a Configuration from previous Lab

1. After connecting to F5 Training Lab, open a browser to https://192.168.1.245.

2. When prompted, login as admin with a password of admin. 3. If you have an existing lab environment, skip to step 10 below.

4. If starting with a new lab environment, on the Welcome / Setup Utility screen click Next. 5. On both the License and Resource Provisioning screens click Next.

6. On the Setup Utility / Platform screen enter a Host Name of bigip1.f5trn.com and change High Availability setting to Redundant Pair.

7. Enter a Root Account password of default twice and an Admin Account password of admin twice and then click Next.

8. You will be prompted to login again because of changing the Admin password. 9. After logging in, click the Finished button under Advanced Network Configuration.

10. From the Navigation pane, expand the System section, then select Archives.

11. Click the Module6_Lab_begin.ucs archive and then click the Restore button. An Ok button appears to acknowledge the restore has started. It will take a minute, but watch this screen and you should see messages that your restore completed successfully. You might receive one error message but that is ok and is due to the F5 Training Lab environment only. 12. Because of the state of BIG-IP, we need to reboot so that our Licensing and Provisioning

takes effect. Select System / Configuration and click the Reboot box under Operations. 13. Your configuration should be as if you had just finished all Module4 Labs since there weren’t

any labs for Module 5. Please verify this is the case. Your configuration should be licensed and include two Pools named http_pool and https_pool and two Virtual Servers named vs_http and vs_https. The Pools and Pool Members should have various Monitors assigned but no Pool Members should be marked Offline (red).

(42)

6-34 Module 6 Lab – Persistence

6-34 Module 6 Lab – Persistence

Source Address Persistence Lab

Repeating behavior before persistence

1. Make sure the Load Balancing method for https_pool is set to Round Robin, Priority Group Activation is disabled, and that all pool members have a connection limit of 0.

NOTE: This is not required for persistence. Instead, it ensures that reuse of a single server is due to persistence and not a load balancing choice.

2. Next, access and reset the statistics for the https_pool.

3. Open a new browser session and connect to https://10.10.1.100.

4. Refresh the screen 5-10 times by clicking Refresh or pressing the F5 key. 5. View the pool statistics. What are the results?

Expected Results and Troubleshooting

ƒ

Expected result: All pool members should receive approximately equal amounts of traffic. If not, ensure that step (1) was followed.

Configure a Source Address Affinity Persistence Profile

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Profiles and the Persistence tab and click Create or use the flyout menus to expand Profiles Æ Persistence Æ and click the sign.

3. In the General Properties section, enter the following:

Name Pr_Src_Persist

Persistence Type Source Address Affinity Parent Profile source_addr

4. In the Configuration Section, leave all fields at the default settings except for the following:

Timeout Click on the Custom checkbox for Timeout

and then set the Timeout to 15 seconds.

Mask Click on the Custom checkbox for Mask and

the set the Mask to 255.255.255.0.

(43)

Module 6 Lab – Persistence 6-35

Module 6 Lab – Persistence 6-35

2. Select Virtual Servers.

3. Select the virtual server of interest, vs_https. 4. Select the Resources tab.

5. Under the Load Balancing section, enter the following:

Default Pool https_pool

Default Persistence Profile Pr_Src_Persist

Fallback Persistence Profile None

6. When complete, click Update.

Demonstrating behavior after setting up persistence

1. Access and reset the statistics for the https_pool.

2. Open a new browser session and connect to https://10.10.1.100 3. Refresh the screen 5-10 times by clicking Refresh or pressing Ctrl-F5. 4. View the pool statistics. What are the results?

5. Stop refreshing the screen for at least 15 seconds.

6. Refresh again. At this point, you should be load balanced to another server. 7. From a separate browser session, view the Persistent Statistics.

a. From the Navigation Pane, expand the Overview section. b. Select Statistics.

c. With the Display Options section, set the following: Statistics Type Persistence Records

Data Format Normalized

Auto Refresh Disabled

8. Leave the * in the search field (show all records) and click Search or Refresh. 9. If no persistent sessions currently appear, refresh your screen connecting to

https://10.10.1.100 and then refresh the Persistence Records Statistics again.

10. Why might the persistent connection not appear the first time?

Expected Results and Troubleshooting

ƒ

Expected result: While the persistence record is active, all traffic from that client will be directed to a single pool member. Since the persistence record is configured to remain for only 15 seconds, it may time out before you navigate to the persistence statistics.

(44)

6-36 Module 6 Lab – Persistence

6-36 Module 6 Lab – Persistence

Cookie Persistence Lab

Objective:

ƒ

Configure Cookie persistence

ƒ

Verify functionality

ƒ

Estimated time for completion: 15 minutes

Lab Requirements:

ƒ

Two or more working members in http_pool

ƒ

A virtual server at http://10.10.1.100 associated with http_pool

Repeating behavior before persistence

1. Make sure the Load Balancing method for http_pool is set to Round Robin and Priority Group Activation is disabled.

NOTE: This is not required for persistence. Instead, it ensures that reuse of a single server is due to persistence and not a load-balancing choice.

2. Access and reset the statistics for the http_pool.

3. Open a new browser session and connect to http://10.10.1.100.

4. Refresh the screen 5-10 times by clicking Refresh or pressing the F5 key. 5. View the pool statistics. What are the results?

Creating a Custom HTTP Cookie Insert Persistence Profile:

1. From the Navigation pane, expand the Local Traffic section.

2. Either select Profiles and the Persistence tab and click Create or use the flyout menus to expand Profiles Æ Persistence Æ and click the sign.

3. In the General Properties section, enter the following:

Name Pr_Cookie_Persist

Persistence Type Cookie

(45)

Module 6 Lab – Persistence 6-37

Module 6 Lab – Persistence 6-37

1. In the Configuration Section, leave all settings at default except for the following: Expiration Check the Custom checkbox for Expired,

then uncheck Session Cookie and set the

Expiration to 2 days

2. When complete, click Finished.

Associating a Virtual Server with the Cookie Persistence Profile

1. From the Navigation pane, expand the Local Traffic section.

2. Select Virtual Servers.

3. Select the Virtual Server of interest, vs_http. 4. Select the Resources tab.

5. Within the Load Balancing section, enter the following:

Default Pool http_pool

Default Persistence Profile Pr_Cookie_Persist

Fallback Persistence Profile None 6. When complete, click Update.

NOTE: You should see an error requiring an HTTP profile in order to use the cookie persistence profile, follow the steps below.

Associating the Virtual Server with an HTTP Profile

1. From the Navigation pane, select Local Traffic menu, Virtual Servers option. 2. Select the Virtual Server of interest, vs_http.

3. Select the Properties tab.

4. Within the Configuration section, set the HTTP Profile to http. 5. When complete, click Update.

6. Re-add the Pr_Cookie_Persist profile above on vs_http Resources tab as the Default Persistence profile and click Update.

Demonstrating behavior after persistence

1. Access and reset the statistics for the http_pool.

2. Open a new browser session and connect to http://10.10.1.100 3. Refresh the screen 5-10 times by pressing “Refresh” or CTRL-F5. 4. View the pool statistics. What are the results?

(46)

6-38 Module 6 Lab – Persistence

6-38 Module 6 Lab – Persistence

Expected Results and Troubleshooting

Expected result: All traffic will be directed to one member. If not, ensure that the browser you are using allows cookies to be saved.

Disable Persistence for this Virtual Server

1. From the Navigation pane, expand the Local Traffic section. 2. Select Virtual Servers.

3. Select the Virtual Server of interest, vs_http. 4. Select the Resources Tab.

5. Under the Load Balancing section, enter the following:

Default Pool http_pool

Default Persistence Profile None

Fallback Persistence Profile None

(47)

Module 6 Lab – Persistence 6-39

Module 6 Lab – Persistence 6-39

Disabled Members Lab

Objective:

ƒ

See the interaction between persistence and the disabled status

ƒ

Estimated time for completion: 15 minutes

Lab Requirements:

ƒ

vs_https with resources https_pool and Pr_Src_Persist profile

NOTE: You may want to extend the persistence timeout value in the Persist_Source profile before beginning this lab.

Establish a persistent session and disable a member

1. From the Navigation pane, expand the Local Traffic section. 2. Select Pools then select https_pool.

3. Select the Members tab.

4. Open a separate browser to https://10.10.1.100. Refresh to verify that you are persisting. 5. Note the member to which you have connected.

6. From the Members tab, click the box adjacent the member you are persisting to and click

Disabled.

7. Refresh the browser session at https://10.10.1.100. Did you remain on the same member?

8. From the Members tab, select IP address of the member to which you have the persistence session.

9. Select the Forced Offline radio button and click Update. 10. Refresh the browser session at https://10.10.1.100.

Did you remain on the same member?

Establish a persistent session and disable a node

1. From the Navigation pane, expand the Local Traffic section and then select Nodes. 2. Open a separate browser to https://10.10.1.100. Refresh to verify that you are persisting. 3. Note the node to which you have connected.

4. From the Nodes list, select the box adjacent the node and click the Disable button. 5. Refresh the browser session at https://10.10.1.100. Did you remain on the same node?

Re-Enable nodes and members

(48)

6-40 Module 6 Lab – Persistence

(49)

Module 7 Lab – SSL Termination 7-41

Module 7 Lab – SSL Termination 7-41

Module 7 Lab – SSL Termination

Objective:

ƒ

Create self-signed certificates

ƒ

Create a Clientssl profiles

ƒ

Create a virtual server that will use the clientssl profile and load balance traffic

Lab Requirements:

ƒ

An existing pool of members at port 80 (http_pool)

ƒ

Access to a web browser

Restoring a Configuration from previous Lab

1. After connecting to F5 Training Lab, open a browser to https://192.168.1.245.

2. When prompted, login as admin with a password of admin. 3. If you have an existing lab environment, skip to step 10 below.

4. If starting with a new lab environment, on the Welcome / Setup Utility screen click Next. 5. On both the License and Resource Provisioning screens click Next.

6. On the Setup Utility / Platform screen enter a Host Name of bigip1.f5trn.com and change High Availability setting to Redundant Pair.

7. Enter a Root Account password of default twice and an Admin Account password of admin twice and then click Next.

8. You will be prompted to login again because of changing the Admin password. 9. After logging in, click the Finished button under Advanced Network Configuration.

10. From the Navigation pane, expand the System section, then select Archives.

11. Click the Module7_Lab_begin.ucs archive and then click the Restore button. An Ok button appears to acknowledge the restore has started. It will take a minute, but watch this screen and you should see messages that your restore completed successfully. You might receive one error message but that is ok and is due to the F5 Training Lab environment only. 12. Because of the state of BIG-IP, we need to reboot so that our Licensing and Provisioning

takes effect. Select System / Configuration and click the Reboot box under Operations. 13. Your configuration should be as if you had just finished all Module 6 labs. Please verify this

is the case. Your configuration should be licensed and include two Pools named http_pool and https_pool and two Virtual Servers named vs_http and vs_https. The Pools and Pool Members should have various Monitors assigned but no Pool Members should be marked Offline (red) or Disabled (black). The vs_https Virtual Server should have a Source Address

References

Related documents

Washington Water Trust works to improve and protect stream flows and water quality throughout.. Washington, benefiting agriculture, fisheries and wildlife by using

While schools in the CCSS states reported relatively lower degree of program alignment with state/district assessment results than the non-CCSS counterparts, the CCSS adoption did

A key component of the F5 solution, F5 BIG-IQ ™ Cloud, federates management of BIG-IP products across both traditional and cloud infrastructures, helping enterprises to deploy

Online or desktop and reports in power bi desktop, and before using tableau server, after the clipboard to the live page.. Subscribe to see done using salesforce canvas

F5 ® Silverline ® Web Application Firewall is a service built on BIG-IP ® Application Security Manager TM (ASM TM ) with support from highly specialized security experts who

Brands, businesses, educational partners and publishers can host and engage their communities around their content and reward them with branded Social Tokens within the

California Proposition 65: This product contains a chemical known in the State of California to cause

Based on the results of this study, the researcher determined that mClass Reading 3D Oral Reading Fluency (ORF) and Text Reading and Comprehension (TRC) measures