Throughout this guide, you have configured
gateway.iots310.wso2.com as the worker node.
Before you begin
- Mount the registry as explained here.
- Configure the following databases for the Key Manager in the
For more information, see Setting Up the Databases for Clustering.
- Registry database
- User manager database
- APIM database
- App manager database and include the social and storage database schemas to the same database.
- CDM database and include the certificate management, Android, iOS and windows database schemas to the same database.
Let's start configuring the worker nodes.
MgtHostNameproperties in the
<IOTS_HOME>/conf/carbon.xmlfile as shown below.
Make sure to have the
Offsetproperty configured to zero. If it is set to a value other than zero, you need to update the NGINX configuration based on the port offset.
<IOTS_HOME>/bin/iot-server.shfile as shown below:
Disable task monitoring in the
windows.xmlfiles that are in the
<IOTS_HOME>/repository/deployment/server/devicetypesdirectory as shown below:
Enable API publishing in both the worker nodes by configuring the
conf/etc/webapp-publisher-config.xmlfile as shown below:
Why is this needed?
This is to publish the synapse configs to the
<IOTS_HOME>/repository/deployment/server/synapse-configs/default/apidirectory. The configs are published when the server starts up. Therefore, disable this setting after the server finishes starting up.
Start the core profile of the WSO2 IoT Server.
Use the Gateway node (
gateway.iots310.wso2.com) to start enrolling Android devices.
- Let's take a look at how to cluster WSO2 IoT Server to enroll iOS devices. See, Clustering the iOS server.