<?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>Hobbycode &#187; Windows Servers</title>
	<atom:link href="http://www.hobbycode.com/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hobbycode.com</link>
	<description>A Technology Toybox</description>
	<lastBuildDate>Thu, 27 Aug 2009 18:28:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recommended Anti Virus Exclusions</title>
		<link>http://www.hobbycode.com/2008/11/recommended-anti-virus-exclusions/</link>
		<comments>http://www.hobbycode.com/2008/11/recommended-anti-virus-exclusions/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:37:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Windows Servers]]></category>

		<guid isPermaLink="false">http://www.hobbycode.com/2008/11/recommended-anti-virus-exclusions/</guid>
		<description><![CDATA[All too often I run into corporate anti virus solutions without any exclusions configured.  Exclusions are critical to ensuring that the real time scanners do not interfere with crucial Windows or application functions.
When the real time scanner of any anti virus application scans a file prior to reading or writing it, it locks the [...]]]></description>
			<content:encoded><![CDATA[<p>All too often I run into corporate anti virus solutions without any exclusions configured.  Exclusions are critical to ensuring that the real time scanners do not interfere with crucial Windows or application functions.</p>
<p>When the real time scanner of any anti virus application scans a file prior to reading or writing it, it locks the file to ensure it has exclusive access.  If Windows attempts to access this file while it is locked by AV, seriously bad things can happen.  I’ve had to restore more than one Active Directory and Exchange database because of this.  Sadly, each case could have been avoided.</p>
<p>What follows are the virus exclusions recommended by Microsoft.  Below each list is a reference KB article discussing the topic in greater detail.</p>
<p>Feel free to add your comments or links to other recommended exclusions.  I&#8217;ll keep this post updated to maintain a comprehensive listing.</p>
<p><strong> </strong></p>
<p><strong>All Servers and Workstations</strong></p>
<ul>
<li>%windir%\SoftwareDistribution\Datastore</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/822158/" target="_blank">KB822158</a></p>
<p><strong>Domain Controllers</strong></p>
<ul>
<li>%windir%\ntds</li>
<li>%windir%\ntfrs</li>
<li>%systemroot%\sysvol</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/822158/" target="_blank">KB822158</a></p>
<p><strong>Exchange Server</strong></p>
<ul>
<li>Drive M (Only Exchange 2000)</li>
<li>Exchsrvr folder</li>
<li>%SystemRoot%\System32\Inetsrv</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/328841/">KB328841</a></p>
<p><strong>IIS</strong></p>
<ul>
<li>%systemroot%\IIS Temporary Compressed Files(IIS 6)</li>
<li>%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files (IIS 7)</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/817442/">KB817442</a></p>
<p><strong>ISA Server</strong></p>
<ul>
<li>Program Files\Microsoft ISA Server</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/887311/">KB887311</a></p>
<p><strong>Sharepoint</strong></p>
<ul>
<li>\Program Files\SharePoint Portal Server</li>
<li>\Program Files\Common Files\Microsoft Shared\Web Storage System</li>
<li>\Windows\Temp\Frontpagetempdir</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/320111/">KB320111</a></p>
<p><strong>SQL Server</strong></p>
<ul>
<li>SQL Server data files: *.mdf, *.ldf, *.ndf</li>
<li>SQL Server backup files: *.bak, *.trn</li>
<li>Full text catalog files</li>
<li>Analysis Services: \Program Files\Microsoft SQL Server\MSSQL.X\OLAP\Data</li>
<li>Analysis Services Backup: \Program Files\Microsoft SQL Server\MSSQL.X\OLAP\Backup</li>
<li>Analysis Services Logs: \Program Files\Microsoft SQL Server\MSSQL.X\OLAP\Log.</li>
<li>SQL Server Cluster
<ul>
<li>Q:\ (Quorum drive)</li>
<li>C:\windows\cluster</li>
</ul>
</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/309422/">KB309422</a></p>
<p><strong>Virtual Server</strong></p>
<ul>
<li>Vssrvc.exe process (Virtual Server 2005</li>
<li>Virtual PC.exe process (Virtual Server 2004)</li>
<li>File type exclusions: *.vhd, *.vmc, *.vsv, *.vud, *.vfd, *.iso</li>
</ul>
<p>Reference: <a href="http://support.microsoft.com/kb/840193/">KB840193</a></p>
<p><strong>MSMQ</strong></p>
<ul>
<li><!-- blockquote { margin-left: 5px; padding-left: 10px; border-left: 1px solid #000000 } body {font-family: Microsoft Sans Serif;font-size: 8.25pt;background-color: #FFFFFF;color: #000000;} -->%WinDir%\system32\MSMQ</li>
</ul>
<p><strong>References: </strong></p>
<ul>
<li><a href="http://support.microsoft.com/kb/943556/en-us" target="_blank">KB943556</a></li>
<li><a href="http://www.sbsfaq.com/Lists/FAQs/DispForm.aspx?ID=137" target="_blank">http://www.sbsfaq.com</a></li>
<li><a href="http://myitforum.com/cs2/blogs/scassells/archive/2007/05/14/what-anti-virus-scanning-exclusions-should-be-considered-for-system-and-servers.aspx">http://myitforum.com</a></li>
<li><a href="http://seer.entsupport.symantec.com/docs/284807.htm">http://seer.entsupport.symantec.com/docs/284807.htm</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hobbycode.com/2008/11/recommended-anti-virus-exclusions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Terminal Services Web Connection</title>
		<link>http://www.hobbycode.com/2008/09/terminal-services-web-connection/</link>
		<comments>http://www.hobbycode.com/2008/09/terminal-services-web-connection/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 02:15:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Windows Servers]]></category>

		<guid isPermaLink="false">http://www.hobbycode.com/2008/09/terminal-services-web-connection/</guid>
		<description><![CDATA[I recently discovered something about Windows Server 2003 I had never seen before.&#160; It’s called Terminal Services Web Connection.&#160; 
As a network consultant, I routinely connect remotely to servers inside my clients’ networks.&#160; The most frustrating part however, is when a client has more than one server.&#160; 
If there is just one server you can [...]]]></description>
			<content:encoded><![CDATA[<p>I recently discovered something about Windows Server 2003 I had never seen before.&#160; It’s called Terminal Services Web Connection.&#160; </p>
<p>As a network consultant, I routinely connect remotely to servers inside my clients’ networks.&#160; The most frustrating part however, is when a client has more than one server.&#160; </p>
<p>If there is just one server you can simply NAT port 3389 through the firewall to that server, and RDP as you please.&#160; If the client has more than one, then I have to remote to the first server, then remote again to the other server.&#160; </p>
<p>This can be alleviated with Terminal Services Web Connection.&#160; It can be installed from the Add/Remove Windows Components control panel applet.&#160; You’ll find it under: </p>
<p><em>Application Server –&gt; Internet Information Services (IIS) –&gt; World Wide Web Service –&gt; Remote Desktop Web Connection.</em>&#160; </p>
<p>Once installed, maneuver to http://&lt;servername&gt;/tsweb</p>
<p>This page has but one field.&#160; Enter the server name you wish to connect to.&#160; Voila!&#160; Instant RDP connection to any server on the network!</p>
<p>Hope that helps</p>
<p>&#8211;cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hobbycode.com/2008/09/terminal-services-web-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proper NIC Teaming and Port Aggregation Configuration</title>
		<link>http://www.hobbycode.com/2008/02/proper-nic-teaming-and-port-aggregation-configuration/</link>
		<comments>http://www.hobbycode.com/2008/02/proper-nic-teaming-and-port-aggregation-configuration/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 10:06:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows Servers]]></category>

		<guid isPermaLink="false">http://www.hobbycode.com/2008/02/proper-nic-teaming-and-port-aggregation-configuration/</guid>
		<description><![CDATA[Servers from HP, Dell, IBM and many other big name manufacturers, come with at least two or more Network Interface Cards built-in.  Lately though, I have come to realize most network administrators do not know how to benefit from duel NIC&#8217;s.  Frequently, one of the NIC&#8217;s are simply disabled or not cabled up.  Occasionally, I [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10.5pt; font-family: ">Servers from HP, Dell, IBM and many other big name manufacturers, come with at least two or more Network Interface Cards built-in.  Lately though, I have come to realize most network administrators do not know how to benefit from duel NIC&#8217;s.  Frequently, one of the NIC&#8217;s are simply disabled or not cabled up.  Occasionally, I will see a good effort made to make the most of it, but that&#8217;s pretty rare. </span></p>
<p><span id="more-6"></span></p>
<p>Let&#8217;s create a scenario.  Pretend we have a server with two NIC&#8217;s.  That server is plugged into a 10/100 manageable switch.  Obviously, plugging one NIC in will allow for a full 100megs of bandwidth.  But if we team the NICs and bond two switch ports together, then we can create a full 200meg pipe between the server and the switch.  Performing these steps on multiple servers, means that you now have 200megs between each server.  This is especially useful for backups which run over the network.  The clients aren&#8217;t affected that much, because they are still at 100meg.</p>
<p>Link Aggregation Control Protocol, or LACP, is a protocol run on both the server and the switch.  LACP is a negotiation protocol.  This means that each device, the server and the switch, speak LACP to each other.  Once they agree upon certain terms, the trunk is formed.  LACP has two modes: Active and passive.  If the device is in active mode, then it proactively seeks an LACP partner in which to form a trunk with.  If in passive mode, the device will accept a request for trunking from another LACP host, but will not actively seek other LACP devices.  This is important for one simple reason:  Two devices in passive mode will never form a trunk.  At least one must be in active mode.  Or they both can be in active mode, but they both cannot be passive.</p>
<p><strong>NIC Teaming</strong></p>
<p>NIC Teaming is the process by which we create one logical NIC using both physical NIC&#8217;s.  When the switch sends a frame down the wire to the server, it sees only one NIC, with one MAC address.  How?  When the NICs are teamed, both physical adapters have TCP/IP disabled on them.  The server creates a logical (read: software based) NIC which TCP/IP is enabled and configured on.</p>
<p>Benefits of teaming are simple:</p>
<ul>
<li><strong>Fault Tolerance</strong>.  If one switch port, or one NIC goes down, the other remains online and passes traffic as if nothing happened at all.</li>
<li><strong>Load Balancing: </strong>The virtual NIC can distribute traffic evenly across the physical NICs.  If your switch is 10/100, and both switch and server are set to 100meg, then you have a 200meg link.</li>
<li><strong>Increased Bandwidth</strong>.  Do you use a disk based backup system to backup your server&#8217;s data over night?  Teaming can decrease the time it takes to backup by increasing the bandwidth between the servers.</li>
</ul>
<p><strong>Server Configuration:</strong></p>
<p>Configuration of the team is not difficult.  It will however, blip the network connection to your servers.  So it&#8217;s best to implement this during a scheduled outage.</p>
<p>Each server will usually come with a small application for managing the network interfaces.  Each servers software is different based on the manufacturer of the NIC.  So it&#8217;s up to you to locate this software.  If you don&#8217;t see it, go to your server manufacturers web page and download the driver for the NIC.  It should contain the software you need.</p>
<p>It&#8217;s difficult to walk you through the next step, as each NIC/Server is different.  The utilities are generally very small and easy to use.  Select both NICs and create the team.  A wizard will usually ask you if you want fault tolerance, load balancing, or a plethora of other options.  For the sake of this article, select and use LACP (Link Aggregation Control Protocol)</p>
<p>Once the wizard is complete, both NICs will be taken offline while the team is created.  A few seconds later, the team is functioning.  A reboot is usually not required.</p>
<p><strong>Switch Configuration:</strong></p>
<p>Many network equipment vendors sell switches capable of port aggregation.   Port aggregation is to switches, what teaming is for NICs.  Once again, we will be binding multiple interfaces together, to form one logical interface.  Cisco calls it an &#8220;Etherchannel&#8221;.  HP calls it &#8220;Tunking&#8221;.  I&#8217;m sure other manufactures call it something different.  Example configurations for both HP and Cisco follow:</p>
<p><span style="text-decoration: underline;">Cisco</span></p>
<pre>Switch# configure terminal
Switch(config)# interface range fastethernet0/1 - 2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# speed 100
Switch(config-if-range)# duplex full
Switch(config-if-range)# channel-group 1 mode active
Switch(config-if-range)# end</pre>
<p>Briefly, using the &#8220;range&#8221; command allows us to specify more than one port at a time.  Once in port configuration mode, we ensure the port is an access port.  If necessary, make this a trunk port using the &#8220;switchport mode trunk&#8221; command.  Speed and duplex are both hard coded to 100/full.  I advise doing it this way as auto negotiation occasionally fails.</p>
<p>The &#8220;channel-group 1 mode active &#8221; command, when run for the first time, will automatically create the logical channel group interface.  &#8220;Mode active&#8221; enables LACP in active mode.</p>
<p><span style="text-decoration: underline;">HP</span></p>
<pre>ProCurve(config)# int c4-c6 lacp active</pre>
<p>Simpler than Cisco&#8217;s configuration, and less feature-full, is HP&#8217;s one line trunk configuration.  Used from global configuration mode, this command will enable LACP in active mode on ports c4-c6.</p>
<p><strong>Things to keep in mind:</strong></p>
<ul>
<li>Speed, duplex and flow control needs to be set the same way on all ports and on all devices.  Any deviation could cause the trunk to not form.  Because I&#8217;ve seen speed and duplex fail randomly, I recommend the ports be hard coded to the fastest speed allowed.</li>
<li>Use descriptions in your switch configuration.  This will help you better determine what the trunk/etherchannel is used for when your troubleshooting.</li>
<li>NICs on the server must be identical.</li>
<li>You don&#8217;t have to only trunk between a server and a switch.  You can also do this on two switches, creating a 200meg uplink.  Or as some would call it the &#8220;poor man&#8217;s fiber&#8221;</li>
</ul>
<p>Teaming your server&#8217;s NICs has a whole host of benefits.  Many of which could be felt as early as the next morning, when you check the duration of the backups and noticed they took half as long as they used to.</p>
<p><em>References:</em></p>
<p><a href="ftp://ftp.hp.com/pub/networking/software/3500-5400-6200-MCG-0207-K_12_XX-12-PtTrkg.pdf" target="_blank">HP Port Trunking for 5400zl switches</a></p>
<p><a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.1_19_ea1/configuration/guide/swethchl.html" target="_blank">Cisco 3560 Etherchannels</a></p>
<p><a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.1_19_ea1/configuration/guide/swethchl.html"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hobbycode.com/2008/02/proper-nic-teaming-and-port-aggregation-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
