Forum Discussion

Anuj's avatar
Anuj
Icon for Nimbostratus rankNimbostratus
Jan 21, 2020

SRV record response to contain different priority response everytime

Hello Experts,   I have following setup for SRV record   This is hosted as WideIP: _collab-edge.tls_.xyz.com   Based on topology records this is taking me to a nearest possible region. I...
  • cjunior's avatar
    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.