Forum Discussion

mgamez_60648's avatar
mgamez_60648
Icon for Nimbostratus rankNimbostratus
Jul 19, 2013

Restore only VIPs and pools across a non HA pair?

We have an HA pair per datacenter however we would like to copy only the VIPs and pools configurations from one datacenter to the other, no Self IPs or routes. Is this possible? I've tried performing a ucs backup and copying over the bigip.conf and loading it however it complains that the Self IP cannot be the same as gateway IP. Any help would be appreciated.

 

 

[ Active LTM at DC1 ] -> copy VIPs and pool configuration -> [ Active LTM at DC2 ]

 

 

 

4 Replies

  • Jnon's avatar
    Jnon
    Icon for Nimbostratus rankNimbostratus
    I have accomplished that sort of task by running a "b virtual list > myvips" and a b pool list > mypools, this will give you two files myvips and mypools which you can run a b merge myvips then b merge mypools and then if that gets you what you want - you can do a b save and your done, if it isn't what you need, then you can do a b load to restore your previous config.
  • Jnon's avatar
    Jnon
    Icon for Nimbostratus rankNimbostratus
    I might add - if you don't already have all the monitors and profiles associated the b merge will not work, another option would be to copy your bigip.conf and edit out what you don't want to change, or you can also do the same thing as above for monitors, profiles etc... you can also edit your output file from the b list - and modify take out any profiles etc...
  • I need to do this too, I really wish F5 had this build in some how.

     

     

    Does any one know how to accomplish something like this with TMSH?
  • is merge command useful?

    bigpipe

    BIG-IP and Merge File Configuration Changes by Michael Yates

    https://devcentral.f5.com/tech-tips/articles/big-ip-and-merge-file-configuration-changes

    tmsh

    root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config merge ?
    Options:
      base           Base configuration.
      file           The configuration in the specified file.
      from-terminal  The configuration from terminal.
      gtm-only       GTM configuration only.
      user-only      User account configuration only.
      verify         Validates the specified configuration from file(s) or from terminal without changing the running configuration.