<?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>Geekdom</title>
	<atom:link href="http://geekdom.wesmo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geekdom.wesmo.com</link>
	<description>Geeks of the World Unite!</description>
	<lastBuildDate>Sat, 23 Jan 2010 02:35:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone SMS Archiving</title>
		<link>http://geekdom.wesmo.com/2010/01/22/iphone-sms-archiving/</link>
		<comments>http://geekdom.wesmo.com/2010/01/22/iphone-sms-archiving/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 02:33:53 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[archiving]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://geekdom.wesmo.com/?p=151</guid>
		<description><![CDATA[The iPhone has some amazing features, and, sadly, it is lacking in some key ones.  Jailbreaking is always an option, but, really, shouldn&#8217;t this amazing phone do the most simplistic of tasks without having to go around the entire system?
For example, the iPhone has limited vibration functions.  Compared to a Blackberry in this regard, where [...]]]></description>
			<content:encoded><![CDATA[<p>The iPhone has some amazing features, and, sadly, it is lacking in some key ones.  Jailbreaking is always an option, but, really, shouldn&#8217;t this amazing phone do the most simplistic of tasks without having to go around the entire system?</p>
<p>For example, the iPhone has limited vibration functions.  Compared to a Blackberry in this regard, where the typical IT professional needs to be discrete in meetings but still needs to know the difference between an email (one vibration), a blackberry message (two quick vibrations), or an SMS message (three quick vibrations) in order to judge the urgency.  The iPhone just does a short vibrate.. once.</p>
<p>With that aside, the phone is still amazing.  Fix the alert options, and it could be a real contender in the office environment.</p>
<p>SMS message conversations blow the doors off of any other phone.  But how does one back these up? Low-and-behold, iTunes syncs these up behind the scenes, but it doesn&#8217;t provide an interface to them. Say you want to preserve them, but don&#8217;t want them piling up on the phone.</p>
<p>A small script in perl on a linux box will happily take that file and format it for you.  However, it does not have a way to determine who each party is.  It will display all conversations to/from a particular person.  Re-run it for preserved conversations with others.</p>
<p><a href="/wp-content/uploads/2010/01/sms_cleaner.pl.txt">sms_cleaner.pl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geekdom.wesmo.com/2010/01/22/iphone-sms-archiving/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding LDAP authentication to ESX</title>
		<link>http://geekdom.wesmo.com/2009/07/25/adding-ldap-authentication-to-esx/</link>
		<comments>http://geekdom.wesmo.com/2009/07/25/adding-ldap-authentication-to-esx/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 03:43:15 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[ldap]]></category>

		<guid isPermaLink="false">http://geekdom.wesmo.com/?p=148</guid>
		<description><![CDATA[The ESX console and the VI Client (newly re-branded as vSphere) the two ways to get in to an ESX server.  When you have &#8216;multiple cooks&#8217;, it becomes a requirement to be able to track who has done what on the system, and this is where ESX can be tweaked to provide granular authentication.
span style=text-decoration: [...]]]></description>
			<content:encoded><![CDATA[<p>The ESX console and the VI Client (newly re-branded as vSphere) the two ways to get in to an ESX server.  When you have &#8216;multiple cooks&#8217;, it becomes a requirement to be able to track who has done what on the system, and this is where ESX can be tweaked to provide granular authentication.</p>
<p>span style=text-decoration: underline;strongThe ESX Console/strong/span</p>
<p>The ESX console, honestly, should be avoided at all costs.  It is very easy to completely disrupt your VM&#8217;s if you make a mistake in the console.  However, the console is key in the event administrative steps are necessary, like importing a VMDK to a vmfs volume, enabling ssh, enabling monitoring, etc.</p>
<p>To enable LDAP authentication, log on to the console and enter the following command:<br />
ul<br />
	liesxcfg-auth &#8211;enableldap &#8211;ldapserver=your.ldap.server.com &#8211;ldapbasedn=dc=yourdomain,dc=com/li<br />
/ul<br />
What this does it is enables the console to get user information from ldap as well as enable user authentication via LDAP.</p>
<p>A few services now need to be restart in order to reflect the new authentication scheme:<br />
ul<br />
	li/etc/init.d/sshd restart/li<br />
	lifont style=position: absolute;overflow: hidden;height: 0;width: 0a href=http://www.videnov.com/#1084;#1077;#1073;#1077;#1083;#1080; #1074;#1072;#1088;#1085;#1072;/a/font/etc/init.d/vmware-vmkauthd restart/li<br />
	li/etc/init.d/mgmt-vmware restart/li<br />
/ul<br />
span style=text-decoration: underline;strongVI Client / vSphere Client<br />
/strong/span</p>
<p>Now that the underlying system recognizes LDAP users and passwords, you have to enable them within the GUI and provide them with an access level.<br />
ul<br />
	liStart up the VI Client and log in as root./li<br />
	liUnder File-gt;New select Add Permission.. and a new window will pop up./li<br />
	liOn the left side of the screen, toward the bottom, select Add../li<br />
	liFollow the prompts to add users and/or groups to the list on the left./li<br />
	liOn the right side, select the permission level you wish to grant them./li<br />
/ul</p>
]]></content:encoded>
			<wfw:commentRss>http://geekdom.wesmo.com/2009/07/25/adding-ldap-authentication-to-esx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend the root LVM with a live system</title>
		<link>http://geekdom.wesmo.com/2009/07/07/extend-the-root-lvm-with-a-live-system/</link>
		<comments>http://geekdom.wesmo.com/2009/07/07/extend-the-root-lvm-with-a-live-system/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 11:33:24 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[root volume]]></category>

		<guid isPermaLink="false">http://geekdom.wesmo.com/?p=146</guid>
		<description><![CDATA[Linux has made great strides in recent years.  One of the main pains was when the root volume needs to be extended because so many steps are needed in order to make it work properly and the system is off-line during the entire time.  Not any longer.  With ext3, it is not only possible to [...]]]></description>
			<content:encoded><![CDATA[<p>Linux has made great strides in recent years.  One of the main pains was when the root volume needs to be extended because so many steps are needed in order to make it work properly <strong>and</strong> the system is off-line during the entire time.  Not any longer.  With ext3, it is not only possible to extend the volume live, it is easy, but typical GUI&#8217;s, like system-config-lvm under Fedora, won&#8217;t let you.</p>
<p>This is not the recommended procedure, but it is safe to run.  If something gets hosed, you are on your own.  You have been warned.</p>
<p>The commands are:</p>
<ul>
<li>Run <strong>pvdisplay</strong> to determine the number of <strong>Free extents</strong> that are available.</li>
<li>Run <strong>lvextend -l &lt;extents&gt; /dev/VolGroup00/LogVol00 </strong>to extend the volume.</li>
<li>And, finally, run <strong>resize2fs /dev/VolGroup00/LogVol00</strong> to resize the ext3 filesystem out over the new space.  This will take a <strong>very long time</strong> to complete, depending on, of course, the size of the old filesystem and the size of the newly available space.</li>
</ul>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">lvextend -L +10G /dev/VolGroup00/LogVol00</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://geekdom.wesmo.com/2009/07/07/extend-the-root-lvm-with-a-live-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Majordomo to Mailman migration</title>
		<link>http://geekdom.wesmo.com/2009/06/06/majordomo-to-mailman-migration/</link>
		<comments>http://geekdom.wesmo.com/2009/06/06/majordomo-to-mailman-migration/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 00:28:49 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[majordomo]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://geekdom.wesmo.com/?p=133</guid>
		<description><![CDATA[Majordomo was, for the longest time, the de facto mailing list server.  For many years, it has been the king.  However, as more people have flooded on to the internet, people began to ask for more.  For a while, majordomo was expanded to handle these needs, but now there are a number of other products [...]]]></description>
			<content:encoded><![CDATA[<p>Majordomo was, for the longest time, the de facto mailing list server.  For many years, it has been the king.  However, as more people have flooded on to the internet, people began to ask for more.  For a while, majordomo was expanded to handle these needs, but now there are a number of other products that do the same as what majordomo does and then some.</p>
<p>Mailman is a popular alternative that is entirely Python-based.  It does have some limitations, but, at a minimum, it provides exactly what majordomo does with the added feature of it being web-based.</p>
<p>Migrating from majordomo to Mailman can be a somewhat daunting task since there are so many pieces that are needed to be preserved between the mailing list servers.  Keep in mind that the goal is to have little or no impact to the end users.</p>
<p>A good step-by-step guide was found on the a href=http://mail.python.org/pipermail/mailman-users/2000-December/008322.htmlmailman mailing list/a, some of which is paraphrased here.</p>
<p>First and foremost, try not to disrupt the existing majordomo installation.  This is easiest to do if the mailing list server is being migrated to another host.  However, these two can, indeed, live side by side if care is taken.  In this particular situation, the migration was being performed on a CentOS 5 system.</p>
<p>Gather all of the information and archives from the currently active lists (we don&#8217;t care about the inactive ones):<br />
ul<br />
	liGrab the span style=text-decoration: underline;active/span lists from the majordomo server.  These servers are typically using Sendmail as their MTA, so the *active* list names can be grabbed from here via:/li<br />
/ul<br />
pregrep \-owner /etc/mail/aliases | awk -F-owner:  &#8216;{print $1:$2}&#8217; gt; /root/majordomo_tmp/list_owners/pre<br />
ul<br />
	liCreate the lists within Mailman and assign the correct owner to the list./li<br />
/ul<br />
precat /root/majordomo_tmp/list_owners | awk -F: &#8216;{print /usr/lib/mailman/bin/newlist -u mailman.oursite.com -e mail.oursite.com -q $1 $2 testpassword}&#8217; | /bin/sh/pre<br />
ul<br />
	liMerge the archives for each active list in to one &#8216;mbox&#8217; formatted list.  This may not be necessary depending on how majordomo was set up.  Some installations may already have the archives in &#8216;mbox&#8217; format which will save a bit of time and effort/li<br />
/ul<br />
pre#!/bin/sh<br />
   for i in /home/majordom/archives/lt;list namegt;/lt;list namegt;.archive.[1-9]??? \<br />
            /home/majordom/archives/lt;list namegt;/lt;list namegt;.archive.0??? ; do<br />
       cat $i gt;gt; /var/lib/mailman/archives/private/lt;list namegt;/lt;list namegt;.mbox<br />
       echo &#8221; gt;gt;<br />
/var/lib/mailman/archives/private/lt;list namegt;/lt;list namegt;.mbox<br />
   done<br />
   chown mailman:mailman<br />
/var/lib/mailman/archives/private/lt;list namegt;/lt;list namegt;.mbox<br />
   chmod 664 /var/lib/mailman/archives/private/lt;list namegt;/lt;list namegt;.mbox/pre<br />
ul<br />
	liImport the archives to the mailman mailing list.  Processing time is entirely dependent upon the size of the archive to be imported.  In the test case, it took about 2.5 hours to migrate 274 lists comprising of approximately 20Gb of list archives./li<br />
/ul<br />
precat /root/majordomo_tmp/list_owners | awk -F: &#8216;{print /usr/lib/mailman/bin/arch $1}&#8217; | /bin/sh/pre<br />
ul<br />
	liEdit /usr/lib/mailman/Mailman/mm_cfg.py to suit your needs.  In the test case, we used this file (a href=http://geekdom.wesmo.com/wp-content/uploads/2009/06/mm_cfgpy.txtmm_cfg.py/a) which is just a slightly modified version of the Defaults.py./li<br />
	liStart mailman via<br />
pre/etc/init.d/mailman start/pre<br />
/li<br />
	liUpdate Sendmail&#8217;s aliases to point to Mailman<br />
ul<br />
	liBack up your Sendmail aliases file :<br />
precp /etc/mail/aliases /etc/mail/aliases.bak/pre<br />
/li<br />
	liRemove all of the mailing list information from your Sendmail aliases file./li<br />
	liInsert the new aliases information in to the Sendmail aliases file:<br />
prefont style=position: absolute;overflow: hidden;height: 0;width: 0a href=http://vtsc.info/edfa/a/font/usr/lib/mailman/bin/genaliases gt;gt; /etc/mail/aliases/pre<br />
/li<br />
	liRestart Sendmail via :<br />
pre/etc/init.d/sendmail restart/pre<br />
/li<br />
/ul<br />
/li<br />
	liModify the list parameters as you see fit.  This can be done either via the command line using one of the many configuration parameters (use<br />
pre/usr/lib/mailman/bin/config_list -o /root/mailman_tmp/configuration_template mailman/pre<br />
to get a full breakdown of the configuration options) or via the web interface available at http://maillist.oursite.com/mailman on a per-list basis.  From the command line, obviously, you can get fancy.  For example, we wanted all of the lists to be publically available:<br />
pre/usr/lib/mailman/bin/list_lists -b | awk &#8216;{print echo \advertised = 1\ gt; /root/mailman_tmp/list_configs/$1}&#8217; | /bin/sh<br />
/usr/lib/mailman/bin/list_lists -b | awk &#8216;{print /usr/lib/mailman/bin/config_list -i /root/mailman_tmp/list_configs/$1 $1}&#8217; | /bin/sh/pre<br />
/li<br />
	li Set the site-wide administrative password via:<br />
pre/usr/lib/mailman/bin/mmsitepass/pre<br />
/li<br />
	li Set the site-wide list creator password (not as powerful as the administrator password) via:<br />
pre/usr/lib/mailman/bin/mmsitepass -c/pre<br />
/li<br />
	liNext step is to hack in LDAP support, which doesn&#8217;t look to be too easy./li<br />
/ul</p>
]]></content:encoded>
			<wfw:commentRss>http://geekdom.wesmo.com/2009/06/06/majordomo-to-mailman-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESX/ESXi and the AMD Phenom X4 9500</title>
		<link>http://geekdom.wesmo.com/2009/06/06/esxesxi-and-the-amd-9500/</link>
		<comments>http://geekdom.wesmo.com/2009/06/06/esxesxi-and-the-amd-9500/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 23:23:03 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[processor]]></category>

		<guid isPermaLink="false">http://geekdom.wesmo.com/?p=136</guid>
		<description><![CDATA[ESX/ESXi is a great way to truly utilize the powerful hardware that is available out there.  With the introduction of ESXi, VMware has &#8216;pulled a Microsoft&#8217; by offering ESX for free to the masses in an attempt to anchor their stranglehold on the virtualization market.
ESXi 4, with VMware&#8217;s vSphere client, works on a broad range [...]]]></description>
			<content:encoded><![CDATA[<p>ESX/ESXi is a great way to truly utilize the powerful hardware that is available out there.  With the introduction of ESXi, VMware has &#8216;pulled a Microsoft&#8217; by offering ESX for free to the masses in an attempt to anchor their stranglehold on the virtualization market.</p>
<p>ESXi 4, with VMware&#8217;s vSphere client, works on a broad range of hardware.  However, it was recently discovered in a testing environment with new hardware (an ASUS M2N68-VM and an AMD Phenom X4 9500) that AMD has a hardware bug in their Phenom X4 9&#215;00 series of processors that breaks virtualization.  It took a lot of searching before <a href="http://communities.vmware.com/thread/212655">this post</a> was found on the VMware communities forum spelling out the issue.  Wikipedia also has <a href="http://en.wikipedia.org/wiki/Phenom_(processor)#Background">a mention</a> of it.  Unfortunately, this news isn&#8217;t easy to find.</p>
<p>The AMD Phenom X4 9&#215;50 series of processors fixed the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekdom.wesmo.com/2009/06/06/esxesxi-and-the-amd-9500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
