<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Richard Campbell Blogs Too - dasBlog</title>
    <link>http://www.campbellassociates.ca/blog/</link>
    <description>Surrendering to the Inevitable</description>
    <language>en-us</language>
    <copyright>Richard Campbell</copyright>
    <lastBuildDate>Mon, 21 May 2007 06:05:15 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.7067.0</generator>
    <managingEditor>richard@campbellassociates.ca</managingEditor>
    <webMaster>richard@campbellassociates.ca</webMaster>
    <item>
      <trackback:ping>http://www.campbellassociates.ca/blog/Trackback.aspx?guid=e3a3dff9-d134-43b7-b366-1a4433dfc824</trackback:ping>
      <pingback:server>http://www.campbellassociates.ca/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.campbellassociates.ca/blog/PermaLink,guid,e3a3dff9-d134-43b7-b366-1a4433dfc824.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.campbellassociates.ca/blog/CommentView,guid,e3a3dff9-d134-43b7-b366-1a4433dfc824.aspx</wfw:comment>
      <wfw:commentRss>http://www.campbellassociates.ca/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e3a3dff9-d134-43b7-b366-1a4433dfc824</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Decided not to work on Sunday for a change.
</p>
        <p>
Instead, I upgraded servers! Ah, such a geek.
</p>
        <p>
My old web server <a href="http://www.southparkstudios.com/show/display_char.php?id=3">Stan</a> is
very very old... P3 1Ghz with 512MB of RAM. Running <a href="http://www.microsoft.com/windows2000/default.mspx">Windows
2000</a>, it has been a workhorse of a machine. I put <a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/503/ep_503_02.gif&amp;img_name=Stan on stage" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/503/ep_503_02.gif&amp;img_name=Stan on stage">Stan</a> together
in <a href="http://www.campbellassociates.ca/rack/2000_11.htm">November of 2000</a>.
Hard to believe it has been essentially running unmodified for over six years. But
that also means those <a href="http://www.fujitsu.com/global/support/computing/storage/hdd/eol/dhdd/mpf3xxat-catalog.html">hard
drives</a> have over 50,000 hours on them, which makes them ticking time bombs. And
that's what the <a href="http://en.wikipedia.org/wiki/Self-Monitoring,_Analysis,_and_Reporting_Technology">SMART
reporting</a> is saying too.
</p>
        <p>
          <a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/308/308_stan.gif&amp;img_name=Stan's pissed" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/308/308_stan.gif&amp;img_name=Stan's pissed">Stan</a> is
just too old to upgrade, he needs to be replaced.
</p>
        <p>
His replacement is <a href="http://www.southparkstudios.com/show/display_char.php?id=98">Jimmy</a>,
a machine I already had in the rack that was a testbed for betas of <a href="http://www.microsoft.com/sql/default.mspx">SQL
Server 2005</a>. <a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/606/606_image_25.jpg&amp;img_name=Jimmy auditions" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/606/606_image_25.jpg&amp;img_name=Jimmy auditions">Jimmy</a> is
a P4 3Ghz with 2GB of RAM, running <a href="http://www.microsoft.com/windowsserver2003/default.mspx">Windows
Server 2003 R2 SP2</a>. Takes some time to get used to the <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7b037954-441d-4037-a111-94df7880c319.mspx?mfr=true">little
differences between IIS5 and IIS6</a>, but its all bareable.
</p>
        <p>
Migrating a web server is a pain in the butt. Lots of little configuration details
you have to get right. To do the testing, I copied a backup of Stan's web sites onto
Jimmy. However, since there are multiple sites on the web server, I depend on host
header identification to sort out what site is what, which means I need to use the
correct names of the web sites to access them. So what's a boy to do? I want to leave
the sites up and running on the old server while I mess around with the new one.
</p>
        <p>
I could have faked out a DNS server, but that seemed like a lot of work. Instead I
modified the <a href="http://en.wikipedia.org/wiki/Hosts_file">HOSTS</a> file on my
main workstation so that the web sites on Jimmy were pointed to directly. Funny how
old technology serves the purpose so well.
</p>
        <p>
Since HOSTS takes priority over any DNS lookup, I was able to point sites (like <a href="http://www.campbellassociates.ca">www.campbellassociates.ca</a>)
to the IP address of Jimmy directly. Then I could tweak and test to my heart's content.
</p>
        <p>
One whammy I ran into was with <a href="http://msdn2.microsoft.com/en-us/office/aa905431.aspx">FrontPage
Server Extensions</a>. For the most part my web server runs the little web sites of
friends and family, and they all use FrontPage, <a href="http://office.microsoft.com/en-us/frontpage/default.aspx">whether
Microsoft wants them to or not</a>. While it set up the extensions easily enough,
I couldn't administer the sites to set up access for the authoring accounts - no matter
what account information I entered, it failed.
</p>
        <p>
