<?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>Operations System Administration Network &#187; Tools</title>
	<atom:link href="http://www.opssa.net/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opssa.net</link>
	<description>OpsSA.net - SA wisdom and philosophy</description>
	<lastBuildDate>Sat, 02 Jan 2010 05:46:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Synchronizing Time with NTP</title>
		<link>http://www.opssa.net/2009/01/synchronizing-time-with-ntp/</link>
		<comments>http://www.opssa.net/2009/01/synchronizing-time-with-ntp/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 04:32:28 +0000</pubDate>
		<dc:creator>Jim Sheafer</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[book:isbn=1590594843]]></category>
		<category><![CDATA[NTP]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.opssa.net/?p=169</guid>
		<description><![CDATA[Synchronized time is often overlooked as unnecessary in a production environment, with the thought that &#8220;close&#8221; is good enough. Let me convince you that accurate, synchronized time is important, easy to setup, and easy to maintain. I&#8217;ll even show you how to setup your own hyper-accurate time source that is inexpensive and easy to setup.
Accurate [...]]]></description>
			<content:encoded><![CDATA[<p>Synchronized time is often overlooked as unnecessary in a production environment, with the thought that &#8220;close&#8221; is good enough. Let me convince you that accurate, synchronized time is important, easy to setup, and easy to maintain. I&#8217;ll even show you how to setup your own hyper-accurate time source that is inexpensive and easy to setup.</p>
<h4>Accurate Time is Important</h4>
<p>The real time clock built in to your computer is accurate enough for most applications. Setting it from your watch can mean it&#8217;s off by a few minutes, but it will maintain that (incorrect) time fairly well. Join a network with that computer, and suddenly the correct time becomes important. Here&#8217;s why:</p>
<ol>
<li><strong>Network Protocols Rely on Accurate Time</strong> &#8211; Many network protocols, including encryption, data transport, and data caching require the sending and receiving hardware to have accurate time to function well.</li>
<li><strong>Log Analysis Needs Accurate Time</strong> &#8211; Analyzing data across machines in multiple log files is impossible without those machines agreeing on the time.</li>
<li><strong>Legal Records Require Accurate Time</strong> &#8211; When you are being cross-examined and are asked &#8220;Well, how can you be sure that was the exact time in your logs?&#8221; you will be able to demonstrate the automatic process that keeps all of your computer clocks accurate.</li>
<li><strong>Contractual Records Require Accurate Time</strong> &#8211; Knowing when a request was fulfilled is needed for billing and royality payment purposes.</li>
</ol>
<h4>Setup the NTP Server</h4>
<p>Most *nix distributions will have NTP available to install if not installed by default. Once installed, configuring the server is as easy as:</p>
<ol>
<li><strong>Select one or two close servers from which to obtain accurate time.</strong> See <a href="http://support.ntp.org/bin/view/Servers/WebHome">The NTP Servers Web</a> for a list of public servers. List these servers with the &#8220;server&#8221; directive in your ntp.conf file.</li>
<li><strong>Use the &#8220;restrict&#8221; directive.</strong> List the network(s) allowed to query the time.</li>
<li><strong>Run ntpdate several times.</strong> Until the &#8220;offset&#8221; returned is less than 1.</li>
<li><strong>Start the ntpd service.</strong> And make sure it runs after a reboot.</li>
</ol>
<p>You <em>are</em> going to set up more than one of these, right? Single Point of Failure (SPoF) is usually a bad thing&#8230;</p>
<h4>Setup the NTP Clients</h4>
<p>Setting up the client is almost the same procedure as setting up the server.</p>
<ol>
<li><strong>Setup your client to use your local NTP servers.</strong> List these servers with the &#8220;server&#8221; directive in your ntp.conf file.</li>
<li><strong>Run ntpdate several times.</strong> Until the &#8220;offset&#8221; returned is less than 1.</li>
<li><strong>Start the ntpd service.</strong> And make sure it runs after a reboot.</li>
</ol>
<p>You may also want to change the startup script to include <strong>ntpdate -b <em>server</em></strong> at start up (and before starting the daemon). This will cause the time to jump to the correct time instead of being slowly adjusted toward the correct time. Handy if your clock is way off.</p>
<h4>Setup a Stratum 1 Server</h4>
<p>Want to setup NTP, but on an isolated network? No problem &#8211; just setup a stratum 1 server. In NTP, &#8220;stratum&#8221; describes the distance from a stable time source &#8211; higher number is further away. Stratum 0 is the reference time source itself, like <a href="http://tf.nist.gov/stations/wwv.html">WWV</a> or a <a href="http://tf.nist.gov/cesium/fountain.htm">cesium clock</a>. Stratum 1 is the computer directly connected to the reference clock. Most reference clocks are too expensive to run yourself, but there is cheap time source that is easy to setup and connect to your NTP server.</p>
<ol>
<li><strong>Obtain a Stratum 0 time reference</strong> &#8211; Use your favorite internet search engine to find a &#8220;pulse-per-second&#8221; GPS receiver. In January of 2009, <a href="https://buy.garmin.com/shop/shop.do?cID=158&#038;pID=223">Garmin has an OEM model for about $70</a>. Since a GPS knows it&#8217;s location by comparing it&#8217;s (derived) hyper-accurate clock against the time broadcast from GPS satelites, it can tell you the exact time, as well as it&#8217;s location. Learn more details in this <a href="http://www.trimble.com/gps/index.shtml">great tutorial</a>.
<li><strong>Connect the GPS to the Server</strong> &#8211; The pulse-per-second feature sends a signal every second down a wire. Plug that wire into your serial port, and NTP can use that time source as an NTP server.</li>
</ol>
<p>This post certainly isn&#8217;t enough information to set up a stratum 1 server, but it really is pretty easy. To really set it up, you need to read the NTP docs, search the &#8216;net, and read the <a href="http://www.linuxquestions.org/linux/answers/Hardware/Microsecond_Precision_From_Garmin_18_LVC_GPS_unit_with_PPS_Signal_And_NTP">great articles</a> that you find.</p>
<p><center><em>Let me know what you think in the comments</em></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opssa.net/2009/01/synchronizing-time-with-ntp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Test Your Website Remotely</title>
		<link>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/</link>
		<comments>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 04:12:47 +0000</pubDate>
		<dc:creator>Jim Sheafer</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[book:isbn=0596008953]]></category>
		<category><![CDATA[book:isbn=0975841963]]></category>
		<category><![CDATA[SOCKS]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.sheafer.org/OpsSA/?p=158</guid>
		<description><![CDATA[It is always difficult to see things from your customer&#8217;s point of view &#8211; literally and figuratively. So after spending hours and hours on your newest web product, how do you see it through your customer&#8217;s eyes? How do you know that it is working from outside your company&#8217;s protected network? I figured out a [...]]]></description>
			<content:encoded><![CDATA[<p>It is always difficult to see things from your customer&#8217;s point of view &#8211; literally and figuratively. So after spending hours and hours on your newest web product, how do you see it through your customer&#8217;s eyes? How do you know that it is working from outside your company&#8217;s protected network? I figured out a great technique, and it&#8217;s dead easy to setup.</p>
<h4>The Encrypted Network Tunnel</h4>
<p>While researching ways of securing a connection between two networks (VPNs, SSH, etc) I kept <a href="http://lifehacker.com/software/ssh/geek-to-live--encrypt-your-web-browsing-session-with-an-ssh-socks-proxy-237227.php">finding</a> <a href="http://ubuntu.wordpress.com/2006/12/08/ssh-tunnel-socks-proxy-forwarding-secure-browsing/">pages</a> that detailed setting up an SSH tunnel to bypass your company&#8217;s web browsing policy. And while I don&#8217;t condone that activity, there are those of us who&#8217;s job it is to prevent it from happening, so best to know how to do it. And there are <em>legitimate</em> reasons to use it. Creating a tunnel changes your origination point &#8211; create a tunnel to a machine in a far off land, and your web server will see the far off land as the origination of the request. So, it&#8217;s great for testing!</p>
<h4>Three Easy Steps</h4>
<p>So, let&#8217;s setup a tunnel! <em>MAKE SURE YOU ARE ALLOWED TO DO SO</em> then follow these simple steps:</p>
<ol>
<li><strong>Create an SSH Tunnel</strong> &#8211; Open an ssh connection to a host you are able to login to and specify a port to listen on for a SOCKS tunnel.<br />
<blockquote><p>ssh -D <em>port hostname</em></p></blockquote>
</li>
<li><strong>Use Your Tunnel as a SOCKS Proxy</strong> &#8211; Configure your browser to use your local machine (on the same port) as a SOCKS proxy.<br />
<blockquote><p>Socks Proxy: localhost Socks Port: port from above</p></blockquote>
</li>
<li><strong>There is no step 3</strong> &#8211; Because a SOCKS proxy is built into SSH, nothing else is needed!</li>
</ol>
<h4>If you can SSH to it, then you can proxy through it</h4>
<p>That&#8217;s all there is to it. You can now use your local browser as if it was running on the remote machine. Any machine you can SSH to is now part of your test bed. Just to prove how simple it is, I have tested this setup using the rather stripped down environment in my wireless router as the server. It worked perfectly. This setup is equally simple on a Mac (although upgrading to the latest OpenSSH is a good idea) and Windows machines (using PuTTY as your SSH client). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Telephone</title>
		<link>http://www.opssa.net/2008/12/telephone/</link>
		<comments>http://www.opssa.net/2008/12/telephone/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 23:55:21 +0000</pubDate>
		<dc:creator>Jim Sheafer</dc:creator>
				<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[book:isbn=0596008686]]></category>

		<guid isPermaLink="false">http://www.sheafer.org/OpsSA/?p=95</guid>
		<description><![CDATA[If I were following the premise of &#8220;A New Beginning&#8221; and setting up a new office from scratch as the Head Operations Techie, I may be the guy on the hook for setting up phones. So let&#8217;s talk about how the Operations team uses the telephone.
Cell Phone
The cell phone is absolutely required for anyone in [...]]]></description>
			<content:encoded><![CDATA[<p>If I were following the premise of <a href="http://www.sheafer.org/OpsSA/a-new-beginning/">&#8220;A New Beginning&#8221;</a> and setting up a new office from scratch as the Head Operations Techie, I may be the guy on the hook for setting up phones. So let&#8217;s talk about how the Operations team uses the telephone.</p>
<h4>Cell Phone</h4>
<p>The cell phone is absolutely required for anyone in an operations role. Operations is a 24&#215;7 job, and in many cases a cell phone is the difference between an outage that is a minor annoyance to you and your family, and a major login-and-fix-it event.</p>
<ul>
<li><strong>Let each employee get her own phone</strong> &#8211; mandating a make or model is a waste for some people and insufficient of others.</li>
<li><strong>Let each employee use the network of her choice</strong> &#8211; Cell networks do have outages of their own, and this spreads out your risk.
<li><strong>Let each employee get a Text/SMS feature in the plan</strong> &#8211; Use Text/SMS instead of a pager, and as mobile Instant Messaging.</li>
<li><strong>Consider allowing the Web feature in the plan</strong> &#8211; Being able to check the company website while mobile is a huge win, if that is part of the job.</li>
<li><strong>Get a hands free kit</strong> &#8211; That makes it so much easier to type without hurting your neck.
</ul>
<h4>SMS / Pager</h4>
<p>The pager is old technology, so if you have SMS on your cell phone, I don&#8217;t see a need for it. The one case where a pager wins is it&#8217;s coverage. While I can get an SMS in places where I can&#8217;t get a call, I can get a page in places that my cell phone is totally useless.</p>
<p>Use a pager if cell phone coverage is an issue in your area.</p>
<h4>Desk Phone</h4>
<p>Do we need another phone at our desk? Unless you need some feature that a desk phone has and your cell phone does not, ditch it.</p>
<p>If you do need one, consider VoIP alternatives. You become your own telephone provider, and may save in the process.</p>
<h4>Conference Calls</h4>
<p>A good conference call system is a valuable tool for collaboration while solving problems. You can run your own (Cisco&#8217;s Meeting Place is a popular one) or you can pick between many third party providers (just search for &#8220;conference call providers&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.opssa.net/2008/12/telephone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keep an Inventory</title>
		<link>http://www.opssa.net/2008/12/inventory/</link>
		<comments>http://www.opssa.net/2008/12/inventory/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 02:55:09 +0000</pubDate>
		<dc:creator>Jim Sheafer</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Paper]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[DIYPlanner]]></category>
		<category><![CDATA[Inventory]]></category>
		<category><![CDATA[planner]]></category>

		<guid isPermaLink="false">http://www.sheafer.org/OpsSA/?p=76</guid>
		<description><![CDATA[Now where did I put that computer&#8230;
The first step to management, is to have an understanding of what you are responsible for managing. This is important when you are managing people, of course, but equally so when you are managing hardware. A good inventory will make sure no machine is forgotten when it comes to [...]]]></description>
			<content:encoded><![CDATA[<h4>Now where did I put that computer&#8230;</h4>
<p>The first step to management, is to have an understanding of what you are responsible for managing. This is important when you are managing people, of course, but equally so when you are managing hardware. A good inventory will make sure no machine is forgotten when it comes to backups, monitoring, and every other task you will be seeing through.</p>
<h4>Hardcopy</h4>
<p>I am a true believer in the power of &#8211; paper &amp; pencil. Lugging a laptop out to the data center floor is a pain, but paper is light-weight, fool-proof, and require no power. It will serve as a physical backup of the softcopy, and an easy way to demonstrate what you physically own.</p>
<p>Take a look at the paper you can download from <a href="http://www.diyplanner.com/">D*I*Y Planner</a>. In addition to first-class calendar and planner layouts that you can print and use for free, they have a user-submitted templates section. The <a href="http://www.diyplanner.com/templates/directory?filter0=**ALL**&amp;filter1=27">Technology</a> section has a few templates specifically for hardware inventory.</p>
<p>Any hardcopy you choose should detail what the hardware is, and where it is, at a bare minimum.</p>
<h4>Softcopy</h4>
<p>The softcopy version of your inventory will be important for scripting your installs. Keep it in a flat file if you have a small installation, or a database if you have many to keep track of. Just make sure you can get a list of machines, and some information about them from your command line.</p>
<h4>What else?</h4>
<p>What do you use to keep track of your machines? Let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.opssa.net/2008/12/inventory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.392 seconds -->
