在 Lync Server 2013 中變更 Web 服務 URLChange the Web Services URL in Lync Server 2013

 

主題上次修改日期: 2015-11-16Topic Last Modified: 2015-11-16

當您設定前端集區和 Standard Edition Server 時,可以選擇設定外部 Web 伺服器陣列完整網域名稱 (FQDN) 和相關聯的連接埠。When you set up your Front End pools and Standard Edition servers, you have the option to configure an external Web farm fully qualified domain name (FQDN) and associated ports. 如果您在執行 Lync Server 部署嚮導時未設定此 URL,則需要手動設定這些設定。If you did not configure this URL when you ran the Lync Server Deployment Wizard, you need to manually configure these settings. 系統管理員通常不需要修改這些設定,因為這些是建議值和預設連接埠。An administrator typically does not need to modify these settings, as these are the recommended and default ports.

注意

設定 Standard Edition server 時採用下列螢幕擷取畫面,因此會停用覆寫 FQDN 選項。The following screen shot was taken while configuring a Standard Edition server, so the Override FQDN option is disabled. 設定前端集區中的 Enterprise Edition 伺服器時,會啟用該選項。That option is enabled when configuring an Enterprise Edition server in a Front End pool.

編輯 Web 服務集區設定Edit Web Services Pool Settings

設定 web 服務To configure web services

  1. 以 Domain Admins 群組與 RTCUniversalServerAdmins 群組成員的身分,登入安裝了拓撲產生器的電腦。Log on to the computer where Topology Builder is installed as a member of the Domain Admins group and the RTCUniversalServerAdmins group.

  2. 啟動拓撲產生器:依序按一下 [ 開始]、[ 所有程式]、[ Microsoft Lync server 2013],然後按一下 [ Lync server 拓撲產生器]。Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Topology Builder.

  3. 在 [拓撲產生器] 的 [ Standard Edition 前端伺服器]、[ Enterprise Edition 前端集區] 和 [ 目錄集區] 下的主控台樹中,選取集區名稱。In Topology Builder, in the console tree under Standard Edition Front End Servers, Enterprise Edition Front End pools, and Directory pools, select the pool name. 用滑鼠右鍵按一下名稱,然後依序按一下 [編輯內容][Web 服務]Right-click the name, click Edit Properties, and then click Web Services.

  4. 新增或編輯 [外部 Web 服務 FQDN],然後按一下 [確定]Add or edit the External Web Services FQDN, and then click OK.

    警告

    如果您有一個以上的前端集區或前端伺服器,則外部 Web 服務 FQDN 必須是唯一的。If you have more than one Front End pool or Front End Server the external Web services FQDN must be unique. 例如,如果您將前端伺服器的外部 Web 服務 FQDN 定義為 pool01.contoso.com,則無法將 pool01.contoso.com 用於另一個前端集區或前端伺服器。For example, if you define the external Web services FQDN of a Front End Server as pool01.contoso.com, you cannot use pool01.contoso.com for another Front End pool or Front End Server. 如果您也要部署 Director,則為任何 Director 或 Director 集區定義的外部 Web 服務 FQDN,都必須與任何其他 Director 或 Director 集區以及任何前端集區或前端伺服器都是唯一的。If you are also deploying Directors, the external Web services FQDN defined for any Director or Director pool must be unique from any other Director or Director pool as well as any Front End pool or Front End Server.

  5. 確認環境中已正確設定聆聽和發行的連接埠。Verify the listening and published ports are configured correctly for your environment.

  6. 針對環境中的所有 Standard Edition Server、前端集區和 Director 集區,重複執行這些步驟。Repeat these steps for all Standard Edition servers, Front End Pools, and Director pools in your environment.

  7. 在主控台樹狀目錄中,按一下 [Lync Server 2013],然後在 [動作] 窗格中,按一下 [發行拓撲]In the console tree, click Lync Server 2013, and then, in the Actions pane, click Publish Topology.

