ltm essentials

149
Chapter 1 Initial Setup Exploring Big-IP Hardware Exploring Big-IP File System Licensing Big-IP Basic Configuration

Upload: bharadwajv

Post on 22-Apr-2015

2.087 views

Category:

Technology


17 download

DESCRIPTION

 

TRANSCRIPT

Page 1: LTM essentials

Chapter 1

Initial Setup

Exploring Big-IP Hardware

Exploring Big-IP File SystemLicensing Big-IPBasic Configuration

Page 2: LTM essentials

Big-IP Hardware Platform

Page 3: LTM essentials

The Hardware

OOBManagementPort

ConsoleCable

FailoverCable

USB Port

LCD Paneland controls

10/100/1000 MbpsCopper Ports

1000 MbpsFibre Ports

Page 4: LTM essentials

Looking Inside a 3600Big-IP

Page 5: LTM essentials

Big-IP LTM Software support

Page 6: LTM essentials

Lights Out Management

-Two operating systems -TMM for primary use-AOM/SCCP for lightsOut management -Always on Mansgment-Switch card control processing

Page 7: LTM essentials

What to do first ?

Page 8: LTM essentials

Setup Overview

Page 9: LTM essentials

Setup ToolsSSH Client-username:- root

-Password:-defaultSerial Terminal Client -username:- root

-Password:-default

Big-IP Config Script-configBig-IP Wab-based configurationhttps://192.168.1.245

-username:- admin

-Password:-admin

Page 10: LTM essentials

Licensing Methods

Page 11: LTM essentials

Entering Registration Key

Page 12: LTM essentials

Manual Licensing

Page 13: LTM essentials

Completing the Licensing Process

Page 14: LTM essentials

Configuring administration Access

Page 15: LTM essentials

File System

Built on top LinuxHas Linux files structure Files are relevant to the operationMain file in BIG-IP LTM are mentioned below: -/coinfig/bigip.conf -/config/bigip_base.conf -/config/BigDB.dat -/etc/hosts.allow -/config/bigip.license -/var/log/ltm

Page 16: LTM essentials

/coinfig/bigip.conf- Holds all information relevant to the load

balancingLike: virtual, pool, profile, monitor, irules etc-Shared between 2 units if in a pair configuration /config/bigip_base.conf-Holds all information relevant to the basic

elements of the BigIP Like: management IP, vlans, routes few more things

/etc/hosts.allow-hosts which are allowed to use the local INET

services. Such as services are SSH, snmp for the snmp

devices

Page 17: LTM essentials

/config/BigDB.dat-bigdb database holds a set of bigdb

configuration keys -Keys define the behaviours of various aspects of the

BIG-IP system

-For example, the bigdb key Failover.Active Mode, when set to enable, causes a redundant system to operate in active-active mode, instead of the default active/standby mode.

-We can edit these values by using -The Configuration utility -The bigpipe db command #bigpipe db all list

Page 18: LTM essentials

/config/bigip.license-Holds all information about the license of the

BigIP system -Without this file or a valid license file, the BigIP will

not operate There are few more vital files /config/ssl/ssl.crt/config/ssl/ssl.key

Page 19: LTM essentials

Management configurationGiving IP to management port#b mgmt 10.192.230.129 {netmask 255.255.255.0 }

Putting route for management network#b mgmt route 10.216.0.0 netmask 255.255.0.0 ‘{ gateway

10.192.230.145 }’

#b mgmt route 10.12.11.32 netmask 255.255.255.224 ‘{

gateway 10.192.230.145 }’

Page 20: LTM essentials

VLAN Configurationvlan external { tag 10 interfaces 1.1}vlan internal_phy { tag 4093 interfaces 1.2}vlan internal_virt { tag 4092 interfaces 1.4}

Page 21: LTM essentials

Self IP/Port configuration

Assigning IP address the to vlan#b self 172.31.230.129 ‘{ netmask 255.255.255.0 vlan external

allow tcp ssh tcp https tcp 4353 }’

#b self 192.168.230.129 ‘{ netmask 255.255.255.128 vlan internal_virt allow tcp https }’

Opening the Port #b self allow ‘{ default udp snmp tcp ssh tcp domain tcp snmp udp

