Activity Monitoring Toolbox missing from WSO2 BAM Server 2.4.0 - wso2

The documentation of the WSO2 Business Activity Monitor version 2.4.0 refers to an Activity Monitoring Toolbox which is not present in my installation (default configuration on 64bit Linux with 64bit JVM v1.6.0_39).
Can I download and install the Activity Monitoring Toolbox from an external location?
Thanks,
Kai

From BAM 2.4.0 release onwards, the previous BAM activity monitoring components have been deprecated. They were replaced by a new implementation of activity search and monitoring with many more added features.
The following artifacts will no longer be shipped:
With BAM distribution: the activity monitoring sample and the activity monitoring toolboxes.
With BAM data agents: activity monitoring data agent which has so far been available under 'Service Data Publishing'
The newer activity search component has its own Jaggery app which can use to query data directly from Cassandra using indices rather than use Hive scripts for summarising data. It will also be shipped with the BAM distribution by default, thereby negating the need for installation of a dedicated toolbox.
The message tracer will replace the activity data publisher for dumping SOAP payloads to BAM. It will also serve in correlating messages based on ID.
Additional information can be found at: http://docs.wso2.org/display/BAM240/Activity+Monitoring+Dashboard

Activity Monitoring toolbox is packed and installed by default in the BAM 2.4.0 where you do not have to install is again. If you want to install it into a BAM 2.3.0 or an older version it will not be easy as the new Activity Monitoring toolbox in BAM 2.4.0 is not only dependent on the deployable artifacts, Stream definition, Analytic script and the dashboard. But it need some other jar files as well which is in the plugins.

Related

Channel creation using node fabric sdk 2.2

Hey is there any way to create a channel in fabric-network using fabric-network npm package.
I found this "https://hyperledger.github.io/fabric-sdk-node/release-1.4/module-fabric-network.Gateway.html#getClient__anchor" but this is for fabric-sdk-nod 1.4 and i am working on 2.2.
didn't find any solutions.
The Fabric programming model introduced with Fabric v1.4 (fabric-network, fabric-gateway-java etc.) focus on supporting business applications to submit and evaluate (query) transactions, and to receive events. Using the Fabric CLI commands became the primary supported tool for admin operations. This approach continues with the new Fabric Gateway client API, which is the primary supported client API for Fabric v2.4 onwards, replacing the legacy SDKs:
https://github.com/hyperledger/fabric-gateway
Programmatic admin capability is something that does regularly get requested by the community and, at the time of writing, there is an effort underway to develop a new Fabric admin API separate from the client application APIs/SDKs:
https://github.com/Hyperledger-TWGC/fabric-admin-sdk
I believe the Node implementation is well advanced and usable.
Again, at the time of writing, there is an open proposal to move this to a first-class Hyperledger project:
https://github.com/hyperledger/fabric-rfcs/pull/55

Dashboard in WSO2 Micro Integrator 7.1

Hello Everyone,
I took the latest release code of micro integrator from GitHub and build micro integrator zip from that.
I used the zip file and was able to deploy CAR files on that without any issue.
But I am not able to find any script to start dashboard. Any idea how can i start dashboard using zip that i build from GitHub code?
PS: I am not using binary to install micro integrator. With binary, micro-dashboard comes by default.
Thanks,
Vipin
Micro Integrator repo does not contain the dashboard distribution. It is available at https://github.com/wso2/product-mi-tooling. If you build the monitoring dashboard folder you can get the dashboard distribution.

Cloud Foundry versions

