Forum Discussion

stefan_billina_'s avatar
stefan_billina_
Icon for Nimbostratus rankNimbostratus
Aug 16, 2010

config sync specific file

I am updating data groups used by an IRule to do dynamic routing to pools based on context root. I got a redundant pair and use 'b class classname mode read' to load my external class. Whilst the files are the same across the pair the config shows as not in sync.

 

As I have many largely independent processes updating data groups I'd prefer not to do a config sync - synchronising all config files. I'd rather get each process to synch specifically what it has changed. I can't see much in terms of commands I can use. Temporarely overwriting /usr/libdata/configsync/cs.dat might be an option but threads would have to be synchronised more than one process might run at the same time. Is there a neat way to do what I am trying to do or should I accept a full config sync ? Number wise we are talking about 10+ updates to data groups per day.

3 Replies

  • George_Watkins_'s avatar
    George_Watkins_
    Historic F5 Account
    Hi Stefan,

     

     

    Doing a full config sync will ensure that everything is consistent across your two units and is a the best practice. 'b config sync min' will only save, transfer, and load /config/bigip.conf.

     

     

    I am guessing your units are complaining about being out of sync because you haven't synchronized the clocks. From the UI, go into 'System > Configuration > Device > NTP' and set the time server.

     

     

    -George
  • If you change the config on both units the config sync state will always show they're out of sync as there isn't some kind of intelligent config diff'ing used. The logic is just comparing timestamps for the config changes. As George suggested, it would make sense to make the change on the active unit and then do a config sync to the peer.

     

     

    Aaron
  • I've tried running a 'b config sync all' from the active box as part of my processes. Apart from the fact that it seems a very heavy way to synchronise a single data group I'd need some synchronising across all our processes updating the bigip boxes as running 2 syncs at the same time fails. Is there any support on the box that would ensure syncs are sequentialised ?