Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following ports need to be opened for Android and iOS devices so that it can connect GCM (Google Cloud Message) and APNS (Apple Push Notification Service) and enroll to WSO2 EMMIoT Server.

Android

The ports to open are 5228, 5229 and 5230. GCM typically uses only 5228, but it sometimes uses 5229 and 5230.

...

Database NameDescriptionDatabase Script Location
CDM core database (DM_DS)This database stores generic data about devices (such as a unique identifier, device type, ownership type), device enrollment information, device operations, policy management related data, etc.<PRODUCT<IOTS_HOME>/dbscripts/cdm/
APIM Database (WSO2AM_DB)This database stores data related to JAX-RS APIs and OAuth token data.<PRODUCT<IOTS_HOME>/dbscripts/apimgt/
Registry database (REG_DB)This database acts as the registry database and stores governance and config registry data. The registry database must be mounted to all nodes in the cluster.<PRODUCT<IOTS_HOME>/dbscripts/?
User and permission manager database (UM_DB)This database stores the user details and user permission related details.<PRODUCT<IOTS_HOME>/dbscripts/?

App management database
(XXX)

This database store the mobile and IoT device application details.<IOTS_HOME>/dbscripts/appmgt
Social databasexxx<IOTS_HOME>/dbscripts/social
Storage databasexxx<IOTS_HOME>/dbscripts/storage
Certificate management database
(XXX)
This database stores the mutual SSL certificate details.<IOTS_HOME>/dbscripts/certmgt

The following databases are related to plugins. These enable you to keep the data that is essential for these devices to work (such as APNS related keys) and this data is not available in the CDM core database.

Database NameDescriptionDatabase Script Location
iOS DB database (MobileIOSDM_DS)

Stores the iOS related the data.

<PRODUCT
Info

If you have not configured WSO2 IoT Server for iOS, you won't have the database scripts in the given location. For more information on configuring WSO2 IoT Server for iOS, see iOS Configurations.

<IOTS_HOME>/dbscripts/cdm/plugins/ios
Android DB database (MobileAndroidDM_DS)Stores the Android related data.<PRODUCT<IOTS_HOME>/dbscripts/cdm/plugins/android/
Windows DB database (MobileWindowsDM_DS)Stores the Microsoft Windows related data.<PRODUCT<IOTS_HOME>/dbscripts/cdm/plugins/windows/

To change the datasource configurations, please change the following files.

Note

NOTE: Make sure to add the relevant jdbc library to the <IOTS_HOME>/lib directory. In this case, it would be mysql-connector-java-{version}.jar

Files to changeDatasource
<PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml

This file must include the datasource configuration for the following databases.

  • APIM database

  • Registry database

  • User permission manager database
<PRODUCT_HOME>/repository/conf/datasources/emm-datasources.xml

This file must include the datasource configuration for the following databases.

  • CDM core database

  • IOS plugin database

  • Android database

  • Windows database

...