Forum Discussion

Naushad_278428's avatar
Naushad_278428
Icon for Nimbostratus rankNimbostratus
Jul 12, 2016
Solved

Is it possible to change the TCP profile based on the time?

Is it possible to change the TCP optimization profile based on the time? For example, change the TCP profile during the day time when traffic is higher than the night time.

 

  • You may be overthinking this :-)

     

    If it really matters however, one apprach would be to use a GTM wideip (with a low TTL) with an iRule to return a result based on time, as in, you could have a vs_blah_daytime and a vs_blah_nighttime on the LTM, and use the iRule on the GTM to choose between them.

     

3 Replies

  • I believe you can do this via cron. You should be able to use tmsh in a cron command format such as the following:

     

    export REMOTEUSER=root ; tmsh -c "modify ltm virtual Test_VIP profiles replace-all-with { The_other_Profile }"

     

    just make sure you test this out on a test VS first.

     

  • You may be overthinking this :-)

     

    If it really matters however, one apprach would be to use a GTM wideip (with a low TTL) with an iRule to return a result based on time, as in, you could have a vs_blah_daytime and a vs_blah_nighttime on the LTM, and use the iRule on the GTM to choose between them.