Wednesday, August 14, 2013

NTP setup


To setup NTP on LTM 11.x,

GUI:
System -> Configuration -> Device -> NTP
Add the servers to the list and update.

Command:
SSH into LTM

#tmsh
/Common (tmos)#modify /sys ntp servers add {10.18.21.240 10.18.21.241}
/Common (tmos)#save /sys config
/Common (tmos)#list /sys ntp servers

To restart ntpd service, in case of issues,
#bigstart restart ntpd

Monday, December 10, 2012

tmsh commands

Thursday, November 15, 2012

Load balancing Microsoft Active Directory LDAP

Steps to load balance Microsoft active directory ldap servers

1) Login to F5 BigIP LTM
https://loadbalancerip

2) Create a ldap monitor 
    Main -> Local Traffic -> Monitors -> Monitor List -> Create

2) Create a pool
    Main -> Local Traffic -> Pools -> Pool List -> Create

3) Add pool members to the ldap-ad pool created in the previous step
    Main -> Local Traffic -> Pools -> Pool List -> ldap-ad -> Members

4) Create a virtual server
    Main -> Local Traffic -> Virtual Servers -> Virtual Server List -> Create

LDAP servers are ready for load balancing.

Wednesday, November 14, 2012

F5 setup for Lotus Sametime





Virtual ServerPoolMonitor
sametime-communitysametime-communitysametime-http 
virtual ipserver1 ipInterval 30 
port 1533server2 ipTimeout 91
tcp_lan_optimized (Server and Client profiles)port 1533Send String GET /names.nsf?login HTTP/1.0\r\n\r\n
Source Address Affinity (persistence)Least Connections (Node)Receive String Log In
Snat automap
sametime-meetingssametime-meetingssametime-tcp
virtual ipserver1 ipInterval 30 
port 8081server2 ipTimeout 91
tcp_lan_optimized (Server and Client profiles)port 8081
Source Address Affinity (persistence)Least Connections (Node)
Snat automap
sametimesametimesametime-http 
virtual ipserver1 ipInterval 30 
port 80server2 ipTimeout 91
tcp_lan_optimized (Server and Client profiles)port 80Send String GET /names.nsf?login HTTP/1.0\r\n\r\n
Source Address Affinity (persistence)Least Connections (Node)Receive String Log In
Snat automap
http profile


Wednesday, August 1, 2012

iFile list - F5 hosting files

iFile list is really a cool feature which allows F5 to host files via iRule.

1) Upload your static resources - e.g. file named wpad.dat
System -> File Management -> iFile List -> Import
Choose your file and provide a label (e.g. wpad-file)
Make sure free disk is available.

2) Create an iRule
Local Traffic ->  iRules ->  iRule List

when HTTP_REQUEST {
    if { [HTTP::uri] eq "/wpad.dat" } {
        HTTP::respond 200 content [ifile get  wpad-file]
    }
    else { discard }
}

3) Associate iRule with virtual server

4) Access the file
http://virtual-server-ip/wpad.dat


Wednesday, June 6, 2012

Finding serial no

BigIP 10.x version

Serial no. format f5-xxxx-xxxx

Command line
Login into console (advanced shell)
tmsh show sys hardware | grep -i chassis

Output will look like:
Chassis Serial f5-xxxx-xxxx

(or)
b platform | grep -i serial

Output will look like:
Chassis   serial f5-xxxx-xxxx


GUI
System -> Configuration -> Chassis Serial Number

Tuesday, May 22, 2012

iRule to route traffic to different pools

1. Set the virtual server to ipaddress:any


2. Associate iRule
when CLIENT_ACCEPTED { if {[TCP::local_port] equals 5000} { pool mypool1} elseif {[TCP::local_port] equals 5001} { pool mypool2}}

Newer›  ‹Older