Managing Applications with WSO2 App Manager
You will want to have product specific applications available on your custom app store and allow the devices to only download these applications. For example, if the organization is focused on journalism, they would have a custom built notepad application available for employees to download and use on their mobile devices.
This section explains how to configure WSO2 App Manager with WSO2 EMM in a production environment. In a production environment, the products run on a clustered setup. Therefore, WSO2 App Manager will be made to run as follows:
- WSO2 App Manager store will run on a Worker node.
- WSO2 App Manager publisher will run on a Manager node.
Configuring WSO2 App Manager to manage application in WSO2 EMM
Follow the steps given below to configure WSO2 App Manager for the EMM:
- Open the
carbon.xml
file that is in the<EMM_HOME>/repository/con
f directory. Uncomment the
HostName
attribute and provide the local server IP on which the product is running.
Default:<!--HostName>www.wso2.org</HostName-->
An example of the configuration:
<HostName>10.100.7.35</HostName>
Uncomment the
MgtHostName
attribute and provide the IP of the manager node.
Default:<!--MgtHostName>mgt.wso2.org</MgtHostName-->
Example:
<MgtHostName>10.100.3.65</MgtHostName>
- Comment the uncommented ServerURL and uncomment the ServerURL attribute that was commented by default.
Configure the uncommented ServerURL as follows:- Provide
localhost
as the value for{carbon.local.ip}.
- Provide the
https
port as the value for{carbon.management.port}
.
By default, the port is 9443. - Remove ${carbon.context}.
By default:
<ServerURL>local:/${carbon.context}/services/</ServerURL> <!-- <ServerURL>https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/</ServerURL> -->
Example:
<!--ServerURL>local:/${carbon.context}/services/</ServerURL--> <ServerURL>https://localhost:9443/services/</ServerURL>
- Provide
- Restart the WSO2 EMM server.
Configure the built-in WSO2 App Manager to work with EMM.
Open the
app-manager.xml
file which is in the<EMM_HOME>/repository/conf
directory.- Search for the
ActiveMDM
property and enter the following as its value:WSO2MDM_INTERNAL
- Search for the
WSO2MDM_INTERNAL
property and enter the following as the value of the attribute bundle:org.wso2.mdm.appmgt.service
Login to the WSO2 App Manager publisher to publish application or WSO2 App Manager store to install apps on mobile devices.
- Access the WSO2 App Manager publisher:
- Access WSO2 App Manager store
What's next
Successfully configured WSO2 APP Manager and WSO2 EMM? If yes, try out creating, installing and managing mobile applications.
- Are you an EMM administrator? For more information, see Managing Mobile Applications.
- Want to install a mobile application on a device? Take a look at Installing and Updating Mobile Apps.
- For more information on liking and rating applications, see Rating, Liking and Sorting Applications.