Deployment Guide

4 Create a shortcut to the mqttsvc.bat le. This script is used to start all Mosquitto services when the server starts.
5 To congure Mosquitto Services Startup Script, go to Windows startup folder, and in the windows search window, type Shell:startup
as shown in the following screen shot.
Figure 9. Windows startup
The C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup directory is displayed.
6 Copy the shortcut of mqttsvc.bat le into the folder.
7 Restart the server to conrm and test to conrm that four instances of Mosquitto are running on each of IP0, IP1, IP2 and IP3 on port
1883 as shown in the following steps.
a Open the Powershell window, and run the following command.
PS> get-nettcpconnection -LocalPort 1883
b Conrm that there are at least four services are running with the following values.
LocalAddress=IP0, IP1, IP2, IP3
LocalPort=1883
State=Listen
Conguring front end Mosquitto in MongoDB
MongoDB has bootstrapProperties collection that has among various parameters to congure URLs for Tomcat to connect to back end
Mosquitto, and for devices to connect to front end Mosquitto. Installer by default would congure both parameters with back end
Mosquitto as most users would be running with a single instance of Mosquitto.
1 Open a command prompt and navigate to C:\Program Files\DELL\WMS\MongoDB\bin directory.
2 Run following command at the command prompt.
>mongo stratus -u stratus -p <mongodbPassword> -eval "db.bootstrapProperties.update({'name': 'stratus.external.mqtt.url'}, {'name':
'stratus.external.mqtt.url' , 'value' : 'tcp://xyz-pns.wysemanagementsuite.com:1883' }, {upsert:true})"
3 Restart Tomcat Service identied in Local Services as Dell WMS: Tomcat Service.
Remote repository
Wyse Management Suite allows you to have local as well as remote repositories for applications, operating system images and so on. If the
user accounts are distributed across geographies, it will be ecient to have local repository for each of the distributed user account so the
devices can download images from its local repository. This exibility is provided with WMS_Repo.exe software. The WMS_Repo.exe is a
Wyse Management Suite le repository software that helps to create distributed remote repositories which can be registered with Wyse
14
Deploying and conguring Wyse Management Suite