Forum Discussion
dns config is not sync to standby f5 for HA cluster
Hi , I have setup a HA cluster big-ip, the virtual server will be automatically created on standby unit, but any config under DNS is not sync to standby unit. Is it normal ? I am new to f5, anyone please help advise, thanks in advance!
- mkyrcCirrus
Hello,
sync between "DNS/GTM" is based on different way as "LTM". HA between DNS devices is required only if you need configure cluster of DNS devices (for DNS listener - it is virtual server in background). When you have independent DNS/GTM devices (in different geo locations) HA is not required.For sync configuration data between DNS devices (data centers, servers, prober pools, wide IPs, pools, etc) you need configure several parts. In short:
- install the same version of big3d on all devices (`big3d_install <peer-device>` is you friend)
- exchange device certs (`big_add <peer>`)
- configure sync group (DNS -> Settings -> GSLB -> General) and there check "synchronize" and (recommended) set "group name"
- add another gtm to "sync group" (`gtm_add`). Be carefully, LOCAL config will be replaced by remote config.
- ^^ sync group is created.
Good to know:
- DNS devices are synced over "data" interface (not "mgmt" or "HA"), because they can sit on different data centers around the world
- You need to add all DNS members (in sync group) in server list (not only "LTM" or "generic" hosts where virtual servers are running). This is very common mistake when DNS sync is not working.
You can find more details about DNS sync here: https://my.f5.com/manage/s/article/K45907236
Martin
- Herman2024Nimbostratus
Thanks Martin for your kind advice! The problem is when I tried to add a new gtm to "Sync group" , the local config isn't replaced by remote config. I have to manually add both existing DNS with the server and new DNS with the server onto each other's machine, then can syncronized.
Following are what I did., but the dns config was not copied to new DNS box from existing DNS box. Please advise, thanks.
- the existing dns box is configured with server -- DC A , server A, auto-discover virtual servers, sync is enabled with snyc-group name "Test-sync-group"
- a new dns is setup with DC B, server B, auto-discover virtual servers
- enable sync on new DNS and set the sync group name to "Test-sync-group"
- Add new DC B and server B onto the existing DNS box
- login to new DNS box via CLI, run the command "tmsh run gtm gtm_add <ip-existing DNS self-ip>, but the response message is "Existing"
- the existing DNS config (DC name, server name ) is not copied to new DNS box , the port lock down of the self IP on both box are set to "Allow all". and run netstat -na | grep 4353 , the communication between both boxes are "Established" on port 4353.
Check the logs in /var/log/gtm for SSL errors; it’s possible that the BIGIP-DNS systems are not communicating.
Validate that after executing the bigip_add command, the certificates were copied between the BIGIP-DNS systems. These certificates are used for authentication and the correct functioning of big3d and iquery.
Check on both BIGIP-DNS systems to ensure the certificates were replaced and are in their respective paths: /config/big3d/client.crt and /config/gtm/server.crt. Inside the .crt files, you should see the certificates for both BIGIP-DNS systems.
Here are some articles that might help with troubleshooting:
Synchronized Objects - https://my.f5.com/manage/s/article/K45907236
Port release requirements between GTMs - https://my.f5.com/manage/s/article/K13734
This article gives a great overview of how gtm_add, big3d_install, and bigip_add work - https://my.f5.com/manage/s/article/K13312
To verify iQuery communication - iqdump <remote BIG-IP system>"From your description, this lab is similar to the environment you are working in.
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