Deployment Guide
PS> sc.exe “Dell WMS: FE-MQTT2” binPath= “C:\Program Files\DELL\mq2\mosquito.exe run”
PS> sc.exe “Dell WMS: FE-MQTT3” binPath= “C:\Program Files\DELL\mq3\mosquito.exe run”
2 从控制面板中打开 Windows 本地服务并确认已创建服务,如下面的屏幕截图所示。
图 7: 服务
注: 启动类型为手动,并通过运行脚本来启动 Mosquitto 服务。在此窗口中,Mosquitto 服务(包括“Dell WMS:
Mosquitto”)均不应手动启动或重新启动。
配置后端 Mosquitto 与前端 Mosquitto 的连接
本节介绍了如何配置后端 Mosquitto 与前端 Mosquitto 的连接。
1 在文本编辑器中打开目录 C:\Program Files\DELL\WMS\Mosquitto\mosquito.conf 中的文件。
2 取消注释 mosquito.conf 文件夹中的属性 bind_address,并将该条目更新为 bind_address <IP1>。
3 转到说明文件的桥接部分,然后在该部分中添加以下条目。
# connection <name>
#address <host>[:<port>] [<host>[:<port>]]
#topic <topic> [[[out | in | both] qos-level] local-prex remote-prex]
connection pns01
address <IP1>:1883
topic # out
connection pns02
address <IP2>:1883
topic # out
connection pns03
address <IP3>:1883
topic # out
4 转到 Windows 本地服务,然后将条目 Dell WMS: Mosquitto 服务更改为手动启动,如下面的窗口中所示。
12
部署和配置 Wyse Management Suite