Forum Discussion

mstorck_64567's avatar
mstorck_64567
Icon for Nimbostratus rankNimbostratus
Apr 08, 2008

iRule to scan solaris specifications

Hello,

 

Currently I have two Solaris machines that act as web servers and also have other services running on them. I was wondering if there was a way to write an iRule to poll each machine and determine which one currently has lower CPU/memory usage etc. to determine which server would be better to send data to. I could write a script of some kind in Solaris to gather that information. But is there a way for an iRule to read the values of scripts running on the Solaris servers?

 

Thanks.
  • Unfortunatly, there is no clean way to do this. I had the same request from my clients and after looking at F5's professional services and doing some Proof of Concepts it turns out the F5 indirectly does this with a combination of monitoring and the canned load balancing methods. For instance, if the ultimate goal is to send traffic to the fastest responding system assuming performance for the app is directly porportional to CPU and Memory, then you would choose the load balancing method that looks at response times.

     

     

    I know this doesn't really answer your question completely, but hopefully it provides some new insite that you were not thinking about before.

     

     

    /CB

     

  • Take a look at Dynamic Ratio. It is a load balancing method, but the polling is done via SNMP DCA (WMI for Windows) monitor, which allows polling of standard stuff like CPU, memory and disk utilization, as well as custom stuff (I thought this was only on SNMP DCA_base...). SNMP DCA_base is alo available and allows getting the custom OID.