ibm-mobilefirstmobilefirst-servermobilefirst-analytics

MobileFirst Operation Analytics Console - Not linked to MobileFirst Admin Operational Console


I followed the below URL to configure my Operation Analytics Console.

IBM InfoCenter Link

Configured the properties in the Project WorkLight Runtime Application deployed in WAS. But i am not able to find the property wl.analytics.console.url under the environment variable for the web module section in WAS admin.

Please guide me, Were to add this property. And how to enable Operation Admin Console to link to Operation Analytics.

MobileFirst Foundation Platform Server 7.0 Consumer Edition.

Thanks.


Solution

  • You don't mention what version of MobileFirst Platform Foundation you are using - for purposes of this answer, I am assuming 7.0. The way you set the JNDI properties on WAS is illustrated here. If you are in the "Environment entries for Web modules" section, you're in the right place already.

    You should first set the "wl.analytics.url" JNDI property. Once you set this (to point to your Operational Analytics server), and restart WAS, your application will begin forwarding data to Operational Analytics.

    If you've protected the Analytics data entry point, you should also set the "wl.analytics.username" and "wl.analytics.password" properties appropriately.

    There is a problem on full-profile WAS where the "wl.analytics.console.url" property can't be edited from the WAS admin console. We have a bug open on this. Until that is fixed, you can use this workaround to set the property:

    You will need to update the file "WEBSPHERE_PATH/AppServer/profiles/YOUR_PROFILE/installedApps/YOUR_NODE_CELL/MOBILEFIRST.EAR/MOBILEFIRST.WAR/WEB-INF/classes/conf/worklight.properties" (where the things in all caps are placeholders for whatever the correct value for your environment is - except for "WEB-INF", which is literal...). Inside this worklight.properties file, add the "wl.analytics.console.url" property, with the correct URL for your environment. Then restart the server. This workaround is only necessary for full-profile WAS, and is not necessary for (nor is it applicable to) Liberty Profile or Tomcat.

    After performing these steps, you should then see the link to the Operational Analytics Console page in the MobileFirst Operations Console.

    I note that the "wl.analytics.console.url" property is not mentioned in the page I linked above. Looking at the feedback that was posted on that page, it seems that this has already been raised as an issue, and is being investigated.