<?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>Notes from the Ether</title>
	<atom:link href="http://flavins.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://flavins.net/blog</link>
	<description>Thank you for taking note ...</description>
	<lastBuildDate>Thu, 14 Apr 2011 17:00:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>It doesn&#8217;t seem like so long ago &#8230;</title>
		<link>http://flavins.net/blog/microsoft/it-doesnt-seem-like-so-long-ago/</link>
		<comments>http://flavins.net/blog/microsoft/it-doesnt-seem-like-so-long-ago/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 16:59:25 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/?p=47</guid>
		<description><![CDATA[Remember when this was acceptable?  Thank you microsoft.com for not updating your .NET framework downloads and taking me back to the good old days when Internet connnectivity wasn&#8217;t an assumed reality.]]></description>
			<content:encoded><![CDATA[<p>Remember when this was acceptable? </p>
<p><a href="http://flavins.net/blog/wp-content/uploads/2011/04/framework.png"><img class="aligncenter size-medium wp-image-48" title="framework" src="http://flavins.net/blog/wp-content/uploads/2011/04/framework-300x104.png" alt="" width="300" height="104" /></a></p>
<p>Thank you microsoft.com for not updating your .NET framework downloads and taking me back to the good old days when Internet connnectivity wasn&#8217;t an assumed reality.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/microsoft/it-doesnt-seem-like-so-long-ago/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>replacing a disk in solaris software raid</title>
		<link>http://flavins.net/blog/uncategorized/replacing-a-disk-in-solaris-software-raid/</link>
		<comments>http://flavins.net/blog/uncategorized/replacing-a-disk-in-solaris-software-raid/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 17:08:28 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/?p=44</guid>
		<description><![CDATA[Simplified instructions for breaking &#38; rebuilding raid devices (after the disk has been replaced physically) &#8230; assuming c0t0d0 was your busted disk. ###COPY YOUR DRIVE CONFIGURATION (TOC) from slice 2 prtvtoc /dev/rdsk/c0t1d0s2 &#124; fmthard -s &#8211; /dev/rdsk/c0t0d0s2 ###REBUILD YOUR RAID DATABASES IN SLICE 7 # metadb -a -f -c 3 c1t0d0s7 ###DETACH THE SUBMIRROR # [...]]]></description>
			<content:encoded><![CDATA[<p>Simplified instructions for breaking &amp; rebuilding raid devices (after the disk has been replaced physically) &#8230; assuming c0t0d0 was your busted disk.</p>
<p>###COPY YOUR DRIVE CONFIGURATION (TOC) from slice 2<br />
prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -s &#8211; /dev/rdsk/c0t0d0s2<br />
###REBUILD YOUR RAID DATABASES IN SLICE 7<br />
# metadb -a -f -c 3 c1t0d0s7</p>
<p>###DETACH THE SUBMIRROR<br />
# metadetach -f d5 d15<br />
d5: submirror d15 is detached</p>
<p>####CLEAR THE DEVICE CONFIGURATION FROM THAT SLICE<br />
# metaclear d15<br />
d15: Concat/Stripe is cleared</p>
<p>###INITIALIZE A NEW RAID DEVICE ON THE SLICE<br />
# metainit d15 1 1 c1t0d0s5<br />
d15: Concat/Stripe is setup</p>
<p>###ATTACH THE SLICE TO THE EXISTING RAID DEVICE TO RESYNC<br />
bash-2.05# metattach d5 d15<br />
d5: submirror d15 is attached</p>
<p>WASH RINSE REPEAT ON REMAINING SLICES</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/uncategorized/replacing-a-disk-in-solaris-software-raid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bandwidth throttling on Netapp Snapmirror</title>
		<link>http://flavins.net/blog/uncategorized/bandwidth-throttling-on-netapp-snapmirror/</link>
		<comments>http://flavins.net/blog/uncategorized/bandwidth-throttling-on-netapp-snapmirror/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 00:18:32 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/uncategorized/bandwidth-throttling-on-netapp-snapmirror/</guid>
		<description><![CDATA[Thankfully, Netapp doesn&#8217;t require us to stick with one speed on our snapmirrors forever and ever.  We have the ability to use more/less bandwidth as appropriate, which is nice &#8230; particularly when we&#8217;re initializing snapmirror volumes that require a TON of data to be sent across the WAN. The command is simple: snapmirror throttle &#60;bw [...]]]></description>
			<content:encoded><![CDATA[<p>Thankfully, Netapp doesn&#8217;t require us to stick with one speed on our snapmirrors forever and ever.  We have the ability to use more/less bandwidth as appropriate, which is nice &#8230; particularly when we&#8217;re initializing snapmirror volumes that require a TON of data to be sent across the WAN.</p>
<p>The command is simple:</p>
<p>snapmirror throttle &lt;bw in KB&gt; filer:dest_volume</p>
<p>Substitute a 0 for &#8220;bw in KB&#8221; and you&#8217;ve opened up the pipe for complete consumption, or choose a number that&#8217;s suitable.  The Netapp docs say &#8220;KiloBytes&#8221; &#8230; so you&#8217;ll have to do your own math to find your number.  Happy transferring. </p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/uncategorized/bandwidth-throttling-on-netapp-snapmirror/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Licensing our Trial CF 8 install</title>
		<link>http://flavins.net/blog/uncategorized/licensing-our-trial-cf-8-install/</link>
		<comments>http://flavins.net/blog/uncategorized/licensing-our-trial-cf-8-install/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 23:36:15 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adding CF license]]></category>
		<category><![CDATA[CF8 install upgrade]]></category>
		<category><![CDATA[licensing Coldfusion]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/uncategorized/licensing-our-trial-cf-8-install/</guid>
		<description><![CDATA[Okay, I just wasted a ton of time on this &#8230; and it&#8217;s stupid!  Our developers needed the CF8 server to begin development on a new project.  No problem!  Install the server on a 30-day trial and let it run until I can get caught up and purchase the license.  Done and done.  Everyone&#8217;s happy. [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I just wasted a ton of time on this &#8230; and it&#8217;s stupid!</p>
<p> Our developers needed the CF8 server to begin development on a new project.  No problem!  Install the server on a 30-day trial and let it run until I can get caught up and purchase the license.  Done and done.  Everyone&#8217;s happy.</p>
<p>Fast forward a week, the license has arrived and I need to install it.  But where?  I go round and round in the admin looking for something in the left nav that will show me where to update the license.  Nothing.  Search Adobe.com.  Nothing.  Search Google.  Thank goodness for google, but this STILL took way too long.</p>
<p><img border="0" align="middle" width="522" src="http://flavins.net/blog/images/cf8.jpg" alt="cf8_admin" height="187" /></p>
<p>Answer:  Top right corner, click on the blue &#8220;i&#8221; for &#8216;System Information.&#8217;  Inside that screen, it&#8217;s a simple text box that you update and you&#8217;re done.  Seriously, that&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/uncategorized/licensing-our-trial-cf-8-install/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>changing sa login in MSDE</title>
		<link>http://flavins.net/blog/ms-sql/changing-sa-login-in-msde/</link>
		<comments>http://flavins.net/blog/ms-sql/changing-sa-login-in-msde/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:03:18 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[lost password]]></category>
		<category><![CDATA[MSDE]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[SA]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/ms-sql/changing-sa-login-in-msde/</guid>
		<description><![CDATA[I&#8217;ve found this little legacy app on our network that runs on MSDE.  Of course, there&#8217;s no documentation on it, so to restor the app on a new server requires me to reset the sa login. Here&#8217;s how: from the command prompt, execute: osql -E -Q &#8220;sp_password NULL, &#8216;newpassword&#8217;, &#8216;sa&#8217;&#8221; #### replace newpasswd with a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found this little legacy app on our network that runs on MSDE.  Of course, there&#8217;s no documentation on it, so to restor the app on a new server requires me to reset the sa login.</p>
<p>Here&#8217;s how:</p>
<p>from the command prompt, execute:</p>
<p>osql -E -Q &#8220;sp_password NULL, &#8216;newpassword&#8217;, &#8216;sa&#8217;&#8221; #### replace newpasswd with a real password.</p>
<p> Thats it!  Then you can login and test your new password with : osql -U sa -P newpasswd.</p>
<p>That should get you in, then you can run exec sp_helpdb and see your databases.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/ms-sql/changing-sa-login-in-msde/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>SQL Transaction logs out of control</title>
		<link>http://flavins.net/blog/ms-sql/sql-transaction-logs-out-of-control/</link>
		<comments>http://flavins.net/blog/ms-sql/sql-transaction-logs-out-of-control/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 17:18:21 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[logfiles]]></category>
		<category><![CDATA[MSSQL 2005]]></category>
		<category><![CDATA[SHRINKFILE]]></category>
		<category><![CDATA[truncate]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/uncategorized/sql-transaction-logs-out-of-control/</guid>
		<description><![CDATA[Today I had to set up some SQL Log Shipping, but the source server had transaction logs from the past few months that were never cleaned out because SQL 2005 was running with a &#8220;Full&#8221; backup model (as opposed to &#8220;simple&#8221;, that never cleaned out the transaction log files after the backups ran.  So, today, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to set up some SQL Log Shipping, but the source server had transaction logs from the past few months that were never cleaned out because SQL 2005 was running with a &#8220;Full&#8221; backup model (as opposed to &#8220;simple&#8221;, that never cleaned out the transaction log files after the backups ran.</p>
<p> So, today, I had to clean out the logs.  I started by switching and running a simple backup.  This was easy enough in the &#8220;Options&#8221; of hte database, but also could&#8217;ve avoided this step by running the following command:</p>
<p>BACKUP LOG &lt;DatabaseName&gt; TO DISK = &#8216;&lt;BackupFile&gt;&#8217; or in context: BACKUP LOG TestDB TO DISK=&#8217;C:\TestDB1.bak&#8217;</p>
<p>That backs up the logfiles, and allows me to truncate the data that&#8217;s been backed up.  Now, to shrink the logfile back down so that it doesn&#8217;t eat my entire server, I run the DBCC Shrinkfile command:</p>
<p> DBCC SHRINKFILE (&lt;FileName&gt;, &lt;TargetSize&gt;)   The target size is in MB, so to shrink my logfile to 500 MB, I ran this:</p>
<p><font size="2" color="#0000ff"><font size="2" color="#0000ff">DBCC<font size="2"> SHRINKFILE </font><font size="2" color="#808080"><font size="2" color="#808080">(</font></font><font size="2">DB_logfile</font><font size="2" color="#808080"><font size="2" color="#808080">,</font></font><font size="2"> 500</font><font size="2" color="#808080"><font size="2" color="#808080">)</font></font></font></font><font size="2" color="#0000ff"><font size="2" color="#0000ff"><font size="2" color="#808080"><font size="2" color="#808080"><font size="3" color="#000000">That did the trick.  Now my logfile is back down to 500 MB and I can start working on log shipping so that I have some redundancy.</font></font></font></p>
<p></font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/ms-sql/sql-transaction-logs-out-of-control/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>No Video when installing Linux Graphical Mode on HS21 Blades</title>
		<link>http://flavins.net/blog/uncategorized/no-video-when-installing-linux-graphical-mode-on-hs21-blades/</link>
		<comments>http://flavins.net/blog/uncategorized/no-video-when-installing-linux-graphical-mode-on-hs21-blades/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 21:10:46 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HS21 Blades]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[no graphics]]></category>
		<category><![CDATA[X]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/uncategorized/no-video-when-installing-linux-graphical-mode-on-hs21-blades/</guid>
		<description><![CDATA[So todays&#8217; battle was installing linux (this particular install was Oracle Unbreakable) onto an IBM blade, that just didn&#8217;t want to load the X installer when running the installation in graphical mode.  For those reading who are saying &#8220;just install in text mode&#8221; .. yes, I get it .. but that&#8217;s not the point.  I [...]]]></description>
			<content:encoded><![CDATA[<p>So todays&#8217; battle was installing linux (this particular install was Oracle Unbreakable) onto an IBM blade, that just didn&#8217;t want to load the X installer when running the installation in graphical mode.  For those reading who are saying &#8220;just install in text mode&#8221; .. yes, I get it .. but that&#8217;s not the point.  I went all the way thru text mode and the install crashed anyway &#8230; so I was on a mission with the video mode thing.</p>
<p>I tried installing with the vga=790 tag at the linux install prompt, but .. no go.  It would show certain screens, but not others.  I have a feeling it has to do with Linux misdiagnosing the type of Video cards in the system. </p>
<p>I had to settle for the linux text install and then configuring the system post-install so that XWindows would work properly.  Here&#8217;s  the change I had to make:</p>
<ol>
<li>Log in as root and using vi (or any other editor), edit the /etc/X11/xorg.conf file. Search for the following Driver line in the Device section: <span style="font-family: 'Courier New', 'Courier', 'monospace'">
<p>Driver &#8220;ati&#8221;</span></p>
<p>Replace &#8220;ati&#8221; with &#8220;vesa&#8221; The final section looks similar to this:</p>
<p><span style="font-family: 'Courier New', 'Courier', 'monospace'">Section &#8220;Device&#8221;<br />
Identifier &#8220;Videocard0&#8243;<br />
Driver &#8220;vesa&#8221;<br />
VendorName &#8220;Videocard vendor&#8221;<br />
BoardName &#8220;ATI ES1000&#8243;<br />
EndSection</p>
<p></span></li>
<li>Turn off dpms. While still editing the xorg.conf file, search for the following dpms option line: <span style="font-family: 'Courier New', 'Courier', 'monospace'">
<p>Option &#8220;dpms&#8221;</span>Change the option line to:</p>
<p><span style="font-family: 'Courier New', 'Courier', 'monospace'">Option &#8220;dpms&#8221; &#8220;off&#8221;</span></li>
</ol>
<p><span style="font-family: 'Courier New', 'Courier', 'monospace'"> <font face="Georgia"> Again,this was all done post-install, so this was all done in the OS.  After I was done with these changes, I edited my /etc/inittab file to boot to runlevel 5 (graphical level).  Running &#8220;init 6&#8243; forced a reboot and from there, I was able to see my X install in the blade management center.</font></span></p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/uncategorized/no-video-when-installing-linux-graphical-mode-on-hs21-blades/feed/</wfw:commentRss>
		<slash:comments>56</slash:comments>
		</item>
		<item>
		<title>NTP and VMware Linux Guests</title>
		<link>http://flavins.net/blog/vmware/ntp-and-vmware-linux-guests/</link>
		<comments>http://flavins.net/blog/vmware/ntp-and-vmware-linux-guests/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 20:40:23 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Guest]]></category>
		<category><![CDATA[NTP]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/vmware/ntp-and-vmware-linux-guests/</guid>
		<description><![CDATA[After a few months of running RHEL guests on VMWare, we came to the realization that they just don&#8217;t maintain their clocks very well.  A little research showed that this is a commong problem in VMWare.  It sounds like it&#8217;s attributed to the fact that the machines don&#8217;t have access to the &#8220;entire&#8221; processor &#8230; I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>After a few months of running RHEL guests on VMWare, we came to the realization that they just don&#8217;t maintain their clocks very well.  A little research showed that this is a commong problem in VMWare.  It sounds like it&#8217;s attributed to the fact that the machines don&#8217;t have access to the &#8220;entire&#8221; processor &#8230; I&#8217;m not really sure how that works, but I&#8217;ll believe it until someone tells me otherwise.</p>
<p> Regardless, NTP is necessary in this situation because we&#8217;ve got apps that rely on accurate time running on that server.  Enter VMware tools.</p>
<p>By mounting the VMWare tools CD .. (it&#8217;s not a real CD, just software in the mgmt suite), and installing it, we can synch the VMWare Guest OS to the ESX host that it&#8217;s running on.  (The ESX hosts are also automatically running NTP that synchs to VMWare&#8217;s own time-server cluster).</p>
<p> After mounting the CD, I ran: </p>
<p><font face="Courier New">vmware-config-tools.pl</font></p>
<p>This runs thru a real basic config script that configures the software.  After that, I ran:</p>
<p><font face="Courier New">vmware-toolbox &amp;</font></p>
<p>This actually launches the the management tool in XWindows for configuration.  In there, I just clicked the &#8220;Synch NTP with ESX Host.&#8221; button and my problem was solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/vmware/ntp-and-vmware-linux-guests/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Configuring the Solaris-supplied version of Sendmail</title>
		<link>http://flavins.net/blog/solaris/configuring-the-solaris-supplied-version-of-sendmail/</link>
		<comments>http://flavins.net/blog/solaris/configuring-the-solaris-supplied-version-of-sendmail/#comments</comments>
		<pubDate>Thu, 22 May 2008 23:56:18 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/solaris/configuring-the-solaris-supplied-version-of-sendmail/</guid>
		<description><![CDATA[Okay, I don&#8217;t really like just ripping stuff off like this &#8230; but this was perfect and I didn&#8217;t want to lose track of it. Brandon Hutchinson has some awesome stuff in his site &#8230; this was one of them: I will configure the version of Sendmail (8.11.7) that was installed by default on a [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I don&#8217;t really like just ripping stuff off like this &#8230; but this was perfect and I didn&#8217;t want to lose track of it.</p>
<p>Brandon Hutchinson has some awesome stuff in <a href="http://www.brandonhutchinson.com/Configuring_the_Solaris-supplied_version_of_Sendmail.html">his site</a> &#8230; this was one of them:</p>
<p>I will configure the version of Sendmail (8.11.7) that was installed by default on a Solaris 8 system. Sendmail will be configured to use header sender and envelope sender address masquerading and a &#8220;smart host.&#8221;</p>
<p>On Solaris 9, substitute <span style="font-style: italic">main.mc</span> for <span style="font-style: italic">main-v7sun.mc</span> in the instructions.</p>
<p>1. Change to the directory containing the Sendmail configuration files.<br />
<span style="font-weight: bold">cd /usr/lib/mail/cf</span></p>
<p>2. Make a copy of <span style="font-style: italic">main-v7sun.mc</span> as <span style="font-style: italic"></span><span style="font-style: italic"></span> <span style="font-style: italic">sendmail.mc</span>, and make modifications to <span style="font-style: italic">sendmail.mc</span>.<br />
<span style="font-weight: bold">cp main-v7sun.mc sendmail.mc<br />
</span><span style="font-style: italic"></span><span style="font-weight: bold"><span style="font-style: italic"><br />
</span></span>3. Configure <span style="font-style: italic">sendmail.mc</span>. In this example, we want to use the &#8220;smart host&#8221; <span style="font-style: italic">smart_host.example.com</span> and masquerade both the header sender and envelope sender addresses as <span style="font-style: italic">example.com</span>.</p>
<p><span style="font-weight: bold">vi sendmail.mc</p>
<p></span>Insert the following entries before the <span style="font-style: italic">MAILER</span><span style="font-style: italic"> </span>lines:<br />
<span style="font-family: monospace"><br />
define(`SMART_HOST&#8217;, `</span><span style="font-style: italic; font-family: monospace">smart_host.example.com&#8217;</span><span style="font-family: monospace">)</span><br style="font-family: monospace" />   <span style="font-family: monospace">MASQUERADE_AS(`</span><span style="font-style: italic; font-family: monospace">example.com</span><span style="font-family: monospace">&#8216;)</span><br style="font-family: monospace" />   <span style="font-family: monospace">FEATURE(`masquerade_envelope&#8217;)</span><span style="font-weight: bold"></span><br />
<span style="font-weight: bold"><span style="font-weight: bold"><br />
</span></span>4. Build the <span style="font-style: italic">sendmail.cf </span>file from the <span style="font-style: italic">sendmail.mc</span> file.<span style="font-weight: bold"><span style="font-weight: bold"><br />
# /usr/ccs/bin/m4 ../m4/cf.m4 sendmail.mc &gt; sendmail.cf</p>
<p></span></span>5. Test the <span style="font-style: italic">sendmail.cf</span> file.<br />
<span style="font-weight: bold">/usr/lib/sendmail -bt -C./sendmail.cf</span></p>
<p>Make sure that <span style="font-style: italic">root</span> is an &#8220;exposed user.&#8221; An exposed user is a user that will not be masqueraded. This is used when accounts, such as <span style="font-style: italic">root</span>, are not unique across systems.</p>
<p><span style="font-weight: bold">&gt; $=E</span><br />
<span style="font-family: monospace">root</span></p>
<p>Test header sender and envelope sender masquerading:<br />
<span style="font-weight: bold">&gt; /tryflags HS</span><br style="font-weight: bold" />   <span style="font-weight: bold">&gt; /try esmtp user@host.example.com</span><br style="font-weight: bold" />   <span style="font-family: monospace">Rcode = 0, addr = user@example.com</span></p>
<p><span style="font-weight: bold">&gt; /tryflags ES</span><br style="font-weight: bold" />   <span style="font-weight: bold">&gt; /try esmtp user@host.example.com</span><br />
<span style="font-family: monospace">Rcode = 0, addr = user@example.com</span></p>
<p>6. Backup the existing <span style="font-style: italic">sendmail.cf </span>file.<br />
<span style="font-weight: bold">cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.</span><span style="font-style: italic"><span style="font-weight: bold">date</span><br />
<span style="font-style: italic"><span style="font-weight: bold"><br />
</span></span></span>7. Install the new <span style="font-style: italic">sendmail.cf</span> file.<br />
<span style="font-weight: bold">cp sendmail.cf /etc/mail/sendmail.cf</span></p>
<p>8. Sendmail the Sendmail process a SIGHUP to begin using the new configuration file.<br />
<span style="font-weight: bold">kill -HUP `head -1 /var/run/sendmail.pid`</span></p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/solaris/configuring-the-solaris-supplied-version-of-sendmail/feed/</wfw:commentRss>
		<slash:comments>84</slash:comments>
		</item>
		<item>
		<title>Expanding LVM drives in VMWare</title>
		<link>http://flavins.net/blog/linux/expanding-lvm-drives-in-vmware/</link>
		<comments>http://flavins.net/blog/linux/expanding-lvm-drives-in-vmware/#comments</comments>
		<pubDate>Thu, 22 May 2008 23:49:02 +0000</pubDate>
		<dc:creator>Etherpud</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[expanding drives]]></category>
		<category><![CDATA[LVM]]></category>

		<guid isPermaLink="false">http://flavins.net/blog/linux/expanding-lvm-drives-in-vmware/</guid>
		<description><![CDATA[When I created this most recent batch of webservers, I got a little stingy with the drive space. I skimped on the &#8220;/&#8221; partition, and as you can see, I&#8217;m paying for it now: [root@server ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 2.5G 2.3G 80M 97% / /dev/mapper/VolGroup00-LogVol04 29G 9.1G 19G [...]]]></description>
			<content:encoded><![CDATA[<p>When I created this most recent batch of webservers, I got a little stingy with the drive space.  I skimped on the &#8220;/&#8221; partition, and as you can see, I&#8217;m paying for it now:</p>
<p><font color="#999999">[root@server ~]# df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/mapper/VolGroup00-LogVol00<br />
2.5G  2.3G   80M  97% /<br />
/dev/mapper/VolGroup00-LogVol04<br />
29G  9.1G   19G  33% /apps<br />
/dev/sda1              99M   13M   82M  14% /boot<br />
none                  4.0G     0  4.0G   0% /dev/shm<br />
/dev/mapper/VolGroup00-LogVol03<br />
2.9G   37M  2.8G   2% /opt<br />
/dev/mapper/VolGroup00-LogVol02<br />
1008M  933M   25M  98% /var<br />
</font><br />
Here&#8217;s how I was able to solve my problem.</p>
<p>1)  Turn off the VM and expand the drive. (I&#8217;m adding 5 Gigs to &#8220;/&#8221; for a total of 7.5).  I&#8217;m doing this thru the vmware VirtualCenter management software, but the documentation recommends the following command:</p>
<p><font color="#999999">vmware-vdiskmanager -x 10GB /path/machineName.vmdk</font></p>
<p><img src="file:///C:/Users/OASKFL%7E1/AppData/Local/Temp/moz-screenshot.jpg" /> 2) After powering the VM back on, I now have to create a partition that will incorporate the new space:</p>
<p><font color="#999999">[root@server ~]# fdisk /dev/sda</font></p>
<p><font color="#999999">The number of cylinders for this disk is set to 5874.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)</font></p>
<p><font color="#999999">Command (m for help): n<br />
Command action<br />
e   extended<br />
p   primary partition (1-4)<br />
p<br />
Partition number (1-4): 3<br />
First cylinder (5222-5874, default 5222):<br />
Using default value 5222<br />
Last cylinder or +size or +sizeM or +sizeK (5222-5874, default 5874):<br />
Using default value 5874</font></p>
<p><font color="#999999">Command (m for help): t<br />
Partition number (1-4): 3<br />
Hex code (type L to list codes): 8e<br />
Changed system type of partition 3 to 8e (Linux LVM)</font></p>
<p><font color="#999999">Command (m for help): w<br />
The partition table has been altered!</font></p>
<p><font color="#999999">Calling ioctl() to re-read partition table.</font></p>
<p><font color="#999999">WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br />
The kernel still uses the old table.<br />
The new table will be used at the next reboot.<br />
Syncing disks.<br />
</font></p>
<p><font color="#999999">Command (m for help): p</font></p>
<p><font color="#999999">Disk /dev/sda: 48.3 GB, 48318382080 bytes<br />
255 heads, 63 sectors/track, 5874 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</font></p>
<p><font color="#999999">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14        5221    41833260   8e  Linux LVM<br />
/dev/sda3            5222        5874     5245222+  8e  Linux LVM</font></p>
<p><font color="#999999">Command (m for help): q</font></p>
<p>I now have 3 partitions, including my most recent, partition 3 that has been formatted to use LVM.   Now I must reboot my VM so that it will include this partition in the table at reboot.</p>
<p>3) Now I must create a physical volume so that I can access my partition with LVM.</p>
<p><font color="#999999">[root@server ~]# pvcreate /dev/sda3<br />
Physical volume &#8220;/dev/sda3&#8243; successfully created<br />
</font></p>
<p>4) Following that, I need to extend my VolGroup into my new physical Volume:</p>
<p><font color="#c0c0c0">[<font color="#808080">root@server ~]# vgextend VolGroup00 /dev/sda3<br />
Volume group &#8220;VolGroup00&#8243; successfully extended</font></font></p>
<p><font color="#000000">5)  With that complete, I need to extend the logical volume into the newly created space.  I know that I planned to give myself 5 gigs, but I want to see how the system is really going to give me, so I&#8217;m going to run:</font></p>
<p><font color="#999999">[root@server ~]# vgdisplay | grep &#8216;Free&#8217;<br />
Free  PE / Size       165 / 5.16 GB</font></p>
<p>So now I can be sure that I have 5 GB to work with.  I can run lvextend to grow my logical volume across the new partition:</p>
<p><font color="#999999">[root@server ~]# lvextend -L+5G /dev/VolGroup00/LogVol00<br />
Extending logical volume LogVol00 to 7.47 GB<br />
Logical volume LogVol00 successfully resized</font></p>
<p><font color="#999999"><font color="#000000">With that completed, I now have the Logical Volume sitting at 7.47 Gigs.  I now need to expand the file system to take advantage of the space that was created.  This step is normally taken care of with the resize2fs command, but since I&#8217;m running RHEL 4, I can take advantage of ext2online command and don&#8217;t have to take the filesystem down.  I like this idea much better:</font></font></p>
<p><font color="#999999"><font color="#000000"><font color="#999999">[</font><font color="#999999">root@server ~]# ext2online /dev/VolGroup00/LogVol00<br />
ext2online v1.1.18 &#8211; 2001/03/18 for EXT2FS 0.5b</font></font></font></p>
<p><font color="#999999"><font color="#000000">That&#8217;s it!  Now when I run my df -h, I have all the space I was needing:</font></font></p>
<p><font color="#999999">[root@oasslcwpa01 ~]# df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/mapper/VolGroup00-LogVol00<br />
7.4G  2.2G  4.9G  31% /<br />
/dev/mapper/VolGroup00-LogVol04<br />
29G  7.3G   21G  27% /apps<br />
/dev/sda1              99M   13M   82M  14% /boot<br />
none                  4.0G     0  4.0G   0% /dev/shm<br />
/dev/mapper/VolGroup00-LogVol03<br />
2.9G  192M  2.6G   7% /opt<br />
/dev/mapper/VolGroup00-LogVol02<br />
1008M  447M  511M  47% /var</font></p>
<p>Special thanks to <a href="http://www.swizzling.org/2008/04/01/expand-lvm-disk-on-linux-in-vmware/" title="swizzling.org" target="_blank">swizzling.org,</a> who&#8217;s tutorial I modified minimally for my own benefit here.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavins.net/blog/linux/expanding-lvm-drives-in-vmware/feed/</wfw:commentRss>
		<slash:comments>100</slash:comments>
		</item>
	</channel>
</rss>

