From an existing WL v6.2 infrastructure I used to send analytics data from different runtimes to a single Operational Analytics server, adding a tenant parameter in order to treat them separately.
I'm trying to configure in the same way a new MFP v8.0 infrastructure, but I can't get it to work.
Searching the InfoCenter I find documentation about multi-tenancy only up to MFP v7.1, but can't see anything on latest MFP v8.0.
Is multi-tenancy still supported in MFP v8 ?
I think yes, because I see that the analytics server still has an analytics/DEFAULT_Tenant jndi entry.
However I don't know how to compose the mfp.analytics.url jndi entry in the MFP runtime server in order to correctly pass the tenant info to the target analytics server.
I tried something like
http://<opan-host>:<opan-port>/analytics-service/rest?tenant=MFPSVIL
but it doesn't seem to work.
When I restart the runtime war, in the access log of the analytics web server I see an invalid request coming in e producing an http405 error:
[03/Oct/2017:09:59:42 +0200] "POST /analytics-service/rest?tenant=MFPSVIL/v3 HTTP/1.1" 405 -
What am I doing wrong ?
What is the correct syntax for the mfp.analytics.url entry ?
If there is also any doc/wiki/tutorial that I have missed, please let me know.
Any help would be really appreciated.
Many thanks in advance.
Ciao, Stefano.
Unfortunately, Multi-tenancy is not supported with MFP Analytics 8.0.
Documentation needs to be updated. That is the reason no where in the documentation support was claimed or the steps for enabling Multi-Tenancy exists in 8.0
Related
I have an OpenShift cluster 4.7 in IBM CLOUD that runs many infrastructure tools ( Jenkins, Gitea, JFrog, SonarQube, WIKIJS, etc etc). I want to be able to login to these tools using my OpenShift credentials. Do you have any working way to use OpenShift's integrated OAUTH server to do so? Or any other idea?
I know Jenkins has already a plugin to do so, but what about the rest? Is auth-proxy the best way? Cause most of my tools have been installed with HelmCharts or Operators and I am not sure how easy is it gonna be to configure something like that.
Thank you in advance.
Probably, you can use product "keycloak"
https://www.keycloak.org/gettin.../getting-started-openshift
In my opinion it is more likely to use KeyCloak.
In addition, you can consider IBM Cloud product AppID. You can find it In IBM Cloud catalog using link https://cloud.ibm.com/catalog/services/app-id.
Did you follow the official documentation on this?
Configuring OAuth client
Configuring the internal OAuth server
I have to implement TeaLeaf analytics for our application so i am doing sample POc for android and iphone environment for hybrids application. Anyone please advice me how can i implement the TeaLeaf stuff in my POC.
Below that activity i did,
create sample app version project and add android/iphone environment
application-descriptor.xml i added IBM teaLeaf SDK
what else i have do? i was searching google and following ibm knowledge center also there is not much clarity for tutorial and how can i test in development environment.
below that link i referred :
http://www.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.integ.doc/integ/t_tealeaf_client.html
If I understand your question correctly, it seems like you're attempting to create a connection between IBM MobileFirst Platform 6.3.0 and IBM Tealeaf. I work on integrations of IBM Tealeaf On-Cloud with client e-commerce platforms and it seems like you might be dealing with IBM Tealeaf On-Premise.
That being said, my understanding of the process for the On-Cloud implementation is that there are a few libraries you need to make sure are being included on pages you'd like Tealeaf to observe:
Tealeaf.js (distributed by IBM)
Sizzle.js
JQuery, if the page uses it ... also note that if the site uses JQuery, you need to provision from IBM the JQuery flavor of Tealeaf.js instead of the W3C flavor.
Hammer.js
Pako.js (again this assumes the On-Cloud version of Tealeaf, as this is a library for compressing data a being sent to IBM cloud-service collectors. In the On-Premise version my understanding is that this data is written to a file that is saved to the local hardware.)
How the libraries are included is something you'd decide when working with the client's server and development team - every organization has their preferences. Generally though they'd be inserted on pages that need to be monitored and the Tealeaf.js config would be edited to specify the endpoint of the collector for the regional data center on which space was provisioned for the client (in the US, either in Dallas or Washington DC.)
As for the On-Premise implementation of Tealeaf, you can jump in to the documentation here: http://www.ibm.com/support/knowledgecenter/SS2MBL/tealeaf_product_family_welcome.html
We are using mobilefirst 6.3 in a production Websphere liberty profile.
Is there a way in mobilefirst to change the default log file, without using some custom java functions to log? we want to have the logs from our adapters separately from the server logs.
This is not related to IBM MobileFirst Platform, but to WebSphere Liberty which MFP is deployed to. It's an important distinction to make - all logging goes through the hosting application server, not through MFP.
To my knowledge and after reading the Liberty documentation - this is not possible in a straight-forward, official, capacity.
What you could perhaps do is:
Understand from the messages.log file which logs you'd like to filter. All log lines begin with a specific tag like FW123456
Write a script that will scan the messages.log file for occurrences of required tag
Copy the specific log line and save it in a different file
I'm working in a scenario where we are trying to get Operational Analytics working within an MFP 6.3 environment. There is a MobileFirst client application (hybrid, if it matters), a MFP 6.3 server, and an Operational Analytics server (the system is for dev/test only, so is lightly loaded, and no uptime/performance concerns exist).
Currently, we are seeing intermittent problems, where data sometimes appears in the Operational Analytics console on adapter invocations etc., and then for some periods (sometimes days) go past with no data showing up.
How can we trace or log the behaviour of the Operational Analytics engine? As I understand it, there is a queueing mechanism on the MFP 6.3 server (currently wl.analytics.queue=1 and wl.analytics.queue.size=0) for forwarding data from the client to the OA server. Is there a way to see what messages are put or got from this queue?
This environment uses WAS ND.
From an IBM engineer:
IBM MobileFirst Platform 6.3 does not provide traceability options in
the MFP Operational Analytics component. This was greatly improved in
MFP 7.0 in the log output from the various analytics components,
including the queues and sender embedded in MFP server and the
receiver, processors, and storage in the Analytics server, and more is
planned for the future.
If deemed required in MFP 6.3 consider opening a PMR (support ticket). Or upgrade to MFP 7.0 if possible.
Worklight 6.2: Is it possible to decommission the devices using any Worklight API apart from Licence Tracking in Worklight Server?
Not sure how an API would be of help here.
Anyway, the only available feature that allows you to disable a specific device, is the License Tracking feature you have mentioned in your question.
Feel free to submit feature requests: https://developer.ibm.com/mobilefirstplatform/help/