配置服务质量 (QoS) 的端口范围
上一次修改主题: 2012-08-31
选择了各个通信类型的端口范围后,您就可以在运行 Microsoft Lync Server 2010 的各个受影响的服务器上配置这些端口范围了。
配置服务器端口范围
以 Administrators 组成员的身份登录到服务器。
启动 Lync Server 命令行管理程序:依次单击“开始”、“所有程序”和“Microsoft Lync Server 2010”,然后单击“Lync Server 命令行管理程序”。
获取当前的端口范围:在 Lync Server 命令行管理程序 中,根据需要键入以下命令之一,然后按 Enter:
对于前端服务器或独立 A/V 会议服务器:
Get-CsService -ConferencingServer
对于中介服务器:
Get-CsService -MediationServer
该cmdlet 返回有关指定的服务器类型的信息,包括服务器的 Identity。将该 Identity 的值用作下面步骤中 Identity 参数的值。
按需更改端口范围设置:在命令提示符处,相应地键入以下命令(仅包含要更改的参数),然后按 Enter:
对于在前端服务器上并置的会议服务器或独立 A/V 会议服务器:
Set-CsConferenceServer -Identity <ConferencingServer:poolFQDN> -AudioPortStart <beginning of port range, 1024 or higher> -AudioPortCount <number of ports, at least 128> -VideoPortStart <beginning of port range, 1024 or higher > -VideoPortCount <number of ports, at least 128> -AppSharingPortStart <beginning of port range> -AppSharingPortCount <number of ports, at least 4>
对于中介服务器:
Set-CsMediationServer -Identity <MediationServer:poolFQDN> -AudioPortStart <beginning of port range> -AudioPortCount <number of ports>
对于应用程序服务器:
Set-CsApplicationServer -Identity <ApplicationServer:poolFQDN> -AudioPortStart <beginning of port range> -AudioPortCount <number of ports> -AppSharingPortStart <beginning of port range> -AppSharingPortCount <number of ports> -VideoPortStart <beginning of port range> -VideoPortCount <number of ports>
若要立即更新这些设置,请停止受影响的服务,然后重新启动它们。
在边缘服务器上编辑这些端口范围
以 Administrators 组成员的身份登录到发布 Lync Server 拓扑的服务器。
启动 Lync Server 命令行管理程序:依次单击“开始”、“所有程序”和“Microsoft Lync Server 2010”,然后单击“Lync Server 命令行管理程序”。
按需更改端口范围设置:在命令提示符处,键入以下命令,然后按 Enter:
Set-CsEdgeServer -Identity: <FQDN of Edge Server> -MediaCommunicationPortStart <beginning of port range, default 50000> -MediaCommunicationPortCount <number of ports, default 10000>
若要立即更新这些设置,请停止受影响的服务,然后重新启动它们。
重要提示: 边缘端口配置设置不可直接用于 QoS,但可应用于边缘服务器外部边缘的端口。