Forum Discussion
Restoring Config onto different unit - odd results
I've been using the ConfigSync.pl script to try to download the config of one of the HA pair and load it onto the standalone unit at our DR site. According to what I've read, this should leave the bigip_base.conf file in place on the unit at the DR site, since the host names are different. They both have the same VLANs and Route Domains configured, but I need to get all the Virtual Servers, Pools, etc. copied up. Since that's the part that changes regularly, I wanted to automate this so that bigip3 is kept in sync (within 24 hours or so) with the HA pair.
BUT, when I restored the config file from bigip2 onto bigip3, I got unexpected results. The management IP and hostname remain the same, but bigip3 suddenly thinks he is part of an HA pair and all bigip3's Self-IPs are replaced with the self-IPs from bigip2.
Shouldn't the self-IPs that were previously configured on bigip3 stay? Fortunately I had a backup of bigip3 taken just before this, so it was easy to correct.
I'm running BIP-IP 10.2.2 Build 763.3.
Thanks for any assistance.
- HamishCirrocumulusWhat does the output say from the restore of the config on bigip3?
- Alan_Evans_1020NimbostratusI have the exact same setup but ConfigSync.pl was not sufficient because we want to replicate things that are in bigip_base.conf. i.e. VLANs and interfaces which in our env are plentiful and changing enough that we'd rather just have them synced to DR.
- Paul_Taylor_110Nimbostratus
Here's what shows up when I do this via command line:
[root@bigip3:Active] ucs b config install bigip2_full.ucs
Saving active configuration...
Current configuration backed up to /var/local/ucs/cs_backup.ucs.
Product : BIG-IP
Version : 10.2.2
Hostname: UCS : bigip2.winndixieus.wd.com
System: bigip3.winndixieus.wd.com
Installing --shared-- configuration on host bigip3.winndixieus.wd.com
Installing configuration...
Post-processing...
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Loading the configuration ...
[root@bigip3:Standby] ucs
Even though it says it installed the shared configuration, all the Self-IPs on bigip3 are identical to bigip2, and it thinks it's part of an HA pair.
- Alan_Evans_1020NimbostratusThat makes sense since you are restoring the config from bigip2. The UCS from bigip2 will contain the bigip_base.conf from bigip2 which will only have its own self-ips in it.
- Alan_Evans_1020NimbostratusOne thing that occurs to me now that I look at it again is that using export | merge is that this does not take into account deletions on bigip2.
- Paul_Taylor_110NimbostratusHmmm.. If I were to do this, would it be a problem running this again and again? Would I need to restore the config of bigip3 to a previous state before each merge?
Did you get some of the above from another article/site? If so, can you link it here? Looking for more details, as this looks promising.
- Alan_Evans_1020NimbostratusI do not believe I got it from an article or a site. I learned about bigip merge when we had to split one device into two, or rather one HA pair into two. We used 'b export oneline' and just picked out what we needed to take off one LB and put on the other.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com