Turned out it wasn't me, it was a feature of <a href="http://www.microsoft.com/technet/downloads/winsrvr/servicepacks/sp1/default.mspx">Windows
Server 2003 Service Pack 1</a>. The service pack added a loopback check, making sure
that the local computer name always matches the host header. And since I'm using multiple
host headers, that's just not going to work. The fix is in <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;896861">Knowledge
Base Article 896861</a>. You have two choices: turn off loopback checking, or enter
all the domain names that are legal for loopback checking.
</p>
        <p>
I turned it off. Call me lazy.
</p>
        <p>
Upgraded <a href="http://www.dasblog.info/">dasBlog</a> as well. What I was really
after was <a href="http://akismet.com/">Akismet</a>, the comment spam filtering solution.
Unfortunately, the shipping edition of dasBlog doesn't have direct support for it.
But the <a href="http://www.dasblog.info/DailyBuilds.aspx">daily builds</a> have it.
I'm not normally a guy who runs a daily build, but for Akismet, its worth it. Take
that, comment spammers!
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://www.campbellassociates.ca/blog/aggbug.ashx?id=e3a3dff9-d134-43b7-b366-1a4433dfc824" />
      </body>
      <title>Migrating web servers, upgrading dasBlog...</title>
      <guid isPermaLink="false">http://www.campbellassociates.ca/blog/PermaLink,guid,e3a3dff9-d134-43b7-b366-1a4433dfc824.aspx</guid>
      <link>http://www.campbellassociates.ca/blog/PermaLink,guid,e3a3dff9-d134-43b7-b366-1a4433dfc824.aspx</link>
      <pubDate>Mon, 21 May 2007 06:05:15 GMT</pubDate>
      <description>&lt;p&gt;
