此产品的文档集力求使用非歧视性语言。在本文档集中,非歧视性语言是指不隐含针对年龄、残障、性别、种族身份、族群身份、性取向、社会经济地位和交叉性的歧视的语言。由于产品软件的用户界面中使用的硬编码语言、基于 RFP 文档使用的语言或引用的第三方产品使用的语言,文档中可能无法确保完全使用非歧视性语言。 深入了解思科如何使用包容性语言。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文档介绍通过适用于 WebRTC 的 Expressway 配置、验证思科 Meeting Server (CMS) 的多个 Webbridge (WB) 以及对其进行故障排除的步骤。
Cisco 建议您了解以下主题:
配置前提条件:
本文档中的信息都是基于特定实验室环境中的设备编写的。如果设置处于活动状态,请确保您了解任何命令或配置更改的潜在影响。
Expressway 自版本 X8.11 开始添加了通过 Expressway 为具有多个 WB 的 WebRTC 代理提供支持的功能,以帮助实现 WB 的冗余和负载均衡。
X8.11 之前的版本仅支持负载均衡,如果 Expressway 选择的 WB 关闭,则连接会失败。
Expressway-C 利用访客账户客户端 URI 查询 DNS 来发现 WB IP 地址,从 X8.11 版本开始,再利用轮询机制将 WebRTC 连接均匀分布到这些 WB 中。
Expressway C 现在利用以下流程维护它获知的 WB 的 IP 地址动态列表。
注意:本文档重点介绍到 Expressway 上的多 WB 集成,而不是 WebRTC 代理的完整配置,这一内容可参见“配置前提条件”的第一条所述的指南。
1.为访客帐户客户端URI解析到的每个WB节点配置以下DNS SRV记录:
在本示例中,配置了以下记录:
访客账户客户端 URI:joinext.vngtp.cms
WB1 FQDN:cmsvngtp.vngtp.cms
WB2 FQDN:cms2.vngtp.cms
WB3 FQDN:cmsdb.vngtp.cms
注意:以下假设cmsdb.vngtp.cms的容量比其他呼叫网桥的容量大,因此优先级较低,允许更多连接从Expressway-C到达。
每个主机的完全限定域名 (FQDN) 配置有以下 DNS SRV 记录:
SRV 记录 | 端口 | 优先级 | 权重 | 解析结果 |
_cms-web._tls.joinext.vngtp.cms | 443 | 20 | 1 | cmsvngtp.vngtp.cms |
_cms-web._tls.joinext.vngtp.cms | 443 | 15 | 1 | cms2.vngtp.cms |
_cms-web._tls.joinext.vngtp.cms | 443 | 10 | 1 | cmsdb.vngtp.cms |
DNS 服务器的示例:
注意:要允许通过Expressway实现WebRTC连接的更好负载均衡(假设所有服务器具有相同的容量),请确保上述所有SRV记录的优先级和权重相同,请参阅以下示例:
SRV 记录 | 端口 | 优先级 | 权重 | 解析结果 |
_cms-web._tls.joinext.vngtp.cms | 443 | 0 | 0 | cmsvngtp.vngtp.cms |
_cms-web._tls.joinext.vngtp.cms | 443 | 0 | 0 | cms2.vngtp.cms |
_cms-web._tls.joinext.vngtp.cms | 443 | 0 | 0 | cmsdb.vngtp.cms |
2.使用外部FQDN将WB集成到Expressway-C(供外部方使用):
下图中显示了一个示例:
使用本部分可确认配置能否正常运行。
请进行检查,确保 Expressway-C 能够连接到 FQDN 解析的所有 WB。
导航至配置 > 统一通信 > 思科 Meeting Server。
当 Expresssway-C 能够连接 WB 后,状态将是活动,如下图所示:
以下日志显示将 WB 添加到 Expressway-C 后出现的结果:
a.Expressway-C 在其数据库上为 Webbridge FQDN 创建了一个对象 UUID,用于执行命令:
2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/uuid - created with value: 'd86cf754-dc5c-438f-900f-51e5c702b94e'" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10" 2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/time_started - created with value: '0'" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10" 2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/time_finished - created with value: '0'" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10" 2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/command_state - created with value: 'queued'" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10" 2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/command_error - created with value: ''" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10" 2018-07-09T14:09:10.773+02:00 vcsc httpd[8724]: web: Event="System Configuration Changed" Detail="commands/cmsadd/name - created with value: 'joinext.vngtp.cms'" Src-ip="192.168.1.5" Src-port="51223" User="admin" Level="1" UTCTime="2018-07-09 12:09:10"
b.查询 DNS 的 SRV 记录 _cms-web._tls.<WB_FQDN>,在此示例中为 _cms web._tls.joinext.vngtp.cms:
205 2018-07-09 12:09:11.029 192.168.1.64 192.168.1.61 DNS 91 Standard query 0xfb10 SRV _cms-web._tls.joinext.vngtp.cms 206 2018-07-09 12:09:11.032 192.168.1.61 192.168.1.64 DNS 246 Standard query response 0xfb10 SRV _cms-web._tls.joinext.vngtp.cms SRV 15 1 443 cms2.vngtp.cms SRV 20 1 443 cmsvngtp.vngtp.cms SRV 10 1 443 cmsdb.vngtp.cms A 192.168.1.211 A 192.168.1.66 A 192.168.1.212
c.在其数据库中为每个WB创建与用于集成这些WB的外部连接URI相关的单独条目:
2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms name: joinext.vngtp.cms" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms guid: 81db7b67-2aa9-4f64-8d74-04c4037397a8" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms dnsname: cms2.vngtp.cms" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms address: 192.168.1.211" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms priority: 15" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms weight: 1" 2018-07-09T14:09:11.187+02:00 vcsc UTCTime="2018-07-09 12:09:11,187" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid cb7d5de8-1ab3-4a0d-a52a-8dbc885effeb name: joinext.vngtp.cms port: 443" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms name: joinext.vngtp.cms" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms guid: 97d8fa86-7de4-4410-9767-7bc8b1eeaced" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms dnsname: cmsvngtp.vngtp.cms" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms address: 192.168.1.66" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms priority: 20" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms weight: 1" 2018-07-09T14:09:11.193+02:00 vcsc UTCTime="2018-07-09 12:09:11,193" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0408bdd0-9ada-45a0-834d-ccda166e8006 name: joinext.vngtp.cms port: 443" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms name: joinext.vngtp.cms" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms guid: 9c788380-6601-4dba-96e0-739511728369" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms dnsname: cmsdb.vngtp.cms" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms address: 192.168.1.212" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms priority: 10" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms weight: 1" 2018-07-09T14:09:11.206+02:00 vcsc UTCTime="2018-07-09 12:09:11,206" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid b151839e-a0dd-4176-bbed-ad28e05e9283 name: joinext.vngtp.cms port: 443"
d.Expressway-C在HTTP允许列表中为HTTPS和WebSocket流量创建常规访问规则 WB通用路径的自动入站规则:
本部分提供了可用于对配置进行故障排除的信息。
以下是将 WB 集成到 Expressway 上之后出现的一些典型问题:
1.在Expressway-C的CMS页面上看不到优先级和权重,如图所示:
所需的日志:
要在日志中查找的内容:
a.在诊断日志中:
2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms guid: 97d8fa86-7de4-4410-9767-7bc8b1eeaced" 2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms dnsname: joinext.vngtp.cms" 2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms address: 192.168.1.66" 2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms priority: 65536" 2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms weight: 0" 2018-07-13T14:44:21.688+02:00 vcsc UTCTime="2018-07-13 12:44:21,688" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 0ab708c9-4ce1-47b3-9bb6-2964baf39bb3 name: joinext.vngtp.cms port: 443"
2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms name: joinext.vngtp.cms" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms guid: 81db7b67-2aa9-4f64-8d74-04c4037397a8" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms dnsname: joinext.vngtp.cms" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms address: 192.168.1.211" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms priority: 65536" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms weight: 0" 2018-07-13T14:44:21.702+02:00 vcsc UTCTime="2018-07-13 12:44:21,702" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 4b1b99fb-1b8f-400e-b066-d8906ffcd6fc name: joinext.vngtp.cms port: 443"
2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms name: joinext.vngtp.cms" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms guid: 9c788380-6601-4dba-96e0-739511728369" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms dnsname: joinext.vngtp.cms" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms address: 192.168.1.212" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms priority: 65536" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms weight: 0" 2018-07-13T14:44:21.706+02:00 vcsc UTCTime="2018-07-13 12:44:21,706" Event="System Configuration Changed" Node="clusterdb@127.0.0.1" PID="<0.488.0>" Detail="xconfiguration edgeCmsServerAddresses uuid 6cc95c70-0636-4190-85f2-333b86b29c91 name: joinext.vngtp.cms port: 443"
b.在数据包捕获中:
解决方案:
检查并确保 Expressway-C 使用的 DNS 服务器满足以下要求:
2.使用外部连接URL添加集群后,一个或多个WB处于活动状态,如下图所示:
所需的日志:
要在日志中查找的内容:
a.诊断日志:
Detail="CMS check failed" Address="192.168.1.212", Error="[Errno 111] Connection refused"
b.在数据包捕获中:
解决方案:
确保利用 CLI 上的 webbridge enable 命令在相应的 CMS 节点上启用 WB。