Getting the accurate version of various parts of a Cloud Foundry installation is important ro refer to the right documentation pages, but seems a bit tricky.
Here is what I got so far:
CLI: cf -v
Cloud Foundry API: cf api
Buildpacks: cf buildpacks lists the installed buildpacks, the version appears in the file name
Here is what I do not:
Cloud Foundry, such as 2.4. According to How to check PCF version there is a (painful) way from the API version, then the CAPI version, etc.
Service brokers: cf marketplace lists available SB but no version info here, same for cf marketplace -s postgresql
For the desperate, the release notes such as https://docs.pivotal.io/pivotalcf/2-4/pcf-release-notes/runtime-rn.html can help.
How can I get the missing versions (preferably from command line or HTTP) as a regular user?
For Pivotal Cloud Foundry, all of your version information can be found in Ops Manager. There is a handy diagnostic report you can export which gives you a JSON listing of all the versions of things you have installed.
It's under your user name in the upper right corner, then click settings and advanced.
https://docs.pivotal.io/pivotalcf/2-4/customizing/pcf-interface.html#settings
For PCF or CF, you can also get detailed version information from BOSH. Running bosh deployments will show you all of the BOSH releases that are part of your current deployment. Each BOSH release has a fixed set of software that it will install. If you care to go deeper, you can look at the individual BOSH release to get versions or more often git commit hashes for the software included in that release.
As an unprivileged user you can locate most of this information by running cf curl /v2/info.
Ex:
$ cf curl /v2/info
{
"name": "Pivotal Application Service",
"build": "2.4.2-build.33",
"support": "https://support.pivotal.io",
"version": 0,
"description": "https://docs.pivotal.io/pivotalcf/2-3/pcf-release-notes/runtime-rn.html",
"authorization_endpoint": "https://login.run.pcfone.io",
"token_endpoint": "https://uaa.run.pcfone.io",
"min_cli_version": "6.23.0",
"min_recommended_cli_version": "6.23.0",
"app_ssh_endpoint": "ssh.run.pcfone.io:2222",
"app_ssh_host_key_fingerprint": "62:b2:73:9c:c1:c7:4f:c9:79:0c:62:ec:a1:9a:f9:b0",
"app_ssh_oauth_client": "ssh-proxy",
"doppler_logging_endpoint": "wss://doppler.run.pcfone.io:443",
"api_version": "2.125.0",
"osbapi_version": "2.14",
"routing_endpoint": "https://api.run.pcfone.io/routing"
}
build gives you the PCF version.
api_version gives you the Cloud Controller version
osbapi_version gives you the open service broker API version (not version for individual brokers)
Obtaining the version for individual services is going to be the trickiest as it will depend on what information each service broker exposes. The output in the Marketplace is provided by an individual service broker, so if that broker were to include version information it would show up there. Similarly, there may be APIs & Dashboards exposed by individual service brokers that tell you more details like their version. You would need to consult with each individual broker to see how you can get more details about the version of it's that's been deployed.

How to build a talend job as a web service with parameters and multiple strings as output

I have a talend job designed to do an ETL task. I am using the talend open studio for data integration. I have gone through the beginners, and components manuals(of TOS 5.6), but cannot find a way to design a job that could be exported as a web service such that it could be called with parameters in the request, and then getting a collection of strings as the response. I found out that in the version 5.1 there were components like tRestRequest, and tRESTResponse that were used to achieve what I want, but for versions above 5.1 I have found nothing helpful.
The web service and REST components are now the part of the Talend ESB. In Talend DI only the consumer components are remained. You can download ESB, and build standalone job or set up an ESB server and deploy your jobs there.
The ESB is available here: http://www.talend.com/download/talend-open-studio?qt-product_tos_download=2#qt-product_tos_download

How to use newer versions of HBase on Amazon Elastic MapReduce?

Amazon's Elastic MapReduce tool seems to only have support for HBase v0.92.x and v0.94.x.
The documentation for the EMR AMIs and HBase is seemingly out-of-date and there is no information about HBase on the newest release label emr-4.0.0.
Using this example from an AWS engineer, I was able to concoct a way to install another version of HBase on the nodes, but it was ultimately unsuccessful.
After much trial and error with the Java SDK to provision EMR with better versions, I ask:
Is it possible to configure EMR to use more recent versions of HBase (e.g. 0.98.x and newer?)
After several days of trial, error and support tickets to AWS, I was able to implement HBase 0.98 on Amazon's ElasticMapReduce service. Here's how to do it using the Java SDK, some bash and ruby-based bootstrap actions.
Credit for these bash and ruby scripts goes to Amazon support. They are in-development scripts and not officially supported. It's a hack.
Supported Version: HBase 0.98.2 for Hadoop 2
I also created mirrors in Google Drive for the supporting files incase Amazon pulls them down from S3.
Java SDK example
RunJobFlowRequest jobFlowRequest = new RunJobFlowRequest()
.withSteps(new ArrayList<StepConfig>())
.withName("HBase 0.98 Test")
.withAmiVersion("3.1.0")
.withInstances(instancesConfig)
.withLogUri(String.format("s3://bucket/path/to/logs")
.withVisibleToAllUsers(true)
.withBootstrapActions(new BootstrapActionConfig()
.withName("Download HBase")
.withScriptBootstrapAction(new ScriptBootstrapActionConfig()
.withPath("s3://bucket/path/to/wget/ssh/script.sh"))
)
.withBootstrapActions(new BootstrapActionConfig()
.withName("Install HBase")
.withScriptBootstrapAction(new ScriptBootstrapActionConfig()
.withPath("s3://bucket/path/to/hbase/install/ruby/script"))
)
.withServiceRole("EMR_DefaultRole")
.withJobFlowRole("EMR_EC2_DefaultRole");
"Download HBase" Bootstrap Action (bash script)
Original from S3
Mirror from Google Drive
"Install HBase" Bootstrap Action (ruby script)
Original from S3
Mirror from Google Drive
HBase Installation Tarball (used in "Download HBase" script)
Original from S3
Mirror from Google Drive
Make copies of these files
I highly recommend that you download these files and upload them into your own S3 bucket for use in your bootstrap actions / and scripts. Adjust where necessary.