Forum Discussion

Allim_63326's avatar
Allim_63326
Icon for Nimbostratus rankNimbostratus
May 26, 2009

CSS Config to F5 Config

I don't know if this is the right section to place this question, if not please direct me to right place.

 

 

We have bought 2 F5 3600s, we migrating from old CSS to F5s now. i was wondering if there's tool or any script to convert the exiting CSS configuration file to F5's bigip config file. We are going to use the same ip address from CSS.

 

 

Any help would be greatly appreciated.

10 Replies

  • Hi,

     

     

    What I have found is that there is no single tool that can accurately script a conversion of every possible configuration out there. There are so many variations in network topology, naming conventions, etc. that properly converting all the behavior of previous technologies is difficult.

     

     

    If you have less than 50 or so virtual servers, you'll be better off doing the conversion by hand. If you have more than that, then a script can save time, but I'd still be prepared to do a fair amount of manual tweaking. I wrote a script to convert ~1600 virtuals from a CSM (not CSS) configuration, and it was highly dependent on known elements of the customer's config to work properly (so it can't be reused for another site), and even then I had to manually redo stuff.

     

     

    Given enough time, a script could probably be developed to handle generic configs, but again it's usually not worth the effort for typically sized configs.

     

     

    Denny
  • I wrote a perl script to do this when I converted my configs a few years back, let me dig for a little while...
  • Well thank you so much for your quick response. I will wait for the script, we have close to 100 servers that I need to configure manually If I decide to that route.

     

     

    Again thank u for the help
  • Sorry to keep you waiting...I have a thumb drive I can't find and I'm pretty sure it's on there.
  • Just wondering if you had any luck to find the script. Appreciate any help
  • If someone posts an example of what needs to be converted, I'll see if I can build a little app that will either spit out the bigip.conf configuration or write an iControl app that will create the objects remotely.

     

     

    -Joe
  • This is just a small piece of CSS config but the pattern is same

     

     

    Service

     

    owners

     

    group

     

     

    !************************** SERVICE **************************

     

     

    service admin.a1

     

    ip address 10.10.5.11

     

    active

     

    service admin.a2

     

    ip address 10.10.5.12

     

    active

     

    service admin.a3

     

    ip address 10.10.5.13

     

    active

     

     

    service testadminservice

     

    keepalive retryperiod 20

     

    ip address 10.10.5.14

     

    active

     

    service testadminservice_lb

     

    keepalive retryperiod 20

     

    ip address 10.10.5.15

     

    active

     

     

    !*************************** OWNER ***************************

     

    owner VZ1

     

    content appsrv1.vz1.va

     

    vip address 10.10.20.11

     

    protocol tcp

     

    port 80

     

    add service appsrv1.vz1.va

     

    active

     

    content appsrv1.vz1.va.1449

     

    protocol tcp

     

    vip address 10.10.20.12

     

    port 1449

     

    add service appsrv1.vz1.va

     

    active

     

     

    !*************************** GROUP ***************************

     

    group admin_va

     

    vip address 10.10.10.11

     

    active

     

    group adminmliproxy2_va

     

    vip address 10.10.10.12

     

    active

     

    group ftp

     

    vip address 10.10.10.13

     

    add service ftp1.a1.va

     

    active
  • John_Alam_45640's avatar
    John_Alam_45640
    Historic F5 Account
    Guys

     

    Sorry I am late to this. I wrote a CSS config conversion script in Perl. Contact me if you need it. j.alam@f5.com

     

    The script is pretty extensive I could not attach it to this Post.

     

     

    I will try posting it elsewhere on devcentral.

     

     

    John

     

  • It is now available in the wiki. Thanks John!

     

     

    http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/CSSToBIGIPConversionScript.html Click here