Forum Discussion

amintej's avatar
amintej
Icon for Cirrus rankCirrus
Oct 25, 2017

Dynamic ratio monitor

Hello,

We are implenting dynamic ratio, one bash script is checking severs health and updating ratio for each member. What is the recommendation for updating the ratio ? TMSH command or guishell?

tmsh modify ltm pool pool_dynamic_$PORT members modify  { $IP:$PORT { ratio $RATIO }   

Guishell:

guishell -c "update pool_member set dynamic_ratio= where pool_name='//' and node_name='//' and port=''"

2 Replies

  • guishell command is not updating the ratio as I can see in the output "0 rows"

     0 rows 0.063s (mcpd: 0.010s, mcpj: 0.001s, hsql: 0.048s, conn: 0.003s, format: 0.000s)
              (rcv: 0Kb, 0.000s, snd: 119b, 0.000s)
    

    According Dynamic ratio guishell command is only available in versions 11, our LTM version is 12.1.2. We want to avoid "Changes Pending conflict issues", how is the best method to update dynamic ratio?