Decided not to work on Sunday for a change.
&lt;/p&gt;
&lt;p&gt;
Instead, I upgraded servers! Ah, such a geek.
&lt;/p&gt;
&lt;p&gt;
My old web server &lt;a href="http://www.southparkstudios.com/show/display_char.php?id=3"&gt;Stan&lt;/a&gt; is
very very old... P3 1Ghz with 512MB of RAM. Running &lt;a href="http://www.microsoft.com/windows2000/default.mspx"&gt;Windows
2000&lt;/a&gt;, it has been a workhorse of a machine. I put &lt;a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/503/ep_503_02.gif&amp;amp;img_name=Stan on stage" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/503/ep_503_02.gif&amp;amp;img_name=Stan on stage"&gt;Stan&lt;/a&gt; together
in &lt;a href="http://www.campbellassociates.ca/rack/2000_11.htm"&gt;November of 2000&lt;/a&gt;.
Hard to believe it has been essentially running unmodified for over six years. But
that also means those &lt;a href="http://www.fujitsu.com/global/support/computing/storage/hdd/eol/dhdd/mpf3xxat-catalog.html"&gt;hard
drives&lt;/a&gt; have over 50,000 hours on them, which makes them ticking time bombs. And
that's what the &lt;a href="http://en.wikipedia.org/wiki/Self-Monitoring,_Analysis,_and_Reporting_Technology"&gt;SMART
reporting&lt;/a&gt; is saying too.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/308/308_stan.gif&amp;amp;img_name=Stan's pissed" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/308/308_stan.gif&amp;amp;img_name=Stan's pissed"&gt;Stan&lt;/a&gt; is
just too old to upgrade, he needs to be replaced.
&lt;/p&gt;
&lt;p&gt;
His&amp;nbsp;replacement is &lt;a href="http://www.southparkstudios.com/show/display_char.php?id=98"&gt;Jimmy&lt;/a&gt;,
a machine I already had in the rack that was a testbed for betas of &lt;a href="http://www.microsoft.com/sql/default.mspx"&gt;SQL
Server 2005&lt;/a&gt;. &lt;a href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/606/606_image_25.jpg&amp;amp;img_name=Jimmy auditions" temp_href="http://www.southparkstudios.com/downloads/display_image.php?img=http://images.southparkstudios.com/media/images/606/606_image_25.jpg&amp;amp;img_name=Jimmy auditions"&gt;Jimmy&lt;/a&gt; is
a P4 3Ghz with 2GB of RAM, running &lt;a href="http://www.microsoft.com/windowsserver2003/default.mspx"&gt;Windows
Server 2003 R2 SP2&lt;/a&gt;. Takes some time to get used to the &lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7b037954-441d-4037-a111-94df7880c319.mspx?mfr=true"&gt;little
differences between IIS5 and IIS6&lt;/a&gt;, but its all bareable.
&lt;/p&gt;
&lt;p&gt;
Migrating a web server is a pain in the butt. Lots of little configuration details
you have to get right. To do the testing, I copied a backup of Stan's web sites onto
Jimmy. However, since there are multiple sites on the web server, I depend on host
header identification to sort out what site is what, which means I need to use the
correct names of the web sites to access them. So what's a boy to do? I want to leave
the sites up and running on the old server while I mess around with the new one.
&lt;/p&gt;
&lt;p&gt;
I could have faked out a DNS server, but that seemed like a lot of work. Instead I
modified the &lt;a href="http://en.wikipedia.org/wiki/Hosts_file"&gt;HOSTS&lt;/a&gt; file on my
main workstation so that the web sites on Jimmy were pointed to directly. Funny how
old technology serves the purpose so well.
&lt;/p&gt;
&lt;p&gt;
Since HOSTS takes priority over any DNS lookup, I was able to point sites (like &lt;a href="http://www.campbellassociates.ca"&gt;www.campbellassociates.ca&lt;/a&gt;)
to the IP address of Jimmy directly. Then I could tweak and test to my heart's content.
&lt;/p&gt;
&lt;p&gt;
One whammy I ran into was with &lt;a href="http://msdn2.microsoft.com/en-us/office/aa905431.aspx"&gt;FrontPage
Server Extensions&lt;/a&gt;. For the most part my web server runs the little web sites of
friends and family, and they all use FrontPage, &lt;a href="http://office.microsoft.com/en-us/frontpage/default.aspx"&gt;whether
Microsoft wants them to or not&lt;/a&gt;. While it set up the extensions easily enough,
I couldn't administer the sites to set up access for the authoring accounts - no matter
what account information I entered, it failed.
&lt;/p&gt;
&lt;p&gt;
Turned out it wasn't me, it was a feature of &lt;a href="http://www.microsoft.com/technet/downloads/winsrvr/servicepacks/sp1/default.mspx"&gt;Windows
Server 2003 Service Pack 1&lt;/a&gt;. The service pack added a loopback check, making sure
that the local computer name always matches the host header. And since I'm using multiple
host headers, that's just not going to work. The fix is in &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;896861"&gt;Knowledge
Base Article 896861&lt;/a&gt;. You have two choices: turn off loopback checking, or enter
all the domain names that are legal for loopback checking.
&lt;/p&gt;
&lt;p&gt;
I turned it off. Call me lazy.
&lt;/p&gt;
&lt;p&gt;
Upgraded &lt;a href="http://www.dasblog.info/"&gt;dasBlog&lt;/a&gt; as well. What I was really
after was &lt;a href="http://akismet.com/"&gt;Akismet&lt;/a&gt;, the comment spam filtering solution.
Unfortunately, the shipping edition of dasBlog doesn't have direct support for it.
But the &lt;a href="http://www.dasblog.info/DailyBuilds.aspx"&gt;daily builds&lt;/a&gt; have it.
I'm not normally a guy who runs a daily build, but for Akismet, its worth it. Take
that, comment spammers!
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.campbellassociates.ca/blog/aggbug.ashx?id=e3a3dff9-d134-43b7-b366-1a4433dfc824" /&gt;</description>
      <comments>http://www.campbellassociates.ca/blog/CommentView,guid,e3a3dff9-d134-43b7-b366-1a4433dfc824.aspx</comments>
      <category>ASP.NET</category>
      <category>dasBlog</category>
      <category>Rackmounting</category>
      <category>Spam</category>
    </item>
    <item>
      <trackback:ping>http://www.campbellassociates.ca/blog/Trackback.aspx?guid=b705c37b-b47f-4e8d-8f8b-091efc4cb684</trackback:ping>
      <pingback:server>http://www.campbellassociates.ca/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.campbellassociates.ca/blog/PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://www.campbellassociates.ca/blog/CommentView,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</wfw:comment>
      <wfw:commentRss>http://www.campbellassociates.ca/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=b705c37b-b47f-4e8d-8f8b-091efc4cb684</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Be sure to visit all the options undfer "Configuration" in the Admin Menu Bar above.
There are 16 themes to choose from, and you can also create your own.
</p>
        <p>
        </p>
        <img width="0" height="0" src="http://www.campbellassociates.ca/blog/aggbug.ashx?id=b705c37b-b47f-4e8d-8f8b-091efc4cb684" />
      </body>
      <title>Congratulations, you've installed DasBlog!</title>
      <guid isPermaLink="false">http://www.campbellassociates.ca/blog/PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</guid>
      <link>http://www.campbellassociates.ca/blog/PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</link>
      <pubDate>Wed, 20 Jul 2005 07:00:00 GMT</pubDate>
      <description>
		&lt;p&gt;
Be sure to visit all the options undfer "Configuration" in the Admin Menu Bar above.
There are 16 themes to choose from, and you can also create your own.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.campbellassociates.ca/blog/aggbug.ashx?id=b705c37b-b47f-4e8d-8f8b-091efc4cb684" /&gt;</description>
      <comments>http://www.campbellassociates.ca/blog/CommentView,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</comments>
      <category>dasBlog</category>
    </item>
  </channel>
</rss>