Forum Discussion

genseek_32178's avatar
genseek_32178
Icon for Nimbostratus rankNimbostratus
Sep 16, 2014

Automation of VIP configuration

Hi Experts,

 

We usually deploy 100s of VIPs on 100s of F5 LTM boxes regularly but manually. This takes about 3-4 hrs on each box.

 

Am looking to automate that configuration. Hve no idea about any scripting language or anything.

 

Can any expert guide how this can best be done via automation and time reduced to less than an 1hr.

 

thanks -genseek

 

7 Replies

  • We usually build the configs using tmsh commands in notepad and paste them in. You could do the same building the nodes, pools and then the vips with tmsh to notepad then cut and paste

     

    • genseek_32178's avatar
      genseek_32178
      Icon for Nimbostratus rankNimbostratus
      Thanks for the responses, i want to avoid doing cut and paste on the device. Is it possible to paste the VIPs into /config file and then load and merge the same into the current configuration.I believe this will reduce the length of time. Please let me know. genseek
  • genseek, F5 provides an open API through iControl in order to automate these types of operations. You can start with iControl. If you have a more specific platform you are using for Automation, you might get more specific information.
  • I'd highly recommend taking the iControl route, particularly considering the size of your estate.

     

    You certainly could SCP a file to each box (using key based authentication requiring no user input) and do a config merge but this doesn't provide for error checking or status feedback and other checks and balances that you'd really want in a scenario like this.

     

  • This excel file have really helped me and might help you.

     

    Regards.

     

    https://devcentral.f5.com/wiki/AdvDesignConfig.VBA-Excel-script-for-BIGIP.ashx

     

  • Could we get the password to the document so that I could make some changes for our environment?