Enable SmartSupervisor for Each SmartServer
SmartSupervisor is available with SmartServer 4.4 and higher.
You can add new SmartServers to the network using the SmartServer System Configuration page. To add a SmartServer, enable the SmartSupervisor (Remote CMS) option and configure the SmartSupervisor IP address, ports, and credentials to use an external MQTT broker provided by SmartSupervisor.
To enable SmartSupervisor for each SmartServer in the system, perform the following steps:
Install and start the SmartSupervisor as described in Set up the SmartSupervisor Host Computer and Install and Start the SmartSupervisor.
From a terminal window, set the SmartSupervisor IP address or hostname for the SmartServer in the /etc/hosts file. To do so, use any editor to edit the /etc/hosts file by adding the following line:
<SmartSupervisor IP address> root.cms
Example: for SmartSupervisor IP address is 10.0.0.6, enter the following line in the /etc/hosts file
10.0.0.6 root.cms
An example /etc/hosts file with the root.cms entry is shown below.
Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration Page. The Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default as shown in the next step.
Click the System tab.
Click the Enabled option to enable SmartSupervisor (Remote CMS).
Set the following fields:
IP Address or Hostname = root.cms
HTTPS Port = 443
Secure MQTT Port = 8883
Password = <SmartSupervisor password>. Click the Show Passwords button (
) to display disguised characters.
Click Update.
Click the Firewall tab.
The Firewall Configuration view appears.Enable the MQTT ports (IAP/MQ) on the Firewall Configuration page.
If your LAN port is used to communicate to the SmartSupervisor PC, then enable both ports (1883 and 8883) on eth0.
If your WAN port is used to communicate to the SmartSupervisor PC, then enable both ports (1883 and 8883) on eth1.
Click Update.
Perform these steps to enable SmartSupervisor for each SmartServer in the network. Once SmartSupervisor is enabled for each SmartServer in the network, you can connect to the SmartSupervisor. Go to Step 2 - Connect to the SmartSupervisor for more information.