Category Archives: F5

[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 … Continue reading

Posted in F5, Python, Scripting | Tagged , , , , | Leave a comment

[python]Using F5 iControl API without F5-SDK

I am experimenting myself, I have not worked with json type before, I worked frequently with the xml type, I will need to learn how to parse json type data to get meaningful output.. here’s the sample code to test … Continue reading

Posted in F5, Python, Scripting | Tagged , , | Leave a comment

[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 … Continue reading

Posted in F5, Python, Scripting | Tagged , | Leave a comment

[python]F5 iControl API demo

Background This demo script is to demonstrate to call F5 iCloud API with F5 SDK. The script is written in python, however I have found some limitation in using F5 SDK, best to try with direct call to the REST … Continue reading

Posted in F5, Python, Scripting | Tagged , , , , , , , | Leave a comment

[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 … Continue reading

Posted in F5, Python, Scripting | Tagged , , , , | Leave a comment

bigip snat automap

You created a forwarder virtual server for your servers behind the bigip appliance to access the internet, your server could not get a respond back. You troubleshoot the problem and found that: Default route is configured in the bigip. You … Continue reading

Posted in F5, General stuffs | Tagged | Leave a comment

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 … Continue reading

Posted in F5, General stuffs, High Availability | Tagged , | Leave a comment