Forum Discussion

3 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    I'm pretty sure you could do this with rate classes. But you'll need one per pool member, and an iRule to assign it.

     

    That wouldn't help with keeping it balanced though...

     

    H

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Of assigning rate classes? How about this completely off the cuff 1 liner?

    when LB_SELECTED {
      if { [IP::adde [LB::server] equals "10.1.1.1"] } {
        rateclass "limited-class"
      }
    }
    

    Note this leaves out the necessary testing of LB::server returning NULL for some reason etc... You can also test by server name (Using LB::name) Or any other test TBH...

    Oh... I lied... It's 5 lines...

    H