Posts

setup pyenv on ubuntu for apache or any use

The requirement recently was that on an ubuntu server I needed to run different python environments mainly because I needed to run a django application with its own python environment independent of the system, I have previously used pyenv and thought it would be the one to use. This will give me the ability to run different environments and different python versions:

You can read more about how to use pyenv and different fun things you can do with it here: https://github.com/yyuu/pyenv/blob/master/README.md
and when using this for example an wsgi app you can use as follows see apache configuration file for a django setup using pyenv:

BIGIP f5 How to get all pools and members or VIP address port in CSV format

Recently I had a requirement where i needed extract information from bigip f5 to get pools and members in csv, there didn’t seem like any easy way from the F5 so I looked into pyControl and came up with the following script which can log on to the f5 using pyControl and download the data i need into a csv file, see example:

f5-talker.py usage

f5-talker.py source code

download script here