IBM MobileFirst™ Platform Foundation includes a number of sample configuration files to help you get started with the Ant tasks to install the MobileFirst Analytics Services, and the MobileFirst Analytics Console.
The easiest way to get started with the <installanalytics>, <updateanalytics>, and <uninstallanalytics> Ant tasks is by working with the sample configuration files provided in the Analytics/configuration-samples/ directory of the MobileFirst Server distribution.
Task | Application server |
---|---|
Install MobileFirst Analytics Services and Console on WebSphere® Application Server Liberty profile | configure-liberty-analytics.xml |
Install MobileFirst Analytics Services and Console on Apache Tomcat | configure-tomcat-analytics.xml |
Install MobileFirst Analytics Services and Console on WebSphere Application Server full profile | configure-was-analytics.xml |
Install MobileFirst Analytics Services and Console on WebSphere Application Server Network Deployment, single server | configure-wasnd-server-analytics.xml |
Install MobileFirst Analytics Services and Console on WebSphere Application Server Network Deployment, cell | configure-wasnd-cell-analytics.xml |
Install MobileFirst Analytics Services and Console on WebSphere Application Server Network Deployment, node | configure-wasnd-node.xml |
Install MobileFirst Analytics Services and Console on WebSphere Application Server Network Deployment, cluster | configure-wasnd-cluster-analytics.xml |
The configuration files for wasnd contain a scope that can be set to cluster, node, server, or cell. For example, for configure-wasnd-cluster-analytics.xml, the scope is cluster. These scope types define the deployment target as follows:
chmod 600 configure-file.xml
cacls configure-file.xml /P Administrators:F %USERDOMAIN%\%USERNAME%:F
ant -f configure-file.xml install
This
command installs your MobileFirst Analytics Services
and MobileFirst Analytics Console
components in the application server.ant -f configure-file.xml minimal-update
To
reverse the installation step, run the command:ant -f configure-file.xml uninstall
This
command uninstalls the MobileFirst Analytics Services
and MobileFirst Analytics Console
components.