• Home
  • My Tools
  • Visio Stencils
  • Online Tools
  • PS Scripts
  • PS One Liners
  • Downloads
  • Product Review
  • About

Smarter Together

~ by I.M.H.O.

Smarter Together

Category Archives: Quick Reference Guide

Lync DNS Records overview

21 Thursday Mar 2013

Posted by Paul Bloem in DNS, Lync DNS Records overview, Quick Reference Guide

≈ Leave a comment

DNS Records in a Lync world (and their usage)
Automatic Sign-in Records (used by the Lync or Communicator client to locate a Lync or OCS server to sign-in)
  1.  _sipinternaltls._tcp.
  2.  _sipinternal._tcp.
  3.  _sip._tls.
  4.  _sip._tcp.
  5. sipinternal.
  6. sip.
  7. sipexternal.
Office 365 Sign-In Records (used by the Lync or Communicator client to locate the Lync Online server to sign-in)
  
  1. sip.
  2. _sip._tls.
  Lync Devices Records (used by Lync devices to locate a home registrar)
  1.   sipinternaltls._tcp.
  2.  _sipexternal._tls.
  3.  _sipexternaltls.
  4.  ucupdates-r2.
  5.  _ntp._udp.
 Lync Simple URL Records (used by Lync if DNS is the chosen simple URL configuration)
  1.  meet.example.com
  2.  dialin.example.com
  3.  admin.example.com
Federation (used by partners to automatically discover your Edge)
_sipfederationtls._tcp.
  Lync Mobility Auto-discovery Records (used by Lync mobile clients to auto-discover the Lync mobility service)
  1. Lyncdiscover.
  2. Lyncdiscoverinternal.
XMPP Auto-discovery Records
_xmpp-server._tcp..
Advertisement

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

RGS – Hours of Business & Holiday sets

20 Tuesday Nov 2012

Posted by Paul Bloem in Holiday Lists, Powershell Scripts, Preset Schedule, Quick Reference Guide, Response Groups, RGS, Workflows

≈ 1 Comment

Response Groups – Creating Workflows


Both the option to add a preset hour schedule and holiday sets are greyed out until they are added from Lync Server Management Shell.

This is done as follows:


Defining Business hours as a Preset Schedule

*/Service Desk$a = New-csRgsTimeRange -Name “Service Desk Business Hours” -OpenTime “7:45” -CloseTime “17:00”

New-CsRgsHoursOfBusiness -Parent “ApplicationServer:” -Name “Service Desk Business Hours” -MondayHours1 $a -TuesdayHours1 $a -WednesdayHours1 $a -ThursdayHours1 $a -FridayHours1 $a

*/Lexel Business hours


$b = New-csRgsTimeRange -Name “Lexel Business Hours” -OpenTime “8:29” -CloseTime “17:05”


New-CsRgsHoursOfBusiness -Parent “ApplicationServer:” -Name “Lexel Business Hours” -MondayHours1 $b -TuesdayHours1 $b -WednesdayHours1 $b -ThursdayHours1 $b -FridayHours1 $b


Defining Standard Holiday Lists

$a = New-CsRgsHoliday -Name “New Year’s Day” -StartDate “1/1/2013 12:00AM” -EndDate “2/1/2013 12:00AM”
$b = New-CsRgsHoliday -Name “Day after New Year” -StartDate “2/1/2013 12:00AM” -EndDate “3/1/2013 12:00AM”
$c = New-CsRgsHoliday -Name “Auckland Anniversary” -StartDate “28/1/2013 12:00AM” -EndDate “29/1/2013 12:00AM”
$d = New-CsRgsHoliday -Name “Waitangi Day” -StartDate “6/2/2013 12:00AM” -EndDate “7/2/2013 12:00AM”
$e = New-CsRgsHoliday -Name “Good Friday” -StartDate “29/3/2013 12:00AM” -EndDate “30/3/2013 12:00AM”
$f = New-CsRgsHoliday -Name “Easter Monday” -StartDate “1/4/2013 12:00AM” -EndDate “2/4/2013 12:00AM”
$g = New-CsRgsHoliday -Name “Anzac Day” -StartDate “25/4/2013 12:00AM” -EndDate “26/4/2013 12:00AM”
$h = New-CsRgsHoliday -Name “Queens Birthday” -StartDate “3/6/2013 12:00AM” -EndDate “4/6/2013 12:00AM”
$i = New-CsRgsHoliday -Name “Labour Day” -StartDate “28/10/2013 12:00AM” -EndDate “29/10/2013 12:00AM”
$j = New-CsRgsHoliday -Name “Xmas Day” -StartDate “25/12/2013 12:00AM” -EndDate “26/12/2013 12:00AM”
$k = New-CsRgsHoliday -Name “Boxing Day” -StartDate “26/12/2013 12:00AM” -EndDate “27/12/2013 12:00AM”

