The ESB (prod) has the following kernel service packs :
patch0000 to patch0005.
On the http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/WSO2-CARBON-PATCH-4.2.0/ there are 12 kernel patches.
Do I need to patch the remaining , and do I need to do it one by one?
No need to added those kernel patches, as those are belong to other products. You may use WSO2 ESB 4.9.0
Related
I have 100 devices that do simple calculation.
The only way to extract data from those devices is by their REST API.
I want to schedule a task every minute to collect every new data from those 100 devices.
Each device have its own API endpoint and all the payloads to collect the data are identical for each device. To be able to invoke the REST API I need to provide a valid token. This token can be acquired by calling the authentication (/auth/token) function from each REST API endpoints with specific usernames and passwords
They have all the same version, so the exact same logic is needed to collect the data. I found out we can use WSO2-ESB to collect data.
What I've done so far:
I create an Entreprise Integration Connector for the devices.
I create a New Integration project in the Integration Studio.
I use the Connector and Schedule a task that do the sequence logic to test data collection from 1 device.
Now I need to scale from collecting 1 device to 100 devices at the same time.
How can I collect all devices at once using the same logic with WSO2-ESB?
It seems that you have followed the correct approach. Yes there is a significant change between EI 6 series and the EI 7 series. The EI 6 series has the ESB, BPS, MB and Analytics profiles in the same server. The EI 7 series only has the ESB server. For your use case you need the ESB. Therefore you can use either EI 6.6.0 server or EI 7.1.0 server.
If you need to invoke a REST API no need to use a connector. The schedule task and the sequence would be sufficient. To implement the logic for 100 devices we need more information.
Do you have different API endpoints for each device
Do you need different payloads to get information from different APIs
It depends what do you want to have on the output - collected data or single per device... As source of your endpoint devices you can use Local-entries, or embedded in scheduler task as message. Maybe you should also look at the
Split-aggregate pattern
I would like to test if the newest head/trunk/master version of WSO2 Identity Server.
I found a version on gitlab (https://github.com/wso2/platform) an a version SVN (https://svn.wso2.org/repos/wso2/carbon/platform/trunk/)
What is the preferred way to build the latest version of WSO2 Identity Server.
kindly regards Philipp
Latest version of Identity Server is 5.0.0. Using this release matrix, you can find the branch, chunk and patch that identity server 5.0.0 has been released. It is Turing branch , chunk 11 and kernal patch 0008. You can find chuck 11 from here and kernel patch from here
However if you need to build the current version. Then i am not sure the exact chunk and patch as it is not release. However it must be the highest chunk value and patch value that are available in same location that i have shared for 11 and 0008
Still Identity Server is not used the github to release it.
Currently we are using wso2 4.1.0 version. we are using soap based services authentication admin, entitlements service for getting policy decision , getting claims values. we are using cxf for our webservice clients. when we make calls with 500 concurrent users from a single machine everything works fine. but when we make it to 1000 concurrent users we are seeing a huge response time for these service calls from wso2 is. can you tell if there is any configuration change that we need to make for tuning. we increased the wso2 is axis client no. of connections per host but we still didn't see any improvement. By the way we are using the default configuration of wso2 is out of the box
Thanks
Kishore
There are some places you can improve the performances.
1.Increase the memory setting. you can find it in the wso2server script file in /bin. can u increase default value and see.. such as
-Xms1024m -Xmx2048m -XX:MaxPermSize=1024m
2.Increase max thread pool size in catalina-server.xml file which can find in /repository/conf/tomcat
maxThreads="250"
3.Increase caching timeout value. entitlement.properties file which can find in /repository/conf/security
4.Please check you are not authenticating for each request. You need to call AuthenticationAdmin 1st time and get the cookie and then use cookie for subsequence requests.
Else could do use some Jconsole or Jprofiler and see what is going wrong? Also according to your environment, this can be the max load that one server can handle, then you need to do horizontal scaling. (adding WSO2 Identity Server more instance in a cluster)
I am new to WSO2 ESB clustering, actually I'm still learning about it. I still don't understand the concept here.
In my case, I installed WSO2 ESB on 2 servers. My questions are:
1. Were both of the WSO2 ESB working as one application or as two separate applications?
2. If I configure one WSO2 ESB, will the other ESB have the same configuration?
3. If I configure a VFS proxy service the ESB to poll a file from specific directory, will it create a conflict when I poll a file? I think that both of the ESB will poll the same file.
Please enlighten me :) Thanks...
Check my answers inline.
Were both of the WSO2 ESB working as one application or as two separate applications?
In any cluster, applications or servers are working together to provide a high availability to the end users. It will work as one single server (application).
If I configure one WSO2 ESB, will the other ESB have the same configuration?
Yes. You can achieve this with the deployment synchronization. It will make sure all your changes are evenly distributed among other nodes of the cluster.
If I configure a VFS proxy service the ESB to poll a file from specific directory, will it create a conflict when I poll a file? I think that both of the ESB will poll the same file.
No. Since only one server is active at once. This should not be a problem.
You can learn more from the following link:
http://docs.wso2.org/display/CLUSTER420/Clustering+WSO2+Products
Were both of the WSO2 ESB working as one application or as two separate applications?
No, both ESBs are separate applications. The clustering is done mainly to ensure availability and scalability. So even a member in a cluster fails, others continue to operate.
If I configure one WSO2 ESB, will the other ESB have the same configuration?
Each ESB can get the same cluster configuration, but each will be separately identified by the LB that is fronting the cluster. Therefore, each member will get different IP addresses and even they can use different member-port to create cluster.
If I configure a VFS proxy service the ESB to poll a file from specific directory, will it create a conflict when I poll a file? I think that both of the ESB will poll the same file.
Each request is independently handled by separate ESB depending on the load balancer algorithm of the fronting LB. When two threads poll the same file, there can be conflicts. Since VFS transport deals with file operations, there are certain times that these can fail due to unavailability of some resources. In such a case, VFS transport is equipped with the following fault handling mechanism.
If you point the same directory in a clustered environment, both proxy services will try to poll files and cause issues. Therefore if you want to poll files in a clustered environment, best practice is to use inbound endpoints [1]. But if it is necessary to use proxy services you can apply the following property in your proxy, so that the proxy service will only operate in one server. Thus there will not be any conflicts between the two proxy services. Please refer [2] to further clarify this.
<parameter name="transport.vfs.ClusterAware">true</parameter>
[1]-https://docs.wso2.com/display/EI620/File+Inbound+Protocol
[2]-https://docs.wso2.com/display/ESB500/VFS+Transport
Is there any chance of trying-out unreleased version of the wso2 Business Process Server?
I can see on the BPS website, that it will support WS-Humantask and BPEL4People spec. on next release (scheduled June12)
I particular need the Humantask feature for a POC and would be grateful for any info on this.
Carbon 4 Beta, BPS pack is available here.
There are samples we are planning to release with the next major release. You can find from here https://svn.wso2.org/repos/wso2/trunk/graphite/products/bps/modules/samples/product/src/main/resources/humantask/ and try-out them.