<?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>Brad Marsh's Weblog &#187; Server 2008</title>
	<atom:link href="http://bradmarsh.net/index.php/category/server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradmarsh.net</link>
	<description>Bloggin about Microsoft, SQL Server, Windows Server 2008, Windows Mobile, new techie bits and pieces</description>
	<lastBuildDate>Thu, 10 Nov 2011 22:01:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>2008 Server Activation Error &#8211; 0&#215;8007232B</title>
		<link>http://bradmarsh.net/index.php/2009/06/18/2008-server-activation-error-0x8007232b/</link>
		<comments>http://bradmarsh.net/index.php/2009/06/18/2008-server-activation-error-0x8007232b/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 01:48:39 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/06/18/2008-server-activation-error-0x8007232b/</guid>
		<description><![CDATA[If you are getting an activation error on your 2008 server something like:
“Key management services (KMS) host could not be located in domain name system (DNS), please have your system administrator verify that a KMS is published in DNS.”
Don’t stress it is the same problem / error that I blogged about earlier with VISTA activation [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting an activation error on your 2008 server something like:</p>
<p>“Key management services (KMS) host could not be located in domain name system (DNS), please have your system administrator verify that a KMS is published in DNS.”</p>
<p>Don’t stress it is the same problem / error that I blogged about earlier with VISTA activation problems, just using a different error message.</p>
<p>Here is the <a href="http://bradmarsh.net/index.php/2008/05/19/vista-activation-0x8007232b-dns-name-does-not-exist/"  target="_blank">blog post</a> for the Vista activation fix, it also works for 2008 server.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/06/18/2008-server-activation-error-0x8007232b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IIS 7.5 &#8211; New Features</title>
		<link>http://bradmarsh.net/index.php/2009/06/09/iis-75-new-features/</link>
		<comments>http://bradmarsh.net/index.php/2009/06/09/iis-75-new-features/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 04:13:20 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/06/09/iis-75-new-features/</guid>
		<description><![CDATA[ Internet Information Services (IIS) have some interesting new features in Windows Server 2008 R2, which justifies the new version number, i.e. IIS 7.5. Most noteworthy&#160; is that you can now run ASP.Net applications on Server Core. Of course, it will reduce security if you install .NET on Server Core, but IIS without .NET doesn’t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://4sysops.com/wp-content/uploads/2008/11/iis75.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://4sysops.com/wp-content/uploads/2008/11/iis75.png');"><img height="118" alt="IIS.7.5" hspace="5" src="http://4sysops.com/wp-content/uploads/2008/11/iis75-thumb.png" width="140" align="right" border="0" /></a> Internet Information Services (IIS) have some interesting new features in Windows Server 2008 R2, which justifies the new version number, i.e. IIS 7.5. Most noteworthy&#160; is that you can now run ASP.Net applications on Server Core. Of course, it will reduce security if you install .NET on Server Core, but IIS without .NET doesn’t make much sense either. The performance-related improvements are not very exciting in my opinion. However, support for 256 logical processor cores makes Windows an interesting server OS for cloud computing.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2008/11/iis-75-manager.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://4sysops.com/wp-content/uploads/2008/11/iis-75-manager.png');"><img height="116" alt="IIS-7.5.-Manager" hspace="5" src="http://4sysops.com/wp-content/uploads/2008/11/iis-75-manager-thumb.png" width="193" align="right" border="0" /></a></p>
<h5>Internet Information Services 7.5 (IIS)</h5>
<ul>
<li>PowerShell provider for IIS 7 has more than 50 new cmdlets </li>
<li><a href="http://learn.iis.net/page.aspx/415/install-the-administration-pack/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://learn.iis.net/page.aspx/415/install-the-administration-pack/');">Administration Pack extensions</a>: <a href="http://learn.iis.net/page.aspx/416/basics-of-database-manager/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://learn.iis.net/page.aspx/416/basics-of-database-manager/');">Database Manager</a> (SQL Server management within IIS Manager), <a href="http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx');">Configuration Editor</a> (generate scripts with a GUI to automate administrative tasks), <a href="http://learn.iis.net/page.aspx/412/using-iis-reports-remotely/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://learn.iis.net/page.aspx/412/using-iis-reports-remotely/');">IIS Reports</a>, <a href="http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx');">Request Filtering</a> (HTTP filtering, URL rewriting, etc.) </li>
<li>One-click publishing in Visual Studio 10 </li>
<li><a href="http://learn.iis.net/page.aspx/346/web-deployment-tool/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://learn.iis.net/page.aspx/346/web-deployment-tool/');">Web Deployment Tool</a> (formerly MS Deploy): Deployment, management, and migration of Web applications, sites, and entire servers </li>
<li>Configuration Tracing: track configuration changes to IIS and applications </li>
<li>New performance counters </li>
<li>.NET support for Server Core </li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=036269fa-0040-4ccd-ad3d-78da1ee132fb&amp;DisplayLang=en" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.microsoft.com/downloads/details.aspx?FamilyID=036269fa-0040-4ccd-ad3d-78da1ee132fb&amp;DisplayLang=en');">WebDav</a> integration (was available before as a separate extension) </li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=ee41818f-3363-4e24-9940-321603531989&amp;displaylang=en" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.microsoft.com/downloads/details.aspx?familyid=ee41818f-3363-4e24-9940-321603531989&amp;displaylang=en');">URLScan 3.0</a> integration: restricts the types of HTTP requests (was available before as a separate extension) </li>
<li>FTP server services: integrated in the IIS administration interface; new .NET XML-based *.config format; virtual host names for FTP sites; improved logging </li>
<li>Integrated extensions: new kind of extensions that appear to be an integral part of IIS </li>
</ul>
<h5>Scalability</h5>
<ul>
<li>Support for up to 256 logical processor cores (Windows Server 2008 supports 64 logical cores) </li>
<li>Hyper-V virtual machines support up to 32 logical cores (Hyper-V 1.0 supports 4 processor cores) </li>
<li>IP Stickiness: Configure the time period (weeks or months) that a connection state to a specific cluster node persists </li>
</ul>
<h5>Storage</h5>
<ul>
<li>Performance: Reduced processor utilization for “wire speed” transmissions; improved input/output process (NTIO); up to 32 paths to a storage device are supported; improved iSCSI client; storage subsystem allows hardware vendors to optimize their storage mini-driver; better Chkdsk performance </li>
<li>Availability: Failover to alternative path; configuration snapshots (ability to restore a previous configuration) </li>
<li>Manageability: Automated deployment of configuration settings using Unattend.xml; improved monitoring (new performance counters, logging for storage drivers, health-based monitoring) </li>
</ul>
<p>Above taken from <a title="http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/" href="http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/');">http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/</a></p>
<p>I highly recommend looking at the requesting filtering this is URLScan 3.0 built in</p>
<p><a title="http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx" href="http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx');">http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx</a></p>
<p>Another awesome feature is the Inbuilt IIS reporting and SQL management.</p>
<p><a title="http://weblogs.asp.net/scottgu/archive/2008/03/26/new-log-reporting-database-management-and-other-cool-admin-modules-for-iis-7.aspx" href="http://weblogs.asp.net/scottgu/archive/2008/03/26/new-log-reporting-database-management-and-other-cool-admin-modules-for-iis-7.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://weblogs.asp.net/scottgu/archive/2008/03/26/new-log-reporting-database-management-and-other-cool-admin-modules-for-iis-7.aspx');">http://weblogs.asp.net/scottgu/archive/2008/03/26/new-log-reporting-database-management-and-other-cool-admin-modules-for-iis-7.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/06/09/iis-75-new-features/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2008 Server DFSR Replication Problems</title>
		<link>http://bradmarsh.net/index.php/2009/05/22/2008-server-dfsr-replication-problems/</link>
		<comments>http://bradmarsh.net/index.php/2009/05/22/2008-server-dfsr-replication-problems/#comments</comments>
		<pubDate>Fri, 22 May 2009 00:37:21 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/05/22/2008-server-dfsr-replication-problems/</guid>
		<description><![CDATA[I have used DFSR for some time now and had only great experiences with it, however it was low volumes of data, This time I was implementing this as a High availability solution for a web farm, We had about 40 gigs of data with a massive amount of files to replicate…. But the scheme [...]]]></description>
			<content:encoded><![CDATA[<p>I have used DFSR for some time now and had only great experiences with it, however it was low volumes of data, This time I was implementing this as a High availability solution for a web farm, We had about 40 gigs of data with a massive amount of files to replicate…. But the scheme of things 40 gig of data is really not that much. </p>
<p>Anyways cutting to the point after reading articles about the best way to proceed with a quick initial replication was said to be copy the files to the destination server, so I did this via robocopy, keeping all attributes and the permissions intact. </p>
<p>However contrary to popular believe this was what ultimately caused so much grief, as it started the replication off and I my event log was filling up with:</p>
<p>Event Type: Information    <br />Event Source: DFSR     <br />Event Category: None     <br />Event ID: 4412     <br />Date: <var>&lt;Date&gt;</var>     <br />Time: <var>&lt;Time&gt;</var>     <br />User: N/A     <br />Computer: <var>&lt;Computer name&gt;</var>     <br />Description:     <br />The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.     <br />Additional Information:     <br />Original File Path: <var>&lt;File path&gt;</var>     <br />New Name in Conflict Folder: <var>&lt;Folder name&gt;</var>     <br />Replicated Folder Root: <var>&lt;Folder name&gt;</var>     <br />File ID: <var>&lt;File ID&gt;</var>     <br />Replicated Folder Name: <var>&lt;Folder name&gt;</var>     <br />Replicated Folder ID: <var>&lt;Folder ID&gt;</var>     <br />Replication Group Name: <var>&lt;Replication group name&gt;</var>     <br />Replication Group ID: <var>&lt;Replication group ID&gt;</var>     <br />Member ID: <var>&lt;Member ID&gt;</var></p>
<p>see more about this here: <a title="http://support.microsoft.com/kb/944804" href="http://support.microsoft.com/kb/944804" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://support.microsoft.com/kb/944804');">http://support.microsoft.com/kb/944804</a></p>
<p>After further investigation, this was because the file ID of the files on the destination server differed from the source server…. Thanks robocopy.</p>
<p>This was filling up my ClonflictAndDeleted folder very quickly, with a lot of what I though was unnecessary crap. Never the less I let it run for a few days and I cam back to find the below event log:</p>
<p>Source : DFSR </p>
<p>Catagory : None </p>
<p>Event ID : 2104 </p>
<p>Type: Error </p>
<p>Description : </p>
<p>The DFS Replication service failed to recover from an internal database error on volume F:. Replication has been stopped for all replicated folders on this volume. </p>
<p>Additional Information: Error: 9203 (The database is corrupt (-1018)) Volume: DB587759-DC0B-11DC-940D-00304888DB13 Database: F:\System Volume Information\DFSR </p>
<p>&#160;</p>
<p>Brilliant I had a corruption</p>
<p>&#160;</p>
<p><a name="Possible_Solutions"></a></p>
<h4>Possible Solutions</h4>
<p> <a name=""></a><br />
<h5></h5>
<p>Taken from Google Groups <a href="http://groups.google.co.uk/group/microsoft.public.windows.server.dfs_frs/browse_thread/thread/9f441212874acfb3/f5d6929d7ecf61ab?lnk=gst&amp;q=2104#f5d6929d7ecf61ab" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://groups.google.co.uk/group/microsoft.public.windows.server.dfs_frs/browse_thread/thread/9f441212874acfb3/f5d6929d7ecf61ab?lnk=gst&amp;q=2104#f5d6929d7ecf61ab');">[1]</a></p>
<p>I recently had a spat with the &quot;new and improved&quot; DFSR and wanted to let everybody in on the proceedure for reseting a DFSR member. </p>
<p>First off, removing everything using the GUI doesn&#8217;t help when the database is corrupt. DFSR keeps the database regardless of its membership status. So if for example you had a broken DFSR server and removed it from every replication group, when you added it back you&#8217;d still be out of luck. </p>
<p>To clear it completely after the server is no longer a member of *any* dfsr replication group (i.e. remove it from all of them in the gui and wait for AD replication to propgate the changes): </p>
<p>1. Stop the &quot;DFS Replication&quot; service. </p>
<p>2. On the drive(s) in question, grant yourself full permission to the hidden system &quot;System Volume Information&quot; folder. </p>
<p>3. Navigate into the folder and delete (or move to be extra careful) the DFSR folder. </p>
<p>4. Navigate to each replication group the server was a member of and delete (or move to be extra careful) each hidden system &quot;DfsrPrivate&quot; folder. </p>
<p>5. Start the &quot;DFS Replication&quot; service. </p>
<p>You may now treat the server as a brand new member for the replication groups. Now all you need to deal with is DFSR&#8217;s sloppy initial replication routines (hint: those missing files are in the &quot;DfsrPrivate \PreExisting&quot; folder). </p>
<p>&#160;</p>
<p><a title="http://www.eventidwiki.com/index.php?title=Event_ID_:_2104%2C_DFSR" href="http://www.eventidwiki.com/index.php?title=Event_ID_:_2104%2C_DFSR" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.eventidwiki.com/index.php?title=Event_ID_:_2104%2C_DFSR');">http://www.eventidwiki.com/index.php?title=Event_ID_:_2104%2C_DFSR</a></p>
<p>&#160;</p>
<p>However this did not work the folder would not rename under 2008 even with UAC off, this did work for me though </p>
<p>1. Click Start, right click Command prompt and click run as administrator to open a command prompt window, then go to <em>driverletter</em>:\System Volume Information\dfsr prompt, type the command below to rename it: </p>
<p>Ren “old folder name” “new folder name”</p>
<p>I did this on both servers participating in the replication. further to this I deleted the folder I was replicating on the destination server, and let DFS do all off the creating.</p>
<p>after 2 days I had a fully functional DFSR, working the way it should!!!!!</p>
<p>Some commands I found useful through the process:</p>
<p>dfsrdiag backlog /rgname:”cluster replication” /rfname:websites /rmem:RECEVINGSERVER /smem:SENDINGSERVER &gt;c:\backlog1.txt</p>
<p>You might also find the %systemVolume%windows\debug folder useful.</p>
<p>&#160;</p>
<p>Good Luck.    </p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/05/22/2008-server-dfsr-replication-problems/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Prepare for 2007 Exchange Server install</title>
		<link>http://bradmarsh.net/index.php/2009/01/30/prepare-for-2007-exchange-server-install/</link>
		<comments>http://bradmarsh.net/index.php/2009/01/30/prepare-for-2007-exchange-server-install/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 02:09:53 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/01/30/prepare-for-2007-exchange-server-install/</guid>
		<description><![CDATA[I thought I would blog about this, because we had so many issues, and I found Microsoft&#8217;s documentation to be rather poor on this occasion.
However it does explain the steps that need to be done in order to prepare (just not how to execute them easily)
So best to start with a quick read of the [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I would blog about this, because we had so many issues, and I found Microsoft&#8217;s documentation to be rather poor on this occasion.</p>
<p>However it does explain the steps that need to be done in order to prepare (just not how to execute them easily)</p>
<p>So best to start with a quick read of the article</p>
<p><a title="http://technet.microsoft.com/en-us/library/bb125224.aspx" href="http://technet.microsoft.com/en-us/library/bb125224.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://technet.microsoft.com/en-us/library/bb125224.aspx');">http://technet.microsoft.com/en-us/library/bb125224.aspx</a></p>
<p>If you&#8217;re not patient and want to skip (little like me) then the steps are in short.</p>
<p>&#160;</p>
<ol>
<li><strong>setup /PrepareLegacyExchangePermissions:</strong> <em>&lt;domain name here&gt;</em>       <br />or       <br /><strong>setup /pl </strong><em>&lt;domain name here&gt;       <br /></em></li>
<li><strong>Setup /PrepareSchema        <br /></strong>or<strong>        <br />setup /ps        <br /></strong></li>
<li><strong>Setup /PrepareAD </strong><em>[/OrganizationName: &lt;organization name&gt; ]</em><strong>        <br /></strong>or       <br />setup /p <em>[/on:&lt;organization name&gt;]       <br /></em></li>
<li><strong>Setup /PrepareDomain        <br /></strong>or<strong>        <br />setup /pd</strong> </li>
</ol>
<p>&#160;</p>
<p>In order to run these commands you must run them from the command prompt on a server that is apart of the domain you are preparing, ensure you have the exchange 07 cd in the dvd drive and &lt;DVD drive letter&gt; then dir ensure you see the &#8217;setup.exe&#8217; and &#8217;setup.com&#8217; files in the DVD drive these should be in the root directory of the DVD</p>
<p>&#160;</p>
<p>Now run the commands.</p>
<p>If you are unlucky like me you will get a few errors like:</p>
<p>&quot;Exchange 2007 cannot be used with the version of Windows operating system running on this computer.&quot;</p>
<p>there are 2 possible reasons that this could happen for</p>
<p>you are trying to run the setup file which is a x64 bit file on a x86 system, you can not do this.</p>
<p>the other reason is that you are running the setup commands on a 2008 server, and you may be running exchange 2007 install not the exchange 2007 SP1. (2008 server requires SP1)</p>
<p>So if you are like us in the postion where you have many x64 bit 2008 servers but no x64 2003 servers then you&#8217;re going to have to download the 32 bit Exchange 2007 Management tools</p>
<p>get it from here:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&amp;displaylang=en" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.microsoft.com/downloads/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&amp;displaylang=en');">http://www.microsoft.com/downloads/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&amp;displaylang=en</a></p>
<p>the download is an EXE so I suggest installing winRAR and extracting it rather than installing it (unless you will use it), once extracted you will have the setup files, you can now run all of your prep on a x86 system.</p>
<p>&#160;</p>
<p>Another good resource is this: <a title="http://support.microsoft.com/default.aspx/kb/555854" href="http://support.microsoft.com/default.aspx/kb/555854" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://support.microsoft.com/default.aspx/kb/555854');">http://support.microsoft.com/default.aspx/kb/555854</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/01/30/prepare-for-2007-exchange-server-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS7 logging in Central Location for web farms</title>
		<link>http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/</link>
		<comments>http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 00:29:21 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/</guid>
		<description><![CDATA[
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
Ok so it appears IIS7 has thought of almost everything this time, and IIS7 is perfect for web Farms now they have the ability to share the configuration file. 
While we are in the mists of setting up a load balanced environment with a IIS7 farm, we have everything working wonders. But when it comes [...]]]></description>
			<content:encoded><![CDATA[<p><img height="154" src="http://blog.crowe.co.nz/images/IIS7Logo.jpg" width="525" align="left">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Ok so it appears IIS7 has thought of almost everything this time, and IIS7 is perfect for web Farms now they have the ability to share the configuration file. </p>
<p>While we are in the mists of setting up a load balanced environment with a IIS7 farm, we have everything working wonders. But when it comes to log files it seems Microsoft missed this. they really should have added in the functionality to combine log files to a central location, while we can prove a UNC path and also log to this, but only one server can do this.</p>
<p>the problems that you are faced with in a web farm is that:</p>
<p>If you have shared you ApplicationHost.config which in a web farm, (I highly recommend you do to make your life that little be easier) you will find that y our log file location will be the same on all servers. which could be a problem if: </p>
<p>you have used a UNC path, all servers in the farm will try and log to this location and only one can win, as the HTTP.SYS for that winning server will keep this open and therefore other servers will not be able to log. </p>
<p>If you have specified a local path, which really lest face it is your only option, you MUST make 100% sure that location or that drive exists on all of your servers in the web farm. </p>
<p>Now if you don&#8217;t care so much for your log files you will be happy to have them on each server and not collate them. But for the people like us we need them in a central location for a: We like to find our data quickly and be able to find what is going on, on our servers b; we have webstats that we need to be able to provide to our clients or internal staff and c; for a backup / management purpose its just easier to have them centralised.</p>
<p>So our requirement is to be able to copy all of our log files to one location, keeping of course the web log file structure i.e. W3SVC1, W3SVC2 etc&#8230;</p>
<p>there is one other problem I should tell you, all of the log file names are the same name, so we can just schedule a move / copy script because they will fail or overwrite the other log files, you MUST rename the files before moving. In hind sight we have do this but its a good idea anyway, because this will allow us to easily track down a problem on a server via the logs. </p>
<p>So we have come up with a script that can be scheduled on a daily basis that will rename all files to the server name_&lt;orginalfilename&gt;.log (this will look in all sub folders i.e. W3SVC1, W3SVC2 etc&#8230;) once the name change is done it will then MOVE the files to the central location.</p>
<p>A Big thanks to <a href="http://www.alanjlee.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.alanjlee.com');">Alan Lee</a> for this script, as he wrote the find and replace part (hats off)</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">set logs=C:\folder\folderagain</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">cd /d %logs%</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">dir /b %logs% &gt; tmp.txt</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"> </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #0000ff">for</span> /D %%I <span style="color: #0000ff">in</span> (<span style="color: #006080">"%logs%"</span>) <span style="color: #0000ff">do</span> For /F <span style="color: #006080">"tokens=*"</span>  %%J <span style="color: #0000ff">in</span> (tmp.txt) <span style="color: #0000ff">do</span> cd /d %logs%\%%J &amp;&amp; <span style="color: #0000ff">for</span> %%i <span style="color: #0000ff">in</span> (u*.log) <span style="color: #0000ff">do</span> move %%i %computername%_%%i </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">del %logs%\tmp.txt</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">robocopy %logs% \\servername\FolderName /mov /E /minage:0 /R:3 /W:5 /LOG:%logs%\logs.log</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
</div>
</div>
<p>Of course the script uses robocopy so you will need to include the .exe for this where ever you are executing this .bat from.</p>
<p>With 2008 Server you can also schedule emails with attachments, might not be a bad idea to attach the log file so you can archive it away.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Server 2008 out performs Server 2003 by a mile</title>
		<link>http://bradmarsh.net/index.php/2008/02/26/server-2008-out-performs-server-2003-by-a-mile/</link>
		<comments>http://bradmarsh.net/index.php/2008/02/26/server-2008-out-performs-server-2003-by-a-mile/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 01:51:40 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/02/26/server-2008-out-performs-server-2003-by-a-mile/</guid>
		<description><![CDATA[After multiple tests, I can happily say with out any doubt in my mind that 2008 server blows 2003 server in terms of web performance out of the water&#8230; How do I come to this conclusion you ask?
 If you have been reading up on my partner in crime&#8217;s Blog (Alan Lee) and Craig Baileys [...]]]></description>
			<content:encoded><![CDATA[<p>After multiple tests, I can happily say with out any doubt in my mind that 2008 server blows 2003 server in terms of web performance out of the water&#8230; How do I come to this conclusion you ask?</p>
<p> If you have been reading up on my partner in crime&#8217;s Blog (<a href="http://www.alanjlee.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.alanjlee.com');">Alan Lee</a>) and <a href="http://blog.craigbailey.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blog.craigbailey.net/');">Craig Baileys</a> blog we have been performing some extensive bench testing on the servers. Alan within his blog describes the method that we have used to perform our testing, which in brief is a Linux command which does a simple WGET mirror of the home page this mirror copies all the contents locally and then removes it after the crawl is complete, within the mirror command it also copies all other associated links on the home page (there is roughly 13 links which means it copies another 13 pages and associated images).  </p>
<p>One WGET, from the <a href="http://www.elcom.com.au" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.elcom.com.au');">Elcom</a> home page would receive a rough total of 6.4MB which with today&#8217;s bandwidth speeds and abundance of images and multimedia everywhere we look this is not a huge number, its what we would call realistic. </p>
<p>The test, the script was set to run 20 concurrent connections 1,000 times. Again 20 concurrent connections is very realistic, if anything it may not be enough, however we though give the size and the connections this was a good benchmark. </p>
<p>After running the tests through a out of the box 2003 Server running IIS 6.0 and SQL 2005 we posted a time of<strong> 3h:37min:59sec<br /></strong>then we ran the Server 2008 test again out of the box IIS7 and SQL 2005 and we posted a time of <br /><strong>0h:13min:55sec</strong></p>
<p>JAW DROPPING isn&#8217;t it, yes we ran the exact same tests, we had them configured the same, both out of the box with IIS installed as an additional component and installed .NET 2.0 on both machines nothing different. </p>
<p>This worked out to be an amazing 17 times faster&#8230; </p>
<p>The test machine was the same the only difference was the drive, as one was loaded with 08 and the other with 03, however both of the drives were the same spec and same manufacture and even same model&#8230;</p>
<p><strong>Machine Specs<br /></strong>Intel Core2 Dual core 2.12 GHz, 2GB RAM, 160GB Seagate SATA drive, Gigabit LAN</p>
<p>Testing (Linux) machine: Intel P4 3.0 GHz, 1GB RAM, 80GB Seagate SATA drive, Gigabit LAN</p>
<p> </p>
<p>However during these tests we could see for 2003 Server the bottleneck appeared to be the CPU as it was using everything it could get, so we thought ok let try something bigger.</p>
<p><strong>New Machine Specs</strong><br />Intel Core Quad core 2.4 GHz, 4GB RAM, 160GB Seagate SATA drive, Gigabit LAN</p>
<p>Testing (Linux) machine: Intel P4 3.0 GHz, 1GB RAM, 80GB Seagate SATA drive, Gigabit LAN</p>
<p> </p>
<p>Now that we had something bigger and better to test on, we thought ok lets compare something that is a little bit smaller in size, to speed the process up and also see what happens in terms of speeds.</p>
<p>So we deployed a Vanilla <a href="http://www.elcom.com.au" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.elcom.com.au');">Community Manager</a> site, which reduced the WGET to a small, manageable 70kb size. The results are still astonishing:</p>
<p><strong>Win2k3</strong><br />Start:        17:24:52<br />Finish:         18:15:53<br /><strong>Total time:    0:51min:01Sec</strong></p>
<p><strong>Win2k8</strong><br />Start:        12:09:51<br />Finish:        12:22:23<br /><strong>Total time:    0:12min:3Sec</strong></p>
<p>2008 is still 4 times faster with something tiny and very manageable. There were no bottlenecks here are all, the CPU for 2003 was not varying between 70 and 80%. The memory was very, very much under utilized, it seemed to only use a lousy 350MB, when it had gigs to use.</p>
<p> </p>
<p>Where as Server 2008, made much better use of the memory and left more CPU, See below for the stats yourself.</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/performance.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="373" alt="performance" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/performance-thumb.jpg" width="519" border="0"></a></p>
<p>This shows that the SQLSVR is taking little resources, there is obviously not much for it to do there, are really no transactions of it to think about. </p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/sql.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="380" alt="SQL" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/sql-thumb.jpg" width="527" border="0"></a> </p>
<p>The W3WP exe as you can see is using alot more resources, rightful so, but as you can see its using alot of memory, which isn&#8217;t a bad thing, considering it has so much (memory is cheaper then processing power) </p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/w3wp.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="387" alt="w3wp" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/w3wp-thumb.jpg" width="536" border="0"></a> </p>
<p>Here is how the network card was reacting to the masses of connections. </p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/network.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="392" alt="network" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/network-thumb.jpg" width="545" border="0"></a> </p>
<p>And here is the overview of all performance, as you can see the disk was getting a work out, but dosnt seem to be a bottle neck either. </p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/resourse-over.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="414" alt="resourse over" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/resourse-over-thumb.jpg" width="550" border="0"></a> </p>
<p>To conclude&#8230; change all your servers to 2008, I know I cant wait to start implementing a few more 2008 Servers across our network at work.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/02/26/server-2008-out-performs-server-2003-by-a-mile/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 is NOW RTM</title>
		<link>http://bradmarsh.net/index.php/2008/02/06/windows-server-2008-is-now-rtm/</link>
		<comments>http://bradmarsh.net/index.php/2008/02/06/windows-server-2008-is-now-rtm/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 21:26:57 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/02/06/windows-server-2008-is-now-rtm/</guid>
		<description><![CDATA[ As of last night at 8:10pm MSDN released the RTM versions of Server2008 Enterprise edition and Standard edition.
Both x64 and x86 were released. We are downloading it now as we speak (type), As soon as we get a chance we will be upgrading our RC0 and RC1 Servers to the real thing.
]]></description>
			<content:encoded><![CDATA[<p><img align="left" width="90" src="http://www.microsoft.com/heroeshappenhere/images/tile_ws.jpg" height="114" /> As of last night at 8:10pm MSDN released the RTM versions of Server2008 Enterprise edition and Standard edition.</p>
<p>Both x64 and x86 were released. We are downloading it now as we speak (type), As soon as we get a chance we will be upgrading our RC0 and RC1 Servers to the real thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/02/06/windows-server-2008-is-now-rtm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Turning on SQL08 Database Encryption, Putting it to the test</title>
		<link>http://bradmarsh.net/index.php/2008/02/04/turning-on-sql08-database-encryption-putting-it-to-the-test/</link>
		<comments>http://bradmarsh.net/index.php/2008/02/04/turning-on-sql08-database-encryption-putting-it-to-the-test/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 10:16:48 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/?p=47</guid>
		<description><![CDATA[So first of all you need to create your database if you haven’t already, then open ‘query’ on the ‘master’ database.
This is very important make sure you have the master database and not the user database. (of course I could have put ‘use Master’ but I am outlining this so you know and are learning [...]]]></description>
			<content:encoded><![CDATA[<p>So first of all you need to create your database if you haven’t already, then open ‘query’ on the ‘master’ database.</p>
<p>This is very important make sure you have the master database and not the user database. (of course I could have put ‘use Master’ but I am outlining this so you know and are learning <img src='http://bradmarsh.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &nbsp; )</p>
<pre><span class="rem"><font color="#008000" size="2">-- create a Database MasterKey

</font><font color="#0000ff" size="2">create<font size="2"> master </font><font color="#0000ff" size="2">key</font><font size="2"> encryption </font><font color="#0000ff" size="2">by</font><font size="2"> password </font><font color="#808080" size="2">=</font><font size="2"> </font><font color="#ff0000" size="2">'password here'</font><font color="#808080" size="2">;</font>

</font><font size="2">go

</font></span></pre>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption1.jpg" ><img style="border-width:0;" height="364" alt="Encryption" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption-thumb.jpg" width="480" border="0"></a></p>
<pre><span class="rem"><font color="#008000" size="2">-- Create a certificate to a database

</font><font color="#0000ff" size="2">Create<font size="2"> </font><font color="#0000ff" size="2">certificate</font><font size="2"> testingCert </font><font color="#0000ff" size="2">with</font><font size="2"> subject </font><font color="#808080" size="2">=</font><font size="2"> </font><font color="#ff0000" size="2">'Testing Certinifcate for SQL'</font>

</font><font size="2">go

</font></span>
<a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption021.jpg" ><img style="border-width:0;" height="359" alt="Encryption02" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption02-thumb.jpg" width="475" border="0"></a></pre>
<p>Now for this part you need to ‘use databasename’ then paste the below Script, or of course just use the query on the database and then copy and paste</p>
<p><font color="#008000" size="2">&#8211; creates the key for the database selected<br />&#8211; below I have used AES_128 this is more then enough but there are others<br />&#8211; such as:<br />&#8211; aes_192, aes-256 and tripleDes<br /><font color="#0000ff" size="2">create</font><font size="2"> </font><font color="#0000ff" size="2">database</font><font size="2"> encryption </font><font color="#0000ff" size="2">key</font><font size="2"> </font><font color="#0000ff" size="2">with</font><font size="2"> algorithm </font><font color="#808080" size="2">=</font><font size="2">AES_128<br /></font><font color="#008000" size="2">&#8211; notice I am using the cert name I have just created<br /></font><font size="2">encryption </font><font color="#0000ff" size="2">by</font><font size="2"> </font><font color="#0000ff" size="2">server</font><font size="2"> </font><font color="#0000ff" size="2">certificate</font><font size="2"> testingcert<br />go<br /></font><font color="#008000" size="2">&#8211; use the database you are applying the encryption to:<br /></font><font color="#0000ff" size="2">alter</font><font size="2"> databasename testing<br /></font><font color="#0000ff" size="2">set</font><font size="2"> encryption </font><font color="#0000ff" size="2">on<br /></font><font size="2">go</font></font></p>
<p><font color="#008000" size="2"><font size="2"></p>
<p></font></font><font color="#008000" size="2"><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption031.jpg" ><img style="border-width:0;" height="354" alt="Encryption03" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption03-thumb.jpg" width="466" border="0"></a></font><font color="#008000" size="2"> </font></p>
<p><font color="#999999" size="2">You can now test to ensure that the encyption has been applied by simply going to the GUI.<br /></font><font color="#999999" size="2"><br />This is found at the database level, in tasks toward the bottom.</font></p>
<p><font color="#008000" size="2"><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption041.jpg" ><img style="border-width:0;" height="347" alt="Encryption04" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption04-thumb.jpg" width="481" border="0"></a></font></p>
<p><font color="#008000" size="2"><font color="#c0c0c0">Now for the testing of the data.</font></p>
<p></font>To show what small overhead is used, personally I see it is little to none.</p>
<p>Here is what was used and added to both databases (got this from <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=671045&amp;SiteID=1" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=671045&amp;SiteID=1');">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=671045&amp;SiteID=1</a> slightly modded)</p>
<p><font color="#0000ff" size="2">create<font size="2"> tableemployeesdemo<br /></font><font color="#808080" size="2">(<br /></font><font size="2">recordno </font><font color="#0000ff" size="2">int</font><font size="2"> </font><font color="#0000ff" size="2">identity</font><font color="#808080" size="2">(</font><font size="2">1</font><font color="#808080" size="2">,</font><font size="2">1</font><font color="#808080" size="2">),<br /></font><font size="2">employeeno </font><font color="#0000ff" size="2">varchar</font><font color="#808080" size="2">(</font><font size="2">20</font><font color="#808080" size="2">),<br /></font><font size="2">lastname </font><font color="#0000ff" size="2">varchar</font><font color="#808080" size="2">(</font><font size="2">50</font><font color="#808080" size="2">),<br /></font><font size="2">firstname </font><font color="#0000ff" size="2">varchar</font><font color="#808080" size="2">(</font><font size="2">50</font><font color="#808080" size="2">),<br /></font><font size="2">middlename </font><font color="#0000ff" size="2">varchar</font><font color="#808080" size="2">(</font><font size="2">50</font><font color="#808080" size="2">)<br />)</font><font size="2"><br />insertemployeesdemo</font><font color="#808080" size="2">(</font><font size="2">employeeno</font><font color="#808080" size="2">,</font><font size="2">lastname</font><font color="#808080" size="2">,</font><font size="2">firstname</font><font color="#808080" size="2">,</font><font size="2">middlename</font><font color="#808080" size="2">)</font><font size="2"><br /></font><font color="#0000ff" size="2">values</font><font color="#808080" size="2">(</font><font size="2">‘emp000′</font><font color="#808080" size="2">,</font><font size="2">‘green’</font><font color="#808080" size="2">,</font><font size="2">‘kat’</font><font color="#808080" size="2">,</font><font size="2">‘blue’</font><font color="#808080" size="2">)<br /></font><font color="#0000ff" size="2">declare</font><font size="2"> @CTR </font><font color="#0000ff" size="2">INT<br /></font><font size="2">declare@ctrstr </font><font color="#0000ff" size="2">varchar</font><font color="#808080" size="2">(</font><font size="2">7</font><font color="#808080" size="2">)<br /></font><font color="#0000ff" size="2">select</font><font size="2"> @ctr</font><font color="#808080" size="2">=</font><font size="2">0<br /></font><font color="#0000ff" size="2">WHILE</font><font size="2"> @CTR</font><font color="#808080" size="2">&lt;</font><font size="2">100<br /></font><font color="#0000ff" size="2">BEGIN<br />select</font><font size="2"> @ctr</font><font color="#808080" size="2">=</font><font size="2">@ctr</font><font color="#808080" size="2">+</font><font size="2">1<br /><a href="mailto:select@ctrstr=Str(@ctr">select@ctrstr<font color="#808080" size="2">=</font><font color="#ff00ff" size="2">Str</font><font color="#808080" size="2">(</font><font size="2">@ctr</font></a></font><font color="#808080" size="2">)<br /></font><font size="2">insertemployeesdemo</font><font color="#808080" size="2">(</font><font size="2">employeeno</font><font color="#808080" size="2">,</font><font size="2">lastname</font><font color="#808080" size="2">,</font><font size="2">firstname</font><font color="#808080" size="2">,</font><font size="2">middlename</font><font color="#808080" size="2">)</font><font size="2"><br /></font><font color="#0000ff" size="2">values</font><font color="#808080" size="2">(</font><font size="2"><a href="mailto:&lsquo;empno&rsquo;+@ctrstr,&lsquo;lname&rsquo;+@ctrstr,&lsquo;fname&rsquo;+@ctrstr,&lsquo;mname&rsquo;+@ctrstr">‘empno’<font color="#808080" size="2">+</font><font size="2">@ctrstr</font><font color="#808080" size="2">,</font><font size="2">‘lname’</font><font color="#808080" size="2">+</font><font size="2">@ctrstr</font><font color="#808080" size="2">,</font><font size="2">‘fname’</font><font color="#808080" size="2">+</font><font size="2">@ctrstr</font><font color="#808080" size="2">,</font><font size="2">‘mname’</font><font color="#808080" size="2">+</font><font size="2">@ctrstr</font></a></font><font color="#808080" size="2">)<br /><font color="#0000ff" size="2">end</font></font></font><font color="#0000ff" size="2">&nbsp;</font></p>
<p><font color="#0000ff" size="2"><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption051.jpg" ><img style="border-width:0;" height="385" alt="Encryption05" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption05-thumb.jpg" width="501" border="0"></a>&nbsp;</font></p>
<p><font color="#0000ff" size="2"><br /><font color="#c0c0c0">This is applying the above script to the non encrypted database</font></p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption061.jpg" ><img style="border-width:0;" height="384" alt="Encryption06" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption06-thumb.jpg" width="497" border="0"></a></p>
<p></font><font color="#999999"><font size="2">this is applying the same script to the ENCYRPED database a</font><font size="2">nd the below images are what you should see once the above query has completed.</font></font><font color="#0000ff" size="2"> </font></p>
<p><font color="#0000ff" size="2"><br /></font><font color="#0000ff" size="2"><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption07-not.jpg" ><img style="border-width:0;" height="456" alt="Encryption07_not" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption07-not-thumb.jpg" width="497" border="0"></a></p>
<p></font><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption081.jpg" ><img style="border-width:0;" height="441" alt="Encryption08" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption08-thumb.jpg" width="499" border="0"></a></p>
<p>They both have the same table and same amount of rows.</p>
<p>Now its time to backup the databases, I am not going to tell you how you do that I am hoping you can do that one&nbsp; Now this is what I get in terms of file sizes</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption091.jpg" ><img style="border-width:0;" height="52" alt="Encryption09" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption09-thumb.jpg" width="413" border="0"></a></p>
<p>As you can see there is little difference, obviously the difference may grow a little with a bigger database, which is something I am yet to try and will shortly <img src='http://bradmarsh.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , but I am doubting the file size will be all that different, from the original backup file.</p>
<p>So here is the results, first the NON-Encrypted</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption101.jpg" ><img style="border-width:0;" height="378" alt="Encryption10" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption10-thumb.jpg" width="516" border="0"></a></p>
<p>As you can see I do a find for green, which is something found in the table we created</p>
<p>Now this is the encrypted one</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption111.jpg" ><img style="border-width:0;" height="362" alt="Encryption11" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/02/encryption11-thumb.jpg" width="507" border="0"></a></p>
<p>and look at that, no green found…</p>
<p>Conclusion it works, and it works well with little overhead of disk space, as for time frames well it’s hard to tell with such a small databases maybe with a bigger one it might be easier to judge. But this is looking promising.</p>
<p>Being that Elcom is on one of our SQL 2008 servers I am going to be applying this to the production database.</p>
<p>We love security.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/02/04/turning-on-sql08-database-encryption-putting-it-to-the-test/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Some of new SQL 2008 fetaures</title>
		<link>http://bradmarsh.net/index.php/2008/02/04/some-of-new-sql-2008-fetaures/</link>
		<comments>http://bradmarsh.net/index.php/2008/02/04/some-of-new-sql-2008-fetaures/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 04:28:57 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/?p=22</guid>
		<description><![CDATA[I recently attended the SBTUG of which MVP Craig Bailey runs on a regular basis. Peter Ward was kind enough to present us with some real life demos of some of the awesome new features Whilst Peter did mention a stack of them, I must say I am very impressed with some of them.
In particular the transparent [...]]]></description>
			<content:encoded><![CDATA[<p>I recently attended the <a rel="tag" href="http://technorati.com/tags/SBTUG" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://technorati.com/tags/SBTUG');"><font color="#336699">SBTUG</font></a> of which MVP <a target="_blank" href="http://blog.craigbailey.net" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blog.craigbailey.net');">Craig Bailey</a> runs on a regular basis. <a target="_blank" href="http://wardyit.com/blog/Default.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://wardyit.com/blog/Default.aspx');"><font color="#336699">Peter Ward</font></a> was kind enough to present us with some real life demos of some of the awesome new features Whilst Peter did mention a stack of them, I must say I am very impressed with some of them.</p>
<p>In particular the <span class="entry-title entry-content">transparent data encryption. What is it? simple really. Microsoft now offers SQL backups which can now be encrypted, with NO overheads, that&#8217;s right no overheads, it doesn&#8217;t seem to take any more time to do this, it take exactly the same space as the non-encrypted backup, and restore times also appear to be the same.</span></p>
<p><span class="entry-title entry-content"> How does it work,  Well within the CTP it is currently activated via T-SQL scripting, i would suggest going <a target="_blank" href="http://www.sqlcoffee.com/SQLServer2008_0006.htm" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.sqlcoffee.com/SQLServer2008_0006.htm');">here</a>to have a look at what SQL scripting is required.  I am sure at release time there will be some GUI associates with the TDE. Now lets say that the hard drives were stolen and this feature were enabled, it would be almost impossible to get the data and extract it out from the encrypted backups, why well once 2008 SQL is installed, it is also installed with a certificate, but this cert is made up of all your hardware components details. So this meaning that there is only 1 of every cert ever created. But then your about to ask how do you move a backup from one SQL server to the other, well apparently ( i have not tried this for-myself, I will be doing so when I get a free second, and will blog again so stay posted) you can move the Cert over with a password that is assigned to the backup.</span></p>
<p><span class="entry-title entry-content">I will will be blogging more about this feature with some screen shots shortly, stay posted <img src='http://bradmarsh.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<p><span class="entry-title entry-content">Another feature that we all wanted years ago was <a target="_blank" href="http://en.wikipedia.org/wiki/IntelliSense" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/IntelliSense');">Intellisense</a>, yes its now finally here in SQL 2008 server. THANKYOU<br />
</span></p>
<p><span class="entry-title entry-content">One last feature that I really am liking the sounds of is the <span><font size="2" face="Verdana"><a target="_blank" href="http://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=6938" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=6938');">Resource Governor</a> however more on that to follow soon, i will have some real life examples shortly.</font></span></span></p>
<p><span class="entry-title entry-content"><span><font size="2" face="Verdana"></font></span></span></p>
<p><span class="entry-title entry-content"><span></span></span></p>
<p><span class="entry-title entry-content"></span><span class="entry-title entry-content"></span></p>
<p><span class="entry-title entry-content"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/02/04/some-of-new-sql-2008-fetaures/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Its linux&#8230; No its microsoft!</title>
		<link>http://bradmarsh.net/index.php/2008/01/24/its-linux-no-its-microsoft/</link>
		<comments>http://bradmarsh.net/index.php/2008/01/24/its-linux-no-its-microsoft/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 02:52:59 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/01/24/its-linux-no-its-microsoft/</guid>
		<description><![CDATA[Whilst Linux has been doing what Microsoft has caught on to, now 2008 server will have the ability to work in an command line environment which is what they have called it &#8217;server core&#8217;. This allows you to install and configure what modules / components you want the server to serve you with. Currently the Server Core allows for the [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst Linux has been doing what Microsoft has caught on to, now 2008 server will have the ability to work in an command line environment which is what they have called it &#8217;server core&#8217;. This allows you to install and configure what modules / components you want the server to serve you with. Currently the Server Core allows for the following services to be installed and configured:</p>
<li>Active Directory Domain Services (AD DS)</li>
<li>Active Directory Lightweight Directory Services (AD LDS)</li>
<li>DHCP Server</li>
<li>DNS Server</li>
<li>File Services</li>
<li>Print Services</li>
<li>Streaming Media Services</li>
<li>Windows Virtualization</li>
<p>Why would you want a command line when you can have such a pretty GUI, well there are many reasons.</p>
<p><strong>Reduced maintenance</strong> &#8211; Because the Server Core installation option installs only what is required.<br />
<br />
<strong>Reduced attack surface</strong> - Being that Server Core installations so are minimal, there are considerably less apps running on the server, which in turn will decreases the attack surface.<br />
<br />
<strong>Reduced management</strong>- Well this is a no brainier, there are obviously fewer applications and services are installed on a server running. </p>
<p><strong>Less disk space required</strong>- Again same as above really, fewer items, and only the essentials means less space</p>
<p><strong>Better resourse allocation / usage</strong>   &#8211; Well there is not the GUI and background applications to start-up there is just what you have told it to do, Being that there is also less demand for system resources you could potentially use lower spec machines to serve.</p>
<p><strong>Lower risk of bugs</strong> &#8211; Reducing the amount of code, applications, files, services the list goes on, all of this can help reduce the amount of bugs.</p>
<p>A quote from Microsoft</p>
<p>“Customers will benefit from <a href="http://www.microsoft.com/presspass/press/2007/jun07/06-04TechED07PR.mspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.microsoft.com/presspass/press/2007/jun07/06-04TechED07PR.mspx');">an extremely modular, low-footprint Web hosting platform on top of the already small Server Core</a>,” Microsoft said in a press release explaining the addition. “Server Core is ideal for hosting the PHP scripting language and now runs 10 to 20 times faster than before as a result of improvements in IIS.”</p>
<p>There is still said to be some GUI involved, such as the essentials, task manager, notepad, the control panel.</p>
<p>There is obviously some limitations<br />
from MS once again</p>
<p>&#8220;The minimal nature of Server Core creates limitations:</p>
<ul>
<li>There is no Windows shell and very limited GUI functionality (the Server Core interface is a command prompt).</li>
<li>There is no managed code support in Server Core (all code must be native Windows API code).</li>
<li>There is limited MSI support (unattend mode only). &#8220;</li>
</ul>
<p><a href="http://www.microsoft.com/windowsserver2008/servercore.mspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.microsoft.com/windowsserver2008/servercore.mspx');">http://www.microsoft.com/windowsserver2008/servercore.mspx</a></p>
<p>Owh and the other limitation is there is no upgrade feature, in case you decide you want to go to the full GUI, or you want to roll your 2003 Server to a 08 Server core, you need to re-install cleanly.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/01/24/its-linux-no-its-microsoft/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

