<?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>Ball Dawg! &#187; Server Management</title>
	<atom:link href="http://www.balldawg.net/index.php/tag/server-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.balldawg.net</link>
	<description>Just some ninja monkeys, nothing to see here.  Move along.</description>
	<lastBuildDate>Fri, 13 Jan 2012 02:02:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Parallel BZIP2: pbzip2</title>
		<link>http://www.balldawg.net/index.php/2010/07/parallel-bzip2-pbzip2/</link>
		<comments>http://www.balldawg.net/index.php/2010/07/parallel-bzip2-pbzip2/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 18:53:22 +0000</pubDate>
		<dc:creator>Andrew Rankin</dc:creator>
				<category><![CDATA[Server Management]]></category>
		<category><![CDATA[bzip2]]></category>
		<category><![CDATA[compression]]></category>

		<guid isPermaLink="false">http://www.balldawg.net/?p=321</guid>
		<description><![CDATA[I find myself compressing files for archival purposes constantly &#8211; today I was sitting, waiting on one such compression on a SMP box and thought it seems silly that bzip2 does not use more than one CPU. After a quick flip through the man page for bzip2 I found no way to force it to [...]]]></description>
			<content:encoded><![CDATA[<p>I find myself compressing files for archival purposes constantly &#8211; today I was sitting, waiting on one such compression on a SMP box and thought it seems silly that bzip2 does not use more than one CPU.  After a quick flip through the man page for bzip2 I found no way to force it to use more than one core.  A quick web search yielded pbzip2 (<a href="http://compression.ca/pbzip2/">http://compression.ca/pbzip2/</a>) &#8211; another project that does indeed allow you to use more than one CPU for compress and decompression of bzip2 files.  A quick test showed a huge reduction in compression time:<span id="more-321"></span></p>
<p>Using 1 Core:</p>
<pre class="brush: sh">
[user@server source]$ pbzip2 -p1 -v -m1000 source.tar
Parallel BZIP2 v1.1.1 - by: Jeff Gilchrist [http://compression.ca]
[Apr. 17, 2010]             (uses libbzip2 by Julian Seward)

# CPUs: 1
BWT Block Size: 900 KB
File Block Size: 900 KB
Maximum Memory: 1000 MB
-------------------------------------------
File: 1 of 1
Input Name: source.tar
Output Name: source.tar.bz2

Input Size: 445163520 bytes
Compressing data (no threads)...
Output Size: 80063773 bytes
-------------------------------------------

Wall Clock: 95.100318 seconds
</pre>
<p>Using 64 Cores:</p>
<pre class="brush: sh">
[user@server source]$ pbzip2 -p64 -v -m1000 source.tar
Parallel BZIP2 v1.1.1 - by: Jeff Gilchrist [http://compression.ca]
[Apr. 17, 2010]             (uses libbzip2 by Julian Seward)

# CPUs: 64
BWT Block Size: 900 KB
File Block Size: 900 KB
Maximum Memory: 1000 MB
-------------------------------------------
File: 1 of 1
Input Name: source.tar
Output Name: source.tar.bz2

Input Size: 445163520 bytes
Compressing data...
Output Size: 80063773 bytes
-------------------------------------------

Wall Clock: 3.795763 seconds
</pre>
<p>Needless to say I&#8217;ve found a new utility for my compression needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.balldawg.net/index.php/2010/07/parallel-bzip2-pbzip2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Glovebox v0.2.1 Released</title>
		<link>http://www.balldawg.net/index.php/2009/06/glovebox-v0-2-released/</link>
		<comments>http://www.balldawg.net/index.php/2009/06/glovebox-v0-2-released/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 23:06:02 +0000</pubDate>
		<dc:creator>Andrew Rankin</dc:creator>
				<category><![CDATA[Glovebox]]></category>
		<category><![CDATA[Server Management]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.balldawg.net/?p=219</guid>
		<description><![CDATA[I&#8217;ve released Glovebox Version 0.2.1 on Sourceforge.  It has a few bug fixes as well as the correct database schema included. Other changes include: Modified JavaScript so it would load &#38; function in IE Changed &#8220;class&#8221; to &#8220;clas&#8221; within JS, Perl, and the database. IE didn&#8217;t like using the word &#8220;class&#8221; as a variable name, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve released <a href="https://sourceforge.net/projects/glovebox/" target="_blank">Glovebox Version 0.2.1 on Sourceforge</a>.  It has a few bug fixes as well as the correct database schema included.  Other changes include:</p>
<ul>
<li>Modified JavaScript so it would load &amp; function in IE</li>
<li>Changed &#8220;class&#8221; to &#8220;clas&#8221; within JS, Perl, and the database.  IE didn&#8217;t like using the word &#8220;class&#8221; as a variable name, changed else where for consistency.</li>
<li>Stopped opening of &#8220;right-click&#8221; menu when pressed on an interface folder</li>
<li>Fixed DB Schema to include basic information for default OIDs and Interfaces.</li>
<li>Modified Apache configuration so SSIs would work correctly in Apache 2, changed the SSIs to only execute on .shtml files</li>
<li>Renamed index.html to index.shtml</li>
</ul>
<p>There is a database change, so you must run the sql file located in the upgrade folder!</p>
<p>You can download it <a href="https://sourceforge.net/project/showfiles.php?group_id=262902" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.balldawg.net/index.php/2009/06/glovebox-v0-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glovebox: My Solution to Managing Servers</title>
		<link>http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/</link>
		<comments>http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/#comments</comments>
		<pubDate>Sat, 09 May 2009 01:39:05 +0000</pubDate>
		<dc:creator>Andrew Rankin</dc:creator>
				<category><![CDATA[Glovebox]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Server Management]]></category>
		<category><![CDATA[libvirt]]></category>

		<guid isPermaLink="false">http://www.balldawg.net/?p=58</guid>
		<description><![CDATA[When I started in the &#8220;Technology&#8221; department at my current employer, I found myself apart of a team that was tasked with taking care of hundreds of IBM blade servers, and tens of other IBM system x servers.  For the most part we could keep up with our servers by where they were in our [...]]]></description>
			<content:encoded><![CDATA[<p>When I started in the &#8220;Technology&#8221; department at my current employer, I found myself apart of a team that was tasked with taking care of hundreds of IBM blade servers, and tens of other IBM system x servers.  For the most part we could keep up with our servers by where they were in our monitoring software, but if we needed to know exactly where they were in either a blade center, by remote console name, or what Domain-0 they lived on for our Xen based virtual machines &#8211; we had to relate back to a usually out of date spreadsheet that showed where to go.</p>
<p><span id="more-58"></span></p>
<p>After a year of this mess I decided to go a different route &#8211; a dynamic web application that would update it self based on data pulled from the blade centers via SNMP.  Glovebox was born.  Well, actually it was called &#8220;the dashboard&#8221; in the beginning &#8211; unfortunately for me my co-workers have no issue pointing out when things aren&#8217;t named quite right, a sarcastic &#8220;well it ain&#8217;t a dashboard&#8230; how about Glovebox!&#8221; decided the name fate of it.   The product took almost a year to get to its current self, but manages to keep track of all our blades, IBM RSA II consoles and our Xen virtual machines without the input from anyone on staff.</p>
<p>For the IBM blades and RSA II cards it uses a set of OIDs I gathered from sifting through their respective snmp output.  In the case of the blades, those OIDs are:</p>
<pre class="brush: sql">
| 1.3.6.1.4.1.2.3.51.2.2.21.1.1.3    | bladecenters | serial          |
| 1.3.6.1.4.1.2.3.51.2.2.8.1.1       | bladecenters | error           |
| 1.3.6.1.4.1.2.3.51.2.2.21.1.1.2    | bladecenters | family          |
| 1.3.6.1.4.1.2.3.51.2.2.21.1.1.1    | bladecenters | model           |
| 1.3.6.1.4.1.2.3.51.2.22.3.1.1.1.15 | switches     | error           |
| 1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.6  | switches     | address         |
| 1.3.6.1.4.1.2.3.51.2.2.21.5.1.1.6  | servers      | bios            |
| 1.3.6.1.4.1.2.3.51.2.2.21.4.1.1.6  | servers      | serial          |
| 1.3.6.1.4.1.2.3.51.2.2.21.4.1.1.7  | servers      | model           |
| 1.3.6.1.4.1.2.3.51.2.22.1.5.1.1.6  | servers      | hostname        |
| 1.3.6.1.4.1.2.3.51.2.2.21.5.3.1.6  | servers      | bsmp            |
| 1.3.6.1.4.1.2.3.51.2.2.8.2.1.1.7   | servers      | error           |
| 1.3.6.1.4.1.2.3.51.2.2.8.2.1.1.4   | servers      | power           |
| 1.3.6.1.4.1.2.3.51.2.2.21.4.1.1.20 | servers      | storage         |
| 1.3.6.1.4.1.2.3.51.2.2.21.4.1.1.12 | servers      | family          |
| 1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.5  | switches     | serial          |
| 1.3.6.1.4.1.2.3.51.2.3.4.2.1.2     | bladecenters | eventlog        |
| 1.3.6.1.4.1.2.3.51.2.4.5.1         | bladecenters | name            |
| 1.3.6.1.4.1.2.3.51.2.2.10.5.1.2    | bladecenters | watts           |
| 1.3.6.1.4.1.2.3.51.2.2.10.5.1.3    | bladecenters | btus            |
| 1.3.6.1.4.1.2.3.51.2.4.9.1.1.3     | bladecenters | hostname        |
| 1.3.6.1.4.1.2.3.51.2.2.8.1.2       | bladecenters | infoled         |
| 1.3.6.1.4.1.2.3.51.2.2.8.1.3       | bladecenters | templed         |
| 1.3.6.1.4.1.2.3.51.2.2.8.1.4       | bladecenters | identled        |
| 1.3.6.1.4.1.2.3.51.2.22.4.25       | bladecenters | installedblades |
| 1.3.6.1.4.1.2.3.51.2.2.21.3.1.1.3  | mm           | firmware        |
| 1.3.6.1.4.1.2.3.51.2.22.4.30       | bladecenters | installedmms    |
| 1.3.6.1.4.1.2.3.51.2.2.21.2.1.1.9  | mm           | serial          |
| 1.3.6.1.4.1.2.3.51.2.2.21.3.1.1.6  | mm           | firmware_date   |
| 1.3.6.1.4.1.2.3.51.2.2.21.3.1.1.2  | mm           | name            |
| 1.3.6.1.4.1.2.3.51.2.22.5.1.1.3    | mm           | address         |
| 1.3.6.1.4.1.2.3.51.2.22.5.1.1.5    | mm           | error           |
| 1.3.6.1.4.1.2.3.51.2.22.5.1.1.4    | mm           | primary         |
</pre>
<p>From the list you can see I monitor not just the blades but also the management modules, the chassis, and the blade switches.  The snmp output on the IBM Advanced Management Modules is quite complete and they provide good MIBs to be able to decipher the information.</p>
<p>I have a similar list for the RSA II cards which was added after a re-write of the initial version of Glovebox mid last year, the re-write was to make the software be able to use &#8220;modules&#8221; for each device, this was so adding future additions was easy.   The Xen virtual machines are added via libvirt and its associated Perl module, I have setup keys between the server that this application runs on and each Domain-0, allowing it connection and figure out whats running on there.   Since it based off modules you very well could add anything you wanted &#8211; it even has a shared development libary that allows for easy additions without re-inventing the wheel.</p>
<p>So whats it look like?  Well it looks like any application written with ExtJS as the front end &#8211; quite good.  I&#8217;m not a designer, I can&#8217;t do graphics, but with the help of ExtJS it came out quite nicely.  How about a peak:</p>
<p>
<a href='http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/eventlog/' title='Blade Center Event Log'><img width="150" height="115" src="http://www.balldawg.net/wp-content/uploads/2009/05/eventlog.jpg" class="attachment-thumbnail" alt="Blade Center Event Log" title="Blade Center Event Log" /></a>
<a href='http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/list_bc_opt/' title='Blade Center Options: Open Slots'><img width="150" height="115" src="http://www.balldawg.net/wp-content/uploads/2009/05/list_bc_opt.jpg" class="attachment-thumbnail" alt="Blade Center Options: Open Slots" title="Blade Center Options: Open Slots" /></a>
<a href='http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/plugins/' title='Container Plugins Menu'><img width="150" height="115" src="http://www.balldawg.net/wp-content/uploads/2009/05/plugins.jpg" class="attachment-thumbnail" alt="Container Plugins Menu" title="Container Plugins Menu" /></a>
<a href='http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/updating/' title='Updating From Devices'><img width="150" height="115" src="http://www.balldawg.net/wp-content/uploads/2009/05/updating.jpg" class="attachment-thumbnail" alt="Updating From Devices" title="Updating From Devices" /></a>
<br />
Sorry for blocking out some of the data, but some of the info needs to stay in house. The back end is entirely Perl and all data is kept in a MySQL database.  It ended up being a rather larger application in the end, but really makes life quite a bit easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.balldawg.net/index.php/2009/05/glovebox-my-solution-to-managing-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

