Deployment Guide

a Tomcat
b Memcached
c Mosquitto
d MongoDB
e MariaDB
Mosquitto that is installed by the WMS installer must be congured as the back-end MQTT; front-end MQTT can be installed
manually. The default installation directory is, Drive C:\Program Files\DELL\WMS.
Deploy front-end Mosquitto as a service
Wyse Management Suite can handle up to 50,000 devices with a single instance of Mosquitto installed by the installer which serves both
as front-end as well as back-end Mosquitto. To support 1,20,000 devices, you need separate Mosquitto instances to handle the device
connections. Since each Mosquitto instance can handle most of 50,000 device connections, you need at least three front-end instances to
handle 1,20,000 devices. Each of the three front-end Mosquitto instances interacts through port 1883, and each instance will be bound to a
particular IP address. To install three new instances of Mosquitto, you need three new copies of Mosquitto deployment as explained in the
following steps:
1 Create three new directories inside Mosquitto folder as shown in the following entries:
C:\Program Files\DELL\mq1
C:\Program Files\DELL\mq2
C:\Program Files\DELL\mq3
2 Copy the contents in the directory C:\Program Files\DELL\WMS\Mosquitto to the folders created in the step 1.
3 Open the le in the directory C:\Program Files\DELL\mq1\mosquitto.conf in a text editor.
4 In the mosquitto.conf folder, uncomment the property bind_address, and update the entry as, bind_address <IP1>.
5 Start mq1and do the following to conrm that mq1 is running on IP1:
a Open a command prompt window.
b Go to C:\Program Files\DELL\mq1 directory.
c Run the command, Mosquitto.exe –c mosquitto.conf at the command prompt.
d Open the Powershell window, and run the command, PS> get-nettcpconnection -LocalPort 1883 at the command prompt.
6 Conrm that the service is running with following values:
LocalAddress=IP1
LocalPort=1883
State=Listen
7 Repeat steps 3, 4, 5 and 6 for mq2 and mq3 with IP2 and IP3 respectively to complete the process.
Deploy front-end Mosquitto as a service
1 Open a Windows PowerShell window with administrator privileges, and run the following commands to create a service entry in the
registry and service database:
PS> sc.exe “Dell WMS: FE-MQTT1” binPath= “C:\Program Files\DELL\mq1\mosquito.exe run
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 From theControl Panel, open Windows Local Services and conrm that the services are created as shown in the following screen
shot:
Custom port
congurations 13