Forum Discussion

aayamauchi_746's avatar
aayamauchi_746
Icon for Nimbostratus rankNimbostratus
Mar 12, 2008

Anyone have something to pull configuration data?

I'm looking for something that would pull non-local configuration data from BigIP load balancers in a uniform format. My purpose is for doing this is so that I can easily compare/verify the parts of the configuration that should be the same accross systems without getting bogged down with the parameters that I know are going to different (hostnames, ips, etc.). For instance, simply diff-ing conf files doesn't really work because of this.

 

 

Anyone written or come across something like this?

 

 

Thanks.

4 Replies

  • Don_MacVittie_1's avatar
    Don_MacVittie_1
    Historic F5 Account
    Edit - just saw your "diffing conf files doesn't work..." comment in here - sorry, answered too quickly.

     

     

    You could do it with iControl, but there would be non-trivial coding involved... Pull the objects you're interested in and then compare the fields you want. That's likely a lot of different types of objects though.

     

     

     

    Hi,

     

     

    I've seen this done with SSH pulling down the config files by capturing the buffer and using cat to print out the file.

     

     

    Don.
  • This is what I had in mind -- just wondering if someone had already done some of the heavy lifting so that I wouldn't have to reinvent the wheel. It would almost seem that this should be a built in functionality, but I guess this is why the enterprise manager is sold as a separate piece of hardware.
  • hi,

     

    This is an additional info for my shell script ucs-diff.sh,

     

    I have written it so it works for 2 UCS files of the same versions.

     

    like :

     

     

    ./ucs-diff.sh version9.1.2.UCS version9.1.2.UCS

     

     

    have fun.

     

     

    Sakolan.
  • If you are looking at a programmatic approach to downloading files, you can always use the System::ConfigSync::download_file() method.