設定聆聽和發行連接埠時,有一些需求應注意:There are a few requirements you should be aware of when configuring the Listening and Publishing ports:

  • 顯示的聆聽連接埠是每部前端伺服器上的 Internet Information Server (IIS) 所設定的連接埠。The listening ports shown are the ports that are configured for Internet Information Server (IIS) on each Front End Server.

  • IIS 的內部和外部聆聽連接埠必須不同。以外部聆聽連接埠而言,這些通常相同,因為一個代表內部 Web 流量的硬體負載平衡器,另一個代表外部 Web 流量的反向 Proxy 伺服器。The internal and external listening ports must be different for IIS. For the external listening ports, these are typically the same because one represents the hardware load balancer for internal web traffic and one represents the reverse proxy server for external web traffic.

  • 您可以覆寫前端集區、Director 或 Director 集區上的內部 web 服務,並定義您自己的 FQDN。You can override the Internal web services on a Front End pool, Director or a Director pool and define your own FQDN.

    警告

    如果您決定使用自行定義的 FQDN 來覆寫內部 web 服務,則每個 FQDN 必須與其他任何前端集區、Director 或 Director 集區是唯一的。If you decide to override the Internal web services with a self-defined FQDN, each FQDN must be unique from any other Front End pool, Director or a Director pool.

  • 在反向 Proxy 或硬體負載平衡器上,必須設定發行的連接埠作為聆聽連接埠。The published ports must be configured on the reverse proxy or hardware load balancer as listening ports.

  • 以前端集區而言 (範例中未顯示),內部 SIP 集區 FQDN 與內部 Web 服務 FQDN 必須不同,因為 Web 流量是經過硬體負載平衡器而來,而內部 SIP 流量則是經過 DNS 負載平衡器而來。必須符合此需求。For an Front End pool (not shown in the example), the internal SIP pool FQDN must be different from the internal web services FQDN, because web traffic comes through the hardware load balancer and the internal SIP pool traffic travels comes through the DNS load balancer. This requirement must be met.

  • Lync Server Standard Edition 部署不需要,也不允許覆蓋內部 web 服務 FQDN,因為這種伺服器無法進行負載平衡。A Lync Server Standard Edition deployment does not need or allow an internal web services FQDN to be overridden because this server cannot be load balanced.

  • [!注意] 如果您的環境中有硬體負載平衡器,供內部 SIP 和網頁流量使用,則拓撲產生器無法進行區別。If you have a hardware load balancer in your environment that you use for both internal SIP and web traffic, the Topology Builder cannot make the distinction.

    Web 服務 Fqdn 應該易於彼此區別;這可協助確保 URL 重新導向會向適當的伺服器取得用戶端。Web service FQDNs should be easily-differentiated from one another; that helps to ensure that URL redirection points clients towards the appropriate server. 例如,如果您有兩個 Fqdn,您可以考慮命名一個 meeting.contoso.com 及另一個 conferencing.contoso.com。For example, if you have two FQDNs you might consider naming one meeting.contoso.com and the other conferencing.contoso.com. 如果您有 Fqdn 具有更類似的名稱,例如 meet1.contoso.com 和 meet2.contoso.com,您可能會執行重新導向的問題。You could potentially run into redirection issues if you have FQDNs with more similar names, such as meet1.contoso.com and meet2.contoso.com.

外部 Web 服務會搭配周邊網路中的反向 Proxy 一起運作。The external web services works in conjunction with a reverse proxy in the perimeter network. 它會使用這些 web 服務,提供用戶端的外部存取權。It provides clients external access to by using these web services. 此處設定的 FQDN 會在用戶端登入時傳送給用戶端,並在進行遠端連線時用來建立連回反向 Proxy 的 HTTPS 連線。The FQDNs configured here are sent to clients when they log on, and are used to make an HTTPS connection back to the reverse proxy when connecting remotely. 反向 Proxy 伺服器會將外部 Web 服務 FQDN 轉到內部硬體負載平衡器,或直接轉到集區。The reverse-proxy server forwards the external web service FQDN to an internal hardware load balancer, or directly to the pool. 反向 Proxy 必須能夠將外部 Web 服務 FQDN 解析為內部 Web 伺服器的 IP 位址。The reverse proxy must be able to resolve the external web services FQDN to the IP address of the internal Web server. 外部 Web 服務 FDQN 必須可在公用網際網路中受到解析。The external web services FDQN must be resolvable in the public Internet.

如果您的內部伺服器為 Standard Edition server,則內部 FQDN 為 Standard Edition server FQDN。If your internal server is a Standard Edition server, the internal FQDN is the Standard Edition server FQDN. 如果內部伺服器是前端集區,則 FQDN 是會對內部 Web 伺服陣列伺服器進行負載平衡的硬體負載平衡器虛擬 IP (VIP)。If your internal server is a Front End pool, the FQDN is a hardware load balancer virtual IP (VIP) that load balances the internal web farm servers. 在具有多部 Enterprise Edition Server 的前端集區中,需要硬體負載平衡器。A hardware load balancer is required in a Front End pool with more than one Enterprise Edition server. Standard Edition Server 或單一 Enterprise Edition 前端伺服器則不需要負載平衡器。A load balancer is not required for a Standard Edition server or a single Enterprise Edition Front End Server.