efs tcp 4353 udp domain udp 4353 tcp https proto ospf }’

Page 22: LTM essentials

Configuring FloatingThis part of configuration is for redundant pair#b self 172.22.100.6 { netmask 255.255.255.0 unit 1 floating enable vlan external allow tcp https}#b self 192.168.100.3 { netmask 255.255.255.0 unit 1 floating enable vlan internal allow default}

Page 23: LTM essentials

Chapter 2

Traffic Processing

Page 24: LTM essentials

Pools , Members & Nodes

Page 25: LTM essentials

Virtual Server-Big-IP is default deny device, so listener (virtual) is must

-Virtual server gules everything together

-Typically virtual are associated with pool

Page 26: LTM essentials

-Before virtual server can load balance it should mapped to pool

-Big-IP translate the destination ip address from virtual server to actual server

-Client see the pool servers as single server, hence the term Virtual Server

Page 27: LTM essentials

Asymetric Routing Problem

Page 28: LTM essentials

Full Proxy Architecture

-Big-IP do much more than translating the network Address

-F5 implemented full proxy architecture in Big-IP

-Separate tcp connections for the client & the server

Page 29: LTM essentials

Chapter 3

Load Balancing

Load Balancing MethodMember vs NodePriority Group Activation Configuring load balancing

Page 30: LTM essentials

Load Balancing Methods

-Static method do not take server performance in to consideration

-Dynamic method does consider server performance

Page 31: LTM essentials

Round Robin

-Round Robin is default & most commonly used method

-Big-IP evenly distributes client request across all available pool member

Page 32: LTM essentials

Ratio-Ratio method is appropriate to use if some of the members are

powerful than other.

-Since Ratio is static method, this means that server with highest ratio value will receive more request then others even if the performance of the server is slow.

#b pool lab_Pool { lb method member/node ratio }

Page 33: LTM essentials

Least Connections

-This method consider the current connections count to decide where to send next request

#b pool lab_Pool { lb method least conn }

Page 34: LTM essentials

Least Connections-After connections counts shown below, the big-IP round robin next

requests between all three servers.

Page 35: LTM essentials

Fastest

-Fastest uses the outstanding layer 7 request to decide where to send the next request

-Request or Response ?

#b pool lab_Pool { lb method fastest }

Page 36: LTM essentials

Fastest

-Ping response form server doesn’t take into account how fast server will response at port 80.

-SYN-ACK response form server at port 80 doesn’t take into account how fast backend database server will populate the content of web page

Page 37: LTM essentials

Observed

-It is basically Ratio load balancing but with Ratio assigned by Big-IP

-Servers with connections lower than average will given ratio of 3

-Servers with connections higher than average will given ratio of 2

#b pool lab_Pool { lb method member observed }

Page 38: LTM essentials

Observed>Connections status

-server B & C with Ratio 3

-Servers A & D with Ration 2

Page 39: LTM essentials

Predictive

-Predictive method is similar to Observed, but assigns more aggressive value

#b pool lab_Pool { lb method member predictive }

Page 40: LTM essentials

Predictive

>Connections status

-server A & C with Ratio 1

-Servers B & D with Ration 4

Page 41: LTM essentials

Pool Member vs. Node Load Balancing by:>Node -Total service for one IP Address -Take all transactions for the IP address into account #b node <ip_addr> { ratio <no.>/ session <enable/disable>}

>Pool Member -IP Address & Service -Take the decision based transactions happening on

the service port.

Page 42: LTM essentials

Priority Group Activation -Use to designate preferred & backup sets of pool members with in

a pool

-Once priority group activated

-The available member with highest priority will consider first

Page 43: LTM essentials

Priority Group Activation

-If the number of member falls below the priority group activation set,

-The next highest priority member also start serving the requests.

Page 44: LTM essentials

Priority Group ActivationConfiguration example

#b pool lab_pool '{ lb_method predictive min_active_members 2 member 10.100.10.10:80 priority 10 member 10.100.10.20:80 priority 10 member 10.100.10.30:80 priority 10 member 10.100.10.30:80 priority 5 member 10.100.10.40:80 priority 5 member 10.100.10.50:80 priority 5 }’

