[python]Listing items with iControl API without using F5 SDK

After I have discovered that F5 SDK could not do certain things, I have decided to learn how to call the REST APIs using request and parse the json response. The first step i am learning is to use GET after that I will use POST using the json.dumps method. This code is part of … Continue reading [python]Listing items with iControl API without using F5 SDK

Advertisement

[python]resolve hostnames to ip address using pydns module

I wrote another script to change the desired nameserver. previously i used socket module to do resolution but i did not know how i can change the nameserver so i downloaded pydns. This script can be extended to be used in automation script, most of the time the feeling of a layman user is neglected, … Continue reading [python]resolve hostnames to ip address using pydns module

[python]Working with F5 iControl API on listing the virtual servers and pools

I am extending my demo script to demonstrate the viability to use iControl with our orchestrator for automatic F5 load balancer server provisioning. I need to write a function to enumerate the pools and virtual servers, and here is how it is done. See the basic concept of F5 SDK here: https://f5-sdk.readthedocs.io/en/latest/userguide/basics.html The collection has … Continue reading [python]Working with F5 iControl API on listing the virtual servers and pools

Upgrade bigip image in active/standby HA

Import the latest iso to both the active and standby bigip Install latest iso on standby bigip On command line: [root@bigip2:Standby:In Sync] config # tmsh root@(bigip2)(cfg-sync In Sync)(Standby)(/Common)(tmos)# /sys software image root@(bigip2)(cfg-sync In Sync)(Standby)(/Common)(tmos.sys.software.image)# install BIGIP-12.1.0.0.0.1434.iso volume HD1.1 HD1.1 currently has the base version 12 image, we will want to overwrite this. Activate the new … Continue reading Upgrade bigip image in active/standby HA

bigip tcpdump

Capture inbound and outbound from an interface [root@bigip1:Active:In Sync] config # tcpdump -nni 1.1 This command disables ip address and port resolution and from interface 1.1. Capture inbound and outbound and filter by address and port [root@bigip1:Active:In Sync] config # tcpdump host 172.16.5.254 and port 80 -nnvvi 1.1 This command filter the host by 172.16.5.254 … Continue reading bigip tcpdump

BIGIP virtual server status

Virtual server is enabled but is unavailable Although the virtual server is enabled, is unavailable. This is because a pool member has reached its connection limit. In this scenario two virtual servers were marked down by health monitor, and the only available virtual server has reached its connection limit. Virtual server is enabled and ready … Continue reading BIGIP virtual server status

Exploring various load balancing method

Round Robin Least Connection (member) Ratio (member) Dynamic ratio This is a dynamic load balancing method, however the member or node need to have some monitoring agents installed to report the performance over time. Dynamic ratio uses the performance report to determine the ratio of each member. Least sessions Connection is passed to the member … Continue reading Exploring various load balancing method