Forum Discussion
SRV record response to contain different priority response everytime
- Jan 22, 2020
Hi,
I think you can work with weight values in topology records to achieve your expectations.
Is it possible to summarize the records for each data center and balance the load? Otherwise, it may be necessary to create an SRV pool to assign a high priority member to each member in the datacenter.
In a given scenario:
DC/Server:
DC_AMS
vs_srv_ams1 10.10.0.1
vs_srv_ams2 10.10.0.2
vs_srv_ams3 10.10.0.3
DC_FRA
vs_srv_fra1 10.20.0.1
vs_srv_fra2 10.20.0.2
vs_srv_fra3 10.20.0.3
DC_USA
vs_srv_usa1 10.30.0.1
vs_srv_usa2 10.30.0.2
vs_srv_usa3 10.30.0.3
Pool:
A pool_abcamsterdam.xyz.com
vs_srv_ams1
vs_srv_ams2
vs_srv_ams3
A pool_abcfrance.xyz.com
vs_srv_fra1
vs_srv_fra2
vs_srv_fra3
A pool_abcusa.xyz.com
vs_srv_usa1
vs_srv_usa2
vs_srv_usa3
SRV pool_AMS_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcamsterdam.xyz.com Priority 10
abcfrance.xyz.com Priority 20
abcusa.xyz.com Priority 20
SRV pool_FRA_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcfrance.xyz.com Priority 10
abcamsterdam.xyz.com Priority 20
abcusa.xyz.com Priority 20
SRV pool_USA_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcusa.xyz.com Priority 10
abcamsterdam.xyz.com Priority 20
abcfrance.xyz.com Priority 20
WideIP:
A abcamsterdam.xyz.com
pool_abcamsterdam.xyz.com
A abcfrance.xyz.com
pool_abcfrance.xyz.com
A abcusa.xyz.com
pool_abcusa.xyz.com
SRV _collab-edge.tls_.xyz.com
(LB: Topology)
pool_AMS_collab-edge.tls_.xyz.com
pool_FRA_collab-edge.tls_.xyz.com
pool_USA_collab-edge.tls_.xyz.com
Topology record:
Region is AMS: pool pool_AMS_collab-edge.tls_.xyz.com
Region is AMS: subnet 10.10.0/24 - Weight 10
Region is AMS: subnet 10.20.0/24 - Weight 5
Region is AMS: subnet 10.30.0/24 - Weight 5
Region is FRA: pool pool_FRA_collab-edge.tls_.xyz.com
Region is FRA: subnet 10.20.0/24 - Weight 10
Region is FRA: subnet 10.10.0/24 - Weight 5
Region is FRA: subnet 10.30.0/24 - Weight 5
Region is USA: pool pool_USA_collab-edge.tls_.xyz.com
Region is USA: subnet 10.30.0/24 - Weight 10
Region is USA: subnet 10.10.0/24 - Weight 5
Region is USA: subnet 10.20.0/24 - Weight 5
It's just a possibility to deploy.
You can play with weight and maximum answers to reach other as well.
Let me know if it solves to you.
Regards.
Hi,
I think you can work with weight values in topology records to achieve your expectations.
Is it possible to summarize the records for each data center and balance the load? Otherwise, it may be necessary to create an SRV pool to assign a high priority member to each member in the datacenter.
In a given scenario:
DC/Server:
DC_AMS
vs_srv_ams1 10.10.0.1
vs_srv_ams2 10.10.0.2
vs_srv_ams3 10.10.0.3
DC_FRA
vs_srv_fra1 10.20.0.1
vs_srv_fra2 10.20.0.2
vs_srv_fra3 10.20.0.3
DC_USA
vs_srv_usa1 10.30.0.1
vs_srv_usa2 10.30.0.2
vs_srv_usa3 10.30.0.3
Pool:
A pool_abcamsterdam.xyz.com
vs_srv_ams1
vs_srv_ams2
vs_srv_ams3
A pool_abcfrance.xyz.com
vs_srv_fra1
vs_srv_fra2
vs_srv_fra3
A pool_abcusa.xyz.com
vs_srv_usa1
vs_srv_usa2
vs_srv_usa3
SRV pool_AMS_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcamsterdam.xyz.com Priority 10
abcfrance.xyz.com Priority 20
abcusa.xyz.com Priority 20
SRV pool_FRA_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcfrance.xyz.com Priority 10
abcamsterdam.xyz.com Priority 20
abcusa.xyz.com Priority 20
SRV pool_USA_collab-edge.tls_.xyz.com
(LB: Topology | Maximum Answers Returned: 2)
abcusa.xyz.com Priority 10
abcamsterdam.xyz.com Priority 20
abcfrance.xyz.com Priority 20
WideIP:
A abcamsterdam.xyz.com
pool_abcamsterdam.xyz.com
A abcfrance.xyz.com
pool_abcfrance.xyz.com
A abcusa.xyz.com
pool_abcusa.xyz.com
SRV _collab-edge.tls_.xyz.com
(LB: Topology)
pool_AMS_collab-edge.tls_.xyz.com
pool_FRA_collab-edge.tls_.xyz.com
pool_USA_collab-edge.tls_.xyz.com
Topology record:
Region is AMS: pool pool_AMS_collab-edge.tls_.xyz.com
Region is AMS: subnet 10.10.0/24 - Weight 10
Region is AMS: subnet 10.20.0/24 - Weight 5
Region is AMS: subnet 10.30.0/24 - Weight 5
Region is FRA: pool pool_FRA_collab-edge.tls_.xyz.com
Region is FRA: subnet 10.20.0/24 - Weight 10
Region is FRA: subnet 10.10.0/24 - Weight 5
Region is FRA: subnet 10.30.0/24 - Weight 5
Region is USA: pool pool_USA_collab-edge.tls_.xyz.com
Region is USA: subnet 10.30.0/24 - Weight 10
Region is USA: subnet 10.10.0/24 - Weight 5
Region is USA: subnet 10.20.0/24 - Weight 5
It's just a possibility to deploy.
You can play with weight and maximum answers to reach other as well.
Let me know if it solves to you.
Regards.
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