Page 45: LTM essentials

Fallback Host-Fallback host feature is designed for HTTP protocol only.

-It comes into play if all the members in a pool are unavailable

Page 46: LTM essentials

Configuring Load Balancing bigpipe pool <pool_name> { lb method

<method_name> }

(rr | node ratio | member ratio | member least conn |

member observed | member predictive | fastest | least conn | predictive | observed | dynamic ratio | fastest app resp)

Page 47: LTM essentials

Chapter 4

Monitor

Monitor Functionality Monitor TypesConfiguring MonitorAssigning MonitorStatus

Page 48: LTM essentials

Intro to monitor Big-IP system can monitor the health of nodes &

member

Monitor is the test that Big-IP performed

-simple test

-Highly interactive test

The result of these test will define the status of respective node or member is available

Big-IP perform continues monitoring irrespective of the status of node or member

Page 49: LTM essentials

Step to set-up a monitor Step 1: Create

Step 2: Name & Type

-name the new monitor select the type from system templates

Step 3: Customize

Step 4: Assign

- to pool/node/pool member

Step 5: Status

Page 50: LTM essentials

Types of monitoring

Address Check

-IP address –node

Service Check -IP:port

Content Check -IP:port & check data returned

Interactive Check -Interactive with servers

-Multiple commands and multiple response

Page 51: LTM essentials

Address Check

Page 52: LTM essentials

Example

System

#b monitor icmp list

monitorroot icmp {

interval 5

timeout 16

dest *

}

Custom

#b monitor icmp_mon list

monitor icmp_mon {

defaults from icmp

interval 7

timeout 22

}

Page 53: LTM essentials

Service Check-Service checks only test whether server is listening to respective

port.

-Doesn’t provide any insight into quality of the content that might return

Page 54: LTM essentials

ExampleSystem

#b monitor tcp list

monitorroot tcp {interval 5timeout 16

dest *:* recv "" send ""}

Custom

#b monitor tcp_port_mon list

monitor tcp_port_mon { defaults from tcp

interval 15 timeout 47}

Page 55: LTM essentials

Content Check-Content check go beyond testing whether a node is

responding/listening

-It also test if it is responding with correct content

Page 56: LTM essentials

Example System:

#b monitor http list

monitorroot http {

interval 5

timeout 16

dest *:*

password ""

recv ""

send "GET /"

username ""

}

Custom:

#b monitor http_mon list

monitor http_mon {

defaults from http

recv "Health Check"

send "GET /health_check.html HTTP/1.0\n\n"

}

Page 57: LTM essentials

Interactive Check

Page 58: LTM essentials

Example

#b monitor ftp list

monitorroot ftp {

interval 10

timeout 31

dest *:*

debug ""

get ""

mode "passive"

password ""

username ""

}

Page 59: LTM essentials

Assigning Monitor to Nodes

#b node 192.168.230.172 ‘{ ratio 100

monitor testwmi_mon

}’

#b node 10.10.10.10 { monitor gateway_icmp and icmp }

Page 60: LTM essentials

Assign Monitor to Pool & member Assigning Monitor to Pool

#b pool bluecoat_pool { monitor all tcp }

#b pool bsd01_pool { monitor all bsd_mon }

Assigning Monitor to Pool member

#b pool lab_Pool '{

member 10.101.23.55:80 monitor tcp

member 10.101.23.56:80 monitor http

}‘

Page 61: LTM essentials

Status IconBelow are the status Icons

Page 62: LTM essentials

Status: AvailableExample-1 Example-2

Page 63: LTM essentials

Status: OfflineExample-1 Example-2

Page 64: LTM essentials

Status: Unknown Example-1 Example-2

Page 65: LTM essentials

Status: Unavailable Example -1 Example -2

Page 66: LTM essentials

Chapter 5

Profile

Profile ConceptProfile Configuration

Page 67: LTM essentials

Profile Concept Contain settings that instruct how to pass the traffic

through virtual server

Why any one want to change default traffic processing behavior of virtual server ?

Are profile overrides the load balancing property ?

How does profile help to improve the performance of actual servers ?

Page 68: LTM essentials

Profile Example Persistence SSL Termination

Page 69: LTM essentials

Profile Example

