Forum Discussion

Ernesto_M's avatar
Ernesto_M
Icon for Nimbostratus rankNimbostratus
Nov 17, 2020
Solved

Resolve 2 IPs at the same time, with failover in a 3rd one

In BIG-IP GSLB, I want to resolve a domain, for example, www.example.com, with 2 IPs at the same time (1.1.1.1, 2.2.2.2), and when these 2 IPs are down, resolve with a third IP (3.3.3.3). For example...
  • cjunior's avatar
    Nov 17, 2020

    Hello,

    My understand, in your scenario you can run with a single pool and a fallback IP:

    To get multiple answers, change the "Maximum Answers Returned" on pool properties.

    E.g.

     

    WideIP: www.my.domain

    Pools:  Pool_A

    Last Resort Pool: None

     

    Pool_A:

      Properties:

        Maximum Answers Returned: 2

      Members:

        1.1.1.1

        2.2.2.2

        Load Balancing Method:

          Preferred: RR

          Alternate: RR

          Fallback: Fallback IP

        Fallback IP: 3.3.3.3

     

    If you need to work with a last resort pool setup, you can:

     

    WideIP: www.my.domain

    Pools:  Pool_A

    Last Resort Pool: Pool_B

     

    Pool_A:

      Maximum Answers Returned: 2

      Members:

        1.1.1.1

        2.2.2.2

      Load Balancing Method:

        Preferred: RR

        Alternate: RR

        Fallback: None

      Fallback IP: 0.0.0.0

       

    Pool_B:

      Members:

        3.3.3.3

    .........

     

    I hope this helps.

     

    Best Regards