<?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>Zarathustra Shall Speak &#187; CentOS</title>
	<atom:link href="http://zarathustrashallspeak.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://zarathustrashallspeak.com</link>
	<description>And you yourself are also this Will to Power.</description>
	<lastBuildDate>Tue, 13 Jul 2010 18:35:48 +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>Timer ISR/1: Time went backwards.</title>
		<link>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 08:56:45 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=306</guid>
		<description><![CDATA[AMD > Intel.  Always has.  Always will be.]]></description>
			<content:encoded><![CDATA[<p>If you find yourself alone, riding through green fields with the sun on your face, do not be troubled.  For you&#8217;re probably using an Intel-based system for virtualization, and are already dead!</p>
<p>Seriously, though, I&#8217;ve <em>never</em> had any of these weird goddamned problems with AMD-based systems.  Well, whatever.</p>
<p>If you randomly get the <em>&#8216;Timer ISR/1: Time went backwards&#8217;</em> bullshit, reboot your Dom0, enter BIOS, and make sure you turn off all of Intel&#8217;s power saving nonsense.  For a Sun Fire x4150, specifically, kill the following crap:</p>
<p><code>Advanced > CPU Configuration > Intel(R) SpeedStep(tm) tech<br />
Advanced > CPU Configuration > Intel(R) C-STATE tech</code></p>
<p>With an x4150, you may end up with a weird hardware clock issue &#8211; specifically, /dev/rtc being completely inaccessible.  hwclock &#8211;debug will return errno=19.</p>
<p>If you&#8217;re already infuriated to the point of wanting to put a server through a wall, you can do the following:</p>
<p><code>Edit /etc/rc.sysinit and /etc/init.d/halt, comment out all lines referring to hwclock<br />
Install and configure ntp<br />
Edit /etc/sysconfig/ntpd, add the following to the first line of options: -x -g</code></p>
<p>-x will force ntpdate to run first on startup of ntpd, ensuring your eventual completely borked time will be set before ntpd proper starts.  -g will ensure that ntpd can continue to mangle your time, even if somehow your drift is several days off the mark.</p>
<p>Would that Xen had a more up-to-date kernel, or that RedHat hadn&#8217;t abandoned it in favor of KVM.   Or would that KVM was ready for prime time. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Ruby Notes</title>
		<link>http://zarathustrashallspeak.com/2010/04/01/random-ruby-notes/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/01/random-ruby-notes/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 05:42:37 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=299</guid>
		<description><![CDATA[Ruby: Invented in Japan and clearly designed for programming the controls for Gundams.]]></description>
			<content:encoded><![CDATA[<p><strong>Installation in CentOS:</strong></p>
<p>Set up access to the <a href="http://fedoraproject.org/wiki/EPEL">Extra Packages for Enterprise Linux</a> repository.  Install ruby, ruby-mysql (you know you want to), rubygems.  Generically, you can then gem install whatever else you might need.</p>
<p><strong>Variable tests in s/printf are deliciously C-like:</strong></p>
<p><code>printf "%s %d\n", vslist[i], enabled[i] == false ? 0 : 1</code></p>
<p><strong>Escaping double quotes in s/printf is exactly what you&#8217;d expect:</strong></p>
<p><code>printf "\"%s\", %d\n", vslist[i], enabled[i] == false ? 0 : 1</code></p>
<p><strong>Including Local Files Via require:</strong></p>
<p>This is where Ruby falls down, to be sure.  In order to do this, you need to modify the path of require or some such.  At any rate, this does it:</p>
<p><code>$: << File.dirname(__FILE__) + "/wsdl/" unless $:.include? File.dirname(__FILE__) + "/wsdl/"</code></p>
<p>Basically, this gets placed before the require statement for your local .rb file.  In this situation, it's allowing me to access files in a directory titled 'wsdl' that rests under the directory that the Ruby script I'm calling is in.  I believe that, if you have the files you're require'ing in the same directory, you should just be able to get rid of the <em>+ "/wsdl/"</em> segment in the above statement.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/01/random-ruby-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS/Java Path Setup</title>
		<link>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/</link>
		<comments>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 01:35:05 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=297</guid>
		<description><![CDATA[Because I keep forgetting, and because it seems Java isn't going away any time soon.]]></description>
			<content:encoded><![CDATA[<p>export JAVA_HOME=/path/to/JDK<br />
export PATH=${PATH}:${JAVA_HOME}/bin</p>
<p>This can be tossed in a .bashrc or /etc/bashrc or somewhere. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS + Munin</title>
		<link>http://zarathustrashallspeak.com/2010/02/23/centos-munin/</link>
		<comments>http://zarathustrashallspeak.com/2010/02/23/centos-munin/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 17:58:00 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=260</guid>
		<description><![CDATA[Norse themed software is my favorite.]]></description>
			<content:encoded><![CDATA[<p><a href="http://munin.projects.linpro.no/">Munin</a> is a nifty little tool that can provide you all manner of insight into the workings of your systems.  There are probably dozens of howto&#8217;s on setting up Munin out there, so obviously, the world needs another one.</p>
<p><strong>Server:</strong></p>
<p>First, <a href="http://fedoraproject.org/wiki/EPEL/FAQ#howtouse">install</a> the <a href="http://fedoraproject.org/wiki/EPEL">EPEL</a> repository.  If this article is dated, be sure to click the install link to grab more up to date instructions from their FAQ.  But, for now:</p>
<p><code>rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm</code></p>
<p>BTW, EPEL is a nice repository filled with all sorts of interesting software that RHEL/CentOS should have, but don&#8217;t.  It&#8217;s basically all the up to date software of Fedora, without the annoyance of Fedora.</p>
<p>Next, you need to enable packages from EPEL for Munin:</p>
<p><code>echo 'includepkgs=munin munin-common munin-node perl-* rrdtool rrdtool-perl' >> /etc/yum.repos.d/epel.repo</code></p>
<p><em>Update: 4/3/2010: I&#8217;ve adjusted the includepkgs line to reflect what&#8217;s needed in recent updates &#8211; mainly, munin-common and moving the perl package includes to perl-* &#8211; there&#8217;s a lot more perl packages required.  That&#8217;s not a bad thing &#8211; it&#8217;s generally better to grab perl packages in RPM form than through cpan, after all &#8211; much easier to keep up to date.</em></p>
<p>Now, install Munin:</p>
<p><code>yum -y install munin munin-node httpd</code></p>
<p>We&#8217;re installing munin-node as well as munin, so you can immediately see graphing awesomeness by monitoring your Munin server itself.  Apache (or some webserver) is necessary to actually view your Munin data.  Anyhoo, once installed, edit a few things.  Mostly:</p>
<p><code>/etc/munin/munin.conf</code></p>
<p>Find the localhost entry and replace it with your monitoring server&#8217;s hostname.  EG:</p>
<pre>
[lemuria.taldar.com]
    address 127.0.0.1
    use_node_name yes
</pre>
<p>Add in an alias to your apache config so you can, you know, see Munin:</p>
<p><code>echo 'Alias /munin /var/www/html/munin' >> /etc/httpd/conf/httpd.conf<br />
/etc/init.d/httpd graceful</code></p>
<p>You may want to put that in a specific virtual host, if you have them &#8211; or even set up .htaccess protection.  That&#8217;s outside the scope of this post, however.</p>
<p>Finally, start munin-node and ensure it starts on booth:</p>
<p><code>/etc/init.d/munin-node start<br />
chkconfig munin-node on</code></p>
<p>Open your browser, navigate to your Munin installation (http://yourserver/munin if following the listed procedure), and&#8230;   Chances are, you&#8217;ll have to wait a few minutes for Munin to actually collect data.  But in a short time, you should have more pretty graphs than you ever dreamed possible.</p>
<p><strong>Client:</strong></p>
<p>Setting up a client is just as easy &#8211; you can skip the &#8216;munin&#8217; part and just install &#8216;munin-node&#8217;.  Once done, check:</p>
<p><code>/etc/munin/munin-node.conf</code> </p>
<p>&#8230;for settings.  For the most part, all you really need to adjust is:</p>
<p><code>allow ^127\.0\.0\.1$</code></p>
<p>Replace 127.0.0.1 with the IP of your munin server.  Save, quit, start the node:</p>
<p><code>/etc/init.d/munin-node start<br />
chkconfig munin-node on</code></p>
<p>Back on the server, open up:</p>
<p><code>/etc/munin/munin.conf</code></p>
<p>&#8230;And add an entry for your new client.  Example:</p>
<pre>
[fatov.taldar.com]
    address 192.168.42.69
    use_node_name yes
</pre>
<p>No need to restart anything on the server, since Munin&#8217;s monitoring is cron-based.</p>
<p>If you&#8217;ve got iptables running, you probably need to add a rule to allow the client to accept traffic from the server.  Open up:</p>
<p><code>/etc/sysconfig/iptables</code></p>
<p>..And add:</p>
<p><code>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --source IPOFYOURMUNINSERVER --dport 4949 -j ACCEPT</code></p>
<p>Then restart iptables:</p>
<p><code>/etc/init.d/iptables restart</code></p>
<p>Note the &#8211;source line; this should restrict tcp/4949 to your Munin server.  Since nothing else should be talking to your client on 4949, you might as well go the distance in keeping things secure.</p>
<p><strong>Enabling More Stuff</strong></p>
<p>You&#8217;ll notice that different servers might have different graphs &#8211; you might see MySQL show up on a database server, while it doesn&#8217;t show up on a webserver.  When you install munin-node, the installer does some checking and enables plugins that seem to make sense.  What if you want more stuff?   Simply check:</p>
<p><code>/usr/share/munin/plugins/</code></p>
<p>&#8230;And see what&#8217;s available.  To enable something &#8211; we&#8217;ll use &#8216;netstat&#8217; as example, you just make a symlink in the Munin config plugins directory.  Example:</p>
<p><code>ln -s /usr/share/munin/plugins/netstat /etc/munin/plugins/netstat</code></p>
<p>Restart the node after this:</p>
<p><code>/etc/init.d/munin-node start</code></p>
<p><strong>MySQL</strong></p>
<p>You might have a MySQL plugin enabled by default, but &#8211; by default, it won&#8217;t pull anything of use.  To remedy this, hop on your node, and open up:</p>
<p><code>/etc/munin/plugin-conf.d/munin-node</code></p>
<p>Add or modify the following:</p>
<p><code>[mysql*]<br />
env.mysqlopts -u munin -pSEKRITPASSWORDSHHH</code></p>
<p>Replace &#8216;SEKRITPASSWORD&#8230;&#8217; with some sort of password.  Note the MySQL user (-u munin) you&#8217;ll be creating is fairly unprivileged.  Speaking of which, let&#8217;s create that:</p>
<p><code>mysql<br />
create user munin@'localhost' identified by 'SEKRITPASSWORDSHHH';<br />
flush privileges;<br />
quit;<br />
</code></p>
<p>&#8230;Again, replace the password.   After all this &#8211; you guessed it, restart the node:</p>
<p><code>/etc/init.d/munin-node start</code></p>
<p>Shortly thereafter you should start getting MySQL data on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/02/23/centos-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yum Update From USB Thumb Drive</title>
		<link>http://zarathustrashallspeak.com/2009/07/13/yum-update-from-usb-thumb-drive/</link>
		<comments>http://zarathustrashallspeak.com/2009/07/13/yum-update-from-usb-thumb-drive/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 01:01:23 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=126</guid>
		<description><![CDATA[Network connectivity is for chumps.]]></description>
			<content:encoded><![CDATA[<p>Had a situation where I needed to update a pair of CentOS 5.3 boxes post-installation, but before they would have network connectivity.  The answer?  USB thumb drive.  Man, I love those little things.</p>
<p>To create a USB thumb drive repository, basically, just grab a blank USB thumb drive and &#8211; download an existing repository.  Hit up a random page on the CentOS mirrors page.  For updates, on your USB stick you need to create the following directory structure:</p>
<p><code>centos/5/updates/</code></p>
<p>From here, download your version&#8217;s (5.3 being the latest as of writing) &#8216;updates&#8217; directory contents.  You need at least one arch (i386 or x86_64) directory as a minimum, including the RPMS and repodata directories under each arch.   Good idea to snag both i386 and x86_64, unless you know you&#8217;re only using one or the other.  (And keep in mind, a default CentOS x86_64 install *will* install i386 rpms &#8211; more on killing those later.)</p>
<p>So, your USB stick should now look something like this:</p>
<p><code>centos/5/updates/i386/<br />
...RPMS/<br />
...repodata/<br />
centos/5/updates/x86_64/<br />
...RPMS/<br />
...repodata/</code></p>
<p>Obviously, you&#8217;ll have individual RPMS in the i386/x86_64 RPMS directories, and repository files in the repodata directories.</p>
<p>Now for the update.   First, if you want a *pure* x86_64 system, run this on the system you&#8217;re updating:</p>
<p><code>rpm -qa --queryformat='%{n}-%{v}-%{r}.%{arch}\n' | grep '\.i[3456]86$' | xargs rpm -ev</code></p>
<p>This command kills all non-x86_64, non-noarch packages.</p>
<p>Insert your USB thumb drive into the box you&#8217;re updating.</p>
<p><code>mkdir -p /mnt/usb<br />
mount /dev/YOURUSBDEVICE1 /mnt/usb</code></p>
<p>Generally, when you insert a USB thumb drive, some lovely messages will pop up, including the location of the drive.  Use that in the above mount command.  Remember, you&#8217;re mounting a partition, not the entire device &#8211; so if the messages spewed when plugging the drive in say it&#8217;s located at, say, &#8216;sdg&#8217;, you&#8217;d use:</p>
<p><code>mount /dev/sdg1 /mnt/usb</code></p>
<p>Now set up yum to use your new repository:</p>
<p><code>vi /etc/yum.repos.d/CentOS-Base.repo<br />
Comment out the 'mirrorlist' line under the [updates] repo.<br />
Uncomment the 'baseurl' line and set it to:<br />
          file:///mnt/usb/centos/$releasever/updates/$basearch/</code></p>
<p>Save the file, quit.   Execute:</p>
<p><code>yum --disablerepo=* --enablerepo=updates -y update</code></p>
<p>If you want to undo your repository info (always a good idea, unless you&#8217;re going to permanantly be swapping out USB drives for updates), just edit CentOS-Base.repo and uncomment &#8216;mirrorlist&#8217; and comment out &#8216;baseurl&#8217; under the updates repo.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/07/13/yum-update-from-usb-thumb-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHEL/CentOS 5.3 and iSCSI Targets</title>
		<link>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/</link>
		<comments>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 11:14:55 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=80</guid>
		<description><![CDATA[I personally find iSCSI to be an overrated storage solution; there are so many better, more managable options out there.]]></description>
			<content:encoded><![CDATA[<p>Strongly recommend grabbing the enterprise iSCSI target package from <a href="http://atrpms.net/">ATrpms</a>.  Direct link to the package listing is: <a href="http://atrpms.net/dist/el5/iscsitarget/">http://atrpms.net/dist/el5/iscsitarget/</a>.</p>
<p>The scsi-target-utils package distributed with RHEL/CentOS 5.3 is okay for simple stuff, but definitely out of date.   And it completely fails when attempting to boot diskless systems via iSCSI over Infiniband.  Spent quite a bit of time tonight attempting to figure out why BoIB 2.0.0 with a ConnectX card refused to communicate with my apparently working (export connectable/useable on other machines) iSCSI volume.  Replaced tgtadm with the enterprise iSCSI target, and boom &#8211; instant satisfaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun StorageTek 6140, RHEL or CentOS 5.3, and You</title>
		<link>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/</link>
		<comments>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 15:58:15 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=78</guid>
		<description><![CDATA[*holds up small card*  Multipath!  Multipath!  Multipath!]]></description>
			<content:encoded><![CDATA[<p>I fear no Sun hardware, for I am fear incarnate.</p>
<p>First, download the appropriate drivers for your FC HBA.  I&#8217;m currently using a QLogic card, and you should be, too.  If you&#8217;re not, your mileage and sanity may vary.  At any rate, a quick trip to the QLogic site provided me with <em>qla2xxx-v8.02.23_4-dist.tgz</em>, which I shoved into /opt.</p>
<p>The thing of primary importance are the Linux rdac drivers.  The rdac drivers they provide are out of date and will not compile against any modern kernel.  You can snag the updated rdac drivers from: <a href="http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz">http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz</a></p>
<p>Those, too, go into /opt.</p>
<p>Now on with the awesome:</p>
<p><code>cd /opt<br />
tar -zxf qla2xxx*.tgz<br />
cd qlogic<br />
./drvrsetup<br />
cd qla2xxx-8*<br />
./extras/build.sh install<br />
cd /opt<br />
tar -zxf rdac-LINUX-09.02.C5.13-source.tar.gz<br />
cd linuxrdac-09.02.C5.13<br />
make<br />
make install<br />
y</code></p>
<p>Open up /boot/grub/grub.conf.</p>
<p>Copy your existing Grub entry and paste it at the bottom of your file.  This is your fallback.  For the primary entry, modify the initrd line to point to mpp-YOURKERNELVERSION.img.  It should look similar to the following:</p>
<p><code>initrd /mpp-2.6.18-128.1.14.el5.img</code></p>
<p>Of course, if your kernel is a different version, the numbers will be different.</p>
<p>Open up /etc/multipath.conf and do some pasting:</p>
<p><code>blacklist {<br />
        devnode "*"<br />
}<br />
devices {<br />
        device {<br />
                vendor SUN<br />
                product CSM200_R<br />
                product_blacklist "Universal Xport"<br />
                features "1 queue_if_no_path"<br />
                path_checker rdac<br />
                hardware_handler "1 rdac"<br />
                path_grouping_policy group_by_prio<br />
                prio "rdac"<br />
                failback immediate<br />
        }<br />
}</code></p>
<p>This may need to be modified depending on what you want/need; I&#8217;m rather new to playing with the 6140 myself so I can&#8217;t really make any recommendations.   This multipath.conf was actually provided to me by our contacts at <a href="http://ibrix.com/">Ibrix</a>.  Ibrix, as a business, is just pure awesome.  They&#8217;re on the level of Zeus in terms of willingness to assist potential customers.  Absolutely amazing.</p>
<p>Anyhow, make sure you have multipathd starting on boot:</p>
<p><code>chkconfig multipathd on</code></p>
<p>Reboot, and you should be able to mount exports from your 6140 on your RHEL/CentOS 5.3 system, and do proper failover, without things freaking the hell out.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun With UUIDs and ext3, XFS</title>
		<link>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/</link>
		<comments>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:28:07 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=82</guid>
		<description><![CDATA[CentOS, my distribution of choice, isn't as UUID-happy as other distributions are.]]></description>
			<content:encoded><![CDATA[<p>The following examples assume the partition in question is located at /dev/sdb1.  YMMV.</p>
<p>Set new UUID on XFS Partition, RHEL/CentOS:</p>
<p><code>xfs admin -U generate /dev/sdb1</code></p>
<p>Set new UUID on XFS Partition, SLES/OpenSUSE:</p>
<p><code>xfs_admin -U generate /dev/sdb1</code></p>
<p>Set new UUID on ext3 Partition and Display New UUID (RHEL/CentOS, SLES/OpenSUSE):</p>
<p><code>tune2fs /dev/sdb1 -U random<br />
dumpe2fs -h /dev/sdb1 | grep UUID</code></p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and Dirty RHEL/CentOS Network Configuration</title>
		<link>http://zarathustrashallspeak.com/2009/05/22/quick-and-dirty-rhelcentos-network-configuration/</link>
		<comments>http://zarathustrashallspeak.com/2009/05/22/quick-and-dirty-rhelcentos-network-configuration/#comments</comments>
		<pubDate>Fri, 22 May 2009 20:42:21 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=67</guid>
		<description><![CDATA[Thankfully basic network configuration isn't a black art on most distributions these days.]]></description>
			<content:encoded><![CDATA[<p><strong>/etc/resolv.conf:</strong><br />
<code>nameserver #.#.#.#<br />
nameserver #.#.#.#</code></p>
<p>Naturally, replace #.#.#.# with the IP addresses of your nameservers.</p>
<p><strong>/etc/sysconfig/network:</strong><br />
<code>NETWORKING=yes<br />
HOSTNAME=BOX<br />
DOMAIN=DOMAIN.FOO</code></p>
<p>HOSTNAME is, of course, where you put the hostname of your box.  This should not be a FQDN; the domain should end up in the DOMAIN variable.</p>
<p><strong>/etc/sysconfig/network-scripts/ifcfg-eth0:</strong><br />
<code>DEVICE=eth0<br />
BOOTPROTO=static<br />
IPADDR=172.16.42.142<br />
NETMASK=255.255.255.0<br />
NETWORK=172.16.42.0<br />
BROADCAST=172.16.42.255<br />
GATEWAY=172.16.42.1<br />
ONBOOT=yes</code></p>
<p>This assumes the IP of your box is 172.16.42.142 with a netmask of 255.255.255.0.  Network and broadcast will be set up in the same fashion, using .0 at the end of network and .255 for broadcast.  Gateway may fluctuate depending on your own network setup &#8211; usually, gateways are located at .1, but your mileage may vary.</p>
<p><code>/etc/init.d/networking restart</code></p>
<p>&#8230;And yer off.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/05/22/quick-and-dirty-rhelcentos-network-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jailtime.org CentOS 5.2 on Xen; Boot Problem</title>
		<link>http://zarathustrashallspeak.com/2009/05/22/jailtime-org-centos-5-2-on-xen-boot-problem/</link>
		<comments>http://zarathustrashallspeak.com/2009/05/22/jailtime-org-centos-5-2-on-xen-boot-problem/#comments</comments>
		<pubDate>Fri, 22 May 2009 19:34:35 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=70</guid>
		<description><![CDATA[Xen remains my favorite virtualization solution for Linux.]]></description>
			<content:encoded><![CDATA[<p>A non-booting DomU is a standard problem to have with Xen; over the years I&#8217;ve seen it happen mainly due to console or hwclock problems.  This one, however, stumped me &#8211; first time debugging it in Xen > 3.0.x, after all.</p>
<p>Basically, my CentOS 5.2 DomU refused to boot, stalling out after initializing SSH.  Interactive mode showed it was freezing on starting the local service, or at least shortly afterward &#8211; no and continue options had the same result.</p>
<p>The following had to be shoved into the config file for the DomU, and replaced my &#8216;console=hvc0&#8242; declaration:</p>
<p><code>extra ="3 xencons=tty"</code></p>
<p>The solution comes from this message:  <a href="http://lists.xensource.com/archives/html/xen-users/2009-04/msg00485.html">http://lists.xensource.com/archives/html/xen-users/2009-04/msg00485.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/05/22/jailtime-org-centos-5-2-on-xen-boot-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