FTP

Page 70: LTM essentials

Profile Dependencies

-Some of the profiles are dependent on others-Some can’t be combine in one VS

Page 71: LTM essentials

Types of profile

Services Profiles:-HTTP, FTP, RSTP, SIP, iSession

Persistence Profiles-cookie, dest_addr, source_addr, hash….

Protocol Profiles-tcp, udp, fastL4…

SSl Profiles-client, server

Authentications Profiles-RADIUS servers, CRLDP servers…

Other Profiles-OneConnect, NTLM, stream

Page 72: LTM essentials

Profile Configuration Concepts

Default Profiles – Tamplates

-Stored in /config/profile_base.conf

-Can’t be deleted

Custom Profiles

-Stored in /config/bigip.conf

-Created from default profile

-Dynamic child & parent relationship

Page 73: LTM essentials

Services Profiles Parent HTTP profilesprofile http http { basic auth realm none oneconnect transformations enable compress disable compress uri include none compress uri exclude none compress prefer gzip compress min size 1024 compress buffer size 4096 compress vary header enable . . . ramcache max age 3600 ramcache min object size 500 ramcache max object size 50000 ramcache uri exclude none ramcache uri include none ramcache uri pinned none ramcache ignore client cache control all ramcache aging rate 9 ramcache insert age header enable}

Custom HTTP profile

#b profile http pan_http_profile ‘{ defaults from http_master header insert "X-SSL: True" fallback "http://foo.com/f.asp?u=[HTTP::host]"}’

#b profile http help ---for more option

Page 74: LTM essentials

Chapter 6

Persistence

Persistence profileSource Address PersistenceCookie Persistence

Page 75: LTM essentials

Concept

What is the need of Persistence ?

Persistence profile is required to achieve to change the load balancing behavior of virtual server

Upon the initial connection: -Big-IP store session data in persistence record

Persistence Record store -client characteristics -Pool member information which is serving request

Big-IP use persistence record to serve the next traffic

Page 76: LTM essentials

Source Address Persistence-Support both TCP & UDP protocol

-By Default Big-IP create persistence for host

Page 77: LTM essentials

source_addr Persistence configurationParent Profile:profile persist source_addr {

mode source addr

mirror disable

timeout 180

mask none

map proxies enable

rule none

}Custom Profile

#b profile persist pan_subnet ‘{ mode source addr mask 255.255.255.0 }’

Page 78: LTM essentials

Cookie Persistence

Why cookie Persistence ?Modes:>Insert Mode -LTM insert special cookie in HTTP response

-Pool name & Pool Member (encoded)

>Rewrite Mode -Web server Creates a “blank” cookie

-LTM Rewrites to make Special Cookie

>Passive Mode -Web server Creates Special Cookie

-LTM Passively lets it through

Page 79: LTM essentials

Cookie Insert Mode

Page 80: LTM essentials

Cookie Rewrite Mode

Page 81: LTM essentials

Cookie Passive Mode

Page 82: LTM essentials

Configuring Cookie persistence

Custom Profile#b profile persist pan_cookie { mode cookie cookie mode rewrite

cookie name paa }

Parent Profile:profile persist cookie { mode cookie

mirror disabletimeout immediatecookie mode insert

cookie name none cookie expiration 0d 00:00:00 cookie hash offset 0 cookie hash length 0 rule none}

Page 83: LTM essentials

Chapter 7

Processing SSL Traffic

Exploring SSL on Big-IPConfiguring Big-IP for SSL

Page 84: LTM essentials

Review of SSL ConceptsEstablish an encrypted link between a Web server

& browser by using SSL protocol This encryption uses PKI Encrypting & decrypting SSL is impact the server

performance Packet processing time can increase 20 to 30

times Use of SSL Accelerator Cards

Page 85: LTM essentials

Advantage of SSL Termination

Allow iRules processing and cookie persistence

Offload SSL traffic from web server SSL key exchange and bulk encryption

dane by hardwareCentralize certificate management

Page 86: LTM essentials

Traffic Flow: Client SSL

Page 87: LTM essentials

Traffic Flow: Server SSL

Page 88: LTM essentials

SSL Acceleration

Page 89: LTM essentials

