<?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>Elan Shudnow&#039;s Blog</title>
	<atom:link href="http://www.shudnow.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shudnow.net</link>
	<description>Just another IT guy!</description>
	<lastBuildDate>Wed, 21 Dec 2011 15:47:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Enabling QoS for Lync Server 2010 &#8211; Part 2</title>
		<link>http://www.shudnow.net/2011/11/28/enabling-qos-for-lync-server-2010-part-2/</link>
		<comments>http://www.shudnow.net/2011/11/28/enabling-qos-for-lync-server-2010-part-2/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 01:26:06 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2424</guid>
		<description><![CDATA[Welcome to Part 2 on how to Enable QoS for Lync Server 2010. The purpose of this multi-part article (first part for QoS on Lync Client and second part for QoS on Lync Server) is to lay everything out in a concise manner to help you, the reader, understand how to enable QoS.  Keep in [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Part 2 on how to Enable QoS for Lync Server 2010. The purpose of this multi-part article (first part for QoS on Lync Client and second part for QoS on Lync Server) is to lay everything out in a concise manner to help you, the reader, understand how to enable QoS.  Keep in mind that this article is only for the ability to enable QOS, it is not a comprehensive guide on all the various dynamic ports available in Lync to lock down your firewalls.  For that, you can check out my other article <a href="http://www.shudnow.net/2010/12/06/lync-server-2010-port-ranges-and-audiomedia-negotiation/">here</a>. Second of all, the question may arise, why and when would you want to enable QoS.  Audio and Video are synchronize traffic that can be affected by jitter, delay, and packet loss on an IP Network.  Lync has been designed to work without QoS but Lync Administrators can choose to enable both Lync endpoints as well as servers to mark Differentiated Services Code Point (DSCP) values on audio and video packets.  This ensures that audio/video packets get prioritized on a network that is enabled for Differentiated Services (DiffServ).</p>
<p>To better understand DiffServ and its affect on the network, please check out the excellent blog article written by fellow Lync MVP Jeff Schertz at the following URL:<em> <a href="http://blog.schertz.name/2011/08/lync-qos-behavior/">http://blog.schertz.name/2011/08/lync-qos-behavior/</a></em></p>
<p><a href="http://www.shudnow.net/2011/11/04/enabling-qos-for-lync-server-2010-part-1/">Part 1</a></p>
<p>Part 2</p>
<h2>Server QOS</h2>
<h3>General Procedure for Server QoS</h3>
<p>In Part 1, we talked about Windows Vista/7 vs Windows XP.  Windows 7 and Windows Vista utilize Policy based QoS and Windows XP used QoS based on the Packet Scheduler.  For Lync Servers, you&#8217;ll always use Policy based QoS since Lync Server 2010 can only be installed on Windows 2008 or Windows 2008 R2 which both utilize Policy based QoS.  For Server based QoS, we can configure Conferencing Servers, Application Servers, and Edge Servers (which will use QoS based on the destination port rather than the source port as everything else does).</p>
<h3>Client to Server Port Configuration for Conferencing Servers and Application Servers</h3>
<p>Client to Server Port ranges are out of the box different for all modalities except for Application Sharing. The default ports for a Conferencing Server are as such:</p>
<ul>
<li>Audio: 49152 to 57500</li>
<li>Video: 57501 to 65535</li>
<li>Application Sharing: 49152 to 65535</li>
</ul>
<p>At least 40 ports minimum are required for Application Sharing.  We will specify a 8,348 port range that is unique from other ports.  Ultimately, we will set Application Sharing to use the following ports:</p>
<ul>
<li>Application Sharing: 40803 to 49151</li>
</ul>
<p>To set this, we will run the following command:</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsConferencingServer -Identity &lt;ConferencingServer:FQDN of Lync Pool or A/V Server/Pool FQDN&gt; -AppSharingPortStart 40803 -AppSharingPortCount 8348</div>
<p>Configuring an Application Server is identical.  The only difference is that you use the Set-CSApplicationServer command instead of the Set-CSConferencingServer.  Make sure to include these ports in the QoS Policies for Edge Servers as you will learn later.</p>
<h3>Client to Server Port Configuration for Dedicated Mediation Servers</h3>
<p>A Mediation Server of course only handles Audio since it&#8217;s job is to transcode RTAudio to G.711.  The default ports for a Mediation Server are as such:</p>
<ul>
<li>Audio: 49152 to 57500</li>
</ul>
<p>No Changes to this port range will be required.  If the Mediation Server is collocated on a Front End Server, no changes will need to be done as you can see the Audio Port Range for a dedicated Mediation Server is the same as the Audio Port Range for a Front End Conferencing Server.</p>
<h3>Edge Server Policy Configuration</h3>
<p>An Edge Server doesn&#8217;t get configured per se.  But the policy that you create is based on a destination port (rather than source port like client peer to peer or client to server).  The destination port configuration in the QoS Policy is configured based on the client peer to peer ports you defined in Part 1 of this article series as well as the client to server ports you defined in this Part 2 of this article series.</p>
<p>So if we take a look at everything we&#8217;ve done so far, we have the following peer to peer configuration from Part 1 of this article series:</p>
<ul>
<li>Audio: 20000 to 20039</li>
<li>Video: 20040 to 20079</li>
</ul>
<p>And we have the following client to server configuration from Part 2 of this article series:</p>
<ul>
<li>Audio: 49152 to 57500</li>
<li>Video: 57501 to 65535</li>
<li>Application Sharing: 40803 to 49151</li>
</ul>
<p>The Edge QoS Policy will need to have several QoS Policies configured to handle each modality (Application Sharing not as critical as Audio/Video but can be enabled) for peer to peer (Audio/Video) and client to server (Audio/Video).  Additional QoS Policies may be needed depending on Application Servers in the environment and whether they have any different port ranges from your Peer to Peer or Client to Peer port configurations.</p>
<h3>Configuring Policy Based QOS in Group Policy for Windows 2008 and/or Windows 2008 R2 for a Conferencing Server</h3>
<p>As stated previously, Lync Server 2010 can only be installed on Windows 2008 or Windows 2008 R2.  Both Windows 2008 and Windows 2008 R2 utilize Policy Based QOS which allows a wider variety of options for configuring QoS.</p>
<p>In the below example, we will show how to create the Policy-based QoS for Audio.  Once finished, be sure to also create Policy-based QoS policies for Video.  The DSCP Value for Audio will be 46 and the DSCP Value for Video will be 34. Open up Group Policy (in my examples, I am using Local Computer Policy but in a real production environment you would be using Group Policy at some level in your Domain Hierarchy) and navigate to <strong>Computer Configuration</strong> &gt; <strong>Windows Settings</strong> &gt; <strong>Policy-based QoS</strong>. <strong> Right-Click</strong> and choose <strong>Create new policy</strong>.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS02.jpg" alt="" width="363" height="294" /></p>
<p>In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for audio is typically 46.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS19.jpg" alt="" width="544" height="469" /></p>
<p>Because there are multiple applications that will stamp DSCP Values, we will choose All Applications. Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS20.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our information above we stated the default audio port range is 49152 to 57500 and does not need to be changed.  Because of this, our source port range will 49152 to 575000 specified as 49152:57500.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS21.jpg" alt="" width="544" height="469" /></p>
<p>Let&#8217;s go ahead and set the DSCP Value for Video with a DSCP value of 34. <strong>Right-Click</strong> Policy-based QoS and choose <strong>Create new policy</strong>. In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for video is typically 34.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS22.jpg" alt="" width="544" height="469" /></p>
<p>Because there are multiple applications that will stamp DSCP Values, we will choose All Applications. Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS20.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our information above we stated the default video port range is 57501 to 65535 and does not need to be changed.  Because of this, our source port range will 57501 to 65535 specified as 57501:65535.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS23.jpg" alt="" width="544" height="469" /></p>
<p>If you would like Client to Server QoS for Application Sharing, feel free to also create a new QoS Policy that provides DSCP Values for the port ranges specified for Application Sharing.  If you made this port range contiguous with Video, feel free to modify your Video QoS Policy to add the ports for Application Sharing if you are fine with also using a DSCP value of 34.</p>
<p>Now go ahead and restart your Lync Conferencing Servers so they pick up the changes. After Group Policy have applied the settings, you should see the following settings within the registry:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS24.jpg" alt="" width="839" height="306" /></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS25.jpg" alt="" width="839" height="310" /></p>
<h3>Configuring Policy Based QOS in Group Policy for Windows 2008 and/or Windows 2008 R2 for a Dedicated Mediation Server</h3>
<p>As stated previously, Lync Server 2010 can only be installed on Windows 2008 or Windows 2008 R2.  Both Windows 2008 and Windows 2008 R2 utilize Policy Based QOS which allows a wider variety of options for configuring QoS.</p>
<p>In the below example, we will show how to create the Policy-based QoS for Audio only.  The DSCP Value for Audio will be 46. Open up Group Policy (in my examples, I am using Local Computer Policy but in a real production environment you would be using Group Policy at some level in your Domain Hierarchy) and navigate to <strong>Computer Configuration</strong> &gt; <strong>Windows Settings</strong> &gt; <strong>Policy-based QoS</strong>. <strong> Right-Click</strong> and choose <strong>Create new policy</strong>.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS02.jpg" alt="" width="363" height="294" /></p>
<p>In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for audio is typically 46.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS26.jpg" alt="" width="544" height="469" /></p>
<p>Since this is Policy-based QoS, we will want to take advantage of only tagging traffic that the Mediation Server uses utilizing the executable MediationServerSvc.exe.  So make sure you choose the &#8220;Only applications with this executable name&#8221; and specify MediationServerSvc.exe. Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS27.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our information above we stated the default audio port range is 49152 to 57500 and does not need to be changed.  Because of this, our source port range will 49152 to 575000 specified as 49152:57500.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS21.jpg" alt="" width="544" height="469" /></p>
<p>Now go ahead and restart your Lync Mediation Servers so they pick up the changes. After Group Policy have applied the settings, you should see the following settings within the registry:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS29.jpg" alt="" width="886" height="302" /></p>
<p>&nbsp;</p>
<h3>Configuring Policy Based QOS in Group Policy for Windows 2008 and/or Windows 2008 R2 for an Edge Server</h3>
<p>As stated previously, Lync Server 2010 can only be installed on Windows 2008 or Windows 2008 R2.  Both Windows 2008 and Windows 2008 R2 utilize Policy Based QOS which allows a wider variety of options for configuring QoS.</p>
<p>In the below example, we will show how to create the Policy-based QoS for Audio.  Once finished, be sure to also create Policy-based QoS policies for Video.  The DSCP Value for Audio will be 46 and the DSCP Value for Video will be 34. Open up Group Policy (in my examples, I am using Local Computer Policy but in a real production environment you would be using Group Policy at some level in your Domain Hierarchy) and navigate to <strong>Computer Configuration</strong> &gt; <strong>Windows Settings</strong> &gt; <strong>Policy-based QoS</strong>. <strong> Right-Click</strong> and choose <strong>Create new policy</strong>.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS02.jpg" alt="" width="363" height="294" /></p>
<p>In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for audio is typically 46.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS31.jpg" alt="" width="544" height="469" /></p>
<p>Since this is Policy-based QoS, we will want to take advantage of only tagging traffic that the Edge Server uses utilizing the executable MediaRelaySvc.exe.  So make sure you choose the &#8220;Only applications with this executable name&#8221; and specify MediaRelaySvc.exe. Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS30.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Alternatively, you can change the Source IP Address to the internal IP of your Edge.  Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our information above we stated the default audio port range is 49152 to 57500 and does not need to be changed.  Because of this, our source port range will 49152 to 575000 specified as 49152:57500.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS33.jpg" alt="" width="544" height="469" />&#8216;</p>
<p>I will not display the remainder of the QoS Policy configuration for the Edge as I&#8217;m sure by now, you are a master at configuring QoS Policies for Lync.  The remainder of the three QoS Policies will look as such:</p>
<p>Peer to Peer Video:</p>
<ul>
<li>Policy Name: Lync Edge Peer to Peer Video</li>
<li>DSCP Value: 34</li>
<li>Only applications with the following executable name: MediaRelaySvc.exe</li>
<li>Specify Outbound Throttle Rate is Unchecked</li>
<li>Source IP: Your Internal Edge IP (Our example is 10.10.10.50/32)</li>
<li>Destination Port Range of 20040:20079</li>
</ul>
<p>Client to Server Audio:</p>
<ul>
<li>Policy Name: Lync Edge Conferencing Audio</li>
<li>DSCP Value: 46</li>
<li>Only applications with the following executable name: MediaRelaySvc.exe</li>
<li>Specify Outbound Throttle Rate is Unchecked</li>
<li>Source IP: Your Internal Edge IP (Our example is 10.10.10.50/32)</li>
<li>Destination Port Range of 49152:57500</li>
</ul>
<p>Client to Server Video:</p>
<ul>
<li>Policy Name: Lync Edge Conferencing Video</li>
<li>DSCP Value: 34</li>
<li>Only applications with the following executable name: MediaRelaySvc.exe</li>
<li>Specify Outbound Throttle Rate is Unchecked</li>
<li>Source IP: Your Internal Edge IP (Our example is 10.10.10.50/32)</li>
<li>Destination Port Range of 57501:65535</li>
</ul>
<p>After all QoS Policies are created, reboot the Lync Edge Server.  You should see the following registry changes:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS34.jpg" alt="" width="857" height="305" /></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS35.jpg" alt="" width="856" height="305" /></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS36.jpg" alt="" width="854" height="304" /></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS37.jpg" alt="" width="853" height="306" /></p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2424&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F11%2F28%2Fenabling-qos-for-lync-server-2010-part-2%2F&amp;title=Enabling%20QoS%20for%20Lync%20Server%202010%20%26%238211%3B%20Part%202" id="wpa2a_2"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/11/28/enabling-qos-for-lync-server-2010-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Enabling QoS for Lync Server 2010 &#8211; Part 1</title>
		<link>http://www.shudnow.net/2011/11/04/enabling-qos-for-lync-server-2010-part-1/</link>
		<comments>http://www.shudnow.net/2011/11/04/enabling-qos-for-lync-server-2010-part-1/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 02:51:47 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2318</guid>
		<description><![CDATA[There&#8217;s a doc available by Microsoft on how to enable Quality of Services (QoS) in Lync which you can find here.  The purpose of this multi-part article (first part for QoS on Lync Client and second part for QoS on Lync Server) is to lay everything out in a concise manner to help you, the [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a doc available by Microsoft on how to enable Quality of Services (QoS) in Lync which you can find <a href="http://www.microsoft.com/download/en/details.aspx?id=12633">here</a>.  The purpose of this multi-part article (first part for QoS on Lync Client and second part for QoS on Lync Server) is to lay everything out in a concise manner to help you, the reader, understand how to enable QoS.  Keep in mind that this article is only for the ability to enable QOS, it is not a comprehensive guide on all the various dynamic ports available in Lync to lock down your firewalls.  For that, you can check out my other article <a href="http://www.shudnow.net/2010/12/06/lync-server-2010-port-ranges-and-audiomedia-negotiation/">here</a>. Second of all, the question may arise, why and when would you want to enable QoS.  Audio and Video are synchronize traffic that can be affected by jitter, delay, and packet loss on an IP Network.  Lync has been designed to work without QoS but Lync Administrators can choose to enable both Lync endpoints as well as servers to mark Differentiated Services Code Point (DSCP) values on audio and video packets.  This ensures that audio/video packets get prioritized on a network that is enabled for Differentiated Services (DiffServ).</p>
<p>To better understand DiffServ and its affect on the network, please check out the excellent blog article written by fellow Lync MVP Jeff Schertz at the following URL:<em> <a href="http://blog.schertz.name/2011/08/lync-qos-behavior/">http://blog.schertz.name/2011/08/lync-qos-behavior/</a></em></p>
<p>So, let&#8217;s dive into my version of how to enable QoS.  Shall we?</p>
<p>Part 1</p>
<p><a href="http://www.shudnow.net/2011/11/28/enabling-qos-for-lync-server-2010-part-2/">Part 2</a></p>
<h2>Client QOS</h2>
<h3>Windows 7 versus Windows XP</h3>
<p>Windows Vista and Windows 7 utilize Policy based QOS. Policy based QOS has the benefit that you can restrict the QoS application at the application level.  For Lync, this would be communicator.exe. Windows XP uses separate QOS Group Policy Options that do not allow you to restrict the DSCP values at the application level.  This means that all applications that utilize the Audio/Video ports we configure for Audio/Video will get DSCP markings stamped.</p>
<h3>Peer to Peer Port Configuration</h3>
<p>All client port ranges need to be changed as they are all overlapping by default.  Client Media traffic by default utilizing ports 1024 to 65535 when doing Peer to Peer. To specify the client media port ranges, Set-CSConferencingConfiguration must be used. The port ranges for each modality must not conflict with another modality. Also, it is highly recommended to ensure that when each modality is locked down to its own port range that all ports are contiguous as this will make configuring Group Policy later on a bit easier as you will see later on in the article.</p>
<p>The command used to enable the ability to lock down peer to peer client ports is Set-CsConferencingConfiguration with the ClientMediaPortRangeEnabled set to 1.  When enabled, clients will use the specified port range for media traffic. When disabled (the default value) any available port (from port 1024 through port 65535) will be used to accommodate media traffic.  Because we want to lock down the peer to peer ports, we must run the following command:</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsConferencingConfiguration -ClientMediaPortRangeEnabled 1</div>
<p>Once this command is run, we can go ahead and start locking down our ports.  Now keep in mind, all these commands are provided to the clients via in-band provisioning.  This means that once our client signs in, they will start using these locked down port ranges and it does not require any Group Policy Object to be created (at least not for locking down ports) and pushed down to your clients.</p>
<p>The following commands are where we finally choose the amount of ports and at what port each modality starts.  The commands are:</p>
<ul>
<li>Application Sharing:
<div style="background-color: #dddddd;" dir="ltr">Set-CSConferencingConfiguration -ClientAppSharingPort &lt;beginning of port range (5350 by default)&gt; -ClientAppSharingPortRange &lt;extent of port range, at least 4 (40 by default)&gt;</div>
</li>
<li>Audio:
<div style="background-color: #dddddd;" dir="ltr">Set-CSConferencingConfiguration -ClientAudioPort&lt;beginning of port range&gt; -ClientAudioPortRange &lt;extent of port range, at least 20 (40 by default)&gt;</div>
</li>
<li>Video:
<div style="background-color: #dddddd;" dir="ltr">Set-CSConferencingConfiguration -ClientVideoPort &lt;beginning of port range&gt; -ClientVideoPortRange &lt;extent of port range, at least 20 (40 by default)&gt;</div>
</li>
<li>File Transfer:
<div style="background-color: #dddddd;" dir="ltr">Set-CSConferencingConfiguration -ClientFileTransferPort &lt;beginning of port range&gt; -ClientFileTransferPortRange &lt;extent of port range, at least 20 (40 by default)&gt;</div>
</li>
<li>Communicator 2007 R2:
<div style="background-color: #dddddd;" dir="ltr">Set-CSConferencingConfiguration -ClientMediaPort &lt;beginning of port range&gt; -ClientMediaPortRange &lt;extent of port range, at least 40&gt;</div>
</li>
</ul>
<p><strong>Note</strong>: -ClientMediaPortRange is used for Office Communicator 2007 R2 Clients. The reason why this uses 40 is because this setting includes all modalities as Office Communicator 2007 R2 did not split apart each modality into their own separate switches.  Being able to break up each modality is a feature of Lync.</p>
<p>An example of a properly defined command with the minimum port requirement in one big switch is as follows:</p>
<div style="background-color: #dddddd;" dir="ltr"><em>Set-CsConferencingConfiguration -ClientAudioPort 20000 -ClientAudioPortRange 20 -ClientVideoPort 20020 -ClientVideoPortRange 20 -ClientAppSharingPort 20040 -ClientAppSharingPortRange 4 -ClientFileTransferPort 20044 -ClientFileTransferPortRange 4 -ClientMediaPort 20048 -ClientMediaPortRange 40</em><strong></strong></div>
<p>An example of a properly defined command with the default port range is as follows (this is the example we will use going forward when configuring Group Policy):</p>
<div style="background-color: #dddddd;" dir="ltr"><em>Set-CsConferencingConfiguration -ClientAudioPort 20000 -ClientAudioPortRange 40 -ClientVideoPort 20040 -ClientVideoPortRange 40 -ClientAppSharingPort 20080 -ClientAppSharingPortRange 40 -ClientFileTransferPort 20120 -ClientFileTransferPortRange 40 -ClientMediaPort 20160 -ClientMediaPortRange 40</em><strong></strong></div>
<h3>Configuring Policy Based QOS in Group Policy for Windows Vista and/or Windows 7 clients</h3>
<p>As stated previously, Windows Vista and Windows 7 clients utilize Policy Based QOS which allows a wider variety of options for configuring QoS.  For example, you can specify that only communicator.exe should tag x ports.</p>
<p>In the below example, we will show how to create the Policy-based QoS for Audio.  Once finished, be sure to also create Policy-based QoS policies for Video.  The DSCP Value for Audio will be 46 and the DSCP Value for Video will be 34. Open up Group Policy (in my examples, I am using Local Computer Policy but in a real production environment you would be using Group Policy at some level in your Domain Hierarchy) and navigate to <strong>Computer Configuration</strong> &gt; <strong>Windows Settings</strong> &gt; <strong>Policy-based QoS</strong>. <strong> Right-Click</strong> and choose <strong>Create new policy</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS02.jpg" alt="" width="363" height="294" /></p>
<p>In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for audio is typically 46.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS03.jpg" alt="" width="544" height="469" /></p>
<p>Since this is Policy-based QoS, we will want to take advantage of only tagging traffic that communicator.exe uses.  So make sure you choose the &#8220;Only applications with this executable name&#8221; and specify communicator.exe. Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS04.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our example above we used the Set-CSConferencingConfiguration command with the <em>ClientAudioPort 20000 -ClientAudioPortRange 40</em> switches.  Because of this, our source port range will 20000 to 20039 specified as 20000:20039 since our ClientAudioPortRange was 40.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS06.jpg" alt="" width="544" height="469" /></p>
<p>Let&#8217;s go ahead and set the DSCP Value for Video with a DSCP value of 34. <strong>Right-Click</strong> Policy-based QoS and choose <strong>Create new policy</strong>. In the new Policy, give it a name and specify the DSCP Value.  DSCP Values for video is typically 34.  Make sure the Outbound Throttle Rate check box is cleared.  Click Next.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS13.jpg" alt="" width="544" height="469" /></p>
<p>Since this is Policy-based QoS, we will want to take advantage of only tagging traffic that communicator.exe uses.  So make sure you choose the &#8220;Only applications with this executable name&#8221; and specify communicator.exe. Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS04.jpg" alt="" width="544" height="469" /></p>
<p>On the following screen, make sure you leave the defaults as &#8220;Any source IP address&#8221; and &#8220;Any destination IP Address.&#8221;  Click Next.</p>
<p><img src="http://www.shudnow.net/images/Lync2010QoS05.jpg" alt="" width="544" height="469" /></p>
<p>On  the following screen, choose TCP and UDP.  In our example above we used the Set-CSConferencingConfiguration command with the <em>ClientVideoPort 20040 -ClientAudioPortRange 40</em> switches.  Because of this, our source port range will 20040 to 20079 specified as 20040:20079 since our ClientVideoPortRange was 40.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS14.jpg" alt="" width="544" height="469" /></p>
<p>Now go ahead and restart your Lync clients so they pick up the changes. After Group Policy have applied the settings, you should see the following settings within the registry:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS16.jpg" alt="" width="863" height="369" /></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS17.jpg" alt="" width="855" height="369" /></p>
<p>Also, if you are in Workgroup Mode and notice that DSCP Values are not being applied, you may have to apply the following registry key:</p>
<div style="background-color: #dddddd;" dir="ltr">Windows Registry Editor Version 5.00<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\QoS]&#8220;Do not use NLA&#8221;=&#8221;1&#8243;</div>
<h3>Configuring QOS Policies in Group Policy for Windows XP clients</h3>
<p>As stated previously, Windows XP Clients (it&#8217;s the same for Windows Server 2003) cannot use policy-based QoS.  Instead, it uses QoS Policies based on the QoS Packet Scheduler.  To install the QoS Packet Scheduler on Windows XP or Windows Server 2003, please proceed with the following steps:</p>
<p>Go to <strong>Control Panel</strong> &gt; <strong>Network Connections</strong> &gt; Right-Click <strong>Network Interface</strong> &gt; Choose <strong>Properties</strong>. Then Choose <strong>Install</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS07.jpg" alt="" width="361" height="446" /></p>
<p>Make sure to choose <strong>Service</strong>.  Click <strong>Add</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS08.jpg" alt="" width="302" height="277" /></p>
<p>Choose <strong>QoS Packet Scheduler</strong> as the Network Service.  Click OK.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS09.jpg" alt="" width="437" height="325" /></p>
<p>Now it is time to go into Group Policy. The DSCP Value for Audio will be 46 and the DSCP Value for Video will be 34. Open up Group Policy (in my examples, I am using Local Computer Policy but in a real production environment you would be using Group Policy at some level in your Domain Hierarchy) and navigate to <strong>Computer Configuration</strong> &gt; <strong>Administrative Templates </strong> &gt; <strong>Network &gt; QoS Packet Scheduler</strong>.</p>
<p>The section we will be working with is, &#8220;DSCP value of conforming packets.&#8221;  You do not need to modify &#8220;DSCP value of non-conforming packets.&#8221; And the two options within &#8220;DSCP value of conforming packets&#8221; we will be working with is:</p>
<ul>
<li>Controlled load service type (For Video with a DSCP Value of 34)</li>
<li>Guaranteed service type (For Audio with a DSCP Value of 46)</li>
</ul>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS10.jpg" alt="" width="698" height="343" /></p>
<p>Let&#8217;s go ahead and set the DSCP Value for Video (Controlled load service type).  Go ahead and open &#8220;Controlled load service type.&#8221;  Choose Enabled and set the DSCP to <strong>34</strong>. Then click OK.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS11.jpg" alt="" width="400" height="451" /></p>
<p>Let&#8217;s go ahead and set the DSCP Value for Audio (Guaranteed service type).  Go ahead and open &#8220;Guaranteed service type.&#8221;  Choose Enabled and set the DSCP to <strong>46</strong>. Then click OK.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS12.jpg" alt="" width="400" height="451" /></p>
<p>After Group Policy have applied the settings, you should see the following two settings set within the registry:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS15.jpg" alt="" width="765" height="282" /></p>
<p>Now hop on your Lync Server and open the Lync Management Shell and type the following command:</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsMediaConfiguration -EnableQoS $true</div>
<p>This command should set your Windows XP and/or Windows Server 2003 machine with the following registry key:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Lync2010QoS18.jpg" alt="" width="758" height="179" /></p>
<h3>Configuring QOS for Lync Phone Edition</h3>
<p>Configuring Lync Phone Edition QoS is really simple and there&#8217;s really only one step.  By default, the DSCP Value is set to 40 which is not typical for voice DSCP. We can see the default value by running the following:</p>
<div style="background-color: #dddddd;" dir="ltr">
<p>Get-CsUCPhoneConfiguration</p>
<p>Identity             : Global<br />
CalendarPollInterval : 00:03:00<br />
EnforcePhoneLock     : True<br />
PhoneLockTimeout     : 00:10:00<br />
MinPhonePinLength    : 6<br />
SIPSecurityMode      : High<br />
VoiceDiffServTag     : 40<br />
Voice8021p           : 0<br />
LoggingLevel         : Off</p>
</div>
<p>To set this value to 46, run the following command (leaving -Identity blank will modify the global settings):</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsUCPhoneConfiguration -VoiceDiffServTag 46</div>
<p>Surprisingly, that&#8217;s all there is to it for enabling QoS to Lync Phone Edition.  That is of course other than rebooting your Lync Phone which is required.</p>
<p>As an alternative to DSCP value, you can utilize 802.1p for Lync Phone edition.  This setting is effective only for networks in which switches and bridges are 802.1p-capable.  The minimum value for this property is 0 and the maximum is 7.  The default value is 0.</p>
<p>To enable 8021.p you can run the following command (leaving -Identity blank will modify the global settings):</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsUCPhoneConfiguration -Voice8021p &lt;value&gt;</div>
<h2>Conclusion</h2>
<p>In this Part 1 on how to enable QOS for Lync Server 2010, we took a look at how to enable QOS for Lync clients.  In Part 2, we will take a look at how to enable QoS for for Lync 2010 servers.</p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2318&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F11%2F04%2Fenabling-qos-for-lync-server-2010-part-1%2F&amp;title=Enabling%20QoS%20for%20Lync%20Server%202010%20%26%238211%3B%20Part%201" id="wpa2a_4"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/11/04/enabling-qos-for-lync-server-2010-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reordering Lync 2010 Dial-In Conferencing Numbers</title>
		<link>http://www.shudnow.net/2011/09/28/reordering-lync-2010-dial-in-conferencing-numbers/</link>
		<comments>http://www.shudnow.net/2011/09/28/reordering-lync-2010-dial-in-conferencing-numbers/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 02:59:17 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2378</guid>
		<description><![CDATA[In Lync Server 2010 we can utilize Dial-In Conferencing Phone Numbers so both users utilizing the Lync Client End-Points can join these meetings using an IP Network and Telephony Users can join the same meeting via a Telephone utilizing the Public Switched Telephony Network (PSTN). As you can see, we can define multiple Dial-In Conferencing [...]]]></description>
			<content:encoded><![CDATA[<p>In Lync Server 2010 we can utilize Dial-In Conferencing Phone Numbers so both users utilizing the Lync Client End-Points can join these meetings using an IP Network and Telephony Users can join the same meeting via a Telephone utilizing the Public Switched Telephony Network (PSTN).</p>
<p>As you can see, we can define multiple Dial-In Conferencing Phone Numbers in the Lync Control Panel within the Conferencing Section.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder01.jpg" alt="" width="591" height="306" /></p>
<p>Now before we understand how to reorder Dial-In Conferencing Numbers, we must first understand how different users can have different numbers get displayed when they create a Lync Online Meeting.  When we create a Dial-In Conferencing Number, one of the requirements is to set a Region.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder02.jpg" alt="" width="663" height="745" /></p>
<p>Now in order to be able to add a Region, the Region must be created ahead of time.  And that is done through your Enterprise Voice Dial-Plans.  You need to do this even if you have not deployed Enterprise Voice.  By default, there is only one Dial Plan called Global.  So all users in the organization by default would fall under the Global Dial Plan.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder03.jpg" alt="" width="663" height="271" /></p>
<p>If we go into this Global Dial Plan, we can set the name of our Dial-In Conferencing Region.   Now when we create a Dial-In Conferencing Number, &#8220;Chicago, Illinois USA&#8221; will be an option.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder04.jpg" alt="" width="617" height="446" /></p>
<p>If you use only the Global Dial Plan, all users when creating an Online Meeting will see all Dial-In Conferencing Numbers that are associated with this Region.  In an environment where you have multiple Dial Plans (example would be USA, Germany, China), you can set the USA Dial Plan&#8217;s Dial-In Conferencing Region to USA, the Germany Dial-In Conferencing Region to Germany, and the China Dial-In Conferencing Region to China.  Users that are in the USA would then be assigned to the USA Dial Plan, users that are in the Germany Dial Plan would be assigned to the Germany Dial Plan, and users in China would be assigned to the China Region.</p>
<p>Now keep in mind, all three of our numbers have the &#8220;Chicago, Illinois USA&#8221; Region associated with them which is associated with the Global Dial Plan.  This means that when any user in the organization goes to create an Online Meeting, they will see the following in the Online Meeting template.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder05.jpg" alt="" width="394" height="201" /></p>
<p>Now going back to our previous USA/Germany/China example, if a user was in the Germany Dial Plan which had a Region of Germany, you would assign the Germany Dial-In Conferencing Numbers to the Germany Dial Plan.  When they create an Online Meeting, only the Germany Dial-In Conferencing Numbers would be displayed.   However, if this user happens to travel to the USA and wants to invite USA people to a Lync Online Meeting button, that user has an option in Outlook called Meeting Options.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder07.jpg" alt="" width="391" height="108" /></p>
<p>If they click Meeting Options, you can see that this Germany user would be able to choose the location that most users will dial in from.  The German User would be able to select a USA based Region and then all phone numbers in the Meeting Template would have all Dial-In Conferencing Numbers that are associated with that USA based Region.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder06.jpg" alt="" width="704" height="274" /></p>
<p>But let&#8217;s say you don&#8217;t like the order in which the numbers are being displayed in the Meeting Template. You can easily change a specific Dial-In Conferencing Numbers Priority by utilizing the following command (Priority 0 would be this Dial-In Conferencing Number on Top of the Online Meeting Template in Outlook):</p>
<div style="background-color: #dddddd;" dir="ltr">Set-CsDialInConferencingAccessNumber -Identity &#8220;sip:DialInSIPAddress@domain.com&#8221; -Priority 0</div>
<p>You can easily see what the SIP Addresses are of your existing Dial-In Conferencing Numbers by utilizing the following command:</p>
<div style="background-color: #dddddd;" dir="ltr">Get-CsDialInConferencingAccessNumber</div>
<p>Once you change the Priority Orders in which the numbers are displayed, keep in mind that the Dial-In Conferencing Number that has a Priority of 0 will also be displayed in the &#8220;Join Information and Meeting Options&#8221; link when joined into a meeting with the Lync 2010 client.  The Dial-in number displayed is always the Dial-In Conferencing Number that has the priority of 0.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncDialInReorder08.jpg" alt="" width="409" height="460" /></p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2378&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F09%2F28%2Freordering-lync-2010-dial-in-conferencing-numbers%2F&amp;title=Reordering%20Lync%202010%20Dial-In%20Conferencing%20Numbers" id="wpa2a_6"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/09/28/reordering-lync-2010-dial-in-conferencing-numbers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering – Part 3</title>
		<link>http://www.shudnow.net/2011/09/07/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-%e2%80%93-part-3/</link>
		<comments>http://www.shudnow.net/2011/09/07/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-%e2%80%93-part-3/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 13:26:29 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2343</guid>
		<description><![CDATA[Welcome to Part 3 of Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering.  In Part 1, I discussed what Majority Node Set Clustering is and how it works with Exchange Site Resilience when you have one DAG member in a Primary Site and one DAG member in a Failover Site.  In Part 2, [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Part 3 of Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering.  In Part 1, I discussed what Majority Node Set Clustering is and how it works with Exchange Site Resilience when you have one DAG member in a Primary Site and one DAG member in a Failover Site.  In Part 2, I discussed how Majority Node Set Clustering works with Exchange Site Resileince when you have two DAG members in a Primary Site and one DAG member in a Failover Site. In this Part, I will show an example of how Majority Node Set Clustering works with Exchange Site Resilience when you have two DAG members in a Primary Site and two DAG members in a Failover Site.</p>
<p><a href="http://www.shudnow.net/2011/08/05/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1/">Part 1</a></p>
<p><a href="http://www.shudnow.net/2011/08/12/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2/">Part 2</a></p>
<p>Part 3</p>
<h3>Real World Examples</h3>
<p>Each of these examples will show DAG Models with a Primary Site and a Failover Site.</p>
<h4>4 Node DAG  (Two in Primary and Two in Failover)</h4>
<p>In the following screenshot, we have 4 Servers.  Four are Exchange 2010 Multi-Role Servers; two in the Primary Site and two in the Failover Site.  The Cluster Service is running only on the four Exchange Multi-Role Servers.  More specifically, it would run on the Exchange 2010 Servers that have the Mailbox Server Role. When Exchange 2010 utilizes an even number of Nodes, it utilizes Node Majority with File Share Witness.  If you have dedicated HUB and/or HUB/CAS Servers, you can place the File Share Witness on those Servers.  However, the File Share Witness cannot be placed on the Mailbox Server Role.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj14.jpg" alt="" width="604" height="146" /></p>
<p>So now we have our five Servers; four of them being Exchange.  This means we have five voters.  Four of the Mailbox Servers that are running the cluster service are voters and the File Share Witness is a voter as well.  So the question is, how many voters/servers can I lose?  Well if you read the section on Majority Node Set (which you have to understand), you know the formula is (number of nodes /2) + 1.  This means we have (4 Exchange Servers / 2) = 2 + 1 = 3.  This means that 3 voters must always be online for your Exchange Cluster to remain operational.</p>
<p>But now let&#8217;s say one or two of your Exchange Servers go offline.  Well, you still have at least three voters online.  This means your cluster will be still be operational.  If all users/services were utilizing the Primary Site, then everything continues to remain completely operational.  If you were sending SMTP to the one of the servers in the Failover Site or users were for some reason connecting to the Failover Site, they will need to be pointed to another Exchange Server that is operational in the Primary Site or the Failover Site. This of course depends on whether the user databases are being replicated from a mailbox database failover standpoint.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj15.jpg" alt="" width="602" height="146" /></p>
<p>But what happens if you lose a third node in which all DAG members in the Failover Site go offline including the FSW? Well, based on the formula above we need to ensure we have 3 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Primary Site and specify a new Alternative File Share Witness Server that exists in the Primary Site so you can active the Exchange 2010 Server in the Primary Site.  The DAG will actively use the File Share Witness since there will be 2 Exchange DAG Members remaining which is an even number of nodes.  And again, when you have an even number of nodes, you will use a File Share Witness.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj16.jpg" alt="" width="604" height="145" /></p>
<p>But what happens if you lose two nodes in the Primary Site as well as the FSW due to something such as Power Failure or a Natural Disaster? Well, based on the formula above we need to ensure we have 3 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Failover Site and specify a new Alternative File Share Witness Server that exists (or will exist) in the Failover Site so you can activate the Exchange 2010 Servers in the Failover Site.   The DAG will actively use the Alternate File Share Witness since there will be 2 Exchange DAG Members remaining which is an even number of nodes.  And again, when you have an even number of nodes, you will use a File Share Witness.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj17.jpg" alt="" width="604" height="146" /></p>
<p>Once the Datacenter Switchover has occurred, you will be in a state that looks as such.  An Alternate File Share Witness is not for redundancy for your 2010 FSW that was in your Primary Site.  It&#8217;s used only during a Datacenter Switchover which is a manual process.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj18.jpg" alt="" width="603" height="147" /></p>
<p>Once your Primary Site becomes operational, you will re-add the two Primary DAG Servers to the existing DAG which will still be using the 2010 Alternate FSW Server in the Failover Site and you will now be switched into a Node Majority with File Share Witness Cluster instead of just Node Majority.  Remember I said with an odd number of DAG Servers, you will be in Majority Node Witness and with an even number, the Cluster will automatically switch itself to Node Majority with File Share Witness?  You will now be in a state that looks as such.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj19.jpg" alt="" width="603" height="146" /></p>
<p>Part of the Failback Process would be to switch back to the old FSW Server in the Primary Site.  Once done, you will be back into your original operational state.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj14.jpg" alt="" width="604" height="146" /></p>
<p>As you can see with how this works, the question that may arise is where to put your FSW?  Well, it should be in the Primary Site with the most users or the site that has the most important users.  With that in mind, I bet another question arises?  Well, why with the most users or the most important users?  Because some environments may want to use the above with an Active/Active Model instead of an Active/Passive.  Some databases may be activated in both sites.  But, with that, if the WAN link goes down, the Exchange 2010 Server in the Failover Site loses quorum since it can&#8217;t contact at least 2 other voters.  Again, you must have three voters online.  This also means that each voter must be able to see two other voters.  Because of that, the Exchange 2010 Server will go completely offline.</p>
<p>To survive this, you really must use 2 different DAGs.  One DAG where the FSW is in the First Site and a second DAG where its FSW is in the Second Site.  In my example, users that live in the First Active Site would primarily be using the Exchange 2010 DAG Members in the First Active Site which would be on DAG 2.  Users that live in the Second Active Site would primarily be using the Exchange 2010 DAG Members in the Second Active Site which would be on DAG 1. This way, if anything happens with the WAN link, users in the First Active Site would still be operational as the FSW for their DAG is in the First Active Site and DAG 2 would maintain Quorum.  Users in the Second Active Site would still be operational as the FSW for their DAG is in the Second Active Site and DAG 1 would maintain Quorum.</p>
<p><strong>Note</strong>: This would require twice the amount of servers since a DAG Member cannot be a part of more than one DAG.  As shown below, each visual representation below of a 2010 HUB/CAS/MBX is a separate server.</p>
<p>The Multi-DAG Model would look like this.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj20.jpg" alt="" width="603" height="314" /></p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2343&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F09%2F07%2Fexchange-2010-site-resilient-dags-and-majority-node-set-clustering-%25e2%2580%2593-part-3%2F&amp;title=Exchange%202010%20Site%20Resilient%20DAGs%20and%20Majority%20Node%20Set%20Clustering%20%E2%80%93%20Part%203" id="wpa2a_8"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/09/07/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-%e2%80%93-part-3/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering &#8211; Part 2</title>
		<link>http://www.shudnow.net/2011/08/12/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2/</link>
		<comments>http://www.shudnow.net/2011/08/12/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 15:13:59 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2328</guid>
		<description><![CDATA[Welcome to Part 2 of Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering.  In Part 1, I discussed what Majority Node Set Clustering is and how it works with Exchange Site Resilience when you have one DAG member in a Primary Site and one DAG member in a Failover Site.  In this Part, [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Part 2 of Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering.  In Part 1, I discussed what Majority Node Set Clustering is and how it works with Exchange Site Resilience when you have one DAG member in a Primary Site and one DAG member in a Failover Site.  In this Part, I will show an example of how Majority Node Set Clustering works with Exchange Site Resilience when you have two DAG members in a Primary Site and one DAG member in a Failover Site.</p>
<p><a href="http://www.shudnow.net/2011/08/05/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1/">Part 1</a></p>
<p>Part 2</p>
<p><a href="http://www.shudnow.net/2011/09/07/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-%E2%80%93-part-3/">Part 3</a></p>
<h3>Real World Examples</h3>
<p>In Part 1, I showed a Real World example when you have one Exchange DAG member in the Primary Site and one Exchange DAG member in the Failover Site.  In this Part, I am showing a Real World example when you have two Exchange DAG members in the Primary Site and one Exchange DAG member in the Failover Site.</p>
<h4>3 Node DAG  (Two in Primary and One in Failover)</h4>
<p>In the following screenshot, we have 3 Servers.  Two are Exchange 2010 Multi-Role Servers; one in the Primary Site and one on the Failover Site.  The Cluster Service is running on all three Exchange Multi-Role Servers.  More specifically, it would run on the Exchange 2010 Servers that have the Mailbox Server Role. When Exchange 2010 utilizes an even number of Nodes, it utilizes Node Majority with File Share Witness.  Because we have an odd number of Nodes, we are utilizing Node Majority and will not utilize a File Share Witness.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj09.jpg" alt="" width="528" height="166" /></p>
<p>So now we have our three Servers; all three of them being Exchange.  This means we have three voters which would be the same if we were using an even number of nodes with a File Share Witness since a File Share Witness is also a voter.  So the question is, how many voters/servers can I lose?  Well if you read the section on Majority Node Set (which you have to understand), you know the formula is (number of nodes /2) + 1.  This means we have (3 Exchange Servers / 2) rounded down = 1 + 1 = 2.  This means that 2 voters must always be online for your Exchange Cluster to remain operational just like if we were utilizing 2 DAG members with a File Share Witness.</p>
<p>But now let&#8217;s say one of your Exchange Servers go offline.  Well, you still have at least two voters online.  This means your cluster will be still be operational.  If all users/services were utilizing the Primary Site, then everything continues to remain completely operational.  If you were sending SMTP to the Failover Site or users were for some reason connecting to the Failover Site, they will need to be pointed to the Exchange Server in the Primary Site.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj10.jpg" alt="" width="528" height="165" /></p>
<p>But what happens if you lose a second node? Well, based on the formula above we need to ensure we have 2 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Primary Site and specify a new Alternative File Share Witness Server that exists in the Primary Site so you can active the Exchange 2010 Server in the Primary Site.  The DAG won&#8217;t actively use the File Share Witness but you should specify it anyways because part of the Failback process is re-adding the Primary Site Servers back to the DAG once they become operational. And once you re-add the second DAG node, you now have two DAG members in the DAG which will want to switch the DAG Cluster into a Node Majority with File Share Witness which is why you need to still specify a File Share Witness.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj11.jpg" alt="" width="528" height="169" /></p>
<p>But what happens if you lose two nodes in the Primary Site? Well, based on the formula above we need to ensure we have 2 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Failover Site and specify a new Alternative File Share Witness Server that exists (or will exist) in the Failover Site so you can activate the Exchange 2010 Server in the Primary Site.   The DAG won&#8217;t actively use the File Share Witness but you should specify it anyways because part of the Failback process is re-adding the Primary Site Servers back to the DAG once they become operational.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj12.jpg" alt="" width="529" height="167" /></p>
<p>Once the Datacenter Switchover has occurred, you will be in a state that looks as such.  An Alternate File Share Witness is not for redundancy for your 2010 FSW that was in your Primary Site.  It&#8217;s used only during a Datacenter Switchover which is a manual process.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj05.jpg" alt="" width="497" height="171" /></p>
<p>Once your Primary Site becomes operational, you will re-add the Primary DAG Server to the existing DAG which will still be using the 2010 Alternate FSW Server in the Failover Site and you will now be switched into a Node Majority with File Share Witness Cluster instead of just Node Majority.  Remember I said with an odd number of DAG Servers, you will be in Majority Node Witness and with an even number, the Cluster will automatically switch itself to Node Majority with File Share Witness?  You will now be in a state that looks as such.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj06.jpg" alt="" width="496" height="168" /></p>
<p>Part of the Failback Process would be to switch to a FSW Server in the Primary Site.  Once done, you will be back into your original operational state.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj01.jpg" alt="" width="495" height="168" /></p>
<p>Now the final step of the Failback Process would be to re-add your final remaining DAG Member in the Primary Site.  Once done, your cluster will switch back into a Node Majority Cluster and will no longer be utilizing the FSW.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj09.jpg" alt="" width="528" height="166" /></p>
<p>As you can see with how this works, the question that may arise is where to put your the majority of your Exchange DAG Members?  Well, it should be in the Primary Site with the most users or the site that has the most important users.  With that in mind, I bet another question arises?  Well, why with the most users or the most important users?  Because some environments may want to use the above with an Active/Active Model instead of an Active/Passive.  Some databases may be activated in both sites.  But, with that, if the WAN link goes down, the Exchange 2010 Server in the Failover Site loses quorum since it can&#8217;t contact at least 1 other voter.  Again, you must have two voters online.  This also means that each voter must be able to see one other voter.  Because of that, the Exchange 2010 Server will go completely offline.</p>
<p>To survive this, you really must use 2 different DAGs.  One DAG where the majority of your Exchange 2010 DAG Members is in the First Site and a second DAG where the majority of the Exchange 2010 DAG Members is in the Second Site.  Users that live in the First Active Site would primarily be using the Exchange 2010 DAG Members in the First Active Site.  Users that live in the Second Active Site would primarily be using the Exchange 2010 DAG Members in the Second Active Site. This way, if anything happens with the WAN link, users in the First Active Site would still be operational as the majority of its Exchange 2010 DAG Members for their DAG is in the First Active Site and DAG 1 would maintain Qourum.  Users in the Second Active Site would still be operational as the majority of its Exchange 2010 DAG Members for their DAG is in the Second Active Site and DAG 2 would maintain Quorum.</p>
<p><strong>Note</strong>: This would require twice the amount of servers since a DAG Member cannot be a part of more than one DAG.  As shown below, each visual representation below of a 2010 HUB/CAS/MBX is a separate server.</p>
<p>The Multi-DAG Model would look like this.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj13.jpg" alt="" width="516" height="355" /></p>
<p>&nbsp;</p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2328&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F08%2F12%2Fexchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2%2F&amp;title=Exchange%202010%20Site%20Resilient%20DAGs%20and%20Majority%20Node%20Set%20Clustering%20%26%238211%3B%20Part%202" id="wpa2a_10"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/08/12/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering &#8211; Part 1</title>
		<link>http://www.shudnow.net/2011/08/05/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1/</link>
		<comments>http://www.shudnow.net/2011/08/05/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 16:47:09 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2276</guid>
		<description><![CDATA[I&#8217;ve talked about this topic in some of my other articles but wanted to create an article that talks specifically about this model and show several different examples in a Database Availability Group (DAG)&#8217;s tolerance for node and File Share Witness (FSW) failure.  Many people don&#8217;t properly understand how the Majority Node Set Clustering Model [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve talked about this topic in some of my other articles but wanted to create an article that talks specifically about this model and show several different examples in a Database Availability Group (DAG)&#8217;s tolerance for node and File Share Witness (FSW) failure.  Many people don&#8217;t properly understand how the Majority Node Set Clustering Model works.  In my article <a href="http://www.shudnow.net/2010/06/30/exchange-2010-database-activation-coordination-dac/">here</a>, I talk about Database Activation Coordination Mode and have a section on Majority Node Set.  In this article, I want to visibly show show some real world examples on how the Majority Node Set Clustering Model works.  This will be a multi-part article and each Part will have its own example.</p>
<p>Part 1</p>
<p><a href="http://www.shudnow.net/2011/08/12/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-2/">Part 2</a></p>
<p><a href="http://www.shudnow.net/2011/09/07/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-%E2%80%93-part-3/">Part 3</a></p>
<h3>Majority Node Set</h3>
<p>Majority Node Set is a Windows Clustering Model such as the Shared Quorum Model, but different.  Both Exchange 2007 and Exchange 2010 Clusters use Majority Node Set Clustering (MNS).  This means that 50% of your votes (server votes and/or 1 file share witness) need to be up and running.  The proper formula for this is (n / 2) + 1 where n is the number of DAG nodes within the DAG. With DAGs, if you have an odd number of DAG nodes in the same DAG (Cluster), you have an odd number of votes so you don’t have a witness.  If you have an even number of DAGs nodes, you will have a file share witness in case half of your nodes go down, you have a witness who will act as that extra +1 number.</p>
<p>So let’s go through an example.  Let’s say we have 3 servers. This means that we need (number of nodes which is 3 / 2) + 1  which equals 2 as you round down since you can’t have half a server/witness.  This means that at any given time, we need 2 of our nodes to be online which means we can sustain only 1 (either a server or a file share witness) failure in our DAG.  Now let’s say we have 4 servers.  This means that we need (number of nodes which is 4 / 2) + 1 which equals 3.  This means at any given time, we need 3 of our servers/witness to be online which means we can sustain 2 server failures or 1 server failure and 1 witness failure.</p>
<h3>Real World Examples</h3>
<p>Each of these examples will show DAG Models with a Primary Site and a Failover Site.</p>
<h4>2 Node DAG  (One in Primary and One in Failover)</h4>
<p>In the following screenshot, we have 3 Servers.  Two are Exchange 2010 Multi-Role Servers; one in the Primary Site and one on the Failover Site.  The Cluster Service is running only on the two Exchange Multi-Role Servers.  More specifically, it would run on the Exchange 2010 Servers that have the Mailbox Server Role. When Exchange 2010 utilizes an even number of Nodes, it utilizes Node Majority with File Share Witness.  If you have dedicated HUB and/or HUB/CAS Servers, you can place the File Share Witness on those Servers.  However, the File Share Witness cannot be placed on the Mailbox Server Role.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj01.jpg" alt="" width="495" height="168" /></p>
<p>So now we have our three Servers; two of them being Exchange.  This means we have three voters.  Two of the Mailbox Servers that are running the cluster service are voters and the File Share Witness is a voter as well.  So the question is, how many voters/servers can I lose?  Well if you read the section on Majority Node Set (which you have to understand), you know the formula is (number of nodes /2) + 1.  This means we have (2 Exchange Servers / 2) = 1 + 1 = 2.  This means that 2 voters must always be online for your Exchange Cluster to remain operational.</p>
<p>But now let&#8217;s say one of your Exchange Servers go offline.  Well, you still have at least two voters online.  This means your cluster will be still be operational.  If all users/services were utilizing the Primary Site, then everything continues to remain completely operational.  If you were sending SMTP to the Failover Site or users were for some reason connecting to the Failover Site, they will need to be pointed to the Exchange Server in the Primary Site.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj02.jpg" alt="" width="497" height="169" /></p>
<p>But what happens if you lose a second node? Well, based on the formula above we need to ensure we have 2 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Primary Site and specify a new Alternative File Share Witness Server that exists in the Primary Site so you can active the Exchange 2010 Server in the Primary Site.  The DAG won&#8217;t actively use the File Share Witness but you should specify it anyways because part of the Failback process is re-adding the Primary Site Servers back to the DAG once they become operational.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj03.jpg" alt="" width="498" height="170" /></p>
<p>But what happens if you lose two nodes in the Primary Site? Well, based on the formula above we need to ensure we have 2 voters operational at all times.  At this time, the entire cluster goes offline.  You need to go through steps provided in the site switchover process but in this case, you would be activating the Failover Site and specify a new Alternative File Share Witness Server that exists (or will exist) in the Failover Site so you can activate the Exchange 2010 Server in the Primary Site.   The DAG won&#8217;t actively use the File Share Witness but you should specify it anyways because part of the Failback process is re-adding the Primary Site Servers back to the DAG once they become operational.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj04.jpg" alt="" width="498" height="171" /></p>
<p>Once the Datacenter Switchover has occurred, you will be in a state that looks as such.  An Alternate File Share Witness is not for redundancy for your 2010 FSW that was in your Primary Site.  It&#8217;s used only during a Datacenter Switchover which is a manual process.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj05.jpg" alt="" width="497" height="171" /></p>
<p>Once your Primary Site becomes operational, you will re-add the Primary DAG Server to the existing DAG which will still be using the 2010 Alternate FSW Server in the Failover Site and you will now be switched into a Node Majority with File Share Witness Cluster instead of just Node Majority.  Remember I said with an odd number of DAG Servers, you will be in Majority Node Witness and with an even number, the Cluster will automatically switch itself to Node Majority with File Share Witness?  You will now be in a state that looks as such.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj06.jpg" alt="" width="496" height="168" /></p>
<p>Part of the Failback Process would be to switch back to the old FSW Server in the Primary Site.  Once done, you will be back into your original operational state.</p>
<p><img src="http://www.shudnow.net/images/Exc2k10Maj01.jpg" alt="" width="495" height="168" /></p>
<p>As you can see with how this works, the question that may arise is where to put your FSW?  Well, it should be in the Primary Site with the most users or the site that has the most important users.  With that in mind, I bet another question arises?  Well, why with the most users or the most important users?  Because some environments may want to use the above with an Active/Active Model instead of an Active/Passive.  Some databases may be activated in both sites.  But, with that, if the WAN link goes down, the Exchange 2010 Server in the Failover Site loses quorum since it can&#8217;t contact at least 1 other voter.  Again, you must have two voters online.  This also means that each voter must be able to see one other voter.  Because of that, the Exchange 2010 Server will go completely offline.</p>
<p>To survive this, you really must use 2 different DAGs.  One DAG where the FSW is in the First Site and a second DAG where its FSW is in the Second Site.  Users that live in the First Active Site would primarily be using the Exchange 2010 DAG Members in the First Active Site.  Users that live in the Second Active Site would primarily be using the Exchange 2010 DAG Members in the Second Active Site. This way, if anything happens with the WAN link, users in the First Active Site would still be operational as the FSW for their DAG is in the First Active Site and DAG 1 would maintain Qourum.  Users in the Second Active Site would still be operational as the FSW for their DAG is in the Second Active Site and DAG 2 would maintain Quorum.</p>
<p><strong>Note</strong>: This would require twice the amount of servers since a DAG Member cannot be a part of more than one DAG.  As shown below, each visual representation below of a 2010 HUB/CAS/MBX is a separate server.</p>
<p>The Multi-DAG Model would look like this.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/Exc2k10Maj08.jpg" alt="" width="495" height="361" /></p>
<p>&nbsp;</p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2276&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F08%2F05%2Fexchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1%2F&amp;title=Exchange%202010%20Site%20Resilient%20DAGs%20and%20Majority%20Node%20Set%20Clustering%20%26%238211%3B%20Part%201" id="wpa2a_12"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/08/05/exchange-2010-site-resilient-dags-and-majority-node-set-clustering-part-1/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Lync 2010 &#8211; Deploy First Standard Edition Server Option?</title>
		<link>http://www.shudnow.net/2011/06/16/lync-2010-deploy-first-standard-edition-server-option/</link>
		<comments>http://www.shudnow.net/2011/06/16/lync-2010-deploy-first-standard-edition-server-option/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 14:08:33 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2211</guid>
		<description><![CDATA[General Information When you&#8217;re first installing Lync Server 2010, there&#8217;s some confusion out there as to why you would or wouldn&#8217;t choose the option, &#8220;Deploy First Standard Edition Server&#8221; option.  Every Lync 2010 Server in your deployment will hold a copy of your Lync Server 2010&#8242;s topology configuration called the Central Management Store (CMS).  These [...]]]></description>
			<content:encoded><![CDATA[<h3>General Information</h3>
<p>When you&#8217;re first installing Lync Server 2010, there&#8217;s some confusion out there as to why you would or wouldn&#8217;t choose the option, &#8220;Deploy First Standard Edition Server&#8221; option.  Every Lync 2010 Server in your deployment will hold a copy of your Lync Server 2010&#8242;s topology configuration called the Central Management Store (CMS).  These copies are located in a SQL 2008 Express instance called rtclocal on each Lync Server 2010 Server.  A very good post on the CMS can be read <a href="http://blogs.technet.com/b/jenstr/archive/2010/10/13/what-is-central-management-store-cms.aspx">here</a>.  The purpose of this article is not to explain what the CMS is, but how you go about utilizing the setup process of Lync to deploy the CMS if your first pool is a Standard Edition Server or an Enterprise Pool.</p>
<p>To help understand the difference, I wanted to preface the remainder of my post with a couple images that were taken from Jen&#8217;s excellent CMS post which I linked to in the above paragraph.</p>
<p>This first image shows how the CMS database is placed in the first Enterprise Edition Pool.  With this setup, we can see we have two Front End Servers (FE1 and FE2) which are collocated within the same Enterprise Pool.  Each of these servers have SQL 2008 Express which contain the rtclocal instance that contains a copy of the Master CS on the BE SQL Server which would be a SQL Standard or SQL Enterprise. A key thing to note here, is that the SQL BE Server has only one instance called rtc.  From a CMS standpoint, this rtc instance contains the master xds database.  The xds database is the cms database.  This rtc instance also holds your other Lync databases: cpsdyn, lis, rgsconfig, rgsdyn, rtc, rtcdyn, rtcab, rtcab1, and rtcdyn.</p>
<p><img class="alignnone" src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-41-metablogapi/0882.Figure2_5F00_thumb_5F00_3FE6E8CA.jpg" alt="" width="244" height="244" />al</p>
<p>This second image shows how the CMS database is placed in the first Standard Edition Server.  The key difference here, is we can see that on this first Standard Edition Server, we see two instances; rtclocal and rtc.  We can see, that because we do not have a dedicated BE server as we would in an Enterprise Edition Server, we collocate that dedicated rtc instance on the SE Server which will hold the same databases that the rtc instance would on the first Enterprise Edition Pool; the master xds database, cpsdyn, lis, rgsconfig, rgsdyn, rtc, rtcdyn, rtcab, rtcab1, and rtcdyn.  But this SE Server will also have the same rtclocal instance that Enterprise Edition FE Servers would have that would contain a copy of the xds instance.  Because of this, from a CMS standpoint, the first SE Server would contain two instances; one with the master xds and one with the replica xds.  Any subsequent Standard Edition Front End Servers (and any other Lync Server 2010 Server in the environment) would only have the rtclocal database holding a copy of the master xds as there can only be one Pool (Standard Edition Pool or Enterprise Edition Pool) that can hold the master CMS role.</p>
<p>It is possible, however, to move the CMS Master role to a new pool after  the fact in case you deployed a Standard Edition Front End first such as a Pilot and then later deploy Enterprise Edition Pools such as when determining the pilot is a success and going full production. A very good blog article that explains this process can be  read <a href="http://blogs.technet.com/b/nexthop/archive/2010/12/20/change-a-pool-database-instance-when-the-pool-hosts-the-central-management-server.aspx?CommentPosted=true">here</a>.</p>
<p><img class="alignnone" src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-41-metablogapi/6747.Figure3_5F00_1048CA3E.jpg" alt="" width="151" height="206" /></p>
<p>Let&#8217;s take a look at how we accomplish the setup if our first Front End will be a Standard Edition and how it differentiates with an Enterprise Edition Front End.</p>
<h3>Standard Edition Setup</h3>
<p>Now when running setup.exe for Lync Server 2010, one of the deployment options you can see is &#8220;Prepare first Standard Edition Server.&#8221;</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncCMS01.jpg" alt="" width="254" height="114" /></p>
<p>You will only want to run this option when you are deployment the first  Lync Server 2010 Standard Edition Server in your deployment and you don&#8217;t already have any Lync Server 2010 Enterprise Edition Front End Servers.</p>
<p>What the Prepare first Standard Edition server does is simple.  It creates the rtc instance if it does not exist already and it creates the xds master database within the rtc instance.  This creates a Service Connection Point (SCP) record in Active Directory that allows any future deployment options to know how to locate the CMS information.  Taken from Jen&#8217;s blog article, &#8220;The SCP is an object in Active Directory created under the path of the  following Distinguish Name (DN), CN=Topology Settings, CN=RTC  Service,DC=&lt;domain&gt;, of type msRTCSIP-GlobalTopologySetting. This  object contains the msRTCSIP-BackEndServer attribute, which specifies  the FQDN of the master and the instance name of the SQL Instance. All  tools use the SCP to locate and connect to the CMS master.&#8221;</p>
<p>If you ever wondered how the Topology Builder automatically knows how to find and download Topology Information, the Topology Builder queries this SCP record, uses the msRTCSIP-BackEndServer attribute, contacts the FQDN of the master, and downloads the topology information.</p>
<p>Now because the rtc instance has been created with the xds database, when you go to run the actual install, you will see &#8220;Install Local Configuration Store&#8221; which will install the rtclocal instance which contain a copy of the master xds database.  The regular databases will still be installed in the rtc instance.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/lyncprepareSTD01.jpg" alt="" width="517" height="184" /></p>
<h3>Enterprise Edition Setup (Read the Standard Edition section first to fully understand this section)</h3>
<p>Now when deploying the first pool in your Lync Server 2010 deployment happens to be an Enterprise Edition Pool, you won&#8217;t bother with the &#8220;Prepare first Standard Edition server&#8221; option. When taking a look at the first Standard Edition Front End, you can see we needed to create the rtc instance first with the master xds.  The same thing happens with the Enterprise Edition but in a different fashion.  Because this is an Enterprise Edition Pool, you will be using a SQL Standard or SQL Enterprise.  During the Topology Builder process, you need to define your SQL Server unlike a Standard Edition Deployment.  When publishing your Enterprise Edition Pool, at that time your rtc instance is being created on your SQL Server as well as the xds database.  Just like with the Standard Edition deployment, the SCP record in AD is getting created.</p>
<p>Now when running the Setup below and choosing &#8220;Install Local Configuration Store,&#8221; the Setup Process is creating the rtclocal instance (SQL  2008 Express) local to that Enterprise Edition Front End Server and then goes out to the master xds database that is on the SQL Standard or SQL Enterprise Server, and then creates a copy of that xds database on the Enterprise Edition Front End Server.</p>
<p><img src="http://www.shudnow.net/images/lyncprepareSTD01.jpg" alt="" width="517" height="184" /></p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2211&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F06%2F16%2Flync-2010-deploy-first-standard-edition-server-option%2F&amp;title=Lync%202010%20%26%238211%3B%20Deploy%20First%20Standard%20Edition%20Server%20Option%3F" id="wpa2a_14"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/06/16/lync-2010-deploy-first-standard-edition-server-option/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 UM to Exchange 2010 UM Partial Upgrades and Redirects</title>
		<link>http://www.shudnow.net/2011/06/12/exchange-2007-um-to-exchange-2010-um-partial-upgrades-and-redirects/</link>
		<comments>http://www.shudnow.net/2011/06/12/exchange-2007-um-to-exchange-2010-um-partial-upgrades-and-redirects/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 14:43:03 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2272</guid>
		<description><![CDATA[General Information There&#8217;s two ways to migrate to Exchange 2010 UM: Full Upgrade Partial Upgrade In a Full Upgrade scenario, you are doing a big bang migration for your Exchange 2007 UM users and moving them all to Exchange 2010 UM at the same time.  At the same time, you are replacing your Exchange 2007 [...]]]></description>
			<content:encoded><![CDATA[<h3>General Information</h3>
<p>There&#8217;s two ways to migrate to Exchange 2010 UM:</p>
<ul>
<li>Full Upgrade</li>
<li>Partial Upgrade</li>
</ul>
<p>In a Full Upgrade scenario, you are doing a big bang migration for your Exchange 2007 UM users and moving them all to Exchange 2010 UM at the same time.  At the same time, you are replacing your Exchange 2007 UM Servers within your UM Dial Plan with Exchange 2010 UM Servers.</p>
<p>In a Partial Upgrade, you are going to  have Exchange 2007 UM Servers and Exchange 2010 UM Servers coexist within the same Dial Plan.</p>
<p>It is important to note how the call flows work in a Partial Upgrade Path.  You can see this documented very well <a href="http://technet.microsoft.com/en-us/library/dd335126.aspx">here</a>. In order for the Partial Upgrade process to work, the documentation clearly states, &#8220;When  you install the first Exchange 2010 UM server and add it to an existing  Exchange 2007 organization, you must add the Exchange 2010 UM server to  an existing UM dial plan that contains Exchange 2007 UM servers. <strong>Then  you must configure each IP gateway or IP PBX to send all incoming calls  to the Exchange 2010 UM servers within the same UM dial plan.</strong>&#8221;</p>
<p>The key part to note is that you must configure each IP Gateway object that is in the Dial Plan to now send ONLY to Exchange 2010.  The problem with the article, is that it does state this clearly and does show example of call flows, but what isn&#8217;t really explained is what exactly is happening on the Back-End.  And that, is what I am here to explain.</p>
<p>The basic jist of it, is that Exchange 2010 will redirect the IP Gateway to Exchange 2007 where necessary.  But let&#8217;s say you have a PBX connected to a gateway which is connected to UM.  Exchange 2010 UM will always redirect the gateway for an Exchange 2007 user and the gateway will connect directly to Exchange 2007 UM.  The gateway never has to relay any information back to the PBX in this case so there are no considerations you have to make for the PBX here.  The only consideration you should make is to make sure that the gateway has been certified against Exchange 2010 UM before you decide to do your partial upgrade.  The certified gateway/IP-PBX for Exchange 2007 is <a href="http://technet.microsoft.com/en-us/library/cc411323%28EXCHG.80%29.aspx">here </a>and the certified list for Exchange 2010 is located <a href="http://technet.microsoft.com/en-us/library/ee681657.aspx">here</a>.</p>
<p>With that said, the redirects from Exchange 2010 to Exchange 2007 work a couple different ways depending on the circumstances.  Thanks to Chun from Microsoft for providing me with these details that were documented in great detail.</p>
<p>There are two broad categories on how the redirection happens:</p>
<ul>
<li>Before UM 2010 accepts the invite, it knows the call is for an UM 2007 user (e.g., diversion exists and UM can tell that the call is for a 2007 user). In this case, we simply use 302 redirect.</li>
<li>UM 2010 needs to accept the invite before it knows the call is for an UM 2007 user. E.g., someone calls into the subscriber access from a phone that we cannot resolve to a user. UM needs to answer the call first, and wait for the user to punch in the mailbox extension. In this case, UM will send a REFER to the gateway to cause the gateway to send a new INVITE to the same UM 2010 server. But in the REFER header, we stick in a couple of information which shows up in the new INVITE. The UM 2010 server sees this information, realizes it is for a 2007 user, and redirects the call to UM 2007.</li>
</ul>
<h3>Example</h3>
<p>Now let&#8217;s take a look at a real life migration example from a procedural standpoint.  Let&#8217;s start off with not having Exchange 2010 yet.  We have our IP-PBX which is sending data to an IP Gateway which is then sending data to Exchange 2007.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/UMMigration01.jpg" alt="" width="470" height="153" /></p>
<p>We then build our Exchange 2010 Server, install Exchange 2010 UM Role on it, and we then add it to our Dial Plan which will then consist of both Exchange 2007 and Exchange 2010 UM.  Keep in mind, when using OCS as the IP-PBX, you must be on at least OCS 2007 R2 CU5 and Exchange 2010 SP1 to be able to allow Exchange 2010 UM SP1 and Exchange 2007 to be in the same Dial Plan.  The reason for this is Exchange 2010 SP1 introduces capabilities that allow OCS 2007 R2 CU5+ and/or Lync to be able to do a user lookup, determine if they&#8217;re on Exchange 2010 or Exchange 2007 and route to the appropriate Exchange Version (2007 or 2010) regardless if they&#8217;re in the same Dial Plan.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/UMMigration02.jpg" alt="" width="459" height="259" /></p>
<p>As can be seen above, we now have Exchange 2010 and Exchange 2007 in the same Dial Plan.  We have also started routing all traffic to Exchange 2010.  If the call is for an Exchange 2007  User, Exchange 2010 will redirect the IP Gateway to start talking to Exchange 2007 to service those Exchange 2007 users.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2272&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F06%2F12%2Fexchange-2007-um-to-exchange-2010-um-partial-upgrades-and-redirects%2F&amp;title=Exchange%202007%20UM%20to%20Exchange%202010%20UM%20Partial%20Upgrades%20and%20Redirects" id="wpa2a_16"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/06/12/exchange-2007-um-to-exchange-2010-um-partial-upgrades-and-redirects/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Lync Server 2010 Monitoring Server Reports Read-Only Group</title>
		<link>http://www.shudnow.net/2011/05/06/lync-server-2010-monitoring-server-reports-read-only-group/</link>
		<comments>http://www.shudnow.net/2011/05/06/lync-server-2010-monitoring-server-reports-read-only-group/#comments</comments>
		<pubDate>Fri, 06 May 2011 16:07:14 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2262</guid>
		<description><![CDATA[During the installation of a Lync Server 2010 Monitoring Server, one of the provided steps is to deploy your Lync Server 2010 Monitoring Server Reports to a SQL Server Reporting Services URL.  Afterwards, you can specify a Read-Only Group that you want to grant read-only access to the Monitoring reports.  This Read-Only Group is an [...]]]></description>
			<content:encoded><![CDATA[<p>During the installation of a Lync Server 2010 Monitoring Server, one of the provided steps is to deploy your Lync Server 2010 Monitoring Server Reports to a SQL Server Reporting Services URL.  Afterwards, you can specify a<strong> Read-Only Group </strong>that you want to grant read-only access to the  Monitoring reports.  This Read-Only Group is an optional step if you are the only administrator who will have access to view these reports.</p>
<p>The problem is, what if down the road, you decide that you now have a team that you want to be able to view these reports.  The OCS 2007 R2 Monitoring Reports had an option to grant users access to view the reports.  The Lync Server 2010 Monitoring Reports no longer has this option.  The provided  Lync documentation does not provide you guidance other than, &#8220;You can also configure the read-only group directly in SQL Server Reporting  Services&#8221; which really isn&#8217;t much of a help.  Typically, your SQL guys can take care of this after the fact.  But, I was a bit curious (I&#8217;m not a SQL expert but I know my way around a bit) so I decided to figure this out on my own.</p>
<p>So let&#8217;s have a look, shall we?  Go ahead and open up Reporting Services Configuration Manager.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly01.jpg" alt="" width="268" height="300" /></p>
<p>The part we are interested in is the Report Manager URL.  The Web Services URL will show you the URL you specify in the Lync Installation Wizard when deploying your Monitoring Server Reports.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly02.jpg" alt="" width="216" height="387" /></p>
<p>When selecting Report Manager URL, you&#8217;ll see the URL on the right side of the screen.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly03.jpg" alt="" width="570" height="241" /></p>
<p>Go a head and click on that URL you see in the Figure above.  You&#8217;ll now see the following screen.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly04.jpg" alt="" width="511" height="136" /></p>
<p>Go ahead and click on LyncServerReports.  You&#8217;ll now see the following screen.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly05.jpg" alt="" width="934" height="164" /></p>
<p>Go ahead and click on Properties you see in the above Figure.  Just make sure you&#8217;re in the context of LyncServerReports.  You&#8217;ll now see the following screen.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly06.jpg" alt="" width="475" height="319" /></p>
<p>Click on Security which will provide you with the following screen.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly07.jpg" alt="" width="881" height="187" /></p>
<p>Now, before I add anything here, let&#8217;s make sure that I am refused Access when I try to login to the Monitoring Server Reports with a specific account.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly08.jpg" alt="" width="782" height="125" /></p>
<p>So now, let&#8217;s get back to SQL Reporting Services.  Go ahead and click on New Role Assignment.  Go ahead and Assign a Group Name and choose Browser. Keep in mind that this group will have be pre-created before SQL Reporting Services will accept the input.  Once done, choose Ok.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly09.jpg" alt="" width="680" height="440" /></p>
<p>You&#8217;ll now see the group has successfully been added.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly10.jpg" alt="" width="653" height="150" /></p>
<p>On my client that I previously tried to connect with but got Access Denied, I give it another shot and go to the following URL:</p>
<p>http://SQLServer/ReportServer_REPORTING?%2fLyncServerReports&#038;rs:Command=ListChildren</p>
<p>I get right in!  Success!</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncMonReadOnly11.jpg" alt="" width="727" height="488" /></p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2262&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F05%2F06%2Flync-server-2010-monitoring-server-reports-read-only-group%2F&amp;title=Lync%20Server%202010%20Monitoring%20Server%20Reports%20Read-Only%20Group" id="wpa2a_18"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/05/06/lync-server-2010-monitoring-server-reports-read-only-group/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Lync Server 2010 &#8211; Cannot Connect to Sharing Server</title>
		<link>http://www.shudnow.net/2011/05/05/lync-server-2010-cannot-connect-to-sharing-server/</link>
		<comments>http://www.shudnow.net/2011/05/05/lync-server-2010-cannot-connect-to-sharing-server/#comments</comments>
		<pubDate>Thu, 05 May 2011 14:05:11 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Lync 2010]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=2256</guid>
		<description><![CDATA[The Issue and the Troubleshooting that Ensued I recently encountered the following issue when a remote user were to try to upload a PowerPoint Presentation while internal users had no problems. Immediately, I thought that this was an issue with the reverse proxy.  For those that don&#8217;t know what the role of a reverse proxy [...]]]></description>
			<content:encoded><![CDATA[<h3>The Issue and the Troubleshooting that Ensued</h3>
<p>I recently encountered the following issue when a remote user were to try to upload a PowerPoint Presentation while internal users had no problems.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncWebSharing01.jpg" alt="" width="654" height="398" /></p>
<p>Immediately, I thought that this was an issue with the reverse proxy.  For those that don&#8217;t know what the role of a reverse proxy server is in Lync Server 2010, the Reverse Proxy handles the following traffic for remote users:</p>
<ul>
<li><span style="color: #ff0000;">Enabling external users to download meeting content for your  meetings.</span></li>
<li>Enabling external users to expand distribution groups.</li>
<li>Enabling remote users to download files from the Address Book  service.</li>
<li>Accessing the Microsoft Lync Web App client.</li>
<li>Accessing the Dial-in Conferencing Settings webpage.</li>
<li>Accessing the Location Information Service.</li>
<li>Enabling external devices to connect to Device Update web service and obtain  updates.</li>
</ul>
<p>As we can see in red above, the Reverse Proxy is used for meeting content externally.  I did two things to troubleshoot whether it was the client hitting the reverse proxy and having it not function correctly.  The first thing was that I loaded up Network Monitor on my client.  What I saw is, when I would add a new distribution list to my contact list which is a function of the reverse proxy, I properly saw in the trace the client make a request out to the public IP of our Reverse Proxy Server.  Because of this, I knew the Reverse Proxy was functioning just fine, especially since I could also access our Simple URLs (dialin.domain.com and meet.domain.com from the outside).  But when I tried uploading a PowerPoint Presentation in an Online Meeting, I never saw a call go out to the Reverse Proxy.</p>
<p>So I went onto our Reverse Proxy Server which is Microsoft Forefront Threat Management Gateway (TMG).  I wanted to see anything that came into it with my Client IP Address.  I went to the Logs &amp; Reports and modified the filter</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncWebSharing02.jpg" alt="" width="702" height="619" /></p>
<p>Once at the bottom of the dialog, choose Filter By IP and set the Value to your Public IP Address.  You can easily obtain your Public IP on your client machine by going to <a href="http://www.whatismyip.com" target="_blank">www.whatismyip.com</a>.  Once done, choose Update.  Your filter will now look as such:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncWebSharing03.jpg" alt="" width="485" height="140" /></p>
<p>Once ready to start logging, choose the Start Query Option.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/LyncWebSharing04.jpg" alt="" width="485" height="432" /></p>
<p>When I started the Query, I saw absolutely no traffic for Web Conferencing PowerPoint Presentations at all. This verified the client was really not even getting to the point of trying to communicate with the Reverse Proxy, especially since the Network Monitor logs didn&#8217;t even see the request try to go out.</p>
<p>At this point, I was at a bit of a loss and went back to basic troubleshooting more and sometimes, we often overlook the basics. I tried the other Web Conferencing functionality on the client.  What I noticed is, I got the same exact errors even when trying to utilize polling or whiteboarding.  Bingo.  It&#8217;s a Web Conferencing Edge problem, not something with the client to the Reverse Proxy.</p>
<p>I looked at our Web Conferencing Edge and noticed two errors (neither of which you will find any information online about them&#8230; I guess I am the lucky one):</p>
<p><strong>First Event Log Entry</strong> (more common)</p>
<p><em>Log Name:      Lync Server</em><br />
<em>Source:        LS Web Conferencing Edge Server</em><br />
<em>Date:          5/4/2011 5:42:28 PM</em><br />
<em>Event ID:      41990</em><br />
<em>Task Category: (1023)</em><br />
<em>Level:         Error</em><br />
<em>Keywords:      Classic</em><br />
<em>User:          N/A</em><br />
<em>Computer:      lyncedge.domain.com</em><br />
<em>Description:</em><br />
<em>Failed to verify client cookie</em></p>
<p><em>Over the past 44 minutes Lync Server has failed to validate cookie presented by the clients 5 time(s). The last such client which failed validation was &#8220;22.33.44.55:50307&#8243;.</em><br />
<em>Cause: This can occur if the Web Conferencing Server and Web Conferencing Edge Server machine time(s) are out of sync. This can also be the result of a client attempting to connect to Web Conferencing Server without having the appropriate permissions.</em><br />
<em>Resolution:</em><br />
<em>Check to make sure that the Web Conferencing Server and Web Conferencing Edge Server machines and verify that the connection came from a trustworthy client. This could indicate an attack being by a rogue client.</em><br />
<em>Event Xml:</em><br />
<em>&lt;Event xmlns=&#8221;http://schemas.microsoft.com/win/2004/08/events/event&#8221;&gt;</em><br />
<em> &lt;System&gt;</em><br />
<em> &lt;Provider Name=&#8221;LS Web Conferencing Edge Server&#8221; /&gt;</em><br />
<em> &lt;EventID Qualifiers=&#8221;50175&#8243;&gt;41990&lt;/EventID&gt;</em><br />
<em> &lt;Level&gt;2&lt;/Level&gt;</em><br />
<em> &lt;Task&gt;1023&lt;/Task&gt;</em><br />
<em> &lt;Keywords&gt;0&#215;80000000000000&lt;/Keywords&gt;</em><br />
<em> &lt;TimeCreated SystemTime=&#8221;2011-05-04T22:42:28.000000000Z&#8221; /&gt;</em><br />
<em> &lt;EventRecordID&gt;20548&lt;/EventRecordID&gt;</em><br />
<em> &lt;Channel&gt;Lync Server&lt;/Channel&gt;</em><br />
<em> &lt;Computer&gt;lyncedge.domain.com&lt;/Computer&gt;</em><br />
<em> &lt;Security /&gt;</em><br />
<em> &lt;/System&gt;</em><br />
<em> &lt;EventData&gt;</em><br />
<em> &lt;Data&gt;44&lt;/Data&gt;</em><br />
<em> &lt;Data&gt;5&lt;/Data&gt;</em><br />
<em> &lt;Data&gt;22.33.44.55:50307&lt;/Data&gt;</em><br />
<em> &lt;/EventData&gt;</em><br />
<em>&lt;/Event&gt;</em></p>
<p><strong>Second Event Log Entry</strong></p>
<p>Log Name:      Lync Server<br />
Source:        LS Web Conferencing Edge Server<br />
Date:          5/4/2011 5:11:03 PM<br />
Event ID:      41993<br />
Task Category: (1023)<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Computer:      lyncedge.domain.com<br />
Description:<br />
Failed to process data received from the client</p>
<p>Over the past 599 minutes Lync Server has disconnected clients 1 time(s) as a result of invalid data being received on client connections. The last such client which was disconnected is &#8220;22.33.44.55:46361&#8243;.<br />
Cause: Failed to process data received from the client<br />
Resolution:<br />
Check and make sure that the connection came from a trustworthy client.<br />
Event Xml:<br />
&lt;Event xmlns=&#8221;http://schemas.microsoft.com/win/2004/08/events/event&#8221;&gt;<br />
&lt;System&gt;<br />
&lt;Provider Name=&#8221;LS Web Conferencing Edge Server&#8221; /&gt;<br />
&lt;EventID Qualifiers=&#8221;50175&#8243;&gt;41993&lt;/EventID&gt;<br />
&lt;Level&gt;2&lt;/Level&gt;<br />
&lt;Task&gt;1023&lt;/Task&gt;<br />
&lt;Keywords&gt;0&#215;80000000000000&lt;/Keywords&gt;<br />
&lt;TimeCreated SystemTime=&#8221;2011-05-04T22:11:03.000000000Z&#8221; /&gt;<br />
&lt;EventRecordID&gt;20543&lt;/EventRecordID&gt;<br />
&lt;Channel&gt;Lync Server&lt;/Channel&gt;<br />
&lt;Computer&gt;lyncedge.domain.com&lt;/Computer&gt;<br />
&lt;Security /&gt;<br />
&lt;/System&gt;<br />
&lt;EventData&gt;<br />
&lt;Data&gt;599&lt;/Data&gt;<br />
&lt;Data&gt;1&lt;/Data&gt;<br />
&lt;Data&gt;22.33.44.55:46361&lt;/Data&gt;<br />
&lt;/EventData&gt;<br />
&lt;/Event&gt;</p>
<h3>The Fix</h3>
<p>Simple. I tried restarting the Web Conferencing Edge Service but had the same issue.  I then restarted the Web Conferencing Service on the Front End.  The issue was resolved.  It&#8217;s apparently an issue where the Web Conferencing Edge Service had problems talking to the Web Conferencing Service on the Front End for client persistence and the services just needed to be restarted.</p>
<img src="http://www.shudnow.net/?ak_action=api_record_view&id=2256&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.shudnow.net%2F2011%2F05%2F05%2Flync-server-2010-cannot-connect-to-sharing-server%2F&amp;title=Lync%20Server%202010%20%26%238211%3B%20Cannot%20Connect%20to%20Sharing%20Server" id="wpa2a_20"><img src="http://www.shudnow.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2011/05/05/lync-server-2010-cannot-connect-to-sharing-server/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

