<?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>thumperthoughts &#187; technology</title>
	<atom:link href="http://redhunter.com/blog/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://redhunter.com/blog</link>
	<description>random vibrations and clatterings</description>
	<lastBuildDate>Fri, 26 Feb 2010 08:21:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Resizing NTFS Volumes in VMWare</title>
		<link>http://redhunter.com/blog/2010/02/23/resizing-ntfs-volumes-in-vmware/</link>
		<comments>http://redhunter.com/blog/2010/02/23/resizing-ntfs-volumes-in-vmware/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:44:18 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/?p=141</guid>
		<description><![CDATA[VMWare allows for some tricks for resizing volumes which are particularly useful for Windows NTFS. We have been doing Physical to Virtual (P2V) imports of a number of our older windows systems recently. We imported a number of these with the original disk partitioning which had a paltry 4GB C: drive configured. Of course we [...]]]></description>
			<content:encoded><![CDATA[<p>VMWare allows for some tricks for resizing volumes which are particularly useful for Windows NTFS.<br />
We have been doing Physical to Virtual (P2V) imports of a number of our older windows systems recently. We imported a number of these with the original disk partitioning which had a paltry 4GB C: drive configured. Of course we now find we need to grow this, and we have the same limitation we had on the physical machine &#8211; the D: partition is in the way.<br />
What we should have done while importing was to check the box tell VMWare to create a separate virtual disk for each volume. Too late now &#8211; and resorting to traditional partition manipulation tools would be painful.<br />
No worries though &#8211; VMWare will let you import an existing virtual machine.  So do the import again, using the VM as a source. Check the box this time and re-size the volumes at the same time. When the import completes, power up the new VM and delete the old one. Now that the volumes are on separate virtual disks future growth will be much easier.<br />
Another trick VMWare makes possible is easy extension of the C: drive NTFS filesystem &#8211; windows generally won&#8217;t let you do that on a running system.</p>
<ul>
<li> Power down the VM</li>
<li> Go to another windows VM and add a hard disk</li>
<li> Select &#8220;use an existing disk&#8221; and browse the data store for the VMDK you want to fix.</li>
<li> Use the normal windows storage management tools to expand the filesystem.</li>
<li> Remove the disk from the second VM.</li>
<li> Power up your modified VM and Bob&#8217;s your Uncle.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/02/23/resizing-ntfs-volumes-in-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uptime Humor</title>
		<link>http://redhunter.com/blog/2010/02/22/uptime-humor/</link>
		<comments>http://redhunter.com/blog/2010/02/22/uptime-humor/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:49:23 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/?p=129</guid>
		<description><![CDATA[ http://xkcd.com/705/]]></description>
			<content:encoded><![CDATA[<div id="attachment_137" class="wp-caption aligncenter" style="width: 440px"><a href="http://xkcd.org/705/"><img class="size-medium wp-image-137" title="Devotion To Duty" src="http://redhunter.com/blog/wp-content/uploads/2010/02/devotion_to_duty-430x166.png" alt="Devotion To Duty" width="430" height="166" /></a><p class="wp-caption-text">Devotion To Duty</p></div>
<p> <a href="http://xkcd.com/705/" target="_blank">http://xkcd.com/705/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/02/22/uptime-humor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy (Virtuozzo) Virtual Server in cacti</title>
		<link>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/</link>
		<comments>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 21:46:02 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[virtuozzo]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/?p=81</guid>
		<description><![CDATA[A business site I provide some spport to runs on a GoDaddy virtual Linux server. We were having some performance issues so I dug into the available data and found we were hitting our memory limits. It seems the Virtuozzo system used by GoDaddy has hard and soft resource limits &#8211; you can go over [...]]]></description>
			<content:encoded><![CDATA[<p>A business site I provide some spport to runs on a <a href="http://www.godaddy.com" target="_blank">GoDaddy</a> virtual Linux server. We were having some performance issues so I dug into the available data and found we were hitting our memory limits. It seems the <a href="http://www.parallels.com/landingpage/dskd45-2/?_kk=virtuozzo" target="_blank">Virtuozzo</a> system used by GoDaddy has hard and soft resource limits &#8211; you can go over the soft limits for short periods but after a while bad things start to happen. Like Virtuozzo shooting your processes in the head. As the applications and OS think they have the hard limit available, staying below the soft limit is problematic.</p>
<p>Virtuozzo makes status information in <strong>/proc/user_beancounters</strong>. The different fields are pretty cryptic &#8211; their meanings are described in detail <a href="http://download.swsoft.com/virtuozzo/virtuozzo4.0/docs/en/lin/VzLinuxUBCMgmt/18760.htm">here</a>.</p>
<p>The attached zip file contains two cacti template exported from <a href="http://www.cacti.net/" target="_blank">Cacti</a> version <strong>Version 0.8.7b, </strong>a snippet to add to the snmpd.conf on the server and a one line shell script called<strong> readbeans</strong> which is called by the snmpd agent. Deploy these latter items on your GoDaddy VM and suck the templates into Cacti. This will give you a &#8220;Virtuozzo Beancounters&#8221; data query which you can add to your device which should give you access to 20 graphs (don&#8217;t check resource, that one is bogus).</p>
<p>I found that building a compound graph like this brought together the most interesting values:</p>
<p><a href="http://redhunter.com/blog/wp-content/uploads/2010/02/virtuozzo1.png"><img class="aligncenter size-medium wp-image-147" title="virtuozzo" src="http://redhunter.com/blog/wp-content/uploads/2010/02/virtuozzo1-430x137.png" alt="" width="430" height="137" /></a></p>
<p>This long term graph shows where I implemented the crude but effective solution of restarting various system processes nightly (snmpd, httpd, mysqld, named and Plesk), some of which were gradual memory hogs.</p>
<p><a href="http://redhunter.com/blog/wp-content/uploads/2010/02/virtuozzo21.png"><img class="aligncenter size-medium wp-image-150" title="virtuozzo2" src="http://redhunter.com/blog/wp-content/uploads/2010/02/virtuozzo21-430x183.png" alt="" width="430" height="183" /></a></p>
<p><a href="http://redhunter.com/blog/wp-content/uploads/2010/02/virtuozzo.zip">Download this template</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/02/13/godaddy-virtuozzo-virtual-server-in-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetApp Consistency Points in Cacti</title>
		<link>http://redhunter.com/blog/2010/02/11/netapp-consistency-points-in-cacti/</link>
		<comments>http://redhunter.com/blog/2010/02/11/netapp-consistency-points-in-cacti/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 08:37:14 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[ontap]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/?p=54</guid>
		<description><![CDATA[Recently went on a couple of training courses on NetApp fundamentals and performance. The tutors both recommended that every good NetApp admin should spend a few minutes every day looking at sysstat -x 1 scrolling up their screen. Of particular interest from a performance standpoint is consistency point activity. Consistency points are a checkpoint in [...]]]></description>
			<content:encoded><![CDATA[<p>Recently went on a couple of training courses on NetApp fundamentals and performance. The tutors both recommended that every good NetApp admin should spend a few minutes every day looking at <strong>sysstat -x 1</strong> scrolling up their screen. Of particular interest from a performance standpoint is <strong>consistency point</strong> activity. Consistency points are a checkpoint in time in the write cycle of the WAFL filesystem, and happen at any time OnTAP thinks it needs one, or every 10 seconds otherwise.</p>
<p>Gazing at sysstat is sound advice, but sounds like a job for a robot or a computer to me. Make the machines do the work is one of my maxims.</p>
<p>So I conjured up this cacti graph in class which will watch consistency point activity all the time. So far this has caught some very interesting middle-of-the-night activity, some of which coincided with application performance problems.</p>
<p style="text-align: center;"><a href="http://redhunter.com/blog/wp-content/uploads/2010/02/netapp_cacti_cp.png" target="_blank"><img class="aligncenter size-medium wp-image-55" title="NetApp Consistency Point Activity in Cacti" src="http://redhunter.com/blog/wp-content/uploads/2010/02/netapp_cacti_cp-300x183.png" alt="" width="300" height="183" /></a></p>
<p style="text-align: left;">This sample graph shows the normal green of timer CPs from a relatively idle system, with periodic blue spikes triggered by the automatic hourly snapshot activity. The big flesh colored blob in the middle is a large copy operation that occurs as part of a legacy database backup process that we have not yet re-engineered to take advantage of snapshots. The right hand end of the graph shows what happens when doing a large myISAM to InnoDB database conversion &#8211; more on this when that project is completed. I&#8217;ve deliberately made the back-to-back and deferred-back-to-back CPs red as they are evil. The only time I have seen these is when a RAID group was reconstructing after the NetApp pulled a disk out for testing &#8211; performance really sucked that day for our gigantic myISAM tables. Most of our normal high activity periods are characterized by High Water CPs, though I have also seen occasional pink tinges of Log Full.</p>
<p style="text-align: left;">Here are what the different CP types mean, along with the corresponding letter prefix you will observe in sysstat and SNMP MIB name:</p>
<ul>
<li>Back to Back (B &#8211; cpFromCpOps) If you are getting these, your filer is overloaded. The write traffic is coming in faster than it can be written and the filer is running out of NVRAM capacity in one bank before the data in the other bank can be written. We got some of these during a RAID reconstruct. Bad news.</li>
<li>Deferred Back to Back (b &#8211; cpFromCpDeferredOps).  these are a worse version of the above. Definitely an overload problem.</li>
<li>Timer (T &#8211; cpFromTimerOps) 10 seconds since the last CP &#8211; it means the system is pretty idle write-wise. Note that lightly writing to a NetApp may lead to more fragmentation than writing a bit more at a time, as it does not get the opportunity to stack stripes. Exercise is good.</li>
<li>Flush (U &#8211; cpFromFlushOps) a flush happened. I&#8217;m sure it cleared something away.</li>
<li>High Water (H &#8211; cpFromHighWaterOps) the number of RAM buffers holding modified data exceeded a threshold. Heavy write activity.</li>
<li>Log Full  (F &#8211; cpFromLogFullOps) the current NVRAM bank is full and the system switches to the other one and starts writing this to disk. Very heavy write activity.</li>
<li>Low Water (L &#8211; cpFromLowWaterOps) the number of available RAM buffers dropped below a threshold.</li>
<li>Low Datavec (D &#8211; cpFromLowDatavecsOps) the number of available datavecs (data vectors?) dropped below a threshold.</li>
<li>Low Vbuf (V &#8211; cpFromLowVbufOps) the number of available virtual buffers dropped below a threshold.</li>
<li>Snapshot (S &#8211; cpFromSnapshotOps) snapshots happen. It is a NetApp. Usually triggers a bunch of Sync (Z) CPs.</li>
<li>Sync (Z &#8211; cpFromSyncOps) an internal sync &#8211; usually preparing to complete a snapshot.</li>
</ul>
<p>This template was exported from <strong>Cacti Version 0.8.7e</strong></p>
<p><a href="http://redhunter.com/cacti/cacti_graph_template_netapp_consistency_points.zip">Dowload it here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/02/11/netapp-consistency-points-in-cacti/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>EMC Networker NDMP index oddity</title>
		<link>http://redhunter.com/blog/2010/01/30/emc-networker-ndmp-index-oddity/</link>
		<comments>http://redhunter.com/blog/2010/01/30/emc-networker-ndmp-index-oddity/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 01:08:35 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[emc networker]]></category>
		<category><![CDATA[legato]]></category>
		<category><![CDATA[ndmp]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/2010/01/30/emc-networker-ndmp-index-oddity/</guid>
		<description><![CDATA[We have had a real headscratcher with our backups of late. The setup has the tape jukebox connected to the dual-head NetApp 3170 as an NDMP device. EMC (formerly Legato) Networker runs on a CentOS Linux box and directs the NDMP jobs on the filer. This worked just fine for months, backing up multiple volumes. [...]]]></description>
			<content:encoded><![CDATA[<p>We have had a real headscratcher with our backups of late. The setup has the tape jukebox connected to the dual-head NetApp 3170 as an NDMP device. EMC (formerly Legato) Networker runs on a CentOS Linux box and directs the NDMP jobs on the filer. This worked just fine for months, backing up multiple volumes. Late last year we installed a new Microsoft Exchange and Enterprise Vault infrastructure with the multiple volumes exported as iSCSI LUNs to the Windows servers. This also worked fine until we configured the backup jobs.<br />
Whatever we did the two volumes hosting the I: drives for the Vault servers just would not back up. The error message essentially said there was no backup device (tape drive) available, which was nonsense as other similar volumes in the same group were backing up just dandy.<br />
EMC scratched their heads too.<br />
Eventually, inspired by the Sherlock Holmes maxim that &#8220;if you eliminate the impossible, whatever is left, however improbable, must be the truth&#8221; I started mucking around with volume names. You see the I: drives hold the indexes for the Vault mailbox indexes, so we helpfully named them evmb01_indexes and evmb02_indexes. No other volumes had the string &#8220;index&#8221; embedded in their name, and that was all that differentiated them from the volumes that could find the tape drive. Improbable but true: Networker will not let you backup a volume with &#8220;index&#8221; in its name to an NDMP device.</p>
<p>Following up with EMC this is a deliberate feature, apparently put in place to make sure you do not back up your NDMP indexes to an NDMP device. This makes sense, as the scanner utility cannot be used on NDMP volumes to retrieve indexes as it does on native Networker volumes, leaving you with a Catch-22 in the event of a site recovery. The fact that they assume that NDMP index volumes shall always have &#8220;index&#8221; in their names, and no other volumes ever will is just false logic.</p>
<p>In the end we renamed the volumes with the more grammatically correct &#8220;indices&#8221; and called it a day.</p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/01/30/emc-networker-ndmp-index-oddity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackberry wordpress client</title>
		<link>http://redhunter.com/blog/2010/01/30/blackberry-wordpress-client/</link>
		<comments>http://redhunter.com/blog/2010/01/30/blackberry-wordpress-client/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 00:29:42 +0000</pubDate>
		<dc:creator>arielnh56</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://redhunter.com/blog/2010/01/30/blackberry-wordpress-client/</guid>
		<description><![CDATA[Finally loaded some updated blogging code to ye olde Powweb site. WordPress. Very nice and simple to use. Trying to post something from the Blackberry client &#8230; Now!]]></description>
			<content:encoded><![CDATA[<p>Finally loaded some updated blogging code to ye olde Powweb site. WordPress. Very nice and simple to use. Trying to post something from the Blackberry client &#8230; Now!</p>
]]></content:encoded>
			<wfw:commentRss>http://redhunter.com/blog/2010/01/30/blackberry-wordpress-client/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
