Forum Discussion

Arne_83218's avatar
Arne_83218
Icon for Nimbostratus rankNimbostratus
Aug 24, 2007

dynamic ratio (member) with a custom protocol, libmcp

Hi,

 

 

I'd like to build a pool where the ratio of each member can be dynamically adjusted. So far I have only found monitors that adjust the ratio on a node basis (real_server, WMI, ...). Also, my application is home-grown, so I can't use the mentioned monitors.

 

The cleanest way to do this seems to me to write a monitor binary to run on the BigIP (8400), talking via a custom protocol with my application.

 

Unfortunately, I cannot find any documentation how to do this. Writing the BigIP-part seems to involve handling libmcp.

 

Any hints appreciated.

 

 

Thanks,

 

Arne
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Hi Arne --

     

     

    The best approach would actually be to create an iControl app that runs on your servers, monitoring the local app instance using whatever metrics are critical for your app, and making a call to the LTM API to adjust the ratio value when appropriate.

     

     

    Here's a discussion of how to approach the issue for LTM: Click here

     

    and another post containing a perl script that adjusts the ratio values for a GTM wideIP (similar issue, different product): Click here

     

     

    If you have more questions about that approach, you might try posting over in the iControl forum (Click here)

     

     

    HTH

     

    /deb