Forum Discussion

Scott_McRoberts's avatar
Scott_McRoberts
Icon for Nimbostratus rankNimbostratus
Feb 28, 2008

Would like to use priority group activation in a dual primary/backup situation

I have 4 servers in a pool. 2 are on network A and 2 are on network B.

 

 

I would like to have 1 server active on network A & B. If the active server on network A fails send traffic to the second server on network A and if the active server on network B fails send traffic to the second server on network B. I know how to set it up for 2 active servers and if either one of those fail bring up another server but not if a specific server fails bring up another specific server.

6 Replies

  • Let's look at the following approach based on the information you provided:

    let's call Network A "PoolA" and Network B "PoolB"

    Server1 and Server2 in PoolA

    Server 2 and Server 3 in PoolB

    
    Pool A (Minimum active members is 1)
        Server 1: Priority 100 Ratio 1<== ACTIVE
        Server 2: Priority 50  Ratio 1<== INACTIVE and active ONLY when Server 1 is down
    Pool B (Minimum active members is 1)
       Server 2: Priority 100 Ratio 1 <== ACTIVE
       Server 3: Priority 50 Ratio 1 <== INACTIVE and active ONLY when Server 2 is down

  • Not sure that is what I am looking for. Looks like there are 2 pools with 2 servers in each pool with this configuration. I am wanting all 4 servers in the same pool but specifically have server 2 backup server 1 and server 4 backup server 3.
  • I'm not sure there is a way to do that. Is there anything unique about the requests that you could split requests up between two pools? An iRule could split traffic between the two pools based on something and then this would work.
  • The idea of 2 seperate pools gave us an idea that is similiar to something we are already doing. We have an F5 on the front end and an F5 on the backend where the actual servers reside. We are going to try and setup a vip on the front end F5 and configure the pool to be 2 vips on the backend F5 and one vip will load balance to pool A the the other one will load balance to pool B, using persistence we should be able to stay on the same pool if one server fails.

     

     

    Thanks for comments.
  • If you want specific servers an irule can give you that granulity

     

     

    Take a look at the following article

     

    http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=130

     

     

    Thanks,

     

    CB

     

  • zafer's avatar
    zafer
    Icon for Nimbostratus rankNimbostratus
    it s very simple alteon load balancer,

     

     

    group (member a b c d)

     

     

    node a (backup b)

     

    node c (backup d)

     

     

    zafer