<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The F5 Guru</title>
	<atom:link href="http://www.thef5guru.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thef5guru.com</link>
	<description>Load balancing done right</description>
	<lastBuildDate>Thu, 13 Aug 2009 18:22:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LTM Secret Menu</title>
		<link>http://www.thef5guru.com/ltm/ltm-secret-menu/</link>
		<comments>http://www.thef5guru.com/ltm/ltm-secret-menu/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:22:48 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[LTM]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[halt]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[Remote Reboot]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=119</guid>
		<description><![CDATA[So I learned this from an issue I had where the box had rebooted but gone to the wrong image and I did not have the root password or login credentials. I needed to reboot the LTM but I only had serial/console access to it. The answer? Escape-shift-9, yeap, hold down escape, hold down shift, [...]]]></description>
			<content:encoded><![CDATA[<p>So I learned this from an issue I had where the box had rebooted but gone to the wrong image and I did not have the root password or login credentials. I needed to reboot the LTM but I only had serial/console access to it. The answer? Escape-shift-9, yeap, hold down escape, hold down shift, then press 9, you will get this menu on the serial console:</p>
<p><img class="aligncenter size-full wp-image-120" title="escape-shift-nine" src="http://www.thef5guru.com/wp-content/uploads/2009/08/escape-shift-nine.jpg" alt="escape-shift-nine" width="624" height="214" /></p>
<p>As you can see, you have a variety of options but I would steer clear of the halt option&#8230;.then you&#8217;re pretty much stuck! I&#8217;m pretty sure this works with most F5 products all though I have not verified with the Firepass pair that I have.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/ltm/ltm-secret-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LTM 9.1.2 Upgrade/Migration to 9.4.6</title>
		<link>http://www.thef5guru.com/ltm/ltm-9-1-2-upgrademigration-to-9-4-6/</link>
		<comments>http://www.thef5guru.com/ltm/ltm-9-1-2-upgrademigration-to-9-4-6/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:29:11 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[LTM]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[9.1.2]]></category>
		<category><![CDATA[9.4.6]]></category>
		<category><![CDATA[F5]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[TMOS]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=96</guid>
		<description><![CDATA[I recently encountered an environment full of older 9.1.2 code LTM&#8217;s and got into the project of upgrading them all. It was decide not to use the Enterprise Manager to do the upgrades because automation hadn&#8217;t been tested and this was a sensitive set of appliances to handle (change windows, business rules/policies, etc). Since I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered an environment full of older 9.1.2 code LTM&#8217;s and got into the project of upgrading them all. It was decide not to use the Enterprise Manager to do the upgrades because automation hadn&#8217;t been tested and this was a sensitive set of appliances to handle (change windows, business rules/policies, etc). Since I have encountered much of the obstacles in making the leap from 9.1.2 to 9.4.6 I am going to share my findings so nobody has to fumble through it like I did. First of all if you are attempting an upgrade, you must have support on the device or pair of devices you are upgrading. It is important to get the serial numbers (on the unit itself, or use &#8220;b platform show&#8221; on cmd line) and give F5 a call (they request two weeks notice) to setup a &#8220;Sev 4 General Assistance Proactive Case for a code Migration&#8221; which requires the following info:</p>
<blockquote><p>MAJOR MAINTENANCE PROCESS</p>
<p>What to do when you are planning a major change in your network</p>
<p>Case Details:</p>
<p>Customer contact information:</p>
<p>Maintenance window day, time, duration and time zone:</p>
<p>Reason for maintenance window:</p>
<p>SERIAL # of all units involved:</p>
<p>Unit function: (Production or test lab)</p>
<p>Remote Access (if possible):</p>
<p>Remote Access IP addresses and Log In information:</p></blockquote>
<p>So you should have all of that info handy before attempting this, it is for your best benefit as it will assure that you get quick assistance should I lead you astray. I also highly recommend if not require that you have serial/console access to the unit. You can setup a syslog server to watch the progress but this gives you little control if you are remote. A console session insures your install does not turn into a failure. I took several screen shots along the way of my upgrade so you would know that you are on the right path, basically this is all done via command-line with my method and should take about 45 minutes if done with little pause or breaks.</p>
<p>After opening the proactive case you should acquire the code base we will need for the interim upgrade. This is available on F5&#8217;s website and you&#8217;ll want to get the local install package would should be a large &#8220;.im&#8221; file. There are several changes when going from the 9.1 branch to the 9.4 branch and the most important/required one is the addition of the &#8220;Service check date:&#8221; in the /config/bigip.license file. When the upgrade package checks to see if the unit is under a valid support contract, the 9.4.x installer will error out when looking at a 9.3.1 or older config file.</p>
<div id="attachment_80" class="wp-caption alignleft" style="width: 384px"><img class="size-full wp-image-80" title="clear_partitions" src="http://www.thef5guru.com/wp-content/uploads/2009/08/clear_partitions.png" alt="clear_partitions" width="374" height="239" /><p class="wp-caption-text">Installer Boot Image Configuration Screen Fig1.1</p></div>
<p>What I have found to work best is to leave the current running version on its own partition, in this case it is on HD1.2.  I run the installer program (#im local-install-9.3.1.37.1.im) and go into the boot image configuration screen shown in Fig1.1  I select HD1.1 and CF1.1 for &#8220;discard&#8221; so that it will purge whatever is on them now and have them fresh and ready to go. I&#8217;ve had better luck with this than choosing to install over them because then the installer will look on that partition for the bigip.license file. With the partition clear, it is much easier to proceed. Selecting both of these will give you a summary screen saying are you sure? Well, are you? If so, hit yes and t will reboot and go into a installer mode where it simply clears those partitions, then reboot back to the HD1.2 which is what we want in this case, that&#8217;s the operational instance.</p>
<div id="attachment_77" class="wp-caption alignright" style="width: 406px"><img class="size-full wp-image-77" title="discard_summary" src="http://www.thef5guru.com/wp-content/uploads/2009/08/discard_summary.png" alt="discard_summary" width="396" height="227" /><p class="wp-caption-text">Discard Summary Fig1.2</p></div>
<p>To the right (fig1.2) is the discard summary screen I mentioned, you&#8217;ll want to see this before you let it clear them.</p>
<p>Now we are ready to do the actual install. First and foremost, go into the GUI and goto the license section and re-activate your license. If this fails, you cannot proceed. For some it is easier to do via command line, use the get_dossier method and use license.f5.com to get your license file. Once this is done, run the command again (#im /var/tmp/local-install-9.3.1.37.1.im) to kick off the 9.3.1 install. Select CF1.1 as the install target because this is purely a temporary upgrade that we want to get to.</p>
<div id="attachment_75" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-75" title="install_9.3.1_cf1-2" src="http://www.thef5guru.com/wp-content/uploads/2009/08/install_9.3.1_cf1-2-300x147.png" alt="install_9.3.1_cf1-2" width="300" height="147" /><p class="wp-caption-text">9.3.1 Install Summary Fig1.3</p></div>
<p>Fig 1.3 has the summary you should see before you continue. Make SURE that it is on CF1.1 before you proceed. This will reboot the box and take approximately 15 mins to install, upon which point it will by default come to the new 9.3.1 version.</p>
<p>Now I bet at this point you know what is next? Go ahead and install the 9.4.x code right? Nope! We still do not have the updated license check date: field because we haven&#8217;t activated this license on the 9.3.x code base. That&#8217;s the next step, go into the GUI and do it or use command line, but make sure you update/reactivate the license before you proceed.</p>
<div id="attachment_74" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-74" title="install_9.4.6_hd1-2" src="http://www.thef5guru.com/wp-content/uploads/2009/08/install_9.4.6_hd1-2-300x145.png" alt="9.4.6 Install Summary Fig1.4" width="300" height="145" /><p class="wp-caption-text">9.4.6 Install Summary Fig1.4</p></div>
<p>Once you are sure this has been done, go ahead and run the command (#im local-install-9.4.6.401.0.im) and let&#8217;s do the 9.4.x code install. We want to select the open partition  as the final destination. HD1.1 will be selected as shown in Fig1.4 . Once again, this will trigger a reboot with an install. After this process is over you should see a few additional steps that did not occur in the 9.3.x install but this is normal. Congrats, if you see the screen in the picture below (fig1.5) you have succesfully migrated to 9.4.x. I always recommend reactivating your license because it helps make sure everything is current, I would also verify/test failover and be sure to run a &#8220;switchboot&#8221; and verify this is the default boot partition (hd1.2 in this example)</p>
<div id="attachment_73" class="wp-caption aligncenter" style="width: 635px"><img class="size-full wp-image-73" title="success" src="http://www.thef5guru.com/wp-content/uploads/2009/08/success.png" alt="Fig1.5 Install complete" width="625" height="318" /><p class="wp-caption-text">Fig1.5 Install complete</p></div>
<p>(I realize 9.4.7 is out at the time of this writing, but 9.4.6 is the tested standard for this environment)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/ltm/ltm-9-1-2-upgrademigration-to-9-4-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Where does he get those wonderful toys?&#8221;</title>
		<link>http://www.thef5guru.com/random/nexus-5000-2000-nxos/</link>
		<comments>http://www.thef5guru.com/random/nexus-5000-2000-nxos/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 16:35:17 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Cisco Studies]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Fabric Extender]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Nexus 2000]]></category>
		<category><![CDATA[Nexus 5000]]></category>
		<category><![CDATA[Nexxus]]></category>
		<category><![CDATA[NX-OS]]></category>
		<category><![CDATA[Viprion]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=81</guid>
		<description><![CDATA[
I hope you got that Joker reference in the title&#8230;It is hard to concentrate when you have this sitting on your desk. The NX-OS based Nexus 5000/2000&#8217;s just arrived and I&#8217;m pretty excited to see the new things Cisco is implementing with their switch fabric. This unit has a 1Tb/sec back plane and has 10Gb [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">
<div id="attachment_82" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-82" title="img011" src="http://www.thef5guru.com/wp-content/uploads/2009/08/img011-300x240.jpg" alt="Nexus 5000" width="300" height="240" /><p class="wp-caption-text">Nexus 5000</p></div>
<p style="text-align: left;">I hope you got that Joker reference in the title&#8230;It is hard to concentrate when you have this sitting on your desk. The <a href="http://www.cisco.com/en/US/products/ps9372/index.html">NX-OS</a> based <a href="http://www.cisco.com/en/US/products/ps9670/index.html">Nexus</a> 5000/2000&#8217;s just arrived and I&#8217;m pretty excited to see the new things Cisco is implementing with their switch fabric. This unit has a 1Tb/sec back plane and has 10Gb ports like crazy. If I could get my hands on the <a href="http://www.f5.com/products/hardware/viprion.html">Viprion</a> we would really have a good lab to play with. I&#8217;m still editing and working on the 9.1-9.4 upgrade guide as well as installing a 10.x code base on one of my lab units, but I had to share this.  I am still baffled that it has a HDMI port for the &#8220;fabric extender&#8221; pictured on the 2000 (top unit) on far left. In order to get one of these bad boys you pretty much have to let this guy talk to your Cisco rep  (picture cracks me up too)</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-88" title="2edqyja" src="http://www.thef5guru.com/wp-content/uploads/2009/08/2edqyja.gif" alt="2edqyja" width="374" height="206" /></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/random/nexus-5000-2000-nxos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 Years, 2 Months and change</title>
		<link>http://www.thef5guru.com/random/ltm-uptime-reliable/</link>
		<comments>http://www.thef5guru.com/random/ltm-uptime-reliable/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 14:10:38 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Endurance]]></category>
		<category><![CDATA[F5]]></category>
		<category><![CDATA[LTM]]></category>
		<category><![CDATA[Reliability]]></category>
		<category><![CDATA[Reliable]]></category>
		<category><![CDATA[Uptime]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=67</guid>
		<description><![CDATA[Does anyone recall the old Dell/F5 relationship that lead to the &#8220;PowerAPP&#8221; appliances?

I did a quick search to see if anything on the web remained of these relics, and came up with a blast from the past:
http://mobilcommcorp.com/Servers.htm
Look at how ancient these goliaths are! Compaq ProLiant, AlphaServer, Himalaya just to name a few are from this [...]]]></description>
			<content:encoded><![CDATA[<p>Does anyone recall the old Dell/F5 relationship that lead to the &#8220;PowerAPP&#8221; appliances?</p>
<p><img class="size-full wp-image-68 alignleft" title="pwrap_bigip" src="http://www.thef5guru.com/wp-content/uploads/2009/07/pwrap_bigip.jpg" alt="pwrap_bigip" width="140" height="110" /></p>
<p>I did a quick search to see if anything on the web remained of these relics, and came up with a blast from the past:</p>
<p><a href="http://mobilcommcorp.com/Servers.htm">http://mobilcommcorp.com/Servers.htm</a></p>
<p>Look at how ancient these goliaths are! Compaq ProLiant, AlphaServer, Himalaya just to name a few are from this era. I ran into one of these devices and noticed something rather remarkable, and certainly a true testament to what enterprise gear should be. I could ramble on about the quality of the datacenter it is housed on or the neglect/lack of OS upgrades but hey, it is a dev box- that&#8217;s expected. Checkout this uptime</p>
<p><img class="aligncenter size-full wp-image-69" title="uptime" src="http://www.thef5guru.com/wp-content/uploads/2009/07/uptime.jpg" alt="uptime" width="612" height="274" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/random/ltm-uptime-reliable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tools of the Trade</title>
		<link>http://www.thef5guru.com/random/irule-editor/</link>
		<comments>http://www.thef5guru.com/random/irule-editor/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 02:17:57 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Beyond Compare]]></category>
		<category><![CDATA[F5]]></category>
		<category><![CDATA[iRule Editor]]></category>
		<category><![CDATA[iRuleRedirector Generator]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[Textpad]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[WinSCP]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=53</guid>
		<description><![CDATA[Seems like a good idea to share what you&#8217;ve found that works and what you can&#8217;t go a day without. I decided to throw together a quick list of tools that I use on a daily basis-

TextPad
Putty/Vi
WinSCP
BeyondCompare
iRuleRedirector
iRule Editor

Now the last two are F5 related software that are freeware that I use occasionally for the heck [...]]]></description>
			<content:encoded><![CDATA[<p>Seems like a good idea to share what you&#8217;ve found that works and what you can&#8217;t go a day without. I decided to throw together a quick list of tools that I use on a daily basis-</p>
<ul>
<li>TextPad</li>
<li>Putty/Vi</li>
<li>WinSCP</li>
<li>BeyondCompare</li>
<li>iRuleRedirector</li>
<li>iRule Editor</li>
</ul>
<p>Now the last two are F5 related software that are freeware that I use occasionally for the heck of it or convenience factor. I don&#8217;t think I could operate without a really solid &#8220;diff&#8221; tool, and BeyondCompare has given me by far the best &#8220;bang for the buck&#8221;.</p>
<p><img class="aligncenter size-full wp-image-56" title="BeyondCompare" src="http://www.thef5guru.com/wp-content/uploads/2009/07/BeyondCompare.jpg" alt="BeyondCompare" width="573" height="376" /></p>
<p>It has a left/right pane view that quickly diff&#8217;s the files and shows you the discrepancies, it works over network drives and FTP connections so it makes diff&#8217;ing entire folders or file systems  a breeze. It lets you merge changes and quickly work through a mismatch situation. The trial is very generous with 30 days of actual use before it expires and the full copy only runs about $50 ( <a href="http://www.scootersoftware.com/">http://www.scootersoftware.com/</a> )</p>
<p>Putty is free, if you don&#8217;t know what Putty is you are probably stuck on SecureCRT or some other popular programs that cost far too much for what they offer. Putty can handle scp, ssh, sftp, telnet, Serial, pretty much anything you throw at it- and it&#8217;s free!( <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">http://www.chiark.greenend.org.uk/~sgtatham/putty/</a> )</p>
<p><img class="aligncenter size-full wp-image-57" title="putty" src="http://www.thef5guru.com/wp-content/uploads/2009/07/putty.jpg" alt="putty" width="501" height="218" /></p>
<p>Vi is standard, you should really know the basics of Vi if you are going to be in charge of any linux based network device such as the LTM, but some people prefer to use tools like Textpad which run locally (<a href="http://www.textpad.com/ "> http://www.textpad.com/ </a>). It can color code tcl and make it pretty easy to read which I find useful.</p>
<p>F5 has released a tool called the iRule Editor. It connects via iControl and pulls your iRules locally and allows you to manage them, I played with this a few times and use it to help beginners out but after experiencing the Enterprise Manager, I no longer find a use for it.</p>
<p><img class="aligncenter size-full wp-image-58" title="iRule Editor" src="http://www.thef5guru.com/wp-content/uploads/2009/07/iRule-Editor.jpg" alt="iRule Editor" width="530" height="316" /></p>
<p>The other tool I suggest to beginners and support engineers is the iRuleRedirector Generator program written by one of the guys at F5. It is available in devCentral and when I find a link I will place it in this post. It allows you to quickly throw together an iRule to handle a traffic flow issue without any knowledge of how iRules work.</p>
<p><img class="aligncenter size-full wp-image-59" title="iRuleRedirect" src="http://www.thef5guru.com/wp-content/uploads/2009/07/iRuleRedirect.jpg" alt="iRuleRedirect" width="485" height="268" /></p>
<p>And that&#8217;s it, if anyone has something that they feel is important please let me know, I&#8217;d love to check out a new toy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/random/irule-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNS3 is Awesome</title>
		<link>http://www.thef5guru.com/random/gns3-ios-f5/</link>
		<comments>http://www.thef5guru.com/random/gns3-ios-f5/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 21:37:32 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Cisco Studies]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[BSCI]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[GNS3]]></category>
		<category><![CDATA[MPPP]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=43</guid>
		<description><![CDATA[I just wanted to post up another quick example of how studying for the Cisco exam has come along way. Long ago you had to purchase expensive simulators with limited command sets for hundreds of dollars. Now you can simply fire up GNS3 running dynamips and emulate any IOS you want short of a 6000 [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to post up another quick example of how studying for the Cisco exam has come along way. Long ago you had to purchase expensive simulators with limited command sets for hundreds of dollars. Now you can simply fire up GNS3 running dynamips and emulate any IOS you want short of a 6000 series chassis</p>
<p>Here is a quick screenshot of a redistribution lab that I recently configured. 9 routers and a ASA firewall running on one VM, incredible!</p>
<p><img class="aligncenter size-large wp-image-45" title="GNS3lab" src="http://www.thef5guru.com/wp-content/uploads/2009/07/GNS3lab1-1024x613.jpg" alt="GNS3lab" width="896" height="549" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/random/gns3-ios-f5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SNAT Translation Overflow</title>
		<link>http://www.thef5guru.com/ltm/snat-translation-overflow/</link>
		<comments>http://www.thef5guru.com/ltm/snat-translation-overflow/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:17:21 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[LTM]]></category>
		<category><![CDATA[Resolved Issues]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Automap]]></category>
		<category><![CDATA[F5]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[SNAT]]></category>
		<category><![CDATA[SNAT Translation]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/?p=6</guid>
		<description><![CDATA[My first addition to the content on this site is going to cover a recent issue I encountered with the use of SNAT&#8217;s and the classic &#8220;on a stick&#8221; architecture that F5 recommends.
On the stick implementations are something I will cover in another post, but it seems many vendors support this method because it requires [...]]]></description>
			<content:encoded><![CDATA[<p>My first addition to the content on this site is going to cover a recent issue I encountered with the use of SNAT&#8217;s and the classic &#8220;on a stick&#8221; architecture that F5 recommends.</p>
<p>On the stick implementations are something I will cover in another post, but it seems many vendors support this method because it requires very little effort or engineering to implement and has great success in smaller organizations.</p>
<p>SNAT&#8217;s are used when traffic is sourced from nodes (pool members) and needs to be &#8220;translated&#8221; to an accessible VIP or core-facing network address that will allow bi-directional communication. For some reason the SNAT entries are divided into two tabs in the GUI and it is very easy to ignore the second tab.</p>
<p style="text-align: center;"><img class="aligncenter" title="SNAT Translation" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-1.jpg" alt="SNAT Translation" width="324" height="134" /></p>
<p>If you notice this section is not populated until there are actual SNAT translations that occur. Each translation then inherits its own settings from the default F5 configuration which is &#8220;indefinite&#8221; (pictured below)</p>
<p style="text-align: center;"><img class="size-full wp-image-22 aligncenter" title="SNAT Indefinite" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-2.jpg" alt="SNAT Indefinite" width="292" height="262" /></p>
<p style="text-align: left;">The challenge with this configuration is that most users implement a single default SNAT for these on-the-stick designs which restricts you to the maximum ephemeral port listing for one IP (max of 64511). If these translations never expire, with a high connection count you will see behavior similar to that pictured below (the behavior I encountered)</p>
<p style="text-align: center;"><img class="size-full wp-image-24 aligncenter" title="SNAT Translation" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-3.jpg" alt="SNAT Translation" width="499" height="143" /></p>
<p style="text-align: left;">I knew this could not sustain, so I looked at the preprod environment for this application which was of the &#8220;inline&#8221; architecture, its connection count was pretty stable- typical of what you would expect to see:</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-25" title="SNAT Translation" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-4.jpg" alt="SNAT Translation" width="505" height="157" /></p>
<p style="text-align: left;">A quick glance at the SNAT translation table revealed that sure enough several SNAT&#8217;s were over-utilized and not expiring properly:</p>
<p style="text-align: left;">
<pre><em>[thef5guru@bigip01:Active]  home # b snat translation stats show</em></pre>
<pre><em>SNAT TRANSLATION 1.1.1.1  - stats:</em></pre>
<pre><em>|     (cur, max, limit,  tot) = (<strong>53754</strong>, 121, 0, <strong>55754</strong>)</em></pre>
<pre><em>|     (pkts,bits) in =  (18967, 101.0M), out = (16836, 102.1M)

</em></pre>
<p>So that appears to be the issue, a quick change of settings for the particular SNAT entry (1.1.1.1) to a reasonable timeout seems to be the fix. I decided to go with a 24hour timeout (specified in seconds-86,400)</p>
<p><img class="aligncenter size-full wp-image-31" title="SNAT-5" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-5.jpg" alt="SNAT-5" width="310" height="223" /></p>
<p>Now, after making this change I noticed that the connections were still active in the translation table, so I pondered a reset of TMM, a failover, and other scenarios before I decided that there really is no clean way to change this without disrupting traffic. The short way to do it is via the command &#8220;b conn all delete&#8221;. The end result is shown below, notice that the connections are now holding steady and it could probably even be lowered to something more like an hour (3600 seconds)</p>
<p><img class="aligncenter size-full wp-image-32" title="SNAT-6" src="http://www.thef5guru.com/wp-content/uploads/2009/07/SNAT-6.jpg" alt="SNAT-6" width="461" height="133" /></p>
<p>My ultimate recommendation would be to implement a SNAT pool of several IP&#8217;s so that the port usage can increase substantially more than the anticipated traffic levels for your organization. In this example the option was not on the table and immediate action was needed, so be sure to analyze your particular problem and make sure the solution is appropriate.</p>
<p><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/ltm/snat-translation-overflow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My first post!</title>
		<link>http://www.thef5guru.com/random/hello-world/</link>
		<comments>http://www.thef5guru.com/random/hello-world/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 18:56:40 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.thef5guru.com/wordpress/?p=1</guid>
		<description><![CDATA[Welcome to my new blog! I decided to start this blog after numerous frustrations with the lack of F5 documentation on the web.
My current expectations are to fill this blog with all of my tips and tricks and general best practices for installing, configuring, and managing F5 products in all size environments. I&#8217;ve worked with [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to my new blog! I decided to start this blog after numerous frustrations with the lack of F5 documentation on the web.</p>
<p>My current expectations are to fill this blog with all of my tips and tricks and general best practices for installing, configuring, and managing F5 products in all size environments. I&#8217;ve worked with implementations in small companies and am currently managing a network with more than 30 LTM devices deployed across the enterprise. My current project set includes the rollout of an Enterprise Manager (500 series) and the planning and architecture of a two-pair GTM deployment.</p>
<p>Feel free to leave comments and I hope you find this site informative!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thef5guru.com/random/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
