Quantcast
Channel: Shoaib Merchant – Networkology!
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

Using curl for troubleshooting

View only response headers curl -I only retrieves the header of the resource. The ‘I’ is case sensitive. root@ubnsrv01:/etc/ssl/certs# curl -I https://site3.lab.com HTTP/1.1 200 OK Content-Length: 191...

View Article


Debug health monitor for a single pool member in F5 LTM

Here’s an old post that shows how to debug bigd that gets you the debugs of all the health monitors that are running on the system. The rule of thumb with debugs is that the files get too large and may...

View Article


F5 iRules – If pool is down, then redirect to another VIP

when HTTP_REQUEST {   if { ( [active_members site2.lab.com-pool-80] < 1 ) } {      HTTP::redirect http://site3.lab.com/   } }

View Article

F5 iRules – Unconditionally redirect to another VIP using pool member up/down...

when HTTP_REQUEST {   if { ( [active_members site2.lab.com-pool-80] < 2 ) or ( [active_members site2.lab.com-pool-80] ) > 0 } {      HTTP::redirect http://site3.lab.com/   } }

View Article

F5 iRules – Unconditionally redirect to another VIP based on host header...

when HTTP_REQUEST {     if { [string tolower [HTTP::host]] equals "site2.lab.com" } {         HTTP::redirect "http://site3.lab.com"     } } With this iRule, the initial connection to site2.lab.com is...

View Article


F5 iRules – Unconditionally redirect based on host header content and close...

when HTTP_REQUEST {  if { [string tolower [HTTP::host]] equals "site2.lab.com" }  {        HTTP::respond 302 noserver -reset Connection close Location http://site3.lab.com } } With the above iRule, the...

View Article

Troubleshooting SSL handshake in F5 BIG-IP LTM – Part 1 (SSL/TLS Protocol...

  How to identify if there is an SSL/TLS protocol mismatch between Client and F5 LTM?   1.  Check the protocol version used by the client in wireshark captures under the “Client Hello” packet 2.  Check...

View Article

Advanced grep filters for F5 logs

grep X number of lines after matching pattern is found [root@ltm02:Active:Standalone] config # zless /var/log/ltm* | grep -A 2 "16:03:23" -n 230:May  3 16:03:23 ltm02 notice bigd[5171]: 01060001:5:...

View Article


Ansible – IOError: [Errno 13] Permission denied:

After spending more than year learning Ansible and Python and doing nothing about it, I have been getting my hands dirty with Ansible yet again. Only this time it will be more aligned to a real world...

View Article


Using the ‘register’ clause and ‘debug’ module in Ansible to display specific...

register: Used to register variables defined in a module when it is invoked in a task The registered data is stored in JSON format The value of the variables set using the register clause is always a...

View Article
Browsing latest articles
Browse All 25 View Live