<?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>d o l l m o n t . n e t &#187; sysadmin</title>
	<atom:link href="http://dollmont.net/tag/sysadmin/feed" rel="self" type="application/rss+xml" />
	<link>http://dollmont.net</link>
	<description>Open Source Excellence</description>
	<lastBuildDate>Sun, 03 Jul 2011 07:36:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Website optimization&#8230;</title>
		<link>http://dollmont.net/website-optimization</link>
		<comments>http://dollmont.net/website-optimization#comments</comments>
		<pubDate>Sun, 15 Mar 2009 20:57:22 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[General SysAdmin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://dollmont.net/?p=26</guid>
		<description><![CDATA[I’ve picked up 3 short contracts in the last week to optimize websites. The real goal here is not so much optimizing the website as it is optimizing the web server. In every case, the web server was Apache, the most popular and widely used web server on the Internet. Invariably, the client has set [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve picked up 3 short contracts in the last week to optimize websites. The real goal here is not so much optimizing the <strong>website</strong> as it is optimizing the <strong>web server</strong>. In every case, the web server was <a href="http://httpd.apache.org/">Apache</a>, the most popular and widely used web server on the Internet.</p>

<p>Invariably, the client has set up a server using <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition">Ubuntu server edition</a> or <a href="http://centos.org/">CenOS</a> or some <a href="http://distrowatch.com/">other Linux distribution</a>. The base server choice is invariably a good one, but problems start to appear after going live and coming under load. These problems occur because the sysadmin who set up the server ignored a few simple rules:</p>

<ol>   <li>Package managers are good for setting up generic systems. For small loads, packaged Apache is fine. But once you start to play with the big boys, you <strong>must</strong> be prepared to build Apache from scratch. Apache needs to optimized to your hardware and needs to be stripped of cruft that you don’t need. </li>    <li>Apache is a powerful server and is great for serving dynamic content. But if you have a lot of traffic, it can be overwhelmed trying to do too many things at once. Split the tasks and have a specialized, light-weight server like <a href="http://www.lighttpd.net/">lighttpd</a> server up your static content and leave just the heavy lifting for Apache. </li>    <li>Optimize your database, too. Don’t focus on just the webserving. If you’re getting data from MySQL, look carefully at how it’s set up. I’ll be covering this as a separate note soon. </li> </ol>

<p>In short, you need to look at all of the processes and individual components. Often, when I’m called in, decisions such as hardware and server software have already been made and I’m required to work within those constraints. But even with hands tied, there’s a lot of things that can be done to improve website performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://dollmont.net/website-optimization/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>admin confusion and sma on OpenSolaris</title>
		<link>http://dollmont.net/admin-confusion-and-sma-on-opensolaris</link>
		<comments>http://dollmont.net/admin-confusion-and-sma-on-opensolaris#comments</comments>
		<pubDate>Sun, 01 Mar 2009 00:19:53 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[General SysAdmin]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://dollmont.net/?p=23</guid>
		<description><![CDATA[When coming from a Linux world to OpenSolaris, there’s a wee bit of retraining required. The latest example I came across is configuring snmp on OpenSolaris. snmp services on OpenSolaris are provided by a service called sma. To get snmp working on OpenSolaris: $pfexec pkg install SUNWsmmgr $pfexec svcadm enable sma The configuration file is [...]]]></description>
			<content:encoded><![CDATA[<p>When coming from a Linux world to OpenSolaris, there’s a wee bit of retraining required. The latest example I came across is configuring snmp on OpenSolaris.</p>

<p>snmp services on OpenSolaris are provided by a service called sma. To get snmp working on OpenSolaris:</p>

<blockquote>   <p><font style="background-color: #ffffff">$pfexec pkg install SUNWsmmgr</font></p>    <p><font style="background-color: #ffffff">$pfexec svcadm enable sma</font></p> </blockquote>

<p>The configuration file is net-snmp standard stuff, but it’s concealed in /etc/sma/snmp/snmpd.conf. After changing this file, restart sma:</p>

<blockquote>   <p><font style="background-color: #ffffff">$pfexec svcadm restart sma</font></p> </blockquote>

<p>OpenSolaris will now respond as normal to snmpwalk requests from your monitoring system.</p>

<p>By the way, pfexec is the OpenSolaris equivalent (roughly) to sudo on Linux. It allows you to execute commands as root. The first account created, by default, is allowed to execute pfexec against all OpenSolaris commands without requiring a password. A future note will tell you how to change that…</p>
]]></content:encoded>
			<wfw:commentRss>http://dollmont.net/admin-confusion-and-sma-on-opensolaris/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good, fast, cheap&#8212;pick&#8230;all three?!?</title>
		<link>http://dollmont.net/good-fast-cheappickall-three</link>
		<comments>http://dollmont.net/good-fast-cheappickall-three#comments</comments>
		<pubDate>Wed, 18 Feb 2009 16:07:26 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[General SysAdmin]]></category>
		<category><![CDATA[Home Network]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://dollmont.net/?p=17</guid>
		<description><![CDATA[It’s long been a saying in this business: You can have it good, fast and cheap. Pick any two. That’s beginning to change on many levels, and the changes are starting to ripple outward. Sun Fishworks aims to bring large volume NAS and SAN storage down to commodity pricing. They’re combining a lot of their [...]]]></description>
			<content:encoded><![CDATA[<p>It’s long been a saying in this business: You can have it good, fast and cheap. Pick any two. That’s beginning to change on many levels, and the changes are starting to ripple outward.</p>

<p><a href="http://blogs.sun.com/fishworks/" target="_blank">Sun Fishworks</a> aims to bring large volume NAS and SAN storage down to commodity pricing. They’re combining a lot of their different technologies and playing on all their strengths—most notably, <a href="http://www.sun.com/software/solaris/index.jsp" target="_blank">Solaris</a>. By combining the power of Solaris with low cost hardware, Sun is challenging companies like <a href="http://www.netapp.com/us/" target="_blank">NetApp</a>. With any luck, they’ll be able to pull it off from a marketing standpoint—an area of weakness at Sun.</p>

<p>The Fishworks philosophy is a great one—do more with less. I brought this home by building a NAS server for the house based around <a href="http://www.opensolaris.com/" target="_blank">OpenSolaris</a> and the <a href="http://www.msicomputer.com/product/p_spec.asp?model=Wind_PC&amp;class=npc" target="_blank">MSI Wind PC</a>.</p>

<p>OpenSolaris is installed on a 4 GB Compact Flash card that sits on the Wind PC’s motherboard. There are 2 500 GB hard drives—one in the hard drive bay and one in the optical drive bay via a 5.25 to 3.5 adapter. There is no optical drive. In this configuration you can install OpenSolaris via a USB optical drive or, like I did, via a USB thumb drive.</p>

<p>Once installed, the two disks are placed into a <a href="http://en.wikipedia.org/wiki/ZFS" target="_blank">ZFS</a> pool and, in my case, mirrored. It’s amazing how flexible and easy ZFS is to manage, particularly with the power it gives you. <a href="http://en.wikipedia.org/wiki/Cifs" target="_blank">CIFS</a> is now an in-kernel driver on OpenSolaris and managed via ZFS settings. Sharing volumes and directories is easy. Even <a href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)" target="_blank">NFS</a> sharing for the Linux boxes on my network is a no-brainer.</p>

<p>I’m still tweaking and testing system performance, but once I’m done I’ll do a full writeup on the system. So far, it’s good, fast and cheap. Not bad at all…</p>
]]></content:encoded>
			<wfw:commentRss>http://dollmont.net/good-fast-cheappickall-three/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sometimes, simple tools are the best&#8230;</title>
		<link>http://dollmont.net/sometimes-simple-tools-are-the-best</link>
		<comments>http://dollmont.net/sometimes-simple-tools-are-the-best#comments</comments>
		<pubDate>Tue, 10 Feb 2009 20:55:58 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[General SysAdmin]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dollmont.net/?p=12</guid>
		<description><![CDATA[Not just better, mind you, but the best. When you’re forced to work on a Unix infrastructure on a Windows desktop, the very first tool you want is an ssh client. I’ve long used PuTTY for this. It’s an excellent tool and has all the bells and whistles that I need: certificate management, port forwarding, [...]]]></description>
			<content:encoded><![CDATA[<p>Not just better, mind you, but the best.</p>

<p>When you’re forced to work on a Unix infrastructure on a Windows desktop, the very first tool you want is an ssh client. I’ve long used <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a> for this. It’s an excellent tool and has all the bells and whistles that I need: certificate management, port forwarding, configurable terminal, screen support, etc. It has a couple of quirks that I don’t like, the most notable being that it stores its saved settings in the registry so it’s difficult to move saved settings from one machine to another. That’s not a show stopper, but as I’ve expanded my Windows work lately it became a real annoyance. I’ve been configuring multiple Windows machines for sys admin work and having to reenter the servers on every machine is a pain.</p>

<p>I took a look around at the state of Windows ssh tools and found a couple that looked really nice. I played around with them and enjoyed things like separate configuration files that are easily transportable. Some had built in scp clients. All were good, solid tools.</p>

<p>But I’m back to PuTTY. Despite not being updated since early 2007, PuTTY is still a solid tool. It’s memory footprint is small. It’s easy to install. It’ll run in a standalone USB key environment. There’s now a Linux version, though I’ve not used it. It just works. Every time. With no futzing about. It’s old, stodgy and very, very reliable. It is the best ssh client for Windows.</p>

<p>Two additional points: if you need scp, the PuTTY scp client works, but it’s not got a lot of features. Try <a href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a> instead. Secondly, when is Microsoft going to get with the program and put an ssh client directly into the Windows shell? Being able to run “ssh -l 8080:remote:8080 -X somemachine.com” directly from the command line is, for me, more intuitive and easier to do. One of the drawbacks of being a crotchety old Unix admin.</p>
]]></content:encoded>
			<wfw:commentRss>http://dollmont.net/sometimes-simple-tools-are-the-best/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