New-CsRgsHolidaySet -Parent “ApplicationServer:lxlls2013fe.lexel.local” -Name “2013 Holidays” -HolidayList($a,$b,$c,$d,$e,$f,$g,$H,$i,$j,$k)

Thanks to Jamie Schwinn at WaveFormatin for a really cool tool called “Lync Holiday Set Editor” managing holidays has become alot less painful. Beers on me Jamie! Look me up if you ever in NZ 🙂

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

Lync QoS – Compact install Guide

08 Thursday Nov 2012

Posted by Paul Bloem in DSCP, QOS, Quality of Service, Quick Reference Guide

≈ Leave a comment

Extracted from http://www.microsoft.com/en-us/download/details.aspx?id=12633


Lync QoS – Compact install Guide

DSCP is usually set for audio, video and app sharing. You could enable it for peer to peer file transfers as well. A combination of EF and AF classes is used by Lync in what is now simply called DSCP
EF class 46 is universal voice DSCP marker (the highest class) and AF class 34 is used for video. Since I want to keep things really simple I will enforce EF class 46 to the application and then specify the port range 49152 – 57500 for Audio. Video will get AF Class 34 using port 57501 – 65535.

To avoid further confusion, AF 46 and EF 36 will simply be refered to as DSCP 46 and DSCP 34.
Let’s get started then…

Setting up Server QoS

By default the App sharing range overlaps both Audio and Video. If QoS is to be enabled on all three types of communication the port overlapping in not allowed. So I split the Video port range into 2 equal parts as below

Communication Type
Default Port Range
New Port Range
Audio
49152-57500
49152-57500
Video
57501-65535
57501-61518
Application Sharing
49152-65535
61519-65535
To show the configured ranges run the command Get-CsService -ConferencingServer


To change the ports as in the table run the following commands:- 


Server
Powershell command
Conferencing Server
Set-CsConferenceServer –Identity: -AudioPortStart 49152 –AudioPortCount 8348 -VideoPortStart 57501 -VideoPortCount 4017 -AppSharingPortStart 61519 -AppSharingPortCount 4016
                              
Mediation Server
Set-CsMediationServer –Identity:  -AudioPortStart 49152 –AudioPortCount 8348
Application Server
Set-CsApplicationServer  –Identity:   -AudioPortStart 49152 –AudioPortCount 8348 -VideoPortStart 57501 -VideoPortCount 4017 -AppSharingPortStart 61519 -AppSharingPortCount 4016

Result below


Now to add the QOS Policies –from Group Policy Management

Policy
DSCP
Executable
Source IP
Protocol
Destination Port Range
Lync Audio Conferencing QoS
46


TCP and UDP
49152:57500
Lync Video Conferencing QoS
34


TCP and UDP
57501:61518
Lync Application Sharing QoS
34


TCP and UDP
61519:65535


On this page we can select the application to add the DSCP markings to, however I have opted to attach the DSCP marking on traffic based on the ports used as a simpler approach.

Now repeat this for all the communication types as below