Enabling Client SSL Profile

Page 90: LTM essentials

Configuring Client SSL ProfileConfiguring clientssl profile :#b profile clientssl pan.com_ssl {

defaults from clientssl

key “www.pan.com.key"

cert “www.pan.com.crt"

chain “ca-intermediate.crt"

}Associating the clientssl profile to virtual server#b virtual pan.com_https { profile pan.com_ssl }

Page 91: LTM essentials

Configuring Server SSL ProfileConfiguring Serverssl profile :#b profile serverssl pan.com_ssl ‘{

defaults from serverssl"

Associating the clientssl profile to virtual server#b virtual pan.com_https { profile pan.com_ssl }

Page 92: LTM essentials

Chapter 8

Nat & SNAT

NAT Concepts and ConfigurationSNAT Concepts and Configuration

Page 93: LTM essentials

Nat ConceptsOne to One mapping

Bi-directional traffic

Dedicated IP Address

Can’t Configure port

Page 94: LTM essentials

Configuring NAT

#b nat 172.16.20.1 to 207.10.1.101#b nat 172.17.20.3 to 207.10.1.103#b nat list#b nat show

Page 95: LTM essentials

SNAT Concept “Secure” NAT

Performs Source Nat

Many to one mapping

Traffic initiated to SNAT Address refused SNAT’s used forRouting problem

Page 96: LTM essentials

SNAT Configuration #b snat pan { origin any translation 4.2.2.2 }

# b snat pan ‘{ origin any translation 4.2.2.2 vlan clau_vlan enable }’

#b snatpool pan_spool ‘{ member 3.2.2.2 member 3.2.2.3 }’

#b snat pan ‘{ origin 172.16.16.0 mask 255.255.255.0 snatpool pan_spool }’

Page 97: LTM essentials

Chapter 10

Virtual

Page 98: LTM essentials

Virtual

Big-IP is default deny device, so listener (virtual) is must

Virtual server gules everything together

Virtual are first point of call for traffic

Page 99: LTM essentials

Types of VIP Standard

Most common type of VIP for general purpose load balancing Can make use of all functions including iRules, WebAccelerator, ASM etc

Forwarding (Layer 2) Generally used when LTM is configured in a bridge mode (VLAN Groups) Essentially just forwards packets at Layer 2

Forwarding (IP) Used when LTM needs to forward or route packets Can either just route them based on it’s IP routing table of load balance

multiple routers/firewalls etc

Performance (HTTP) Used for very simple, very fast HTTP load balancing Loose a number of features (see next slide)

Performance (Layer 4) Used for general purpose fast load balancing of packets using the PVA ASIC Loose a number of features depending on PVA Acceleration mode (see next

few slides)

Page 100: LTM essentials

Configuration of virtual >Forwarding (IP)

#b virtual forward_vip { destination any:any ip forward }

>Forwarding (Layer 2)#b virtual forward_vip { destination any:any l2 forward }

>Standard

b virtual accel_vip ‘{

destination 10.118.10.12:https

ip protocol tcp

profile http_profile oneconnect_master www.foo.com tcp

persist simple_1800_profile

pool https_pool

}’

Page 101: LTM essentials

Chapter 11

iRule

Page 102: LTM essentials

What is an iRule?

An iRule is a TCL script to give more control over how traffic is processed via the LTM

Can do this based on just about anything found in a packet, including client IP address, headers, URI, destination port, etc.

The use of the Universal Inspection Engine (UIE) is also done via iRules, allowing for rule based persistence

Page 103: LTM essentials

What can an iRule work with? Most commonly seen are HTTP events Can also work with other protocols, such as SIP,

RTSP, XML, others Can make adjustments to TCP behavior, such as

MSS, checking the RTT, looking into the payload Can work with authentication or encryption, via

x509 commands, and AES encryption/decryption Cache, compression, profiles are also available

Page 104: LTM essentials

Example iRulesChange server headers

when HTTP_RESPONSE { HTTP::header replace Server "Microsoft-IIS/5.1"}

Remove all server headerswhen HTTP_RESPONSE { HTTP::header sanitize ?ETag? ?Header01? ?Header02?}

On 404 error, re-load balancewhen HTTP_REQUEST { set RequestedPage [HTTP::uri]}when HTTP_RESPONSE {if { [HTTP::status] eq "404" } { log "Dooh, page '$RequestedPage' not found on server

[IP::server_addr]!" HTTP::redirect $RequestedPage}}

Page 105: LTM essentials

More Samples… (from CodeShare)

Page 106: LTM essentials

iRule Logging (really handy!) You can turn on logging for any iRule and record anything you

like from requests or responses!

Often used when troubleshooting an iRule

Simply add the line “log xxx” (where “xxx” is anything you like) to any iRule, for example:

when HTTP_REQUEST {log "Client [IP::remote_addr] has requested page

[HTTP::uri] from server [HTTP::host]." }

You can use the CLI command “tail –f /var/log/ltm” to view these logs in real time

Page 107: LTM essentials

Troubleshooting Section

File System Overview and ViUCS file extractingQkviewLook at the Statistics!CLI ToolsLogsRunning TCPDUMP and SSLDUMPPXE booting tips

Page 108: LTM essentials

File System Overview Main VIP, Pool and iRule config is stored in:

/config/bigip.conf

Main IP and VLAN settings are stored in: /config/bigip_base.conf

BIG-IP license file is stored in:/config/bigip.license

Log files are stored in:/var/log/

Archived configs are stored in:/var/local/ucs/

Page 109: LTM essentials

Tools/Commands to help

Change directory: cdPrint working directory: pwdList directory contents: lsView file: more <filename>Edit file: vi <filename>Copy file: cp <source> <dest>Delete file: rm <filename>

Page 110: LTM essentials

Useful “vi” commands “i” to start inserting text where the cursor is “A” to start inserting text at the end of the line “Esc” exits the editing mode “dd” delete entire line “x” delete single character “Esc” then “:” then “w” to write the file “Esc” then “:” then “q” to quit vi “/” starts a search through the file

Note: “:wq” would write the file and quit in one go

Note: “:w!” would write the file even if read-only file

Note: “:q!” would force vi to quit

Page 111: LTM essentials

UCS file extracting UCS files are simply “.tar.gz” files with a number of

configuration files inside

Rename the file with a “.tar.gz” extension and use WinRAR to extract the file

Note that a UCS file contains both the “root” password and license key for that unit – don’t put it on another box unless you have a backup!

Page 112: LTM essentials

“Qkview”Support will often request these

Can be executed from the GUI or CLI

Contains box configuration, route information, statistics etc

Page 113: LTM essentials

LogsLogs can often highlight problems

Can be viewed from the GUI

Can be downloaded from the directory “/var/log”

Useful command to watch the LTM log file in real time from the CLI:tail –f /var/log/ltm

Page 114: LTM essentials

CLI Tools

“bigtop” – utility for a quick look at how the BIG-IP is functioning. Provides statistics and information on traffic flow, node operations and troubleshooting (“bigtop –delay 2” useful)

Page 115: LTM essentials

Running TCPDUMP TCPDUMP is an inbuilt network sniffer

To run TCPDUMP from the CLI and save the output to a file that can be opened in Ethereal/Wireshark use the following command:

tcpdump -ni <VLAN> -v -s 1600 -w /var/tmp/filename.dmp

Example:

tcpdump -ni external -v -s 1600 -w /var/tmp/external.dmp

TIP: Use WinSCP to copy the file from the BIG-IP to your PC

TCPDUMP can be run from the GUI also

Page 116: LTM essentials

Running SSLDUMP SSLDUMP is a utility available on the BIG-IP that can be used

to decode your SSL sessions by pre-loading your SSL keys and using those to convert the session data into ASCII text.

SSLDUMP takes a raw TCPDUMP file as input

To display the handshake onlyssldump –r <capture file>

To display the actual application data (with the key file)ssldump –r <capture file> -k <key file> -dExample:

ssldump -r /var/tmp/internal.dmp -k /config/ssl/ssl.key/default.key -d > /var/tmp/ssldump.dmp

Documentation for ssldump can be found on www.rtfm.com/ssldump/ssldump.html

Page 117: LTM essentials

Useful links… F5 related Compression Test

http://www.f5demo.com/compression

Devcentral (iRules, iControl, SDK)http://devcentral.f5.com

Software Downloadshttp://downloads.f5.com

Askf5 (manuals, software, solutions, EOL info)http://www.askf5.com

Page 118: LTM essentials

Chapter 12

Redundant Pair

Redundant pair Concept Redundant Pair Setup Config. Synchronization

Page 119: LTM essentials

Concept..When is high Availability is required ? Increases Reliability

It consist of two identically configured Big-IP system There are two basic aspect: Synchronizing configurations between two BIG-IP

units Configuring fail-safe settings for the VLANs

Page 120: LTM essentials
Page 121: LTM essentials

Big-ip Individual System SettingsBig-IP LTM System -1

Hostname:- bigip1.cw.com

Admin Password:- XXXXX

Unit ID:- 1

Internal VLAN

-Self: 172.16.1.31

-Float : 172.16.1.33

-Peer : 172.16.1.32

Big-IP LTM System -2

Hostname:- bigip2.cw.com

Admin Password:- XXXXX

Unit ID:- 2

Internal VLAN

-Self: 172.16.1.32

-Float : 172.16.1.33

-Peer : 172.16.1.31

Page 122: LTM essentials

Unit ID used for Identification, do not designate primary and secondary

Page 123: LTM essentials

Floating IP is always own by Active box

Page 124: LTM essentials

Failing Over>Gratuitous ARP sent to all neighboring network devices

Page 125: LTM essentials
Page 126: LTM essentials

Synchronize ConfigurationInitiated from Either System Redundant pair should service the same monitors,

pools & virtual Servers

Page 127: LTM essentials

Synchronization condition Administrative password must be same on each

system

Port 443 must not be blocked by the port lockdown setting or by another system between the redundant pair.

Clock of the system must be within a certain number of minutes of each other.

Pull or Push Operation –Sync in Correct Direction

Page 128: LTM essentials

Synchronization Process1-Create UCS file. -Which contain all configurations + licensing information 2-Send to peer3-Peer creates backup of itself4-Peer opens UCS file a) Matching Hostname > Full Installation

b) Different Hostname >Shared Installation

Page 129: LTM essentials

Synchronize to Peer# bigpipe config sync pull# bigpipe config sync all

Page 130: LTM essentials

Determine Active System

Page 131: LTM essentials

Change to Standby Mode

Page 132: LTM essentials

Chapter 13

High Availability

Failover Trigger

Failover Detection Stateful Failover MAC Masquerading

Page 133: LTM essentials

Failover ManagersFailover Mangers detects a failed process, takes one of the several action restarting the

process, failing back to the standby, reboot the big-ip

WatchdogPerforms hardware health checksOverdog Software to correct hardware failuresSODmonitors the switch fabric and takes corrective action for switch

failures

All failover Managers update and monitor the high Availability Table

Page 134: LTM essentials

High Availability TableUpdate & Monitor by Failover ManagersTable Fields-Feature Name-Action on Failure-Enabled-Failed StateCommand Line: b ha table show

Page 135: LTM essentials

HA Table

Page 136: LTM essentials

Failover TriggerProcesses (Daemons)SwitchboardVLAN FailsafeGateway Failsafe

Page 137: LTM essentials

Failover Triggers - Daemans

Page 138: LTM essentials

VLAN FailsafeDetects no network traffic Tries to generate trafficTimeout reached Time Action; Standby becomes

active

Page 139: LTM essentials

Gateway Failsafe

Page 140: LTM essentials

Hardware FailoverStandby notices a loss of voltage, it Takes over the

active role

Page 141: LTM essentials

Network FailoverHeartbeat sent over networkNo 50 foot (15.24 meter) limitationSlower than Hardware FailoverSetting not synchronized between peers If Both Hardware Failover & Network Failover are

being used…..

Page 142: LTM essentials

Network Failover Settings

Page 143: LTM essentials

Network Communication

Page 144: LTM essentials

Stateful Failover

Page 145: LTM essentials

Types of Mirroring

Page 146: LTM essentials

Failover without MAC Masquerading

Page 147: LTM essentials

MAC Masquerading

Page 148: LTM essentials

MAC Masquerading

Page 149: LTM essentials

Thanks