Forum Discussion

Techgeeeg_28888's avatar
Techgeeeg_28888
Icon for Nimbostratus rankNimbostratus
Apr 29, 2012

Force to Standby

Hi Everyone,

 

I have some basic questions and I hope some one can answer them rightly,.. I am running LTM TMOS ver.11.1

 

 

1. When I force the active unit to standby, I have noticed that the user connections are not lost it continues. Now I want a confirmation of this "When a box is forced to standby the existing connections on the unit continues unless they are closed or timed out, but all the new incoming connections will go to the new active box" is this correct????

 

 

2.In case if I am using snat and I also want to know which Client IP is being served by which server, how to achieve this???

 

 

3. If I want the LTM unit to take an automatic backup of the configuration (lets say at the end of the day) in case it finds and changes in the running configuration is it possible???

 

 

 

Regards,

2 Replies

  • Hi Techgeeeg,

     

     

    1. When I force the active unit to standby, I have noticed that the user connections are not lost it continues. Now I want a confirmation of this "When a box is forced to standby the existing connections on the unit continues unless they are closed or timed out, but all the new incoming connections will go to the new active box" is this correct????

     

    When a traffic group is failed over all incoming connections, regardless of if the client had an active connection on the old active device, will be routed to the now active device. The number of connections in the statistics should drop almost immediately, but it's irrelevant anyway.

     

    2.In case if I am using snat and I also want to know which Client IP is being served by which server, how to achieve this??

     

    If you know the client IP you could:

     

    1. In the GUI, go to "Module Statistics" > "Local Traffic" and change the "Statistics Type" to "Persistence Records" and then search by the IP. If your device has a lot of persistence records I wouldn't suggest this as it can cause the webgui/tomcat instance to bug out.

     

    2. Using TMSH: show sys connection cs-client-addr [client ip here]

     

     

    If you want to see all connections for a node you could (again, this could be quite a bit of data so be careful):

     

    In TMSH: show sys connection ss-server-addr [server ip here]

     

     

    For what it's worth, when I have a client IP and I want to see just the server IPs that it's connected to I run the following from the linux shell:

     

    tmsh show sys connection cs-client-addr [client ip here] | cut -d ' ' -f7 | sort -u | grep '[0-9]*[0-9]*[0-9][.][0-9]*[0-9]*[0-9][.][0-9]*[0-9]*[0-9]'

     

     

    3. If I want the LTM unit to take an automatic backup of the configuration (lets say at the end of the day) in case it finds and changes in the running configuration is it possible???

     

    Jason Rahm recently published an article describing how to schedule automated backups using an iApp...

     

    https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086482/Scheduling-BIG-IP-Configuration-Backups-via-the-GUI-with-an-iApp.aspx

     

     

    I found a post from Nitass (https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/52/aft/2158932/showtab/groupforums/Default.aspx) which listed the following options as well:

     

    https://devcentral.f5.com/wiki/AdvDesignConfig.BIGIPBackupScriptInBash.ashx

     

    https://devcentral.f5.com/wiki/AdvDesignConfig.LTM_Backup_Shell_Script.ashx

     

    https://devcentral.f5.com/wiki/AdvDesignConfig.BIG-IP-10-2-backup-script-with-SCP-transfer.ashx

     

    https://devcentral.f5.com/wiki/AdvDesignConfig.BIGIPBackupScripts.ashx

     

     

    Hope that helps,

     

    John
  • Hi John,

     

    Thanks for your reply I will check out the things for point no. 2 and 3 but the answer of point no. 1 some what halfway... can you elaborate more.

     

     

    Regards,