在 Lync Server 2013 中安装和配置观察程序节点Installing and configuring watcher nodes in Lync Server 2013

 

上次修改的主题: 2013-11-07Topic Last Modified: 2013-11-07

观察程序节点 是定期运行 Lync Server 合成事务的计算机。Watcher nodes are computers that periodically run Lync Server synthetic transactions. 综合事务 是一种 Windows PowerShell cmdlet,用于验证关键最终用户方案(如登录系统的能力或 exchange 即时消息的功能)是否按预期方式工作。Synthetic transactions are Windows PowerShell cmdlets that verify that key end user scenarios—such as the ability to sign in to the system, or the ability to exchange instant messages—are working as expected. 对于 Lync Server 2013,System Center Operations Manager 可以运行下表中所示的综合事务。For Lync Server 2013, System Center Operations Manager can run the synthetic transactions shown in the following table. 下表中显示了三种不同的综合事务类型:There are three different synthetic transaction types shown in the table:

  • 默认值Default. 这些是默认情况下观察程序节点将运行的综合事务。These are the synthetic transactions that a watcher node will run by default. 创建新的观察程序节点时,您将具有指定此节点将运行的综合事务的选项。When you create a new watcher node, you have the option of specifying which synthetic transactions that node will run. (new-cswatchernodeconfiguration cmdlet 使用的测试参数的用途。 ) 如果在创建观察程序节点时不使用测试参数,它将自动运行所有默认的综合事务,并且不会运行任何非默认的综合事务。(That's the purpose of the Tests parameter used by the New-CsWatcherNodeConfiguration cmdlet.) If you do not use the Tests parameter when the watcher node is created, it will automatically run all the Default synthetic transactions and will not run any of the Non-default synthetic transactions. 这意味着,例如,观察程序节点将配置为运行 Test-CsAddressBookService 测试,但不会配置为运行 Test-CsExumConnectivity 测试。That means, for example, that the watcher node will be configured to run the Test-CsAddressBookService test, but will not be configured to run the Test-CsExumConnectivity test.

  • 非默认值Non-default. 顾名思义,非默认综合事务是默认情况下观察程序节点不会运行的测试。As the name implies, Non-default synthetic transactions are tests that watcher nodes do not run by default. 但是,可启用观察程序节点运行任何非默认综合事务。However, the watcher node can be enabled to run any of the Non-default synthetic transactions. 您可在创建观察程序节点时或在创建后的任何时间执行此操作(使用 New-CsWatcherNodeConfiguration cmdlet)。You can do this when you create the watcher node (by using the New-CsWatcherNodeConfiguration cmdlet), or at any time after that. 许多非默认综合事务需要额外的设置步骤。Many of the Non-default synthetic transactions require extra setup steps. 有关详细信息,请参阅 Lync Server 2013 中的综合事务的特殊设置说明For details, see Special setup instructions for synthetic transactions in Lync Server 2013.

  • 扩展Extended. 扩展测试是特殊类型的非默认综合事务。Extended tests are a special type of Non-default synthetic transaction. 与其他综合事务不同,扩展测试可在每次通过的情况下运行多次。Unlike other synthetic transactions, Extended tests can be run multiple times during each pass. 这在验证一个池的多个公用电话交换网 (PSTN) 语音路由等行为时十分有用。This can be useful when verifying behavior such as multiple public switched telephone network (PSTN) voice routes for a pool. 此类测试可通过向观察程序节点添加多个扩展测试的实例来配置。This can be configured simply by adding multiple instances of an Extended test to a watcher node.

有关将其他综合事务添加到观察程序节点的过程的详细信息,请参阅 在 Lync Server 2013 中管理观察程序节点For details about the process of adding other synthetic transactions to a watcher node, see Managing watcher nodes in Lync Server 2013. 您可以使用 Lync Server 命令行管理程序从观察程序节点中删除综合事务。You can use the Lync Server Management Shell to remove synthetic transactions from a watcher node.

可用于观察程序节点的综合事务包括:The synthetic transactions available to watcher nodes include the following:

Cmdlet 名称(测试名称)Cmdlet Name (Test Name) 说明Description 综合事务类型Synthetic Transaction Type

Test-CsAddressBookService (ABS)Test-CsAddressBookService (ABS)

确保用户能够查找不在其联系人列表内的用户。Confirms that users are able to look up users that aren’t in their contact list.

默认值Default

Test-CsAddressBookWebQuery (ABWQ)Test-CsAddressBookWebQuery (ABWQ)

确保用户能够通过 HTTP 查找不在其联系人列表内的用户。Confirms that users are able to look up users that aren’t in their contact list via HTTP.

默认值Default

Test-CsIM (IM)Test-CsIM (IM)

确保用户能够发送对等即时消息。Confirms that users are able to send peer-to-peer instant messages.

默认值Default

Test-CsP2PAV (P2PAV) Test-CsP2PAV (P2PAV)

确保用户能够发出对等音频呼叫(仅信号)。Confirms that users are able to place peer-to-peer audio calls (signaling only).

默认值Default

Test-CsPresence (Presence)Test-CsPresence (Presence)

确保用户能够查看其他用户的状态。Confirms that users are able to view other users’ presence.

默认值Default

Test-CsRegistration (Registration)Test-CsRegistration (Registration)

确保用户能够登录 Lync。Confirms that users are able sign in to Lync.

默认值Default

Test-CsAudioConferencingProvider (ACP)Test-CsAudioConferencingProvider (ACP)

不与 Lync Server 2013 的本地版本一起使用Not used with the on-premises version of Lync Server 2013

扩展Extended

Test-CsPstnPeerToPeerCall (PSTN)Test-CsPstnPeerToPeerCall (PSTN)

确保用户能够向企业外部人员发出呼叫以及接收其发出的呼叫(PSTN 号码)。Confirms that users are able to place and receive calls with people outside of the enterprise (PSTN numbers).

Non-default,ExtendedNon-default, Extended

Test-CsAVConference (AvConference) Test-CsAVConference (AvConference)

确保用户能够创建和参与音频/视频会议。Confirms that users are able to create and participate in an audio/video conference.

默认值Default

Test-CsAVEdgeConnectivity (AVEdgeConnectivity) Test-CsAVEdgeConnectivity (AVEdgeConnectivity)

确保 A/V 边缘服务器能够接受对等呼叫和会议呼叫的连接。Confirms that the A/V Edge servers are able to accept connections for peer-to-peer calls and conference calls.

非默认Non-default

Test-CsDataConference (DataConference) Test-CsDataConference (DataConference)

确保用户可参与数据协作会议(包含白板和投票等活动的联机会议)。Confirms that users can participate in a data collaboration conference, an online meeting that includes activities such as whiteboards and polls.

非默认Non-default

Test-CsExumConnectivity (ExumConnectivity) Test-CsExumConnectivity (ExumConnectivity)

确认用户可以连接到 Exchange 统一消息 (UM) 。Confirms that a user can connect to Exchange Unified Messaging (UM).

非默认Non-default

Test-CsGroupIM (GroupIM) Test-CsGroupIM (GroupIM)

确保用户能够在会议中发送即时消息并且可参与三个或三个以上的人员组成的即时消息对话。Confirms that users are able to send instant messages in conferences and participate in instant message conversations with three or more people.

默认值Default

Test-CsGroupIM – TestJoinLauncher (JoinLauncher) Test-CsGroupIM –TestJoinLauncher (JoinLauncher)

确保用户能够创建会议并能通过 Web 地址链接加入计划的会议。Confirms that users are able to create and join scheduled meetings via a web address link.

非默认Non-default

Test-CsMCXP2PIM (MCXP2PIM) Test-CsMCXP2PIM (MCXP2PIM)

确保移动设备用户能够注册和发送即时消息。Confirms that mobile device users are able to register and send instant messages.

非默认Non-default

Test-CsPersistentChatMessage (PersistentChatMessage) Test-CsPersistentChatMessage (PersistentChatMessage)

确认用户可以使用持久聊天服务交换邮件。Confirms that users can exchange messages by using the Persistent Chat service.

非默认Non-default

Test-CsUnifiedContactStore (UnifiedContactStore) Test-CsUnifiedContactStore (UnifiedContactStore)

确保可通过统一的联系人存储库访问用户的联系人。Confirms that a user's contacts can be accessed through the unified contact store. 统一联系人存储为用户提供了一种方法来维护一组可通过 Lync 2013、Outlook 和/或 Outlook Web Access 访问的联系人。The unified contact store provides a way for users to maintain a single set of contacts that can be accessed by using Lync 2013, Outlook, and/or Outlook Web Access.

非默认Non-default

Test-CsXmppIM (XmppIM) Test-CsXmppIM (XmppIM)

确保可通过 XMPP(可扩展消息传递和状态协议)网关发送即时消息。Confirms that an instant message can be sent across the XMPP (Extensible Messaging and Presence Protocol) gateway.

非默认Non-default

您无需安装观察程序节点即可使用 System Center Operations Manager。You do not need to install watcher nodes in order to use System Center Operations Manager. 如果不安装这些节点,您仍可以在出现问题时从 Lync Server 2013 组件获取实时警报。If you do not install these nodes, you can still get real-time alerts from Lync Server 2013 components when an issue occurs. (组件和用户管理包不使用观察程序节点。 ) 但是,如果要使用活动监视管理包监视端到端方案,则需要观察程序节点。(The Component and User Management Pack does not use watcher nodes.) However, watcher nodes are required if you want to monitor end-to-end scenarios by using the Active Monitoring Management pack.

备注

管理员还可手动运行综合事务,无需使用或安装 Operations Manager。Administrators can also run synthetic transactions manually, without needing to use, or install, Operations Manager. 有关各种 Test-Cs cmdlet 的详细信息,请参阅 Lync Server 2013 cmdlet 索引For details about the various Test-Cs cmdlets, see the Lync Server 2013 cmdlets index.

综合事务可能使用大量计算机内存和处理器时间,具体取决于您的部署规模。Depending on the size of your deployment, synthetic transactions may use a large amount of computer memory and processor time. 为此,建议您使用专用计算机作为观察程序节点。For this reason, we recommend that you use a dedicated computer as a watcher node. 例如,不应将前端服务器配置为充当观察程序节点。For example, you should not configure a Front End Server to act as a watcher node. 观察程序节点应满足以下硬件规范:Watcher nodes should meet the following hardware specifications:

备注

旧版 Microsoft Lync Server 2010 观察程序节点不能与 Lync Server 2013 观察程序节点在同一台计算机上并置。A legacy Microsoft Lync Server 2010 watcher node cannot be collocated on the same machine with a Lync Server 2013 watcher node. 这是因为 Lync Server 2010 和 Lync Server 2013 的核心系统文件不能安装在同一台计算机上。This is because the core system files for Lync Server 2010 and Lync Server 2013 cannot be installed on the same computer.
但是,Lync Server 2013 观察程序节点可以同时监视 Lync Server 2013 和 Lync Server 2010。However, Lync Server 2013 watcher nodes can simultaneously monitor both Lync Server 2013 and Lync Server 2010. 这两个产品版本上均支持默认的综合事务。The Default synthetic transactions are supported on both product versions.

Lync Server 2013 观察程序节点可以部署在企业内部或外部,以帮助验证:Lync Server 2013 watcher nodes may be deployed inside or outside of an enterprise to help verify:


  • 至企业内部用户的池的连接。Connectivity to pools for users inside the enterprise.


  • 通过在企业外部工作的远程用户的外围网络的连接。Connectivity through perimeter networks for remote users who work outside the enterprise.


  • 至分支机构装置的连接。Connectivity to branch office appliances.


  • 在企业内部和通过外围网络连接到 Lync Server 2010。Connectivity to Lync Server 2010 inside the enterprise and through perimeter networks.

企业内部和企业外部有不同的身份验证选项可用以帮助管理。Different authentication options are available for inside and outside of the enterprise to help simplify administration. 有关详细信息,请参阅 将观察程序节点配置为在 Lync Server 2013 中运行综合事务For details, see Configuring a watcher node to run synthetic transactions in Lync Server 2013.

若要将计算机配置为充当观察程序节点,必须在安装 System Center Operations Manager 并导入 Lync Server 2013 管理包后完成以下步骤。To configure a computer to act as a watcher node, you must complete the following steps after you have installed System Center Operations Manager and imported the Lync Server 2013 management packs.

在安装 Lync Server 2013 core 文件和 System Center agent 文件之前,还应确保观察程序节点计算机满足安装 Lync Server 2013 的所有先决条件。Before you install the Lync Server 2013 core files and the System Center agent files, you should also make sure that the watcher node computer meets all the prerequisites for installing Lync Server 2013. 此外,观察程序节点计算机还应安装下列项:In addition, the watcher node computer should also have the following items installed:

硬件组件Hardware component 最低要求Minimum requirement

CPUCPU

以下各项之一:One of the following:

  • 64位处理器、四核、2.33 GHz 或更高版本64-bit processor, quad-core, 2.33 GHz or higher

  • 64位双处理器、双核、2.33 GHz 或更高版本64-bit 2-way processor, dual-core, 2.33 GHz or higher

内存Memory

8 GB8 GB

网络操作系统Network operating system

  • 1个网络适配器 1 Gbps1 network adapter 1 Gbps

  • Windows Server 2008 R2、Windows Server 2012 或Windows Server 2008 R2, Windows Server 2012, or

    Windows Server 2012 R2Windows Server 2012 R2

  • 完整版的 .NET Framework 4.5。The full version of .NET Framework 4.5.

  • Windows Identity Foundation。Windows Identity Foundation.

  • Windows PowerShell 3.0。Windows PowerShell 3.0.

只要满足所有这些先决条件,就能通过下列方式配置观察程序节点:As soon as all these prerequisites have been met, you can configure the watcher node by:

  • 在观察程序节点计算机上安装 Lync Server 2013 core 文件。Installing the Lync Server 2013 core files on the watcher node computer.

  • 在观察程序节点计算机上安装 System Center Operations Manager 代理。Installing System Center Operations Manager agent on the watcher node computer.

  • 运行 Watchernode.msi 可执行文件。Running the Watchernode.msi executable file.

  • 使用 CsWatcherNodeConfiguration cmdlet 配置观察程序节点要使用的测试用户。Using the CsWatcherNodeConfiguration cmdlets to configure test users to be employed by the watcher node.