<?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>i n b a u d w e t r u s t</title>
	<atom:link href="http://inbaudwetrust.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://inbaudwetrust.com</link>
	<description>technical and personal ramblings</description>
	<lastBuildDate>Fri, 22 Jul 2011 20:44:17 +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>Working With LVM In Linux</title>
		<link>http://inbaudwetrust.com/2010/04/30/working-with-volume-groups/</link>
		<comments>http://inbaudwetrust.com/2010/04/30/working-with-volume-groups/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 19:36:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL/OEL]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>
		<category><![CDATA[logical volumes]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[volume groups]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=13</guid>
		<description><![CDATA[Creating a new volume group, adding a disk to it and making it usable #fdisk /dev/sda5 (or /dev/mapper/mpathx if multipathing) &#8230; create new partition, type lvm (8e), write changes to disk #partprobe #pvscan #pvdisplay #kpartx -a /dev/mapper/mpathX if it&#8217;s a multipathed device using dm-mulipath, otherwise skip this step #pvcreate /dev/sda5 or /dev/mapper/mpathXpX  (initializes partition for ]]></description>
			<content:encoded><![CDATA[<h3>Creating a new volume group, adding a disk to it and making it usable</h3>
<p>#fdisk /dev/sda5 (or /dev/mapper/mpathx if multipathing) &#8230; create new partition, type lvm (8e), write changes to disk<br />
#partprobe<br />
#pvscan<br />
#pvdisplay<br />
#kpartx -a /dev/mapper/mpathX if it&#8217;s a multipathed device using dm-mulipath, otherwise skip this step<br />
#pvcreate /dev/sda5 or /dev/mapper/mpathXpX  (initializes partition for LVM)<br />
#vgcreate vg02 /dev/sda5 or /dev/mapper/mpathXpX (or vgextend vg02 /dev/sda5 or /dev/mapper/mpathXpX to add to a volume group)<br />
#lvcreate -L 500G -n lvora_backup vg02  (or lvextend to add)<br />
#mkfs -V -t ext3 /dev/mapper/vg02-lvora_backup  (or resize2fs to extend the fs)<br />
#mount /dev/mapper/vg02-lvora_backup /ora_backup</p>
<p>edit /etc/fstab:</p>
<p>/dev/vg02/lvora_backup  /ora_backup             ext3    defaults        1 2</p>
<h3>Extending a logical volume if the vg has available space</h3>
<p>lvextend -L +512M /dev/rootvg/lvtmp<br />
resize2fs /dev/rootvg/lvtmp</p>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/30/working-with-volume-groups/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to find the scsi id of any device on linux</title>
		<link>http://inbaudwetrust.com/2010/04/28/howto-find-the-scsi-id-of-any-device-on-linux/</link>
		<comments>http://inbaudwetrust.com/2010/04/28/howto-find-the-scsi-id-of-any-device-on-linux/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 19:41:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL/OEL]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>
		<category><![CDATA[lun]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[scsi id]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=12</guid>
		<description><![CDATA[#scsi_id -g -u -s /block/sdx if it&#8217;s a /dev/cciss device then use #cciss_id /dev/cciss/cXdX -bb]]></description>
			<content:encoded><![CDATA[<p>#scsi_id -g -u -s /block/sdx</p>
<p>if it&#8217;s a /dev/cciss device then use</p>
<p>#cciss_id /dev/cciss/cXdX</p>
<p>-bb</p>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/28/howto-find-the-scsi-id-of-any-device-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling Round Robin and MPIO on vSphere4</title>
		<link>http://inbaudwetrust.com/2010/04/17/enabling-round-robin-and-mpio-on-esxi-4/</link>
		<comments>http://inbaudwetrust.com/2010/04/17/enabling-round-robin-and-mpio-on-esxi-4/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 20:32:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[hp eva]]></category>
		<category><![CDATA[mpio]]></category>
		<category><![CDATA[multi-pathing]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[round robin]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=10</guid>
		<description><![CDATA[The purpose of this article is explain how to enable round robin and multipathing on an ESXi4 cluster. Our environment consists of: 48 HP BL460cG1 servers running ESXi4 embedded with qlogic fc mezzanine cards(2 hba&#8217;s/host) 3 C7000 Chassis with VC-Enet modules and Cisco MDS9124 switches SAN fabric connected to an HP EVA 8400 These instructions ]]></description>
			<content:encoded><![CDATA[<p>The purpose of this article is explain how to enable round  robin and multipathing on an ESXi4 cluster.</p>
<p>Our environment consists of:</p>
<ul>
<li>48 HP BL460cG1 servers running ESXi4 embedded with qlogic fc mezzanine cards(2 hba&#8217;s/host)</li>
<li>3 C7000 Chassis with VC-Enet modules and Cisco MDS9124 switches</li>
<li>SAN fabric connected to an HP EVA 8400</li>
</ul>
<p>These instructions are primarily from HP and are SPECIFICALLY FOR THE EVA!  Check with your SAN vendor for their recommendations.  The shared storage in our environment is all fibre channel, so these instructions will most likely not work on iSCSI or shared storage over other protocols.  This article assumes you have two hba&#8217;s per host as well.  Also make sure that your SAN or LUN’s are setup for an  active/active configuration otherwise you’ll have problems with LUN  trespassing.  Most newer SAN’s are active/active by default, but some  SAN’s such as some of the older EMC CX series are setup for  active/passive and you have to use powerpath or a vendor specific product in order to setup true multi-pathing on a host.  Perform these steps at your own risk!  If you&#8217;re not comfortable with any part of this then do some research, reference the sources at the bottom of the page, or call VMWare support before you go ahead with this.  Now that we’ve  got the disclaimers out of the way, let’s get down to the good stuff.  The whole process consists of approximately 3 steps: enabling round robin on all LUN&#8217;s on all hosts in the cluster, setting each host to use both preferred and non-preferred paths, and finally telling each host how many iops before it switches paths, utilzing both paths more effectively and helping to spread the load across both controllers on your SAN.</p>
<p><strong>Enabling Round Robin</strong><br />
Set multi-path policy to Round Robin on all LUN&#8217;s on all hosts in a cluster using PowerCLI:</p>
<pre>Get-VMHost -Location &lt;Clustername&gt;|Get-ScsiLun -LunType "disk"|where {$_.MultipathPolicy –ne "RoundRobin"}|Set-ScsiLun -MultipathPolicy "RoundRobin"</pre>
<p>Check to see if it took:</p>
<pre>Get-VMHost -Location &lt;Clustername&gt;|Get-ScsiLun</pre>
<p><span style="color: #ff0000;"><em>The following steps are run in the &#8220;unsupported console&#8221;.  Google to see how to enable ssh on each host.</em></span></p>
<p><strong>Set the default Path Selection Policy(PSP) to Round Robin and SATP to VMW_SATP_ALUA on each host<br />
</strong></p>
<pre>esxcli nmp satp setdefaultpsp --satp VMW_SATP_ALUA --psp VMW_PSP_RR</pre>
<p><strong>Set the LUN&#8217;s to use preferred and non-preferred paths</strong><br />
Login to each host and type in the following command:</p>
<pre>for i in `ls /vmfs/devices/disks/ | grep naa.600` ; do esxcli nmp roundrobin setconfig --useANO 1 --device $i ;done</pre>
<p>You might get some errors, but run this command to see if it took:</p>
<pre>esxcli nmp device list |grep ANO=</pre>
<p><strong>Set amount of iops before it switches paths</strong></p>
<pre>for i in `ls /vmfs/devices/disks/ | grep naa.600` ; do esxcli nmp roundrobin setconfig --type "iops" --iops=1 --device $i ;done</pre>
<p>By default this is set to 1000, and you&#8217;ll have to write a script that runs on startup as the setting doesn&#8217;t keep over a reboot.  In fact it seems that if you touch the iops= setting, then after a reboot it&#8217;s replaced with a random number.<br />
Check the sources below for more detailed information, especially the top link which is the HP &#8220;Official&#8221; best practices document for this scenario.</p>
<p>-bb</p>
<p><em>Sources:</em></p>
<ul>
<li><a title="Configuration best practices for HP StorageWorks Virtual Array and VMWare vSphere 4" href="http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA1-2185ENW.pdf" target="_blank">Configuration best practices for HP StorageWorks Enterprise Virtual Array (EVA) family and VMware vSphere 4</a></li>
<li> <a href="http://blogs.vmware.com/storage/2009/10/vstorage-multi-paths-options-in-vsphere.html">vStorage Multi Paths Options in vSphere</a></li>
<li><a href="http://www.boche.net/blog/index.php/2010/02/04/configure-vmware-esxi-round-robin-on-emc-storage/" target="_blank">Configure VMWare ESXi Round Robin on EMC Storage</a></li>
<li> <a href="http://www.ivobeerens.nl/?p=465" target="_blank">Best Practices for HP EVA, vSphere 4 and Round Robin multi-pathing</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/17/enabling-round-robin-and-mpio-on-esxi-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Protected: Updating OEL 5.4 to OEL 5.5 via ULN</title>
		<link>http://inbaudwetrust.com/2010/04/16/updating-oel-5-4-to-oel-5-5-via-uln/</link>
		<comments>http://inbaudwetrust.com/2010/04/16/updating-oel-5-4-to-oel-5-5-via-uln/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 07:06:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[RHEL/OEL]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=5</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://inbaudwetrust.com/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-5">Password:<br />
<input name="post_password" id="pwbox-5" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/16/updating-oel-5-4-to-oel-5-5-via-uln/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing The Latest Deluge in Ubuntu 9.10 (Karmic Koala)</title>
		<link>http://inbaudwetrust.com/2010/04/15/installing-the-latest-deluge-in-linux-minthelena-or-ubuntukarmic/</link>
		<comments>http://inbaudwetrust.com/2010/04/15/installing-the-latest-deluge-in-linux-minthelena-or-ubuntukarmic/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 06:57:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=6</guid>
		<description><![CDATA[Torrent clients on Linux just don&#8217;t seem to stack up to uTorrent.  I&#8217;ve tried all of them  and deluge seems to be the most configurable and feature rich that I&#8217;ve found.  Yes I&#8217;ve tried transmission, ktorrent, rtorrent and several others I don&#8217;t care to recall.  My primary computer at home is a Linux Mint Helena ]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-9" title="deluge" src="http://inbaudwetrust.com/wp-content/uploads/2010/04/deluge.png" alt="" width="92" height="92" />Torrent clients on Linux just don&#8217;t seem to stack up to uTorrent.  I&#8217;ve tried all of them  and deluge seems to be the most configurable and feature rich that I&#8217;ve found.  Yes I&#8217;ve tried transmission, ktorrent, rtorrent and several others I don&#8217;t care to recall.  My primary computer at home is a Linux Mint Helena 64-bit, which is basically just Karmic all gussied up.  Here&#8217;s how I installed the latest and greatest version of deluge (1.2.3).  Some of the trackers I use have banned the use of deluge releases prior to 1.2.1.  Deluge 1.1.9 is what is in Karmic&#8217;s repo&#8217;s by default so this was a problem.  I gleaned these instructions from <a href="https://launchpad.net/~deluge-team/+archive/ppa" target="_blank">https://launchpad.net/~deluge-team/+archive/ppa</a>.  Commands are in <span style="color: #800080;"><em>italics</em></span>.</p>
<p>Pretty simple really, just open a terminal and type in:</p>
<p><span style="color: #800080;"><em>$sudo add-apt-repository ppa:deluge-team/ppa</em></span></p>
<p>adds the deluge ppa to your systems software sources</p>
<p><span style="color: #800080;"><em>$sudo apt-get update</em></span></p>
<p>checks the repo&#8217;s for the latest versions of the software</p>
<p><span style="color: #800080;"><em>$sudo apt-get install deluge</em></span></p>
<p>installs the latest deluge on to your computer (1.2.3 as of this post).</p>
<p>That&#8217;s it!  Happy Sharing!</p>
<p>-bb</p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/15/installing-the-latest-deluge-in-linux-minthelena-or-ubuntukarmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome!</title>
		<link>http://inbaudwetrust.com/2010/04/07/hello-world/</link>
		<comments>http://inbaudwetrust.com/2010/04/07/hello-world/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 02:44:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://inbaudwetrust.com/?p=1</guid>
		<description><![CDATA[Welcome to inbaudwetrust.com  This will be my technical blog where I document the trials and tribulations of my job as a Linux Systems Administrator for a large healthcare technology corporation.  I&#8217;ll use this as a personal blog as well, so really anything goes. Topics will include but not be limited to: RHEL, OEL, Oracle, VMWare, ]]></description>
			<content:encoded><![CDATA[<p>Welcome to inbaudwetrust.com  This will be my technical blog where I document the trials and tribulations of my job as a Linux Systems Administrator for a large healthcare technology corporation.  I&#8217;ll use this as a personal blog as well, so really anything goes.</p>
<p>Topics will include but not be limited to:</p>
<p>RHEL, OEL, Oracle, VMWare, HP Blade Infrastructure Management, Ubuntu, Debian, Politics, Economics, Music and generally whatever else I feel like spouting off about.</p>
]]></content:encoded>
			<wfw:commentRss>http://inbaudwetrust.com/2010/04/07/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