For the Edge server you will have to do Policy local as it’s not on the domain. You need the following policies
Policy
DSCP
Executable
Source IP
Protocol
Destination Port Range
Lync Edge Peer to Peer Audio
46
MediaRelaySvc.exe
–
TCP and UDP
20000:20039
Lync Edge Peer to Peer Video
34
MediaRelaySvc.exe
Edge internal IP
TCP and UDP
20040:20079
Lync Edge Conferencing Audio
46
MediaRelaySvc.exe
Edge internal IP
TCP and UDP
49152:57500
Lync Edge Conferencing Video
34
MediaRelaySvc.exe
Edge internal IP
TCP and UDP
57501:61518
Lync Edge Application Sharing
34


TCP and UDP
61519:65535

Configuring Port Ranges on Lync Clients

Firstly the port ranges can be viewed from the command Get-CsConferencingConfiguration
These are not enabled by default (ClientMediaPortRangeEnabled = False) and thus the ranges being used by default are from 1024 – 65535

Once again the communication type is determined based on the port range specified as will be seen later. Also keep in mind that you don’t want these ports overlapping. Client Media ports are used by OCS R2 (as they can’t determine different traffic types) and Lync uses the Audio, Video, App sharing and File transfer Ports. File transfer is only specified in Peer-to-Peer traffic.
So lets lock down the ports with the following commands
Set-CsConferencingConfiguration –ClientMediaPortRangeEnabled 1
Set-CsConferencingConfiguration -ClientAudioPort 20000 -ClientAudioPortRange 40 -ClientVideoPort 20040 -ClientVideoPortRange 40 -ClientAppSharingPort 20080 -ClientAppSharingPortRange 40 -ClientFileTransferPort 20120 -ClientFileTransferPortRange 40 -ClientMediaPort 20160 -ClientMediaPortRange 40
The result


Add the GPO policies for the Client QoS

Policy
DSCP
Executable
Source IP
Protocol
Destination Port Range
Lync Client Audio QoS
46
Communicator.exe

TCP and UDP
20000:20039
Lync Client Video QoS
34
Communicator.exe

TCP and UDP
20040:20079
Lync Client Application Sharing QoS
34
Communicator.exe

TCP and UDP
20080:20119
Lync Client File Transfer QoS
34
Communicator.exe

TCP and UDP
20120:20160

Windows XP

You can’t run policy-based QOS on XP (or Windows Server 2003). For QOS on these clients you need to run QOS Packet Scheduler on the client computer and a Domain policy must allow the computer to use QOS Services.
To install QoS Packet Scheduler on Client
  1. Open Network Connections.
  2. Click any connection, and then, on the File menu, click Properties.
  3. Click Install, click Service, and then click Add.
  4. Click QoS Packet Scheduler, and then click OK
To enable QoS on Windows Server 2003 or Windows XP from Lync Server
  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
  2. At a command prompt, type the following command, and then press Enter:
 Set-CsMediaConfiguration -EnableQoS $true
  1. Use Group Policy to set Differentiated Services Code Point (DSCP) values that mark the IP packets if you need values other than the defaults to match your environment for Guaranteed service type packets (used for audio) and Controlled load service type packets (used for video). By default, the following settings are applied when you enable QoS:
SERVICETYPE_GUARANTEED (DSCP 40, 0x28)
SERVICETYPE_CONTROLLEDLOAD (DSCP 24, 0x18)
  1. The client must be stopped and restarted for the change to take effect.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...
← Older posts
Newer posts →

IMHO YouTube Channel

Follow Smarter Together on WordPress.com

Enter your email address to subscribe and receive notifications of new posts.

Join 674 other subscribers

Show your appreciation by donating

Archives

Category

ABS ABServer ADContacts Address Book AddressBook AddressBook Service Communicator contacts CX500 Devices DHCP DNS Edge Server Error Codes event id Exchange UM 2010 GAL Install Guide Lync 2013 Tools Lync Edge Lync Tools Microsoft Teams Monitoring Polycom Powershell Scripts Product Review QOS Quick Reference Guide Reskit RGS RTC Database SIP SIP Options Skype for Business Skype for Business Monitoring Skype for Business Tools SQL Teams TMG Tool Tools Troubleshoot Edge UC Sorted Tools UM Uncategorized Unified Messaging visio Visio Stencil voicemail

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Smarter Together
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Smarter Together
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: